[postgis-users] SELECT AsSvg(the_geom) FROM myTable

Paul Ramsey pramsey at refractions.net
Mon Jul 29 10:16:52 PDT 2002


Klaus,
It looks pretty simple. Am I right that polygons are not being handled
any differently than lines? It looks like SVG is little more than some
'M's and the coordinates... We would probably also want to break MULTI*
geometries into their primitive parts and return them that way, yes?

Klaus Foerster wrote:
> 
> Hello PostGIS users!
> 
> Beeing part of the Scalable Vector Graphics (SVG) community i'm quite interested
> in delivering svg content directly from the database - here is what i ended up with:
> 
> http://geo4.uibk.ac.at/~klaus/svg/postgis/
> 
> Do you think it is possible to implement a function like AsSvg() in the next release
> of PostGIS? A lot of SVG developers are waiting for something like that - at least I
> am, that's why I dared to edit postgis_inout.c without any knowledge of C ;-)
> 
> tell me what you think about my proposal
> 
> Klaus Foerster

-- 
      __
     /
     | Paul Ramsey
     | Refractions Research
     | Email: pramsey at refractions.net
     | Phone: (250) 885-0632
     \_




More information about the postgis-users mailing list