[Gdal-dev] Ogr2ogr crashes for MiF/Mid
Marc Jacquin
marc.jacquin at magellium.fr
Wed Feb 15 04:59:36 EST 2006
Hi all,
Ogr2ogr seems to be a convenient tool for transforming WKT geometries into
other formats like Shape files or MapInfo files.
But ogr2ogr crashes when using MapInfo File output, runs OK for the same
command line with ESRI Shapefile output.
ogr2ogr -f "MapInfo File" d:/temp/aaaa.mif PG:"user=xxx dbname=postgres
host=localhost port=5432 password=zzzz" -sql "select
Geomfromtext('POLYGON((-15 -15, -15 15, 15 15,15 -15,-15 -15))')"
It runs OK too with the name of a table instead of the SQL statement.
Thanks for helping.
Marc
More information about the Gdal-dev
mailing list