#32071: Django Point requires GDAL on Windows
-------------------------------------+-------------------------------------
     Reporter:  danielsjf            |                    Owner:  nobody
         Type:                       |                   Status:  new
  Cleanup/optimization               |
    Component:  GIS                  |                  Version:  3.1
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Description changed by danielsjf:

Old description:

> 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 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.

New description:

 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.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32071#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.009402731dcba1683a45176b4f6a5f13%40djangoproject.com.

Reply via email to