[mapserver-users] Offset values from database
Fawcett, David (MPCA)
David.Fawcett at state.mn.us
Thu Aug 12 06:26:29 PDT 2010
Wim,
If you don’t want me to tell you, you will likely want to look at the mapfile documentation at: http://mapserver.org/mapfile/style.html
[Spoiler Alert]
You can’t use values from an attribute table to set the value of this property
[/Spoiler Alert]
David.
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Wim Vanbelle
Sent: Thursday, August 12, 2010 5:48 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Offset values from database
Hi,
I'm trying to load offset X, Y data from the postgis database.
Each feature has an offset value defined there.
My mapfile (relevant part) looks like this:
In the layer:
DATA "geom_mercator from map_links using unique Id using SRID=900913"
STYLE
WIDTH 6
COLOR 0 255 0
ANTIALIAS TRUE
ANGLE AUTO
OFFSET [offsetX] [offsetY]
END
Please don't tell me the offsetX, Y values cannot be read from the database. That would be a huge issue for me.
Thank you for your time.
Best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100812/af4fd238/attachment.htm>
More information about the MapServer-users
mailing list