[postgis-users] PostGIS and GML
strk at refractions.net
strk at refractions.net
Wed Feb 23 09:51:25 PST 2005
On Wed, Feb 23, 2005 at 09:36:00AM -0800, Paul Ramsey wrote:
> Not really a great idea... something best delegated to other
> applications. Your problem with ogr2ogr likely is related to 0.9->1.0
> version differences. Hopefully either the next rc, or a new ogr will fix
> up these issues shortly. No point in reinventing the generic format
> conversion wheel.
If its related to 0.9->1.0 RC3 won't fix it, as 0.9 geometry fields
were returned as WKT while 1.0 ones are returned as HEXEWKB.
--strk;
>
> Paul
>
> TECHER Jean David wrote:
>
> >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
> >
> >
> >
> >_______________________________________________
> >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