[mapserver-users] ArcInfo Grid with MapServer

jorgelopez jorgelopez.physics at gmail.com
Mon Jul 23 08:04:49 PDT 2012


Hello everyone: 

I have some problems trying to render Arc Info Grids with MapServer. I am
using this mapfile (restricted to LAYER definition)

 LAYER
    NAME 'JRC_SRTM90'
    TYPE 'RASTER'
    DATA
'/home/data/datasets/public/srtm90/mapserver/eea_r_3035_100_m_srtm90-dem_2000_grid/srtm90_dem100'
    METADATA
      ## WMS ##
      'wms_title'                'SRTM Digital Elevation Model'
      'wms_abstract'           'Shuttle Radar Topography Mission (SRTM) data
is a high quality elevation data for large portions and areas of the world.'
      'wms_label'                'SRTM_90_info'
      'wms_metadataurl_format'   'text/html'
      'wms_extent'               '-180 -90 180 90'
      'wms_enable_request'       '*'
      'wms_include_items'        'all'
      'gml_include_items'        'all'
       ## WCS ##
      'wcs_title'                'SRTM Digital Elevation Model'
      'gml_featureid'            'ID' ## REQUIRED
      'wcs_label'                'SRTM_90'
      'wcs_description'          'Shuttle Radar Topography Mission (SRTM)
data is a high quality elevation data for large portions and areas of the
world.'
      'wcs_formats'              'AIGRID'
      'wcs_extent'               '-180 -90 180 90'
      'wcs_enable_request'       '*'
      "wcs_rangeset_name"        "Range 1"  ### required to support
DescribeCoverage request
      "wcs_rangeset_label"       "Bluemarble classes" ### required to
support DescribeCoverage request


    END #end metadata

    STATUS OFF
    DUMP TRUE 
    TEMPLATE ' ' 
    PROJECTION
      'init=epsg:4326'
    END

   END #end layer

 I am doing WMS request by pointing to ArcInfo srtm90_dem100 directory (that
contains adf files) but I have no response from MapServer. 

Attending to Apache logs:

[Mon Jul 23 17:03:05 2012] [error] [client 158.109.144.146] GDAL:
GDALDeregister_GTiff() called.
[Mon Jul 23 17:03:06 2012] [error] [client 158.109.144.146] File does not
exist: /var/www/favicon.ico
[Mon Jul 23 17:03:08 2012] [error] [client 158.109.144.146] GDAL:
GDALOpen(/home/data/datasets/public/eea/srtm90/mapserver/eea_r_3035_100_m_srtm90-dem_2000_grid/srtm90_dem100.aux,
this=0x2461bc0) succeeds as HFA.
[Mon Jul 23 17:03:08 2012] [error] [client 158.109.144.146] GDAL:
GDALOpen(/home/data/datasets/public/eea/srtm90/mapserver/eea_r_3035_100_m_srtm90-dem_2000_grid/srtm90_dem100,
this=0x24414e0) succeeds as AIG.
[Mon Jul 23 17:03:09 2012] [error] [client 158.109.144.146] GDAL:
GDALDeregister_GTiff() called.
[Mon Jul 23 17:03:09 2012] [error] [client 158.109.144.146] File does not
exist: /var/www/favicon.ico

It seems to use drivers correctly.

I have OUTPUTFORMAT definition like this:

# GRID COVERAGE

 OUTPUTFORMAT
    NAME 'AIGRID'
    DRIVER 'GDAL/AAIGRID'
##    MIMETYPE 'image/x-aigrid'
    IMAGEMODE 'INT16'
    EXTENSION 'grd'
##    FORMATOPTION 'FILENAME=result.grd'
  END  #end outputformat


Does anybody know why there is no response in my situation? Or send some
clues for publishing ArcInfo Grids using GDAL? I have not found any info
relevant for me about this issue.

Thank you in advance

Jorge




--
View this message in context: http://osgeo-org.1560.n6.nabble.com/ArcInfo-Grid-with-MapServer-tp4990112.html
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the MapServer-users mailing list