Skip to Content

mapnik v2024-04-18

Created
Updated

Mapnik is an open source toolkit for developing mapping applications.

# Usage

The package mapnik provides CMake targets:

find_package(mapnik CONFIG REQUIRED)
target_link_libraries(main PRIVATE mapnik::mapnik mapnik::json mapnik::wkt) 

If you only need the compile definitions without any sources, use target mapnik::core.
If any plugins were installed, call the function mapnik_find_plugin_dir(MAPNIK_PLUGIN_DIR) to get the plugin installation folder for the currently used configuration. See the docs for more information.

# License

# Supported Platforms

!xbox

  • linux
  • osx
  • uwp
  • windows

    # Features

    Default features: grid-renderer , jpeg , png , proj , svg-renderer , tiff , webp

    # cairo

    Cairo renderer

    Dependencies:
    and 18 transitive dependencies:
    Host Dependencies:
    5 transitive dependencies:

    # grid-renderer default

    Grid renderer

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # input-csv

    CSV input plugin

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # input-gdal

    GDAL input plugin

    Dependencies:
    and 43 transitive dependencies:
    Host Dependencies:
    7 transitive dependencies:

    # input-geobuf

    GEOBUF input plugin

    Dependencies:
    and 3 transitive dependencies:
    Host Dependencies:
    2 transitive dependencies:

    # input-geojson

    GEOJSON input plugin

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # input-ogr

    OGR input plugin

    Dependencies:
    and 43 transitive dependencies:
    Host Dependencies:
    7 transitive dependencies:

    # input-pgraster

    PGRASTER input plugin

    Dependencies:
    and 3 transitive dependencies:
    Host Dependencies:
    6 transitive dependencies:

    # input-postgis

    POSTGIS input plugin

    Dependencies:
    and 3 transitive dependencies:
    Host Dependencies:
    6 transitive dependencies:

    # input-raster

    RASTER input plugin

    Dependencies:
    and 17 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # input-shape

    SHAPE input plugin

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # input-sqlite

    SQLITE input plugin

    Dependencies:

    No transitive dependencies.

    Host Dependencies:
    2 transitive dependencies:

    # input-topojson

    TOPOJSON input plugin

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # jpeg default

    add jpeg support

    Dependencies:

    No transitive dependencies.

    Host Dependencies:
    2 transitive dependencies:

    # libxml2

    use libxml2 instead of rapidxml

    Dependencies:
    and 3 transitive dependencies:
    Host Dependencies:
    2 transitive dependencies:

    # png default

    add png support

    Dependencies:
    and one transitive dependency:
    Host Dependencies:
    3 transitive dependencies:

    # proj default

    PROJ Functionalities

    Dependencies:
    and 7 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # svg-renderer default

    SVG renderer

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # tiff default

    add tiff support

    Dependencies:
    and 3 transitive dependencies:
    Host Dependencies:
    2 transitive dependencies:

    # utility-geometry-to-wkb

    utility application geometry-to-wkb

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # utility-mapnik-index

    utility application mapnik-index

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # utility-mapnik-render

    utility application mapnik-render

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # utility-ogrindex

    utility application ogrindex

    Dependencies:

    No dependencies.

    Host Dependencies:

    No dependencies.

    # utility-pgsql2sqlite

    utility application pgsql2sqlite

    Dependencies:
    and 40 transitive dependencies:
    Host Dependencies:
    7 transitive dependencies:

    # utility-shapeindex

    utility application shapeindex

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # utility-svg2png

    utility application svg2png

    Dependencies:
    and 37 transitive dependencies:
    Host Dependencies:
    3 transitive dependencies:

    # viewer

    Make demo viewer application

    Dependencies:
    and 48 transitive dependencies:
    Host Dependencies:
    8 transitive dependencies:

    # webp default

    add webp support

    Dependencies:

    No transitive dependencies.

    Host Dependencies:
    2 transitive dependencies:

    # Dependencies

    and 80 transitive dependencies:

    # Host Dependencies

    # Dependents

    No dependents.

    # Host Dependents

    No dependents.

    # Contributors

    • Mathis Logemann's avatar Mathis Logemann
    • autoantwort's avatar autoantwort
    • Bert Huijben's avatar Bert Huijben
    • Kai Pastor's avatar Kai Pastor
    • nicole mazzuca's avatar nicole mazzuca
    • مهدي شينون (Mehdi Chinoune)'s avatar مهدي شينون (Mehdi Chinoune)
    • jim wang's avatar jim wang
    • Chuck Walbourn's avatar Chuck Walbourn
    • Thomas1664's avatar Thomas1664
    • Alexander Neumann's avatar Alexander Neumann

    # Changelog

    • cbf4a66 [Boost] Update to 1.85 (#38523)
    • 3a882b3 [many ports] Don't depend on default features of tiff (#38049)
    • a384dff [mapnik] fix deps (#36511)
    • 23a7cab [mapnik] fix features input-csv (#33801)
    • 5d2a0a9 Update xbox supports expressions for failing ports with copyleft licenses (#31770)
    • 1895329 [mapnik] Fix compile errors using gcc13 (#31959)
    • b81bc3a [mapnik] build against Qt6 (#30369)
    • 0bf1ec6 [mapnik] update to latest (#29014)
    • 9ccd693 [toolchain windows] set CMAKE_SYSTEM_PROCESSOR (#24100)
    • fb34164 [proj, proj4] Update to PROJ 9.0.0 & make proj the regular port (#23186)
    and 8 more commits:

    # Source