diff --git a/INSTALL b/INSTALL index 620a717..d749fc0 100644 --- a/INSTALL +++ b/INSTALL @@ -309,11 +309,19 @@ First, grab the MapQuest stylesheets: git clone git://github.com/MapQuest/MapQuest-Mapnik-Style.git - (version tested: 9d6c5503194c58fc1f9f760b4e5af8a1602dfb30) + (tested versions: + 9d6c5503194c58fc1f9f760b4e5af8a1602dfb30 + 6f7ea2723c07a1db2d17c2336dd3a0b3dd2d6fe9) Go into the MapQuest-Mapnik-Style directory, in which we will do all the configuration. +With above tested version, there is a bug in the stylesheet. That should +be fixed using a patch provided in the support/ directory. + + patch -p1 < /path/to/ocitysmap/support/mapquest-stylesheet-eu-fix.patch + patch -p1 < /path/to/ocitysmap/support/mapquest-stylesheet-uk-fix.patch + First, those stylesheets require the same "world boundaries" information as the original OSM stylesheet, so we are going to share these informations by creating a symbolic link: diff --git a/support/mapquest-stylesheet-eu-fix.patch b/support/mapquest-stylesheet-eu-fix.patch new file mode 100644 index 0000000..5349500 --- /dev/null +++ b/support/mapquest-stylesheet-eu-fix.patch @@ -0,0 +1,56 @@ +commit c72ad2936e64b98f0182118424c64539d7ea84f0 +Author: Gael UTARD +Date: Fri Mar 30 19:22:43 2012 +0200 + + Fixed a mix-up between minscale and maxscale + +diff --git a/mapquest_inc/layer-transportation-eu.xml.inc b/mapquest_inc/layer-transportation-eu.xml.inc +index efd7203..8784626 100755 +--- a/mapquest_inc/layer-transportation-eu.xml.inc ++++ b/mapquest_inc/layer-transportation-eu.xml.inc +@@ -49,19 +49,19 @@ + + [aeroway] = 'runway' + &maxscale_zoom12; +- &maxscale_zoom12; ++ &minscale_zoom12; + + + + [aeroway] = 'runway' + &maxscale_zoom13; +- &maxscale_zoom14; ++ &minscale_zoom14; + + + + [aeroway] = 'runway' + &maxscale_zoom15; +- &maxscale_zoom16; ++ &minscale_zoom16; + + + +@@ -72,19 +72,19 @@ + + [aeroway] = 'taxiway' + &maxscale_zoom12; +- &maxscale_zoom12; ++ &minscale_zoom12; + + + + [aeroway] = 'taxiway' + &maxscale_zoom13; +- &maxscale_zoom14; ++ &minscale_zoom14; + + + + [aeroway] = 'taxiway' + &maxscale_zoom15; +- &maxscale_zoom16; ++ &minscale_zoom16; + + + diff --git a/support/mapquest-stylesheet-uk-fix.patch b/support/mapquest-stylesheet-uk-fix.patch new file mode 100644 index 0000000..30a1955 --- /dev/null +++ b/support/mapquest-stylesheet-uk-fix.patch @@ -0,0 +1,63 @@ +From 18a0198983b30f45a0c2723d4444ff4f434ceca2 Mon Sep 17 00:00:00 2001 +From: David MENTRE +Date: Wed, 11 Apr 2012 17:13:15 +0200 +Subject: [PATCH] Fix scale errors in UK style sheet + +Signed-off-by: David MENTRE +--- + mapquest_inc/layer-transportation-uk.xml.inc | 12 ++++++------ + 1 files changed, 6 insertions(+), 6 deletions(-) + +diff --git a/mapquest_inc/layer-transportation-uk.xml.inc b/mapquest_inc/layer-transportation-uk.xml.inc +index 84999a0..9a571d7 100755 +--- a/mapquest_inc/layer-transportation-uk.xml.inc ++++ b/mapquest_inc/layer-transportation-uk.xml.inc +@@ -49,19 +49,19 @@ + + [aeroway] = 'runway' + &maxscale_zoom12; +- &maxscale_zoom12; ++ &minscale_zoom12; + + + + [aeroway] = 'runway' + &maxscale_zoom13; +- &maxscale_zoom14; ++ &minscale_zoom14; + + + + [aeroway] = 'runway' + &maxscale_zoom15; +- &maxscale_zoom16; ++ &minscale_zoom16; + + + +@@ -72,19 +72,19 @@ + + [aeroway] = 'taxiway' + &maxscale_zoom12; +- &maxscale_zoom12; ++ &minscale_zoom12; + + + + [aeroway] = 'taxiway' + &maxscale_zoom13; +- &maxscale_zoom14; ++ &minscale_zoom14; + + + + [aeroway] = 'taxiway' + &maxscale_zoom15; +- &maxscale_zoom16; ++ &minscale_zoom16; + + + +-- +1.7.5.4 +