Error transforming geometry from srid '4326' to srid '3857'

134 views
Skip to first unread message

Oj Obasi

unread,
Sep 8, 2020, 2:24:14 AM9/8/20
to geodjango
I keep getting the below error, trying to run geodjango on google gcloud.

Report
Error transforming geometry from srid '4326' to srid '3857' (OGR failure.)

Django Version: 3.0.2
Python Executable: /usr/local/bin/python
Python Version: 3.8.5
Python Path: ['/', '/usr/local/bin', '/usr/local/lib/python38.zip', '/usr/local/lib/python3.8', '/usr/local/lib/python3.8/lib-dynload', '/usr/local/lib/python3.8/site-packages']
Server time: Tue, 8 Sep 2020 13:44:14 +0900

Tried even adding the path in my settings file as below, but still no success.
GDAL_DATA = '/data/'
 
I am deploying to Google App Engine Flex Environment. I had to build a custom runtime, with Docker.

The thing is, I am only getting this error, in GCloud. My local development environment has no problem.

Any help to solve this will be greatly appreciated.
Reply all
Reply to author
Forward
0 new messages