diff --git a/benchmark/run.cpp b/benchmark/run.cpp index 3edb85267..4e190b227 100644 --- a/benchmark/run.cpp +++ b/benchmark/run.cpp @@ -272,7 +272,6 @@ struct test5 #include #include #include -#include struct test6 { diff --git a/bindings/python/mapnik_layer.cpp b/bindings/python/mapnik_layer.cpp index 5e212f22b..f3584a0ac 100644 --- a/bindings/python/mapnik_layer.cpp +++ b/bindings/python/mapnik_layer.cpp @@ -342,7 +342,7 @@ void export_layer() "'+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' # The default srs if not initialized with custom srs\n" ">>> # set to google mercator with Proj.4 literal\n" "... \n" - ">>> lyr.srs = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over'\n" + ">>> lyr.srs = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over'\n" ) .add_property("group_by", diff --git a/bindings/python/mapnik_map.cpp b/bindings/python/mapnik_map.cpp index ac15513ad..bb9d13c1f 100644 --- a/bindings/python/mapnik_map.cpp +++ b/bindings/python/mapnik_map.cpp @@ -470,7 +470,7 @@ void export_map() "'+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' # The default srs if not initialized with custom srs\n" ">>> # set to google mercator with Proj.4 literal\n" "... \n" - ">>> m.srs = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs +over'\n" + ">>> m.srs = '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over'\n" ) .add_property("width", diff --git a/demo/c++/rundemo.cpp b/demo/c++/rundemo.cpp index b7508b6fb..1d57495d0 100644 --- a/demo/c++/rundemo.cpp +++ b/demo/c++/rundemo.cpp @@ -56,8 +56,8 @@ int main ( int argc , char** argv) using namespace mapnik; const std::string srs_lcc="+proj=lcc +ellps=GRS80 +lat_0=49 +lon_0=-95 +lat+1=49 +lat_2=77 \ +datum=NAD83 +units=m +no_defs"; - const std::string srs_merc="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 \ - +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +no_defs"; + const std::string srs_merc="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 \ + +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over"; try { std::cout << " running demo ... \n"; diff --git a/tests/data/broken_maps/bool_value_broken.xml b/tests/data/broken_maps/bool_value_broken.xml index 2b1bca929..c17b8c2b3 100644 --- a/tests/data/broken_maps/bool_value_broken.xml +++ b/tests/data/broken_maps/bool_value_broken.xml @@ -1,5 +1,5 @@ - + - + style ../../data/shp/world_merc diff --git a/tests/data/good_maps/agg_stack_blur.xml b/tests/data/good_maps/agg_stack_blur.xml index 423f9cc42..a8511c794 100644 --- a/tests/data/good_maps/agg_stack_blur.xml +++ b/tests/data/good_maps/agg_stack_blur.xml @@ -1,4 +1,4 @@ - + - + style style2 diff --git a/tests/data/good_maps/also_and_else_filter.xml b/tests/data/good_maps/also_and_else_filter.xml index cf31a7646..bb77ae8d0 100644 --- a/tests/data/good_maps/also_and_else_filter.xml +++ b/tests/data/good_maps/also_and_else_filter.xml @@ -1,5 +1,5 @@ - + - + style base diff --git a/tests/data/good_maps/merc2wgs84_reprojection.xml b/tests/data/good_maps/merc2wgs84_reprojection.xml index 00c9ff16a..161932e89 100644 --- a/tests/data/good_maps/merc2wgs84_reprojection.xml +++ b/tests/data/good_maps/merc2wgs84_reprojection.xml @@ -5,7 +5,7 @@ - + My Style shape diff --git a/tests/data/good_maps/osm-styles.xml b/tests/data/good_maps/osm-styles.xml index 10d1f9cc8..49f8a70cd 100644 --- a/tests/data/good_maps/osm-styles.xml +++ b/tests/data/good_maps/osm-styles.xml @@ -1,5 +1,5 @@ - + - + style ../../data/shp/world_merc diff --git a/tests/data/good_maps/style_level_opacity_and_blur.xml b/tests/data/good_maps/style_level_opacity_and_blur.xml index fd0940829..e369db503 100644 --- a/tests/data/good_maps/style_level_opacity_and_blur.xml +++ b/tests/data/good_maps/style_level_opacity_and_blur.xml @@ -1,4 +1,4 @@ - + - + style style2 diff --git a/tests/data/good_maps/text_rotation.xml b/tests/data/good_maps/text_rotation.xml index eb2b8c7d5..9d0090b7b 100644 --- a/tests/data/good_maps/text_rotation.xml +++ b/tests/data/good_maps/text_rotation.xml @@ -1,4 +1,4 @@ - +