* Use advanced features of Mapnik2's TextSymbolizer to reduce size of
street names if possible. This allows to display more street names,
even if all of them are not displayed.
Signed-off-by: David MENTRE <dmentre@linux-france.org>
Signed-off-by: Sylvain Collilieux <sylvain@collilieux.net>
* This reverts commit 39f3f8b401d02d05becfdfc60d97f0c31df55eec.
* We use a very light grey for "coast-poly" filling.
Signed-off-by: David MENTRE <dmentre@linux-france.org>
Signed-off-by: Sylvain Collilieux <sylvain@collilieux.net>
* Turn circles are made with bitmaps (two per turn circle, one for
casing and one for fill). It would be too heavy to redo all the work
for bigger roads and different colours. We thus simply remove
them. The map is still clean and readable.
Signed-off-by: David MENTRE <dmentre@linux-france.org>
Signed-off-by: Sylvain Collilieux <sylvain@collilieux.net>
* Remove "coast-poly" style that was putting default colors within
cities.
Signed-off-by: David MENTRE <dmentre@linux-france.org>
Signed-off-by: Sylvain Collilieux <sylvain@collilieux.net>
* Update .gitignore file to ignore generated inc/*.inc files.
* In landcover layer, remove colored polygons to avoid grey zones in
urban areas.
* In landcover layer, display townhall, police, etc. amenities names on
the map.
* Remove building and power layers.
We use the maposmatic_admin table that is now part of the GIS database
and updated by the planet-update.sh script to show the timestamp of
the OSM data on rendered maps. If this table does not exist, we
gracefully fallback to an "unknown" timestamp, so that the rendering
doesn't fail.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
This commit creates a new maposmatic_admin table, which contains a
single column and a single entry, used to store the age of the OSM
data that is currently inside the GIS database. This table is located
on the GIS database side (and *NOT* on the Django database side).
This table must be created once on the GIS database by running the
setup-maposmatic-admin.sql.
This table is then updated by the planet-update.sh script every time
it completes an update of the OSM data. System administrators of the
production and development servers are therefore now requested to use
the planet-update.sh script for the OcitySMap repository on the
servers, and to replicate on the Git repository any change done on
those scripts.
The contents of this table will be used by later commits to show the
replication lag on the MapOSMatic.org website and the date of the OSM
data on the generated maps.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
This script is, unmodified, the script currently used on
gis.maposmatic.org to update our planet regularly with the official
OSM database.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
We now use 15-minutes diff to update our database, thanks to another
script. Remove this old, unused script.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
Add a --orientation={portrait,landscape} command-line flag to control
the paper orientation of the rendering with ocitysmap2-render.
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Instructions for Ubuntu Lucid are now valid for Debian unstable too, so
move the INSTALL.lucid file as main INSTALL file and removed the other
two.
Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
This documents following final setup:
- postgis 1.5.3 from ubuntugis-unstable PPA
- mapnik 2.0.0 with libboost 1.46 from thomasjj PPA
Tested:
- CLI frontend
- maposmatic web frontend
Signed-off-by: David Decotigny <d2@maposmatic.org>
Note:
On my setup, Chinese characters are not rendered correctly (boxes).
Tested:
- CLI frontend
- maposmatic Web
Revised-by: David Decotigny <d2@maposmatic.org>
Reviewed-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>
Signed-off-by: David Decotigny <d2@maposmatic.org>