Wykres commitów

10 Commity (82ab5d028630913310c669f0490843cb11079a4d)

Autor SHA1 Wiadomość Data
David MENTRE 4258c6973d Document and provide a patch on MapQuest stylesheet
[Thomas: add similar fix for UK stylesheet]
Signed-off-by: David MENTRE <dmentre@linux-france.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-04-12 19:02:01 +02:00
Thomas Petazzoni 73e9945039 Add a short test-suite for OcitySMap
This test suite renders different locations, with different renderers,
on different paper formats and orientations. It assumes that a
database containing the France OSM data is available.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-31 08:56:26 +02:00
Thomas Petazzoni 9cf7e4f841 support: add bounding-box-debug.html
This short HTML page is helpful to debug bounding box related
problems, by visualizing a set of bounding boxes on a slippy map. Many
bounding boxes can be added using the BoundingBox() function.

Note that the OcitySMap BoundingBox object has a .as_javascript()
method that directly generates a string that is suitable for
copy/paste into this file.

This file has been _very_ helpful to debug some initial problems of
the multi-page renderer.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@enix.org>
2012-03-31 00:44:02 +02:00
Thomas Petazzoni 1cff9bae39 ocitysmap/support: add support for storing the age of the OSM data
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>
2012-03-25 18:19:16 +02:00
Thomas Petazzoni 6a6a3f57b5 Add new planet-update.sh script
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>
2012-03-25 18:02:54 +02:00
Thomas Petazzoni 815452bf12 Remove unused planet-update-daily.sh script
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>
2012-03-25 17:58:38 +02:00
David Decotigny 6f3dc728c6 [PATCH ocitysmap 2/2] credits 2009-12-21 16:27:59 +01:00
David Decotigny 6539e0a1ec new script to update the maposmatic shape files 2009-12-21 16:27:57 +01:00
David Decotigny 91516993cb doc cosmetics 2009-12-21 14:41:57 +01:00
David Decotigny eea03807fe template for planet OSM DB update script 2009-12-21 14:41:53 +01:00