Opened 2 years ago
Last modified 2 years ago
#2352 closed defect
mapnik python demo ol15 — at Version 1
Reported by: | darkblueb | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | OSGeoLive15.0 |
Component: | OSGeoLive | Keywords: | mapnik, jupyter |
Cc: | osgeolive@… |
Description (last modified by )
a mapnik python demo included in the dot-deb packaging fails [0]
earlier #osgeolive versions ref: https://trac.osgeo.org/osgeolive/ticket/2255
mapnik will render to a Jupyter Notebook:
https://git.osgeo.org/gitea/darkblueb/ol14_ipynb_misc/src/branch/master/mapnik-py
TODO demo for ol15
==
mapnik
user@ol15nightly:~$ cp -R /usr/share/doc/python3-mapnik/examples/* mapnik_test/
user@ol15nightly:~/mapnik_test/demo/python$ python3 rundemo.py Traceback (most recent call last):
File "/home/user/mapnik_test/demo/python/rundemo.py", line 322, in <module>
mapnik.render(m, im)
RuntimeError: Cannot initialize proj_transform for given projections without proj4 support (-DMAPNIK_USE_PROJ4): '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs'->'+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 +datum=NAD83 +units=m +no_defs'
Change History (1)
comment:1 by , 2 years ago
Description: | modified (diff) |
---|---|
Keywords: | mapnik jupyter added |
Milestone: | → OSGeoLive15.0 |