[Django] #30438: GeoDjango .SHP file Specifications

9 views
Skip to first unread message

Django

unread,
May 3, 2019, 2:59:14 PM5/3/19
to django-...@googlegroups.com
#30438: GeoDjango .SHP file Specifications
-------------------------------------+-------------------------------------
Reporter: ryan-WORK | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 2.2
Severity: Normal | Keywords: Shapefile Geom
Triage Stage: | Admin
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When using GeoDjango I seem to run into errors with shapefiles other than
the provided World Map `TM_WORLD_BORDERS-0.3`.

What are the steps to create a shapefile with the propor fields that are
needed to get the `geom` working within the admin? Is there a way to
document that in the GeoDjango tutorial?

Currently the shapefiles that I have are not being shown in the Admin of
GeoDjango after they are uploaded with the `Layer Mapping` examples
provided by the tutorial.

--
Ticket URL: <https://code.djangoproject.com/ticket/30438>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 3, 2019, 3:01:20 PM5/3/19
to django-...@googlegroups.com
#30438: GeoDjango .SHP file Specifications
-------------------------------------+-------------------------------------
Reporter: ryan-WORK | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 2.2
Severity: Normal | Resolution:

Keywords: Shapefile Geom | Triage Stage:
Admin | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ryan-WORK):

* Attachment "Screen Shot 2019-05-03 at 11.59.48 AM.png" added.

Not working

Django

unread,
May 3, 2019, 3:01:43 PM5/3/19
to django-...@googlegroups.com
#30438: GeoDjango .SHP file Specifications
-------------------------------------+-------------------------------------
Reporter: ryan-WORK | Owner: nobody
Type: Bug | Status: new
Component: GIS | Version: 2.2
Severity: Normal | Resolution:

Keywords: Shapefile Geom | Triage Stage:
Admin | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by ryan-WORK):

* Attachment "Screen Shot 2019-05-03 at 12.00.45 PM.png" added.

Working as expected

Django

unread,
May 6, 2019, 6:31:20 AM5/6/19
to django-...@googlegroups.com
#30438: GeoDjango .SHP file Specifications.
-------------------------------------+-------------------------------------
Reporter: Ryan Carl | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: GIS | Version: master
Severity: Normal | Resolution: invalid

Keywords: Shapefile Geom | Triage Stage:
Admin | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by felixxm):

* status: new => closed
* resolution: => invalid
* version: 2.2 => master
* type: Bug => Cleanup/optimization


Comment:

I'm not a GIS expert, but wiki page may be outdated (7 years old), I would
rather use [https://docs.djangoproject.com/en/2.2/ref/contrib/gis/tutorial
/#geodjango-tutorial geodjango-tutorial].

Django is not responsible for ESRI Shapefile geospatial data format. You
can always ask on the [https://groups.google.com/forum/#!forum/geodjango
geodjango] mailing list. Closing per
TicketClosingReasons/UseSupportChannels.

--
Ticket URL: <https://code.djangoproject.com/ticket/30438#comment:1>

Reply all
Reply to author
Forward
0 new messages