https://github.com/pgiraud/worldmap
https://github.com/pgiraud/worldmap
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pgiraud/worldmap
- Owner: pgiraud
- Created: 2012-07-16T08:31:29.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2015-04-11T06:08:46.000Z (about 11 years ago)
- Last Synced: 2025-10-27T15:08:55.475Z (8 months ago)
- Language: PLpgSQL
- Size: 22.4 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
This is a TileMill project for a worldmap with french inside.
Prerequisites
=============
TileMill
Mapnik pyton bindings
Workflow
========
Once TileMill is installed.
Clone this repo in the projects directory of TileMill (MapBox).
Launch TileMill, and chose the `worldmap` project.
Control that everything displays correctly.
Export the project as `.xml` mapnik map file right in the worldmap project
directory.
In a terminal, change directory to the worldmap directory, and type the
following command::
python worldmap.py
This will create several files in the export directory.
Reprojection of the tif generated with mapbox tiles::
gdalwarp -t_srs '+proj=natearth +wktext' -s_srs EPSG:4326 map_4326.tif map_natearth.tif
http://lists.osgeo.org/pipermail/gdal-dev/2012-September/034036.html
composite -compose atop -geometry +0+19000 symbols/copyright.png export/worldmap_17.tif export/worldmap_17.tif