Code

Opened 4 years ago

Closed 2 years ago

#13267 closed Cleanup/optimization (fixed)

Update gis tutorial python examples

Reported by: samueladam Owned by: nobody
Component: Documentation Version: master
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 4 years ago.
gis tutorial examples, minor fixes

Download all attachments as: .zip

Change History (9)

Changed 4 years ago by samueladam

gis tutorial examples, minor fixes

comment:1 Changed 4 years ago by russellm

  • Component changed from GIS to Documentation
  • milestone set to 1.2
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 4 years ago by russellm

  • Triage Stage changed from Accepted to Ready for checkin

comment:3 Changed 4 years ago by russellm

  • Patch needs improvement set
  • Triage Stage changed from Ready for checkin to Accepted

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 Changed 4 years ago by russellm

  • milestone 1.2 deleted

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

comment:5 Changed 3 years ago by julien

  • Severity set to Normal
  • Type set to Cleanup/optimization

comment:6 Changed 2 years ago by aaugustin

  • UI/UX unset

Change UI/UX from NULL to False.

comment:7 Changed 2 years ago by aaugustin

  • Easy pickings unset

Change Easy pickings from NULL to False.

comment:8 Changed 2 years ago by claudep

  • Resolution set to fixed
  • Status changed from new to closed

In [17754]:

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.