Opened 4 years ago

Last modified 4 years ago

#32071 closed Cleanup/optimization

Django Point requires GDAL on Windows — at Version 1

Reported by: Jef D Owned by: nobody
Component: GIS Version: 3.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Jef D)

I'm currently trying to include a leaflet map in Django. For this I'm using the Point class included in Django that requires the GDAL library in turn.

So far this process (documented [here](https://docs.djangoproject.com/en/3.1/ref/contrib/gis/install/#windows)) has been quite painful. Installing the GDAL library requires installing it via OSgeo4W, setting up the paths and installing some additional libraries. However, small differences in versions or multiple versions installed all cause troubles (currently I'm still facing a "OSError: [WinError 127] The specified procedure could not be found" error; OSgeo4W only supports GDAL 3.0.4 while there are no more wheels for this GDAL library and newer Python versions).

In the end, I'm not even using any advanced functionality, so I was wondering if those necessary GDAL libraries could only be loaded when needed instead of when Point is imported. I'm happy to assist in any work that could make the use of these GIS libraries more convenient on Windows.

Change History (1)

comment:1 by Jef D, 4 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top