2009/2/15 MeLv1n wAuRaN <[email protected]> > > Hi all, > > i recently create a map with a really big raster file as my background map. > The background map is 16800 x 22000 in dimensions, and 1.03 GB in size. > > > here are the errors i got: > > Warning: [MapServer Error]: msSaveImage(): (/tmp/ms_tmp/123469655152481.gif) > in C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msSHPOpenFile(): > (/ms4w/apps///latihan/map/../data/minut/../data/minut/shape/atm.shp) in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msDrawRaster(): (../data/minut/all_raster.tif) in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: processIcon(): Error while save GD image to disk > (/tmp/ms_tmp/1234696551_0_0_20_10.gif). in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msSaveImage(): > (/tmp/ms_tmp/1234696551_0_0_20_10.gif) in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: processIcon(): Error while save GD image to disk > (/tmp/ms_tmp/1234696551_1_0_20_10.gif). in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msSaveImage(): > (/tmp/ms_tmp/1234696551_1_0_20_10.gif) in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Warning: [MapServer Error]: msInsertHashTable: Invalid hash table or key in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > Fatal error: Failed writing image to /tmp/ms_tmp/123469655152481.gif in > C:\ms4w\apps\maplab-2.2\htdocs\mapedit\preview.php on line 474 > > > andthis is my .MAP details: > > MAP > NAME "Minahasa Utara" > STATUS ON > EXTENT 702000 140000 744000 195000 > SIZE 512 512 > SHAPEPATH "../data/minut" > SYMBOLSET "../etc/symbols.sym" > FONTSET "../etc/Vera.ttf" > UNITS DD > > WEB > IMAGEPATH "/tmp/ms_tmp/" > IMAGEURL "/ms_tmp/" > END > > PROJECTION > "init=epsg:23851" > END > > LAYER > NAME "background" > STATUS ON > DATA "../data/minut/all_raster.tif" > TYPE RASTER > END > > LAYER > NAME "ATM" > STATUS ON > DATA "../data/minut/shape/atm.shp" > TYPE POINT > > CLASS > COLOR -1 -1 -1 > OUTLINECOLOR 0 0 0 > END > > END > END > > > Thanks for the help, any idea will be much appreciated
Hi Melvin! My advice es very very basic, but, maybe useful to you: make sure that folder "/tmp/ms_tmp/" have write permissions to the user that run the process. Also, make sure that you have enough free space (at least, the same space that the background image). Secondly, make sure that the same user have permissions to read all files needed (shapes and raster). I hope to be useful! José María > Melvin > > _______________________________________________ > mapserver-users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
