[gdal-dev] DXF to Postgis using ogr2ogr

Bob Pawley rjpawley at shaw.ca
Fri Dec 16 16:14:38 EST 2011


I have imported a dxf file into Postgis using the following command line -

set DXF_INLINE_BLOCKS=FALSE&set DXF_MERGE_BLOCK_GEOMETRIES=FALSE&set PGCLIENTENCODING=LATIN1&&ogr2ogr -f "PostgreSQL" PG:"host=localhost user=postgres dbname=dbname password=pass"  W_Works.dxf -nln Import_PID -overwrite –skipfailures 

All geometries are intact.

However, the text is part of the Linestring layer and not in the text column 
of the Postgresql table.

Is this to be expected?

Is there some way of screening out the text as text and point geometry?

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20111216/aff7342e/attachment.html


More information about the gdal-dev mailing list