Mapnik Java

Calls libmapnik3.0.x from Java
Alternatives To Mapnik Java
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Node Spatialite55946 years ago7September 22, 201713otherC
Standalone, cross-platform SpatiaLite 4.0 binding for node.js with all features enabled
Postgis Java Ng13
6 days agolgpl-3.0Java
PostGIS Java bindings
Mapnik Java11
5 months ago4Java
Calls libmapnik3.0.x from Java
Alternatives To Mapnik Java
Select To Compare

Alternative Project Comparisons


This is a simple tileserver based on Spring and the libmapnik JNI bindings.


the Mapnik library will be needed, as this is all this PoC is about. Under debian unstable, as of writing this note, the setup can be performed issuing the following command:

# apt install libmapnik3.1

The mapnik-jni bindings for mapnik 3 will be needed. The original authors of Mapnik do not maintain such a tool, but there is a one available here:

 [email protected]:jlnr/mapnik-jni.git

Once cloned, the repository will require the libmapnik3.0-dev package. Then a simple make will result in the build/dist/ file to be generated.

Copy this to /usr/lib/jni/ directory, the libmapnik-jni.jar into /usr/share/java, then you should be done with the mapnik bindings setup.


Using osm2pgsql, load a postgis database, then edit the file simplemap.xml, the postgresql configuration around line 140 to adapt to your setup.


$ mvn jetty:run

Then a minimalist webserver should be available at http://localhost:8080/demo.




This is not much than a Proof-of-Concept ! Do not expect to use it in production, as there is no caching of the generated tiles, which can take ~ 1 minute on my computer to render ...

Popular Bindings Projects
Popular Postgis Projects
Popular Libraries Categories

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.