SV: [mapserver-users] to large files? or

Henric Ernstson henric at ernstson.nu
Mon Jun 16 18:52:16 EDT 2008


Hi list and Jeff I have looked at my app and my map-file 

eny one out there knowing any thing about chameleon line 215
say 
                $this->oMap = ms_newMapObj($szMapFile, $szMapFilePath);

and that give me problem using large datasets.




-----Ursprungligt meddelande-----
Fran: mapserver-users-bounces at lists.osgeo.org
[mailto:mapserver-users-bounces at lists.osgeo.org]For Jeff McKenna
Skickat: den 16 juni 2008 00:29
Till: Mapserver-users
Amne: Re: [mapserver-users] to large files? or


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

_______________________________________________
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