org.cts.op.transformation.grids
Class IGNGeographicGrid

java.lang.Object
  extended by org.cts.op.transformation.grids.GeographicGrid
      extended by org.cts.op.transformation.grids.IGNGeographicGrid
All Implemented Interfaces:
Grid

public class IGNGeographicGrid
extends GeographicGrid

Classe representing a Geographic grid as defined by IGN (France).

Here is an exemple of a Geographic Grid from IGN with some explanations. GR1D REFALT 700 20370201
GR1D1 -61.7000 -61.4750 15.8000 15.9250 .0250 .0250
GR1D2 INTERPOLATION BILINEAIRE
GR1D3 PREC CM 01:5 02:10 03:20 04:50 99>100
-61.700 15.925 40.0 03
-61.700 15.900 40.0 03

GR = GRID
1D = one dimension
REFALT = Referentiel alti
700 = referentiel number
2 = Coordinate type (Geographic coordinates)
037 = Ellipsoïde (GRS80)
02 = Unites (Decimal degree)
01 = Prime Merdian (Greenwich)
G1RD1 = line containing longitude min, longitude max,
latitude min, latitude max,
cell size (longitude)
cell size (latitude)
GR1D2 = Interpolation mode
GR1D3 = line containing precision unit and codes used in the grid
The grid is following with one line per node containing
longitude, latitude, N, precision code
For geoid grids :
N = He - A = Ellipsoidal height - Altitude (above geoid)

Author:
Michaël Michaud, Jules Party, Erwan Bocher

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.cts.op.transformation.grids.Grid
Grid.InterpolationMethod
 
Field Summary
 
Fields inherited from class org.cts.op.transformation.grids.GeographicGrid
colNumber, context, dim, dx, dy, extent, modulo, rowNumber, values, x0, xL, y0, yL
 
Fields inherited from interface org.cts.op.transformation.grids.Grid
BICUBIC, BILINEAR, NEAREST
 
Constructor Summary
IGNGeographicGrid(InputStream is)
          Construct a GeographicGrid from an InputStream representing an IGN GeographicGrid
 
Method Summary
 
Methods inherited from class org.cts.op.transformation.grids.GeographicGrid
bilinearInterpolation, getColumnNumber, getContext, getDX, getDY, getGridHeight, getGridWidth, getRowNumber, getScale, getValue, getValues, getValues, getX0, getXL, getY0, getYL, setScale, setValue, toString, toStringAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IGNGeographicGrid

public IGNGeographicGrid(InputStream is)
                  throws Exception

Construct a GeographicGrid from an InputStream representing an IGN GeographicGrid

Parameters:
is - input stream
Throws:
Exception


Copyright © 2014 IRSTV CNRS-FR-2488. All Rights Reserved.