Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • M mapnik3
  • Project information
    • Project information
    • Activity
    • Members
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
Collapse sidebar
  • 周峰
  • mapnik3
  • Wiki
  • LearningMapnik

LearningMapnik · Changes

Page history
clone mapnik wiki from github. authored May 14, 2021 by 周峰's avatar 周峰
Hide whitespace changes
Inline Side-by-side
LearningMapnik.md 0 → 100644
View page @ 8516de00
Mapnik can be used in a variety of ways. The most widely used options are using XML config files, using the Python bindings or using the API directly in C++.
## General Concepts
* [[MapnikCoreConcepts]]
* [[IntroductionToGIS]] -- a brief intro to the world of mapping systems
## Getting started
Mapnik is written in C++, but many users use its bindings to higher-level languages, including Python or Javascript. If you've got an application that wraps Mapnik entirely, you might only need to concern yourself with the XML stylesheets that describe Mapnik's map styles.
To get first results, choose your weapon: XML, Python, C++, node.js, Ruby, Java (last two are less complete)
* [[Getting started using XML|GettingStartedInXML]]
* [[Getting started using Python|GettingStartedInPython]]
* [node.js bindings](http://github.com/mapnik/node-mapnik)
* [Ruby bindings](https://github.com/mapnik/Ruby-Mapnik)
* [Java bindings](https://github.com/SpatialInteractive/mapnik-jni)
### Further Resources:
- [[Mapnik API]]
- [[Notes and Caveats]]
- [[MapnikTutorials]]
- [[ExampleCode]]
## How to Style your Maps
* [[SymbologySupport]]
* [[MapDesign]] -- use Mapnik to design better looking maps!
## How to combine Map styles and Layers
* See the [[MapnikTutorials]]
* XML Mapfile details [[XMLConfigReference]]
## How to read in data
* [[PluginArchitecture]]
## How to use the Mapnik Python Bindings
* See the python api docs [here](http://mapnik.org/docs/v2.0.1/api/python/)
* Check out the [[MapnikTutorials]] and the references at [[ExampleCode]]
* Study applications like Cascadenik or Nik2img at http://mapnik-utils.googlecode.com/
## Advanced Topics
* [[MapnikRenderers]] -- Render with AGG or Cairo
* [[OutputFormats]] -- Which format to use based on speed, quality, and rendering tradeoffs.
* [[LabelingSupport]] -- Discover the intricacies of label placement.
[Generating Contours](http://wiki.openstreetmap.org/index.php/Contours) - Using Mapnik with GDAL to build contours of the world.
[[ManagingLargeXmlFiles]] -- Do things once and only once using XML entities.
[[Hooking up Mapnik to PostGIS|PostGIS]]
[[MapnikReferences]] -- Various other resources related to Mapnik and Mapping
\ No newline at end of file
Clone repository
  • A perfect testcase
  • API changes between v2.0 and v2.1
  • API changes between v3.0 and v3.1
  • AWS Lambda
  • About Mapnik
  • AlsoFilter
  • Api changes between v2.1 and v2.2
  • Api changes between v2.2 and v2.3
  • Api changes between v2.3 and v3.0
  • ArchInstallation
  • Aspect Fix Mode
  • Benchmark Notes
  • BoundsClipping
  • BrokenExceptions
  • BuildingSymbolizer
View All Pages