I found my mistake. :)<br><br>I set 100 -100<br>instead of<br>1 -1<br><br>the percentage should be express with values 0-1.<br><br>the right mapfile is this:<br><br> UNITS percentages<br> METADATA<br> "wms_title" "..."<br>
"wms_abstract" "..."<br> "wms_keywordlist" "..."<br> END<br> TRANSFORM LL<br> FEATURE<br> POINTS<br> # 20 -100<br> 0.02 -0.02<br> 0.98 -0.98<br>
END<br> TEXT 'blah blah blah'<br> END<br><br>Regards,<br><br><br><div class="gmail_quote">2012/9/25 Lime, Steve D (DNR) <span dir="ltr"><<a href="mailto:Steve.Lime@state.mn.us" target="_blank">Steve.Lime@state.mn.us</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What happens if you don't have an -100 percent value?<br>
________________________________________<br>
From: <a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a> [<a href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a>] on behalf of Andrea Peri [<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>]<br>
Sent: Tuesday, September 25, 2012 5:31 AM<br>
To: <a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
Subject: [mapserver-users] problem with line and percentage<br>
<div class="HOEnZb"><div class="h5"><br>
Hi,<br>
I try to draw a line using the percentages coords.<br>
Mapserver draw it, but when I try to zoom again it stop the response.<br>
<br>
I guess there some bug with feature lines drawing with percentage.<br>
<br>
This is my mapfile:<br>
<br>
LAYER<br>
NAME "name"<br>
STATUS DEFAULT<br>
TYPE LINE<br>
UNITS percentages<br>
METADATA<br>
"wms_title" "..."<br>
"wms_abstract" "..."<br>
"wms_keywordlist" "..."<br>
END<br>
TRANSFORM LL<br>
FEATURE<br>
POINTS<br>
0 0<br>
100 -100<br>
END<br>
TEXT 'blah blah'<br>
END<br>
CLASS<br>
STYLE<br>
WIDTH 1.0<br>
OUTLINECOLOR 0 164 0<br>
ANTIALIAS false<br>
OPACITY 100<br>
END<br>
<br>
<br>
--<br>
-----------------<br>
Andrea Peri<br>
. . . . . . . . .<br>
qwerty ąčģņł<br>
-----------------<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-----------------<br>Andrea Peri<br>. . . . . . . . . <br>qwerty ąčģņł<br>-----------------<br><br>