Quantcast

problem displaying big raster in maplab...

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

problem displaying big raster in maplab...

MeLv1n wAuRaN
hi all,

i recently created a mapserver map in maplab 2.2. using mapedit. when i click on the preview i get an error and the map cannot be drawn.

this is what i get for the errors using maplab's MapEdit:

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




and here's 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



can anyone help me solve this problem? any idea will be much appreciated..

Cheers,
Melvin


_______________________________________________
Maplab-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/maplab-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: problem displaying big raster in maplab...

djilali82@gmail.com

hi you can try this
  LAYER
    NAME "background"
    STATUS ON
    DATA "../data/minut/all_raster"
    TYPE RASTER
  END
  LAYER
    NAME "ATM"
    STATUS ON
    DATA "../data/minut/shape/atm"
    TYPE POINT
    CLASS
 
or
 
  LAYER
    NAME "background"
    STATUS ON
    DATA "all_raster"
    TYPE RASTER
  END
  LAYER
    NAME "ATM"
    STATUS ON
    DATA "atm"
    TYPE POINT
    CLASS

_______________________________________________
Maplab-users mailing list
[hidden email]
http://lists.maptools.org/mailman/listinfo/maplab-users
Loading...