[postgis-users] DXF to Postgis using ogr

Bob Pawley rjpawley at shaw.ca
Fri Dec 16 13:13:26 PST 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20111216/3ddbf206/attachment.html>

More information about the postgis-users mailing list