org.cts.op.transformation.grids
Class IGNVerticalGrid

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

public class IGNVerticalGrid
extends GeographicGrid

Classe representing an Altimetric grid as defined by IGN (France).

Here is an exemple of an Altimetric Grid from IGN with some explanations. -5.5 8.5 42.0 51.5 0.0333333333333 0.025 2 0 1 1 0. France continentale - NGF-IGN69 dans RGF93 - version 2009
53.5019 99
53.5002 99

-5.5 = longitude min
8.5 = longitude max
42.0 = latitude min
51.5 = latitude max
0.0333333333333 = gap between two consecutive values of longitude
0.025 = gap between two consecutive values of latitude
2 = type of ordering (1 : constant minimal longitude and growing latitude, then growing longitude; 2 : constant maximal latitude and growing longitude, then decreasing latitude; 3 : constant minimal longitude and decreasing latitude, then growing longitude; 4 : constant minimal latitude and growing longitude, then growing latitude)
0 = presence of the coordinates of each node (1 : yes, 0 : no)
1 = number of value(s) in each node (except the precision code)
1 = presence of the precision code (1 : yes, 0 : no)
0. = translation that must be applied to all values of the grid (as many as the number of value in each node)
France con... = description of the grid

Author:
Jules Party

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
IGNVerticalGrid(InputStream is)
          Construct a GeographicGrid from an InputStream representing an IGN GeographicGrid.
IGNVerticalGrid(InputStream is, boolean zip)
          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

IGNVerticalGrid

public IGNVerticalGrid(InputStream is)
                throws Exception

Construct a GeographicGrid from an InputStream representing an IGN GeographicGrid. Default value of zip is true.

Parameters:
is -
Throws:
Exception

IGNVerticalGrid

public IGNVerticalGrid(InputStream is,
                       boolean zip)
                throws Exception

Construct a GeographicGrid from an InputStream representing an IGN GeographicGrid

Parameters:
is - input stream
zip - flag indicating if input data is zipped or not
Throws:
Exception


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