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: [email protected] 
[mailto:[email protected]] On Behalf Of Wim Vanbelle
Sent: Thursday, August 12, 2010 5:48 AM
To: [email protected]
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
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to