New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make mapnik work with gdal and python #2211
Comments
Mapnik bundles it own internal gdal in the windows binary packages so any externally installed gdal will be ignored.
|
And the ogr2ogr also bundled to mapnik internally? In fact, we need the filegdb plugin, I am afraid mapnik bundle this too... :( |
No, not the command line tool. Only
The Mapnik v2.2.0 SDK does not bundle a GDAL recent enough for OpenFileGDB. But the next version due out soon: Mapnik v.2.3.x SDK will support http://erouault.blogspot.com/2014/01/ogr-openfilegdb-driver.html |
I am sorry but I am a little confused. At the wiki page: https://github.com/mapnik/mapnik/wiki/PluginArchitecture It seems that mapnik support ogr plugin though it is not bundled by default, since ogr is a part of gdal, and you have mentioned that : externally installed gdal will be ignored. So I wonder what should I do if I want to use ogr plugin? |
the "mapnik ogr plugin" is a separate plugin, but it depends on the same dependency: libgdal. |
did you get this worked out? |
Not yet, but we try to give it up. Use shapefile instead. |
Hi:
I am try to use mapnik to create our map, but we need the ogr plugin, so we tried to install gdal.
Since we work on windows 8.1 of 64 bit, and we found that mapnik just support pytyon of 32 bit:
First ensure you have 32 bit python 27 installed
https://gist.github.com/springmeyer/5651701
Then I remove my pre-installed python of 64 bit, and re-install 32 bit python, and finally we make mapnik work(we can run the python demo and get image created).
However when we tried to install gdal, we meet some problem, which version of gdal can we use? We get gdal binary package here:http://www.gisinternals.com/sdk/.
Both 32 bit and 64 bit are supported, so I am confused which is the right way?
BTW, IMO, the issue is caused by the python binding, I wonder if I have other choice? In fact, I am not familiar with python at all, I used to use java only, but it seems that the mapnik-jni project:
https://github.com/SpatialInteractive/mapnik-jni
is not activated more, since the latest update is almost 3 years ago.
The text was updated successfully, but these errors were encountered: