[postgis-users] GML vs SVG

Paul Ramsey pramsey at refractions.net
Wed Apr 7 09:08:03 PDT 2004


Sean Montague wrote:
> I have made many a map with SVG, but I'm new to PostGIS.  So new in
> fact that I haven't even installed it yet.  I've been using MySQL,
> but have come to the conclusion that postgreSQL is the way to go.
> So, for those of you familiar with both SVG and GML, can you explain
> the relationship between the two, it seems they are not mutually
> exclusive, and why wouldn't I write directly to SVG if a map ends up
> in SVG anyway?  I'm trying to sort through all this to determine the
> direction I should go in.  Thanks.

If you are determined to write out SVG then certainly GML gives you 
nothing in terms of advantage. If you are building a more generic 
infrastructure, then a WFS (web feature server that serves GML) on top 
of your database can provide a nice generic API to your underlying data.

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




More information about the postgis-users mailing list