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

Pietro Rossin pierigis at gmail.com
Tue Oct 16 06:24:33 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://osgeo-org.1560.n6.nabble.com/Help-on-using-Ogr2ogr-to-load-dxf-data-to-postgis-tp5008635p5009002.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.


More information about the gdal-dev mailing list