Problem with ogr2ogr
Elstermann, Mike
Mike.Elstermann at ITC-HALLE.DE
Thu Oct 14 05:55:41 PDT 2004
Hi MapServers,
I have a problem with OGR2OGR.
I try to convert DGN-Files in ESRI-Shape-Files with this usage:
/usr/local/bin/ogr2ogr -skipfailures -f "ESRI Shapefile" -nlt POLYGON
/susepool2/xxxpolygon /test.dgn
Many polygons were converted, but app. 50% were not converted. I've got only
Error-Messages for POINT and LINESTRING, but not for POLYGON.
a sniplett
ERROR 1: Attempt to write non-polygon (POINT) geometry to type shapefile.
ERROR 1: Attempt to write non-polygon (LINESTRING) geometry to type
shapefile.
ERROR 1: Attempt to write non-polygon (LINESTRING) geometry to type
shapefile.
ERROR 1: Attempt to write non-polygon (POINT) geometry to type shapefile.
ERROR 1: Attempt to write non-polygon (LINESTRING) geometry to type
shapefile.
ERROR 1: Attempt to write non-polygon (LINESTRING) geometry to type
shapefile.
ArcView/CAD-Reader shows all polygon!
In the DBF i can see the Item ENTITY with the values "Cell", "Circle", "Line
String" und "Shape". My convert lost all polygons with the entity "LINE
STRING". But the coversion with the option "-nlt LINESTRING" brings only
Line-Shapes.
Is there anywhere a tip?
Für Rückfragen stehe ich Ihnen gern zur Verfügung.
::: mfg. Mike Elstermann [mikeE.], Teamleiter GIS/e-Solutions
::: IT-Consult Halle GmbH, Bornknechtstraße 5, 06108 Halle (Saale)
::: Tel.: +49 345 581 7128, Fax: +49 345 581 1737, mobil: +49 160 71 545 02
::: mike.elstermann at itc-halle.de ::: http://www.itc-halle.de
::: GeoDaten Online? -> http://halgis.halle.de; http://umweltatlas.halle.de
More information about the MapServer-users
mailing list