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.

<<attachment: erro tiles.gif>>

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to