Mapnik
| Mapnik | |
|---|---|
| File:Mapnik logo.svg | |
| Original author | Artem Pavlenko |
| Developer | The Mapnik Contributors |
| Repository |
|
| Written in | C++ |
| Engine | |
| Operating system | Cross-platform |
| License | LGPL |
Mapnik is an open-source mapping toolkit for desktop and server based map rendering, written in C++. Artem Pavlenko, the original developer of Mapnik, set out with the explicit goal of creating beautiful maps[1] by employing the sub-pixel anti-aliasing of the Anti-Grain Geometry (AGG) library. Mapnik now also has a Cairo rendering backend. For handling common software tasks such as memory management, file system access, regular expressions, and XML parsing, Mapnik utilizes the Boost C++ libraries. An XML file can be used to define a collection of mapping objects that determine the appearance of a map, or objects can be constructed programmatically in C++, Python, and Node.js.
Data format
[edit | edit source]A number of data formats are supported in Mapnik using a plugin framework. Current plugins exist that utilize OGR and GDAL to read a range of vector and raster datasets. Mapnik also has custom Shapefile, PostGIS and GeoTIFF readers. There is also an osm2pgsql utility,[2] that converts OpenStreetMap data into a format that can be loaded into PostgreSQL. Mapnik can then be used to render the OSM data into maps with the appearance the user wants.
Platforms
[edit | edit source]Mapnik is a cross platform toolkit that runs on Windows, Mac, Unix-like systems like Linux and Solaris (since release 0.4).
Usage
[edit | edit source]One of its many users is the OpenStreetMap project (OSM), which uses it in combination with an Apache Web Server module (mod_tile) and openstreetmap-carto style to render tiles that make up the OSM default layer.[3][4] Mapnik is also used by CloudMade,[5] MapQuest,[6] and MapBox.[7]
License
[edit | edit source]Mapnik is free software and is released under LGPL (GNU Lesser General Public Licence).
References
[edit | edit source]- ^ Beautiful Maps as an explicit goal in the Mapnik FAQ
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ OpenStreetMap's main Slippy Map layer
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
- ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
External links
[edit | edit source]Lua error in mw.title.lua at line 392: bad argument #2 to 'title.new' (unrecognized namespace name 'Portal').
- Lua error in Module:Official_website at line 94: attempt to index field 'wikibase' (a nil value).