mapnik-stylesheets | Mirror of the mapnik stylesheets
kandi X-RAY | mapnik-stylesheets Summary
kandi X-RAY | mapnik-stylesheets Summary
mapnik-stylesheets is a Python library typically used in Debian applications. mapnik-stylesheets has no bugs, it has no vulnerabilities and it has low support. However mapnik-stylesheets build file is not available. You can download it from GitHub.
This used to be the development location of the Mapnik stylesheets powering tile.openstreetmap.org however these XML format stylesheets have since be superceded by new CartoCSS format stylesheets which can be found here: These old XML stylesheets are still used on some other tile servers. This directory also holds an assortment of helpful utility scripts for working with Mapnik and the OSM Mapnik XML stylesheets. Scalable large-area serving is typically done using mod_tile. However, the easiest way to start rendering Mapnik tiles is to use the 'generate_tiles.py' script located within this directory.
This used to be the development location of the Mapnik stylesheets powering tile.openstreetmap.org however these XML format stylesheets have since be superceded by new CartoCSS format stylesheets which can be found here: These old XML stylesheets are still used on some other tile servers. This directory also holds an assortment of helpful utility scripts for working with Mapnik and the OSM Mapnik XML stylesheets. Scalable large-area serving is typically done using mod_tile. However, the easiest way to start rendering Mapnik tiles is to use the 'generate_tiles.py' script located within this directory.
Support
Quality
Security
License
Reuse
Support
mapnik-stylesheets has a low active ecosystem.
It has 151 star(s) with 94 fork(s). There are 25 watchers for this library.
It had no major release in the last 6 months.
There are 15 open issues and 5 have been closed. On average issues are closed in 588 days. There are 4 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of mapnik-stylesheets is current.
Quality
mapnik-stylesheets has 0 bugs and 0 code smells.
Security
mapnik-stylesheets has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
mapnik-stylesheets code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
mapnik-stylesheets does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
mapnik-stylesheets releases are not available. You will need to build from source code and install.
mapnik-stylesheets has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed mapnik-stylesheets and discovered the below as its top functions. This is intended to give you an instant insight into mapnik-stylesheets implemented functionality, and help decide if they suit your requirements.
- Converts tile coordinates to bounding box
- Convert tile coordinates to meters coordinates
Get all kandi verified functions for this library.
mapnik-stylesheets Key Features
No Key Features are available at this moment for mapnik-stylesheets.
mapnik-stylesheets Examples and Code Snippets
No Code Snippets are available at this moment for mapnik-stylesheets.
Community Discussions
No Community Discussions are available at this moment for mapnik-stylesheets.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mapnik-stylesheets
The goal is to customize the Mapnik stylesheets to your local setup, test rendering a few images, and then get set up to render tiles. First, make sure you have downloaded the coastlines shapefiles and have set up a postgis enabled database with osm data imported using osm2pgsql. See http://wiki.openstreetmap.org/wiki/Mapnik for more info. Then customize the xml entities (the files in the inc/ directory) which are used by the 'osm.xml' to your setup. You can either use the 'generate_xml.py' script or manually edit a few files inside the 'inc' directory. Finally try rendering a few maps using either 'generate_image.py', 'generate_tiles.py' or 'nik2img.py'.
Support
If trying to read the XML with Mapnik (or any of the python scripts included here that use Mapnik) fails with an error like XML document not well formed or Entity 'foo' not defined, then try running xmllint, which may provide a more detailed error to help you find the syntax problem in the XML (or its referenced includes):. Not output from the above command indicates the stylesheet should be working fine. If you see an error like: warning: failed to load external entity "inc/datasource-settings.xml.inc" then this likely indicates that an include file is missing, which means that you forgot to follow the steps above to generate the needed includes on the fly either by using generate_xml.py or manually creating your inc files.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page