Downloads
Latest Release
The latest release is Mapnik v3.0.22.最新版本是Mapnik v3.0.22。
Mapnik 3.0.22
Release Date: 22 January 2019
Source Installation
To build Mapnik v3.0.22 from source either download the v3.0.22 tarball or pull directly from github:
git clone https://github.com/mapnik/mapnik.git
cd mapnik
git checkout v3.0.22
git submodule update --init
./configure && make && make test
For source install help see the Install docs
You can also use git to fetch the latest code (will default to master
branch):
git clone https://github.com/mapnik/mapnik.git
Browse the code at github.
Download a snapshot as a zip archive.
Mapnik 2.2
Release Date: June 3rd, 2013
Platforms
OS X
The recommend install method on OS X is homebrew
. If you are running homebrew
simply do:
brew update && brew install mapnik
We also provide a pre-built OS X 64 bit package that will install into the same place (/usr/local
) as homebrew.
iOS
Windows
Ubuntu
Source
To build Mapnik v2.2.0 from source either download the v2.2.0 tarball or pull directly from github:
git clone https://github.com/mapnik/mapnik.git
git checkout v2.2.0
For source install help see the Install docs
Extra Installation Details
See platform specific notes at Mapnik Wiki.
See also the detailed Install guide for the development code.
Older releases
See the listing at the download archive on s3.
Your C++ compiler does NOT fully support C++11:https://blog.csdn.net/tan88881111/article/details/80059699
gcc windows:https://www.cnblogs.com/shichuan/p/4475178.html
https://www.cnblogs.com/valor-xh/p/7371710.html
gcc:https://blog.csdn.net/oatnehc/article/details/52754420
在windows使用GNU中gcc等:https://jingyan.baidu.com/article/5225f26b47ca1be6fb090846.html
Install on Windows issue:https://github.com/mapnik/mapnik/issues/4200
If you try to build mapnik with msvc you need to take additional steps.
These are implemented in #4191 take a look if you need them now.
如果你希望通过MSVC来编译mapnik的话,你需要进行一些额外的步骤。这些在#4191中有实现,可以去看一下。
You could however clone the repo of the PR and build via cmake and enabling the features you need. I recommend to install the required dependencies with vcpkg since it will help you build all of the deps or you could clone the repo of the microsoft/vcpkg#14628 PR to directly install mapnik with vcpkg. but keep in mind, that these features are not reviewed yet and WIP.
你可以克隆PR的仓库,然后通过CMake来创建,并且可以任意添加你需要的功能。我建议你通过vcpkg安装所需的依赖,因为它会帮助你编译所有的依赖库,或者你可以克隆仓库microsoft/vcpkg#14628,直接使用vcpkg安装Mapnik。但是记住,这些特征还没有被审核过。
CMake build support #4191
This PR would add CMake support to mapnik
https://github.com/mapnik/mapnik/pull/4191
Vcpkg build support
https://github.com/microsoft/vcpkg/pull/14628
添加mapnik而不需要再单独另外分叉创建一个mapnik分支。但是,这个PR需要当前的master。
>>什么是vcpkg?:https://www.cnblogs.com/2008nmj/p/14447691.html
截图:src为源码,打开src文件夹你将会看到熟悉的CMakeLists.txt
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 分享4款.NET开源、免费、实用的商城系统
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
· 上周热点回顾(2.24-3.2)