Hi David,<br><br>I read that documentation before though. I was hoping it just hadn&#39;t been updated... Is this possibly a feature for 6.0 ?<br><br>Are there any other ways how one could offset a feature in pixels, rather than in lat/long coords?<br>

<br>Maybe I should elaborate on the original problem a little. Consider 2
 line segments that lie above one another. The general idea is to 
&#39;offset&#39; them a given x , y value, so they will both display next to one
 another, rather than on top of eachother.<br>
<br>If you would however perform this code simply on lat/long values, it
 would imply, that when scaling your map at the most detailed zoom 
level, the lines would lie very far apart, and when zoomed out, they 
would appear to lie on top of eachother.<br>
<br>I find it hard to believe that I would need to pre calculate all the
 data in order to obtain geometry objects for each zoom level.<br><br>Maybe some veterans have some good insight in this :).<br><br><div class="gmail_quote">On 12 August 2010 15:26, Fawcett, David (MPCA) <span dir="ltr">&lt;<a href="mailto:David.Fawcett@state.mn.us">David.Fawcett@state.mn.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">








<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Wim, </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">If you don’t want me to tell you, you will likely want to look
at the mapfile documentation at: <a href="http://mapserver.org/mapfile/style.html" target="_blank">http://mapserver.org/mapfile/style.html</a></span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">[Spoiler Alert]</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">You can’t use values from an attribute table to set the value of
this property</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">[/Spoiler Alert]</span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>

<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">David.</span></p>

<div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;">

<p class="MsoNormal"><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>
[mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] <b>On Behalf Of </b>Wim
Vanbelle<br>
<b>Sent:</b> Thursday, August 12, 2010 5:48 AM<div class="im"><br>
<b>To:</b> <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
</div><b>Subject:</b> [mapserver-users] Offset values from database</span></p>

</div><div><div></div><div class="h5">

<p class="MsoNormal"> </p>

<p class="MsoNormal">Hi, <br>
<br>
I&#39;m trying to load offset X, Y data from the postgis database.<br>
<br>
Each feature has an offset value defined there.<br>
<br>
My mapfile (relevant part) looks like this:<br>
<br>
In the layer:<br>
               
DATA                   
&quot;geom_mercator from map_links using unique Id using SRID=900913&quot;<br>
<br>
                       
STYLE<br>
                               
WIDTH 6<br>
                               
COLOR 0 255 0<br>
                               
ANTIALIAS TRUE<br>
                               
ANGLE AUTO<br>
                               
OFFSET [offsetX] [offsetY]<br>
                       
END<br>
<br>
Please don&#39;t tell me the offsetX, Y values cannot be read from the database.
That would be a huge issue for me.<br>
<br>
Thank you for your time.<br>
<br>
Best regards</p>

</div></div></div>

</div>


</blockquote></div><br>