[postgis-users] PostGIS and GML

Markus Schaber schabios at logi-track.com
Thu Feb 24 02:43:42 PST 2005


Hi, Paul,

Paul Ramsey schrieb:
> 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 the 0.9->1.0 transition os the problem, then either ogr2ogr has to be
fixed to accept the new hexEWKB format, or you have to change the
ogr2ogr config to spit out WKT, like:

-sql "SELECT id,data,asEWKT(the_geom) FROM buildings"

or

-sql "SELECT id,data,asText(the_geom) FROM buildings"

HTH,
Markus
-- 
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios at logi-track.com | www.logi-track.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20050224/523b5dac/attachment.pgp>


More information about the postgis-users mailing list