#24207: contrib gis change ogrinspect multi_geom default to True
-------------------------------------+-------------------------------------
Reporter: mdiener21 | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: GIS | Version: 1.8alpha1
Severity: Normal | Resolution:
Keywords: gis, multi_geom | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by mdiener21):
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old 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).
New 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.
link to my GIT Branch
https://github.com/mdiener21/django/blob/master/django/contrib/gis/utils/ogrinspect.py
# TODO: Autodetection of multigeometry types (see #7218).
--
Comment:
forgot the link to my GIT branch
https://github.com/mdiener21/django/blob/master/django/contrib/gis/utils/ogrinspect.py
Pull Request was already sent off :)
--
Ticket URL: <https://code.djangoproject.com/ticket/24207#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.dd9018dfed8070d202b912b2e5ddcd66%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.