[postgis-users] Help on using Ogr2ogr to load dxf data to postgis

Pieri70 pierigis at gmail.com
Tue Oct 16 06:26:36 PDT 2012


After googlin' around I get an answer myself..

This is the string I use to load a dxf file to postgis without any Layer
that begin with "X":

ogr2ogr --config DXF_INLINE_BLOCKS FALSE --config DXF_MERGE_BLOCK_GEOMETRIES
FALSE -f "PostgreSQL" PG:"host=localhost user=postgres dbname=mydb
password=myPassw" mydxf.dxf -where "Layer NOT LIKE 'X%'" -overwrite entities

bie
Pietro



--
View this message in context: http://postgis.17.n6.nabble.com/Help-on-using-Ogr2ogr-to-load-dxf-data-to-postgis-tp5000446p5000516.html
Sent from the PostGIS - User mailing list archive at Nabble.com.



More information about the postgis-users mailing list