Dear All

I'm trying to use the MapServer Tile Indexes to create a map service, and 
ultimately a WMS, of some DSM data but am getting an Internal Server Error.

The DSM data are organised as 466 5 × 5 km rasters with a resolution of 1 × 1 m 
with a total size of 69.2 GB.  The data format is Esri ASCII GRID.

To test the use of Tile Indexes in MapServer I used the gdaltindex to create an 
index shapefile for just twenty of the 5 × 5 km rasters and created a basic map 
file:

MAP
       IMAGETYPE            PNG
       EXTENT               240000 100000 250000 150000
       SIZE                 400 2000
       PROJECTION
              "init=epsg:27700"
       END
       LAYER
              NAME          "tiled-rasters"
              STATUS        ON
              TILEINDEX     
"/datastore/b81071f2-85b3-4e31-8506-cabe899f989a/b81071f2-85b3-4e31-8506-cabe899f989a_copy/index_file"
              TILEITEM      "location"
              TYPE          RASTER
              PROJECTION
                     "init=epsg:27700"
              END
       END
END


When I request an image of the map with the URL 
http://localhost:8080/cgi-bin/mapserv?map=/vagrant/maps/tiled-rasters.map&layer=tiled-rasters&mode=map
 I get an "Internal Server Error".

Therefore I created a second index shapefile using the gdaltindex tool that 
only contained one of the 5 × 5 km rasters and updated the map file to point to 
the second index shapefile.  When I request an image of the map I can see an 
image of the DSM data as expected.

Therefore, am I asking too much of the tile indexing approach in MapServer to 
work against a massive dataset - 69.2 GB in 466 raster datasets - or have 
MapServer users been able to get tile indexing too work in MapServer against 
large data volumes and can provide some guidance.

Many thanks in advance of any help that MapServer users can offer.



Best wishes, Simon.

________________________________
This message (and any attachments) is for the recipient only. NERC is subject 
to the Freedom of Information Act 2000 and the contents of this email and any 
reply you make may be disclosed by NERC unless it is exempt from release under 
the Act. Any material supplied to NERC may be stored in an electronic records 
management system.
________________________________
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to