Code

Opened 7 years ago

Closed 7 years ago

#5433 closed (fixed)

Make GDAL an optional requirement

Reported by: rcoup Owned by: jbronn
Component: GIS Version: gis
Severity: Keywords: sprint
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

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 (1)

remove_gdal_dep.patch (1.8 KB) - added by rcoup 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by rcoup

comment:1 Changed 7 years ago by adrian

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Version changed from SVN to gis

comment:2 Changed 7 years ago by jbronn

  • Owner changed from nobody to jbronn
  • Status changed from new to assigned

Agreed, I never intended to make GDAL required.

comment:3 Changed 7 years ago by jbronn

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

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

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.