Opened 15 years ago

Closed 13 years ago

#13267 closed Cleanup/optimization (fixed)

Update gis tutorial python examples

Reported by: samueladam Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords: gis, tutorial, documentation
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

Three minor fixes in documentation example:

  • import only DataSource instead of *
  • ogrinspect now returns 'geom' field instead of 'mpoly'
  • in the example verbose=verbose was not defined

Attachments (1)

gis_tutorial_update.diff (1.2 KB ) - added by samueladam 15 years ago.
gis tutorial examples, minor fixes

Download all attachments as: .zip

Change History (9)

by samueladam, 15 years ago

Attachment: gis_tutorial_update.diff added

gis tutorial examples, minor fixes

comment:1 by Russell Keith-Magee, 15 years ago

Component: GISDocumentation
milestone: 1.2
Triage Stage: UnreviewedAccepted

comment:2 by Russell Keith-Magee, 15 years ago

Triage Stage: AcceptedReady for checkin

comment:3 by Russell Keith-Magee, 15 years ago

Patch needs improvement: set
Triage Stage: Ready for checkinAccepted

On closer inspection, I'm not convinced any of the three fixes are correct.

  • I don't know if we we want to encourage importing from gdal.datasource directly, or if gdal is the preferred location
  • The fix for 'geom' is inconsistenly applied - the following text talks about the mpoly option
    • verbose is defined; it's an argument to run.

comment:4 by Russell Keith-Magee, 15 years ago

milestone: 1.2

Deferring due to the absence of a trunk-ready patch.

comment:5 by Julien Phalip, 14 years ago

Severity: Normal
Type: Cleanup/optimization

comment:6 by Aymeric Augustin, 13 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:7 by Aymeric Augustin, 13 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:8 by Claude Paroz, 13 years ago

Resolution: fixed
Status: newclosed

In [17754]:

Fixed #13267 -- Updated GeoDjango tutorial for the 1.4 release. Thanks samueladam for the report.

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