[Spanish] Mapserver java mapscript error
Gastón Lucero
gaston.lucero at sitrack.com
Tue Aug 2 16:34:13 EDT 2011
Hola, tengo el siguiente problema ,
Ejecuntando mis clases java para generar un map, obtengo el siguiente error
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)
El map en donde se genera el error es el siguiente
CLASS # Level 10 to 5
EXPRESSION /^2*$/
MAXSCALE 3515625
MINSCALE 109864
#TEXT ( [name] )
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
OUTLINECOLOR 0 0 0
END
OUTLINEWIDTH 1
MINDISTANCE 200
POSITION auto
PARTIALS false
BUFFER 10
END
END
Si comento STYLE , funciona correctamente.
Ademas el mapa con php mapscript, tal como esta funciona correctamente.
Alguna sugerencia
Gracias
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 Spanish
mailing list