Opened 10 years ago

Last modified 10 years ago

#24207 closed Cleanup/optimization

contrib gis change ogrinspect multi_geom default to True — at Initial Version

Reported by: Michael Diener Owned by: nobody
Component: GIS Version: dev
Severity: Normal Keywords: gis, multi_geom
Cc: mdiener21@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I would recommend changing the /contrib/gis/util/ogrinspect.py default to use "Multi" geometry because this will eliminate ERROR when trying to import a data set that could contain both linestring and multilinestring for example.

The reason is that gdal cannot always guess the correct geometry type for example in a Shapefile.

# TODO: Autodetection of multigeometry types (see #7218).

Change History (1)

by Michael Diener, 10 years ago

Attachment: ogrinspect.py added

new ogrinspect.py code

Note: See TracTickets for help on using tickets.
Back to Top