[Geoserver-users] How to calculate grid dimension information ?

Hello all,

For my need i develop a little PHP script integrating geotif in EPSG:4326 in
geoserver :
  -Copy geotif in geoserver /data/data directory
  -Create info.xml in /coverage directory
  -Update file catalogue.xml to add the new format element
  -Reload config file

It work fine but I am not specialist in geomatic and I don't know how to
calculate the part concerning the grid dimension in info.xml :

As Example :

  <styles default = "raster" />
  <envelope crs = "GEOGCS['WGS 84',
  DATUM['World Geodetic System 1984',
    SPHEROID['WGS 84', 6378137.0, 298.257223563, AUTHORITY['EPSG','7030']],
    AUTHORITY['EPSG','6326']],
  PRIMEM['Greenwich', 0.0, AUTHORITY['EPSG','8901']],
  UNIT['degree', 0.017453292519943295],
  AXIS['Geodetic longitude', EAST],
  AXIS['Geodetic latitude', NORTH],
  AUTHORITY['EPSG','4326']]" srsName = "EPSG:4326" >
    <pos>5.201868500000001 44.15168399999753</pos>
    <pos>5.304021799996611 44.208650500000005</pos>
  </envelope>
  <grid dimension = "2" >
    <low>0 0 </low>
    <high>10215 5697 </high>
    <axisName>Geodetic longitude</axisName>
    <axisName>Geodetic latitude</axisName>
  </grid>

Despite my search on Geodetic longitude/latitude i do not find what it want.
I really want to know how the low and hight part are calculated :slight_smile:

Thank you for your answers.

Best regards,
Fabien Bachraty
--
View this message in context: http://www.nabble.com/How-to-calculate-grid-dimension-information---tp16823827p16823827.html
Sent from the GeoServer - User mailing list archive at Nabble.com.