Django

Code

Ticket #5433 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

Make GDAL an optional requirement

Reported by: rcoup Assigned to: jbronn
Milestone: Component: GIS
Version: gis Keywords: sprint
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

The GDAL library is magnitudes more complicated to install than GEOS and is not required for the basic GIS functionality (WKT, geometry operations, querying). And GDAL won't work on windows anytime soon.

The attached patch to mixin.py checks for gdal and throws exceptions in the get_GEOM_ogr() and get_GEOM_srs() methods. models.py already has a similar check.

Attachments

remove_gdal_dep.patch (1.8 kB) - added by rcoup on 09/13/07 19:22:41.

Change History

09/13/07 19:22:41 changed by rcoup

  • attachment remove_gdal_dep.patch added.

09/13/07 23:37:21 changed by adrian

  • needs_better_patch changed.
  • version changed from SVN to gis.
  • needs_tests changed.
  • needs_docs changed.

09/14/07 09:01:40 changed by jbronn

  • owner changed from nobody to jbronn.
  • status changed from new to assigned.

Agreed, I never intended to make GDAL required.

09/14/07 09:02:38 changed by jbronn

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [6188]) gis: Fixed #5433 -- GDAL is not a prerequisite.


Add/Change #5433 (Make GDAL an optional requirement)




Change Properties
Action