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

2012-10-16 Thread Pieri70
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=myP

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

2012-10-12 Thread Pieri70
Hi Paolo, thanks. Running the script for each layer assume that I know every layer inside each dxf. That's not possible because the content of a dxf depend on its location. A dxf locate in mountain has different layers of a dxf representing a seaside city.. But I know all layers that I don't wa

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

2012-10-12 Thread Paolo Corti
Hi you'd better do asking to gdal-dev list, as it is a GDAL question. Anyway: On Fri, Oct 12, 2012 at 2:21 PM, Pieri70 wrote: > Hello > I'm trying to load a thousand dxf files to postgis using ogr2ogr (windows xp > postgres9/postgis2). > the syntax I use is: > ogr2ogr --config DXF_INLINE_BLOCKS F