Ok I found the command/syntax to uplad dxf files to postgis i.e.
ogr2ogr --config DXF_INLINE_BLOCKS FALSE --config DXF_MERGE_BLOCK_GEOMETRIES FALSE -f "PostgreSQL" PG:"host=localhost user=postgres dbname=pippo password=pippo" my_dxf.DXF entities But one problem arises.. No polygon is loaded as polygon but is converted to polyline. Many column, that are important to me (e.g. elevation), aren't loaded If I load a 3d dxf, is the information about elevation preserved into postgis? Any hint? Thanks Pietro 2012/3/19 Pietro Rossin <pietro.ros...@gmail.com>: > Ok, thanks again > pietro > > 2012/3/19 Nicolas Ribot <nicolas.ri...@gmail.com>: >>> I know gdal reads dxf, but i like co make a single postgis table for >>> many dxf, all merged together >>> >> >> There is an option in OGR to append data to an existing table instead >> of inserting (-append) >> >> Nicolas >> _______________________________________________ >> postgis-users mailing list >> postgis-users@postgis.refractions.net >> http://postgis.refractions.net/mailman/listinfo/postgis-users _______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users