[postgis-users] PostGIS and GML

TECHER Jean David davidtecher at yahoo.fr
Wed Feb 23 09:35:12 PST 2005


PAUL do U think it could be a great idea to code a such function...in order
to export in gml
OR to do something like pgsql2shp => pgsql2gml ????
----------------------------------------------------------------
TECHER Jean David
Responsable Informatique 01MAP
e-mail: davidtecher at yahoo.fr
Bureau: 04 67 45 60 27
Portable: 06 85 37 36 75
site perso : http://techer.pascal.free.fr/postgis/
site pro: http://www.01map.com/download/
K-S:"The greatest trick the devil pulled off was convincing people he didn't
exist"
------------------------------------------------------------
----- Original Message -----
From: "Paul Ramsey" <pramsey at refractions.net>
To: "PostGIS Users Discussion" <postgis-users at postgis.refractions.net>
Sent: Wednesday, February 23, 2005 4:42 PM
Subject: Re: [postgis-users] PostGIS and GML


You could install a geoserver on top, and just do a WFS request?
That'll give you nice legal GML. It would be nice if we could do
something better with the asgml() function... we could probably do
something that works on tables or views and had asgmlschema('table'),
asgml('table') to get both halves of the info. I dunno. There's already
a nice GML tool in geoserver and it's realtime interactive.

What are you using your GML for?

On 23-Feb-05, at 5:08 AM, TECHER Jean David wrote:

> Hi
>
> I tried to export PostGIS data to GML using (ogr2ogr with support for
> GML (only version 2.0 is supported from this tool))
> ad AsGML function from postgis...
>
> example:
>
> ogr2ogr -f GML building.gml PG:dbname=madatabase -sql "SELECT
> id,data,asgml(the_geom) FROM buildings"
>
> then do few replacements in buildings.gml using cat/sed (cut '<asgml'
> , '</asgml>' and son on..;)
>
> This method is no very nice ...Did someone have a better idea to
> export from PostGIS => GML
>
> or does exist tools for that???
>
> Thanks U
>
>
> ----------------------------------------------------------------
> TECHER Jean David
> Responsable Informatique 01MAP
> e-mail: davidtecher at yahoo.fr
> Bureau: 04 67 45 60 27
> Portable: 06 85 37 36 75
> site perso : http://techer.pascal.free.fr/postgis/
> site pro: http://www.01map.com/download/
> K-S:"The greatest trick the devil pulled off was convincing people he
> didn't exist"
> ------------------------------------------------------------
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users






More information about the postgis-users mailing list