[mapserver-users] Java Mapscript problem

Gastón Lucero gaston.lucero at sitrack.com
Tue Aug 2 15:29:54 EDT 2011


Hi, i have this exception in my java class

Exception in thread "main" java.lang.UnknownError: loadLabel(): Unknown 
identifier. Parsing error near (STYLE):(line 871)
         at edu.umn.gis.mapscript.mapscriptJNI.new_mapObj(Native Method)
         at edu.umn.gis.mapscript.mapObj.<init>(mapObj.java:285)
         at MapServerCore$MapServer.createMap(MapServerCore.java:77)
         at MapServerCore.<init>(MapServerCore.java:35)
         at MapServerCore.main(MapServerCore.java:16)

This is the label of the layer that throw error
...
LABEL
                 FONT arial-bold
                 TYPE truetype
                 SIZE 8
                 COLOR "#ffffff"
                 OUTLINECOLOR 82 146 57
                 STYLE
                     GEOMTRANSFORM labelpoly
                     COLOR 82 146 57
                     OFFSET 1 1
                 END
                 STYLE
                     GEOMTRANSFORM labelpoly
                     COLOR 99 178 66
                 END
                 OUTLINEWIDTH 1
                 MINDISTANCE 200
                 POSITION auto
                 PARTIALS false
                 BUFFER 10
             END
...
My environment

MapServer 6.0.0
jdk 1.6.0_24


Any solution ?

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.



More information about the mapserver-users mailing list