[mapserver-users] Tiles problem

Lucero, Gastón (SITRACK) gaston.lucero at sitrack.com
Wed May 23 07:25:21 PDT 2012


Hi, i have this problem when i generate tiles with mapscript using java 
or php.


My .map principal

MAP
     NAME "Map
     STATUS on
     SIZE 256 256
     EXTENT -20037508 -20037508 20037508 20037508
     UNITS meters
     IMAGETYPE agg
     SHAPEPATH "data"
     FONTSET "/font/fonts.fnt"
     SYMBOLSET "/symbols.sym"
     IMAGECOLOR "#b3c6d4"

     OUTPUTFORMAT
         NAME agg
         DRIVER agg/png
         IMAGEMODE rgb
         FORMATOPTION "PALETTE_FORCE=TRUE" #es incompatible con la 
opcion anterior
         FORMATOPTION 
"PALETTE=/var/www/localhost/htdocs/rest/map/palette/map.palette"
         MIMETYPE "image/png"
     END

INCLUDE routes.map
...

END #map

And routes.map


MAP

LAYER
         NAME routes
         STATUS on
         TYPE line
         DATA "from postgisDB"
         CLASSITEM "routestypegroupid"
         LABELITEM "name"
         MAXSCALEDENOM 14062500
         MINSCALEDENOM 0
         TOLERANCE 10

     CLASS # Level 2
             EXPRESSION /^4*$/
             MAXSCALEDENOM 13732
             MINSCALEDENOM 6867
             STYLE
                 WIDTH 4
                 COLOR "#ffffff"
                 OUTLINECOLOR "#a09686"
                 OUTLINEWIDTH 1
             END
             LABEL
                 FONT sans
                 TYPE truetype
                 SIZE 7
                 COLOR "#000000"
                 OUTLINECOLOR "#ffffff"
                 MINDISTANCE 100
                 BUFFER 5
                 PARTIALS false
                 ANGLE follow
                 OUTLINECOLOR "#ffffff"
                 OUTLINEWIDTH 3
             END
         END
....

END

Thanks.

Disclaimer:

This email and any attachments thereof may contain confidential, privileged, proprietary, or otherwise private information. This email is intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of the email and its attachments please inform the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any way and delete this e-mail and its attachments from your system. Any views or opinions expressed are solely those of the author.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erro tiles.gif
Type: image/gif
Size: 4363 bytes
Desc: erro tiles.gif
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120523/90bcb1d9/attachment.gif>


More information about the MapServer-users mailing list