Skip to content

ZM Shapefiles fail to parse #1

Description

@mflaxman10

Typical of files digitized in Google Earth and processed from KML to shape. Problem persists across conversion and is difficult to diagnose.

Expected behavior: should reject with appropriate error message, or force conversion to simple features.

According to:
https://gis.stackexchange.com/questions/166523/remove-3d-geometry-in-shapefile-using-ogr
could use:
ogr2ogr -f "ESRI Shapefile" output_2d.shp input_zm.shp -dim 2
where -dim 2 strips the unwanted dimensions.

Example file with this problem:
shapefiles/aggregationlayers/Pivot_Pamplona2.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions