Hello,

MapServer should definitely be able to handle your dataset, it is not large.

If I was in your shoes, here is what I would do:

- try to see more debug information (follow the steps and examples in http://www.mapserver.org/optimization/debugging.html)
  -- set in your mapfile: CONFIG "CPL_DEBUG" "ON"
  -- shp2img -m my.map -o test.png -all_debug 5
  -- mapserv -nh "QUERY_STRING=map=c:/ms4w/apps/my.map&mode=map"

- it does sound like you have a faulty GRID file. Start from your single working tileindex, then add in maybe 5 more rasters into your index and retry; if it works, add in another 5 etc.

Sometimes the best way to solve this is the hard way.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-06-21 6:12 AM, Wright, Simon M. wrote:
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.



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to