[mapserver-users] to large files? or

Jeff McKenna jmckenna at gatewaygeomatics.com
Sun Jun 15 15:28:30 PDT 2008


MapServer (through the GDAL library) handles raster files of that size  
very well.  To test your mapfile I would:

1) open a command prompt and execute c:\ms4w\setenv.bat)
2) cd into your map folder
3) test the mapfile with a shp2img command:
	shp2img -m base3_b.map -o test.png -map_debug 3

A png should be produced of your map, or an error message should be  
displayed with a line number.

If shp2img gives no error and produces a valid map image, then it is a  
problem on the application side.

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





On 15-Jun-08, at 2:46 PM, Henric Ernstson wrote:

> I have a functional chameleon app. I use many raster-data set and  
> shp-files.
> No I get problem with some new rasterdata that I use. I get the  
> following
> error. .. ..
> Yes I have added some wery large dataset (>290 Meg per rasterfile)...
>
>
> Warning: [MapServer Error]: getString(): Parsing error near (8): 
> (line 126)
> in C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on  
> line 215
>
> Warning: Failed to open map file
> C:\ms4w\apps\chameleon\samples\htdocs\/../map/base3_b.map in
> C:\ms4w\apps\chameleon\htdocs\common\wrapper\map_session.php on line  
> 215
>
> Fatal error: Call to a member function set() on a non-object in
> C:\ms4w\apps\chameleon\htdocs\widgets\KeyMap\KeyMap.widget.php on  
> line 197
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list