[postgis-users] What does this mean? assvg(...) ==> "M 10 4.1 -30.8 l 0 -0 0 -0 0 -0 -0 -0 -0 -0 -0 -0 0 -0 "

alex_chew alex_chew at 163.com
Mon Nov 20 00:06:27 PST 2006


Hi,there
 I tried to load all road polylines in box 104,30,106,32(EPSG:4326) with sql:
SELECT AsSVG(intersection(the_geom,GeometryFromText('POLYGON((104 30,106 30,106 32,104 32,104 30))',4326)),1,1) AS svg_geom FROM road_polyline WHERE the_geom && setSRID('BOX3D(104 30, 106 32)'::box3d,4326)

I got some results like,
"M 104.1 -30.8 l 0 -0 0 -0 0 -0 -0 -0 -0 -0 -0 -0 0 -0 "
"M 104.2 -30.8 l 0 0 0 0 0 0 "
"M 104.2 -30.8 l 0 0 "
"M 104.2 -30.8 l 0 0 0 0 "
"M 104.1 -30.8 l 0 -0 0 -0 "
"M 104.1 -30.8 l 0 0 0 0 "
"M 104.2 -30.8 l 0 0 0 0 0 0 0 0 0 0 0 0 0 -0 0 0 0 0 "
"M 104.1 -30.8 l 0 -0 "

what does this mean? It should be something like,
M 104.1 -30.8 l 104.* -30.* l p3x p3y l p4x p4y
Why does there so many zero(0)?

I cannot make it display on my SVG document.

thanks in advance.
alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20061120/63c27776/attachment.html>


More information about the postgis-users mailing list