[Mapserver-users] Mapserver 4.1 (dev) and SVG output problem
Steve Lime
steve.lime at dnr.state.mn.us
Tue Feb 3 15:10:18 PST 2004
How are you generating the SVG, using a template? If so, what does the
template(s) look like?
Steve
>>> yuth hor <mofumyke at yahoo.com> 2/3/2004 5:30:51 AM >>>
Hi all,
I have tried to generate the SVG file from mapserver, first, I use
Redhat 9 + Mapserver 4.1 (nightly build (27.01.04)
So, My results are:
1. It was ok with the shp file in UTM
2. It had a problem with a shp file in Lat Lon (because the SVG file
that returned from Mapserver is Integer value not floating point)
Here is the result SVG from Mapserver;
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"
>
<!-- flip the y coordinates so that the map orientation matches the
graphic orientation -->
<svg viewBox="135.000000 -49.000000 149.000000 -35.000000">
<desc>Generated by MapServer</desc>
<defs>
<style type="text/css">
<![CDATA[
.point { fill:black;stroke:black }
.line { fill:none;stroke:black }
.poly { cursor:pointer;fill:#003366;stroke:#999999;stroke-width:0.1 }
]]>
</style>
</defs>
<!-- features to follow -->
<!-- this is the start of a layer -->
<g class="poly">
<path id="[CTY_FIPS]" d="M 132 -33 132 -33 132 -33 132 -33 132 -33 132
-33 132 -33 132 -33M 132 -34 132 -34 132 -34 132 -34 132 -34 132 -34 132
-34 132 -34 132 -34 132 -34 132 -34M 132 -33 132 -33 132 -33 132 -33 132
-33 132 -33M 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132
-33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132
-33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33M 132 -33 132 -33 132
-33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33M 132
-33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33 132 -33M 132 -33 132
-33 132 -#12539;#12539;#12539;#12539;.142 -44 142 -44 142 -44 142 -44
142 -44 142 -44 142 -44 142 -44 142 -44 142 -44 142 -44 142 -44 142 -44
142 -44 142 -44 142 -44 142 -44 142 -44 142 -44 142 -45 142 -45 142 -45
142 -45 142 -45 142 -45 142 -45 142 -45 142 -45 142 -45">
</path>
</g>
<!-- this is the end of a layer -->
<script>
<![CDATA[
]]>
</script>
</svg>
Anyone can guide me?
Thank you very much in advanced,
Teerayut
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
More information about the MapServer-users
mailing list