[mapserver-users] problem with line and percentage
Andrea Peri
aperi2007 at gmail.com
Tue Sep 25 07:11:18 PDT 2012
I found my mistake. :)
I set 100 -100
instead of
1 -1
the percentage should be express with values 0-1.
the right mapfile is this:
UNITS percentages
METADATA
"wms_title" "..."
"wms_abstract" "..."
"wms_keywordlist" "..."
END
TRANSFORM LL
FEATURE
POINTS
# 20 -100
0.02 -0.02
0.98 -0.98
END
TEXT 'blah blah blah'
END
Regards,
2012/9/25 Lime, Steve D (DNR) <Steve.Lime at state.mn.us>
> What happens if you don't have an -100 percent value?
> ________________________________________
> From: mapserver-users-bounces at lists.osgeo.org [
> mapserver-users-bounces at lists.osgeo.org] on behalf of Andrea Peri [
> aperi2007 at gmail.com]
> Sent: Tuesday, September 25, 2012 5:31 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] problem with line and percentage
>
> Hi,
> I try to draw a line using the percentages coords.
> Mapserver draw it, but when I try to zoom again it stop the response.
>
> I guess there some bug with feature lines drawing with percentage.
>
> This is my mapfile:
>
> LAYER
> NAME "name"
> STATUS DEFAULT
> TYPE LINE
> UNITS percentages
> METADATA
> "wms_title" "..."
> "wms_abstract" "..."
> "wms_keywordlist" "..."
> END
> TRANSFORM LL
> FEATURE
> POINTS
> 0 0
> 100 -100
> END
> TEXT 'blah blah'
> END
> CLASS
> STYLE
> WIDTH 1.0
> OUTLINECOLOR 0 164 0
> ANTIALIAS false
> OPACITY 100
> END
>
>
> --
> -----------------
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -----------------
>
>
>
--
-----------------
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-----------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120925/93e99e15/attachment.htm>
More information about the MapServer-users
mailing list