refactor souce code files with the following rule: the physical filesytem path matches namespace structure

e.g `mapnik::geometry::centroid()` -> `$(MAPNIK_SOURCE)/include/mapnik/geometry/centroid.hpp`
This commit is contained in:
artemp 2016-08-02 14:43:02 +01:00
parent d6a3be87a4
commit 8ce7a1c43d
84 changed files with 142 additions and 153 deletions

View file

@ -10,10 +10,10 @@
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/vertex_adapters.hpp> #include <mapnik/vertex_adapters.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/image_util.hpp> #include <mapnik/image_util.hpp>
#include <mapnik/color.hpp> #include <mapnik/color.hpp>
// boost geometry // boost geometry

View file

@ -29,7 +29,7 @@
#include <mapnik/value.hpp> #include <mapnik/value.hpp>
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
// //
#include <mapnik/feature_kv_iterator.hpp> #include <mapnik/feature_kv_iterator.hpp>
#include <mapnik/util/noncopyable.hpp> #include <mapnik/util/noncopyable.hpp>

View file

@ -27,7 +27,7 @@
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>
#include <mapnik/coord.hpp> #include <mapnik/coord.hpp>
#include <mapnik/vertex.hpp> #include <mapnik/vertex.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
// stl // stl
#include <cmath> #include <cmath>
#include <vector> #include <vector>

View file

@ -24,10 +24,10 @@
#define MAPNIK_GEOMETRY_CENTROID_HPP #define MAPNIK_GEOMETRY_CENTROID_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <boost/geometry/algorithms/centroid.hpp> #include <boost/geometry/algorithms/centroid.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/geometry_remove_empty.hpp> #include <mapnik/geometry/remove_empty.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -24,7 +24,7 @@
#define MAPNIK_GEOMETRY_CORRECT_HPP #define MAPNIK_GEOMETRY_CORRECT_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/util/variant.hpp> #include <mapnik/util/variant.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push

View file

@ -20,7 +20,7 @@
* *
*****************************************************************************/ *****************************************************************************/
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>

View file

@ -25,7 +25,7 @@
// mapnik // mapnik
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
namespace mapnik { namespace geometry { namespace detail { namespace mapnik { namespace geometry { namespace detail {

View file

@ -29,7 +29,7 @@
#if BOOST_VERSION >= 105600 #if BOOST_VERSION >= 105600
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <boost/geometry/algorithms/is_simple.hpp> #include <boost/geometry/algorithms/is_simple.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -29,7 +29,7 @@
#if BOOST_VERSION >= 105800 #if BOOST_VERSION >= 105800
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <boost/geometry/algorithms/is_valid.hpp> #include <boost/geometry/algorithms/is_valid.hpp>
#include <boost/geometry/algorithms/validity_failure_type.hpp> #include <boost/geometry/algorithms/validity_failure_type.hpp>

View file

@ -24,7 +24,7 @@
#define MAPNIK_GEOMETRY_REMOVE_EMPTY_HPP #define MAPNIK_GEOMETRY_REMOVE_EMPTY_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -21,7 +21,7 @@
*****************************************************************************/ *****************************************************************************/
// mapnik // mapnik
#include <mapnik/geometry_reprojection.hpp> #include <mapnik/geometry/reprojection.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
namespace mapnik { namespace mapnik {

View file

@ -23,7 +23,7 @@
#ifndef MAPNIK_GEOMETRY_STRATEGY_HPP #ifndef MAPNIK_GEOMETRY_STRATEGY_HPP
#define MAPNIK_GEOMETRY_STRATEGY_HPP #define MAPNIK_GEOMETRY_STRATEGY_HPP
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/util/rounding_cast.hpp> #include <mapnik/util/rounding_cast.hpp>
namespace mapnik { namespace mapnik {

View file

@ -24,7 +24,7 @@
#define MAPNIK_GEOMETRY_TRANSFORM_HPP #define MAPNIK_GEOMETRY_TRANSFORM_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <boost/geometry/algorithms/transform.hpp> #include <boost/geometry/algorithms/transform.hpp>
namespace mapnik { namespace geometry { namespace detail { namespace mapnik { namespace geometry { namespace detail {

View file

@ -22,7 +22,7 @@
// mapnik // mapnik
#include <mapnik/json/extract_bounding_box_grammar.hpp> #include <mapnik/json/extract_bounding_box_grammar.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
// boost // boost
#include <boost/spirit/include/qi_omit.hpp> #include <boost/spirit/include/qi_omit.hpp>
#include <boost/spirit/include/phoenix_object.hpp> #include <boost/spirit/include/phoenix_object.hpp>

View file

@ -26,7 +26,7 @@
// mapnik // mapnik
#include <mapnik/global.hpp> #include <mapnik/global.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
// boost // boost
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp> #include <mapnik/warning_ignore.hpp>

View file

@ -23,8 +23,8 @@
// mapnik // mapnik
#include <mapnik/json/geometry_generator_grammar.hpp> #include <mapnik/json/geometry_generator_grammar.hpp>
#include <mapnik/util/spirit_transform_attribute.hpp> #include <mapnik/util/spirit_transform_attribute.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
// boost // boost
#pragma GCC diagnostic push #pragma GCC diagnostic push

View file

@ -24,7 +24,7 @@
#include <mapnik/config.hpp> #include <mapnik/config.hpp>
#include <mapnik/json/error_handler.hpp> #include <mapnik/json/error_handler.hpp>
#include <mapnik/json/geometry_grammar.hpp> #include <mapnik/json/geometry_grammar.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
// boost // boost
#include <boost/spirit/include/phoenix_stl.hpp> #include <boost/spirit/include/phoenix_stl.hpp>
#include <boost/spirit/include/phoenix_function.hpp> #include <boost/spirit/include/phoenix_function.hpp>

View file

@ -24,7 +24,7 @@
#define MAPNIK_JSON_GEOMETRY_UTIL_HPP #define MAPNIK_JSON_GEOMETRY_UTIL_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
#include <mapnik/json/positions.hpp> #include <mapnik/json/positions.hpp>
namespace mapnik { namespace json { namespace mapnik { namespace json {

View file

@ -22,7 +22,7 @@
// mapnik // mapnik
#include <mapnik/json/positions_grammar.hpp> #include <mapnik/json/positions_grammar.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
// boost // boost
#include <boost/spirit/include/qi_omit.hpp> #include <boost/spirit/include/qi_omit.hpp>
#include <boost/spirit/include/phoenix_object.hpp> #include <boost/spirit/include/phoenix_object.hpp>

View file

@ -29,8 +29,8 @@
#include <mapnik/json/topology.hpp> #include <mapnik/json/topology.hpp>
#include <mapnik/json/attribute_value_visitor.hpp> #include <mapnik/json/attribute_value_visitor.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
namespace mapnik { namespace topojson { namespace mapnik { namespace topojson {

View file

@ -25,8 +25,8 @@
#include <mapnik/feature.hpp> #include <mapnik/feature.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/geometry_centroid.hpp> #include <mapnik/geometry/centroid.hpp>
#include <mapnik/symbolizer.hpp> #include <mapnik/symbolizer.hpp>
#include <mapnik/svg/svg_path_attributes.hpp> #include <mapnik/svg/svg_path_attributes.hpp>
#include <mapnik/marker.hpp> // for svg_storage_type #include <mapnik/marker.hpp> // for svg_storage_type

View file

@ -25,7 +25,7 @@
#include <mapnik/markers_placements/point.hpp> #include <mapnik/markers_placements/point.hpp>
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
namespace mapnik { namespace mapnik {

View file

@ -27,7 +27,7 @@
#include <mapnik/view_transform.hpp> #include <mapnik/view_transform.hpp>
#include <mapnik/vertex_cache.hpp> #include <mapnik/vertex_cache.hpp>
#include <mapnik/tolerance_iterator.hpp> #include <mapnik/tolerance_iterator.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
namespace mapnik { namespace mapnik {

View file

@ -24,7 +24,7 @@
#define MAPNIK_MARKERS_PLACEMENTS_POINT_HPP #define MAPNIK_MARKERS_PLACEMENTS_POINT_HPP
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/markers_placements/basic.hpp> #include <mapnik/markers_placements/basic.hpp>
namespace mapnik { namespace mapnik {

View file

@ -26,7 +26,7 @@
// mapnik // mapnik
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/featureset.hpp> #include <mapnik/featureset.hpp>
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/memory_datasource.hpp> #include <mapnik/memory_datasource.hpp>

View file

@ -29,9 +29,9 @@
#include <mapnik/marker.hpp> #include <mapnik/marker.hpp>
#include <mapnik/marker_cache.hpp> #include <mapnik/marker_cache.hpp>
#include <mapnik/label_collision_detector.hpp> #include <mapnik/label_collision_detector.hpp>
#include <mapnik/geometry_centroid.hpp> #include <mapnik/geometry/centroid.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/vertex_adapters.hpp> #include <mapnik/vertex_adapters.hpp>
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>

View file

@ -21,7 +21,7 @@
*****************************************************************************/ *****************************************************************************/
// mapnik // mapnik
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/svg/geometry_svg_generator.hpp> #include <mapnik/svg/geometry_svg_generator.hpp>
namespace mapnik { namespace svg { namespace mapnik { namespace svg {

View file

@ -28,7 +28,7 @@
#include <mapnik/make_unique.hpp> #include <mapnik/make_unique.hpp>
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
// stl // stl
#include <sstream> #include <sstream>

View file

@ -24,7 +24,7 @@
#define MAPNIK_VERTEX_ADAPTERS_HPP #define MAPNIK_VERTEX_ADAPTERS_HPP
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/vertex.hpp> #include <mapnik/vertex.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -26,7 +26,7 @@
// mapnik // mapnik
#include <mapnik/global.hpp> #include <mapnik/global.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp> #include <mapnik/warning_ignore.hpp>

View file

@ -23,7 +23,7 @@
// mapnik // mapnik
#include <mapnik/wkt/wkt_generator_grammar.hpp> #include <mapnik/wkt/wkt_generator_grammar.hpp>
#include <mapnik/util/spirit_transform_attribute.hpp> #include <mapnik/util/spirit_transform_attribute.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp> #include <mapnik/warning_ignore.hpp>

View file

@ -21,7 +21,7 @@
*****************************************************************************/ *****************************************************************************/
#include <mapnik/wkt/wkt_grammar.hpp> #include <mapnik/wkt/wkt_grammar.hpp>
#include <mapnik/geometry_fusion_adapted.hpp> #include <mapnik/geometry/fusion_adapted.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp> #include <mapnik/warning_ignore.hpp>

View file

@ -38,7 +38,7 @@
#include <mapnik/boolean.hpp> #include <mapnik/boolean.hpp>
#include <mapnik/util/trim.hpp> #include <mapnik/util/trim.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/util/geometry_to_ds_type.hpp> #include <mapnik/util/geometry_to_ds_type.hpp>
#include <mapnik/value_types.hpp> #include <mapnik/value_types.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>

View file

@ -23,7 +23,7 @@
// mapnik // mapnik
#include <mapnik/debug.hpp> #include <mapnik/debug.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
#include <mapnik/wkt/wkt_factory.hpp> #include <mapnik/wkt/wkt_factory.hpp>
#include <mapnik/json/geometry_parser.hpp> #include <mapnik/json/geometry_parser.hpp>
#include <mapnik/util/conversions.hpp> #include <mapnik/util/conversions.hpp>

View file

@ -49,7 +49,7 @@
#include <mapnik/util/file_io.hpp> #include <mapnik/util/file_io.hpp>
#include <mapnik/util/geometry_to_ds_type.hpp> #include <mapnik/util/geometry_to_ds_type.hpp>
#include <mapnik/make_unique.hpp> #include <mapnik/make_unique.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/json/feature_collection_grammar.hpp> #include <mapnik/json/feature_collection_grammar.hpp>
#include <mapnik/json/extract_bounding_box_grammar_impl.hpp> #include <mapnik/json/extract_bounding_box_grammar_impl.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>

View file

@ -27,7 +27,7 @@
#include <mapnik/json/feature_grammar.hpp> #include <mapnik/json/feature_grammar.hpp>
#include <mapnik/util/utf_conv_win.hpp> #include <mapnik/util/utf_conv_win.hpp>
#include <mapnik/util/spatial_index.hpp> #include <mapnik/util/spatial_index.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
// stl // stl
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -25,7 +25,7 @@
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <mapnik/json/feature_grammar.hpp> #include <mapnik/json/feature_grammar.hpp>
#include <mapnik/util/utf_conv_win.hpp> #include <mapnik/util/utf_conv_win.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
// stl // stl
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -31,7 +31,7 @@
#include <mapnik/unicode.hpp> #include <mapnik/unicode.hpp>
#include <mapnik/value_types.hpp> #include <mapnik/value_types.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
// ogr // ogr
#include "ogr_featureset.hpp" #include "ogr_featureset.hpp"

View file

@ -30,7 +30,7 @@
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/unicode.hpp> #include <mapnik/unicode.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
// boost // boost
#if defined(MAPNIK_MEMORY_MAPPED_FILE) #if defined(MAPNIK_MEMORY_MAPPED_FILE)

View file

@ -27,7 +27,7 @@
#include <mapnik/make_unique.hpp> #include <mapnik/make_unique.hpp>
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/util/is_clockwise.hpp> #include <mapnik/util/is_clockwise.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
using mapnik::datasource_exception; using mapnik::datasource_exception;
const std::string shape_io::SHP = ".shp"; const std::string shape_io::SHP = ".shp";

View file

@ -34,7 +34,7 @@
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/util/trim.hpp> #include <mapnik/util/trim.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
// boost // boost
#include <boost/algorithm/string.hpp> #include <boost/algorithm/string.hpp>

View file

@ -30,8 +30,8 @@
#include <mapnik/unicode.hpp> #include <mapnik/unicode.hpp>
#include <mapnik/value_types.hpp> #include <mapnik/value_types.hpp>
#include <mapnik/feature_factory.hpp> #include <mapnik/feature_factory.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
// ogr // ogr
#include "sqlite_featureset.hpp" #include "sqlite_featureset.hpp"

View file

@ -35,8 +35,8 @@
#include <mapnik/params.hpp> #include <mapnik/params.hpp>
#include <mapnik/sql_utils.hpp> #include <mapnik/sql_utils.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore.hpp> #include <mapnik/warning_ignore.hpp>

View file

@ -33,7 +33,7 @@
#include <mapnik/unicode.hpp> #include <mapnik/unicode.hpp>
#include <mapnik/value_types.hpp> #include <mapnik/value_types.hpp>
#include <mapnik/box2d.hpp> #include <mapnik/box2d.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/json/topojson_grammar.hpp> #include <mapnik/json/topojson_grammar.hpp>
#include <mapnik/json/topojson_utils.hpp> #include <mapnik/json/topojson_utils.hpp>
#include <mapnik/util/variant.hpp> #include <mapnik/util/variant.hpp>

View file

@ -31,7 +31,7 @@
#include <mapnik/vertex_processor.hpp> #include <mapnik/vertex_processor.hpp>
#include <mapnik/renderer_common/clipping_extent.hpp> #include <mapnik/renderer_common/clipping_extent.hpp>
#include <mapnik/renderer_common/apply_vertex_converter.hpp> #include <mapnik/renderer_common/apply_vertex_converter.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore_agg.hpp> #include <mapnik/warning_ignore_agg.hpp>

View file

@ -168,7 +168,8 @@ source = Split(
datasource_cache.cpp datasource_cache.cpp
datasource_cache_static.cpp datasource_cache_static.cpp
debug.cpp debug.cpp
geometry_reprojection.cpp geometry/reprojection.cpp
geometry/envelope.cpp
expression_node.cpp expression_node.cpp
expression_string.cpp expression_string.cpp
expression.cpp expression.cpp
@ -200,7 +201,6 @@ source = Split(
palette.cpp palette.cpp
marker_helpers.cpp marker_helpers.cpp
transform_expression_grammar.cpp transform_expression_grammar.cpp
geometry_envelope.cpp
plugin.cpp plugin.cpp
rule.cpp rule.cpp
save_map.cpp save_map.cpp

View file

@ -29,7 +29,7 @@
#include <mapnik/vertex_converters.hpp> #include <mapnik/vertex_converters.hpp>
#include <mapnik/vertex_processor.hpp> #include <mapnik/vertex_processor.hpp>
#include <mapnik/renderer_common/apply_vertex_converter.hpp> #include <mapnik/renderer_common/apply_vertex_converter.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
namespace mapnik namespace mapnik
{ {

View file

@ -20,8 +20,8 @@
* *
*****************************************************************************/ *****************************************************************************/
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/geometry_envelope_impl.hpp> #include <mapnik/geometry/envelope_impl.hpp>
#include <mapnik/text/symbolizer_helpers.hpp> #include <mapnik/text/symbolizer_helpers.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -21,8 +21,8 @@
*****************************************************************************/ *****************************************************************************/
// mapnik // mapnik
#include <mapnik/geometry_reprojection.hpp> #include <mapnik/geometry/reprojection.hpp>
#include <mapnik/geometry_reprojection_impl.hpp> #include <mapnik/geometry/reprojection_impl.hpp>
namespace mapnik { namespace mapnik {

View file

@ -31,7 +31,7 @@
#include <mapnik/vertex_converters.hpp> #include <mapnik/vertex_converters.hpp>
#include <mapnik/vertex_processor.hpp> #include <mapnik/vertex_processor.hpp>
#include <mapnik/renderer_common/apply_vertex_converter.hpp> #include <mapnik/renderer_common/apply_vertex_converter.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#pragma GCC diagnostic push #pragma GCC diagnostic push
#include <mapnik/warning_ignore_agg.hpp> #include <mapnik/warning_ignore_agg.hpp>

View file

@ -27,7 +27,7 @@
#include <mapnik/memory_datasource.hpp> #include <mapnik/memory_datasource.hpp>
#include <mapnik/memory_featureset.hpp> #include <mapnik/memory_featureset.hpp>
#include <mapnik/boolean.hpp> #include <mapnik/boolean.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
// stl // stl
#include <algorithm> #include <algorithm>

View file

@ -25,7 +25,7 @@
#include <mapnik/svg/svg_path_adapter.hpp> #include <mapnik/svg/svg_path_adapter.hpp>
#include <mapnik/marker_cache.hpp> #include <mapnik/marker_cache.hpp>
#include <mapnik/marker_helpers.hpp> #include <mapnik/marker_helpers.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/renderer_common/render_markers_symbolizer.hpp> #include <mapnik/renderer_common/render_markers_symbolizer.hpp>
#include <mapnik/symbolizer.hpp> #include <mapnik/symbolizer.hpp>

View file

@ -32,7 +32,7 @@
#include <mapnik/svg/output/svg_output_attributes.hpp> #include <mapnik/svg/output/svg_output_attributes.hpp>
#include <mapnik/symbolizer_dispatch.hpp> #include <mapnik/symbolizer_dispatch.hpp>
#include <mapnik/vertex_processor.hpp> #include <mapnik/vertex_processor.hpp>
#include <mapnik/geometry_transform.hpp> #include <mapnik/geometry/transform.hpp>
#include <mapnik/geometry_to_path.hpp> #include <mapnik/geometry_to_path.hpp>
#include <mapnik/util/geometry_to_ds_type.hpp> #include <mapnik/util/geometry_to_ds_type.hpp>
#include <mapnik/safe_cast.hpp> #include <mapnik/safe_cast.hpp>

View file

@ -29,8 +29,8 @@
#include <mapnik/marker.hpp> #include <mapnik/marker.hpp>
#include <mapnik/marker_cache.hpp> #include <mapnik/marker_cache.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/geometry_centroid.hpp> #include <mapnik/geometry/centroid.hpp>
#include <mapnik/vertex_processor.hpp> #include <mapnik/vertex_processor.hpp>
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>
#include <mapnik/parse_path.hpp> #include <mapnik/parse_path.hpp>

View file

@ -26,7 +26,7 @@
#include <mapnik/feature.hpp> #include <mapnik/feature.hpp>
#include <mapnik/geom_util.hpp> #include <mapnik/geom_util.hpp>
#include <mapnik/util/noncopyable.hpp> #include <mapnik/util/noncopyable.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
#include <cmath> #include <cmath>
namespace mapnik { namespace detail { namespace mapnik { namespace detail {

View file

@ -22,7 +22,7 @@
#include <mapnik/vertex_adapters.hpp> #include <mapnik/vertex_adapters.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/vertex.hpp> #include <mapnik/vertex.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -27,7 +27,7 @@
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/feature.hpp> #include <mapnik/feature.hpp>
#include <mapnik/util/noncopyable.hpp> #include <mapnik/util/noncopyable.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
namespace mapnik namespace mapnik
{ {

View file

@ -28,8 +28,8 @@
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp> #include <mapnik/datasource_cache.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/expression.hpp> #include <mapnik/expression.hpp>
#include <mapnik/expression_evaluator.hpp> #include <mapnik/expression_evaluator.hpp>
#include <mapnik/debug.hpp> #include <mapnik/debug.hpp>

View file

@ -29,8 +29,8 @@
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp> #include <mapnik/datasource_cache.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_types.hpp> #include <mapnik/geometry/geometry_types.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
namespace { namespace {

View file

@ -27,7 +27,7 @@
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp> #include <mapnik/datasource_cache.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <cstdlib> #include <cstdlib>

View file

@ -25,7 +25,7 @@
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/datasource_cache.hpp> #include <mapnik/datasource_cache.hpp>
#include <mapnik/geometry_type.hpp> #include <mapnik/geometry/geometry_type.hpp>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
/* /*

View file

@ -1,7 +1,6 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry_centroid.hpp> #include <mapnik/geometry/centroid.hpp>
TEST_CASE("geometry centroid") { TEST_CASE("geometry centroid") {

View file

@ -1,7 +1,7 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
namespace { namespace {

View file

@ -1,9 +1,8 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/hit_test_filter.hpp> #include <mapnik/hit_test_filter.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
TEST_CASE("geometry ops") { TEST_CASE("geometry ops") {

View file

@ -1,9 +1,8 @@
#include "catch.hpp" #include "catch.hpp"
#include <boost/version.hpp> #include <boost/version.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_is_simple.hpp> #include <mapnik/geometry/is_simple.hpp>
TEST_CASE("geometry is_simple") { TEST_CASE("geometry is_simple") {

View file

@ -1,8 +1,7 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_is_valid.hpp> #include <mapnik/geometry/is_valid.hpp>
TEST_CASE("geometry is_valid") { TEST_CASE("geometry is_valid") {

View file

@ -1,4 +1,3 @@
#include "catch.hpp" #include "catch.hpp"
#include "geometry_equal.hpp" #include "geometry_equal.hpp"
@ -6,7 +5,7 @@
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/projection.hpp> #include <mapnik/projection.hpp>
#include <mapnik/proj_transform.hpp> #include <mapnik/proj_transform.hpp>
#include <mapnik/geometry_reprojection.hpp> #include <mapnik/geometry/reprojection.hpp>
TEST_CASE("geometry reprojection") { TEST_CASE("geometry reprojection") {

View file

@ -1,4 +1,3 @@
#include "catch.hpp" #include "catch.hpp"
#include "geometry_equal.hpp" #include "geometry_equal.hpp"
@ -6,8 +5,8 @@
#include <mapnik/projection.hpp> #include <mapnik/projection.hpp>
#include <mapnik/proj_transform.hpp> #include <mapnik/proj_transform.hpp>
#include <mapnik/view_transform.hpp> #include <mapnik/view_transform.hpp>
#include <mapnik/geometry_transform.hpp> #include <mapnik/geometry/transform.hpp>
#include <mapnik/geometry_strategy.hpp> #include <mapnik/geometry/strategy.hpp>
#include <mapnik/proj_strategy.hpp> #include <mapnik/proj_strategy.hpp>
#include <mapnik/view_strategy.hpp> #include <mapnik/view_strategy.hpp>

View file

@ -1,6 +1,6 @@
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/geometry_envelope_impl.hpp> #include <mapnik/geometry/envelope_impl.hpp>
namespace mapnik { namespace geometry { namespace mapnik { namespace geometry {

View file

@ -1,7 +1,6 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
TEST_CASE("geometry has_empty") { TEST_CASE("geometry has_empty") {

View file

@ -1,7 +1,6 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
TEST_CASE("geometry is_empty") { TEST_CASE("geometry is_empty") {

View file

@ -1,7 +1,6 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/geometry_remove_empty.hpp> #include <mapnik/geometry/remove_empty.hpp>
TEST_CASE("geometry remove_empty") { TEST_CASE("geometry remove_empty") {

View file

@ -2,9 +2,9 @@
#include <iostream> #include <iostream>
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/geometry_is_valid.hpp> #include <mapnik/geometry/is_valid.hpp>
#include <mapnik/geometry_is_simple.hpp> #include <mapnik/geometry/is_simple.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
#include <boost/version.hpp> #include <boost/version.hpp>
TEST_CASE("geometry formats") { TEST_CASE("geometry formats") {

View file

@ -2,8 +2,8 @@
// mapnik // mapnik
#include <mapnik/wkb.hpp> #include <mapnik/wkb.hpp>
#include <mapnik/geometry.hpp> #include <mapnik/geometry.hpp>
#include <mapnik/geometry_adapters.hpp> #include <mapnik/geometry/boost_adapters.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/util/geometry_to_wkt.hpp> #include <mapnik/util/geometry_to_wkt.hpp>
// bool // bool
#include <boost/version.hpp> #include <boost/version.hpp>

View file

@ -1,8 +1,7 @@
#include "catch.hpp" #include "catch.hpp"
#include <mapnik/vertex_adapters.hpp> #include <mapnik/vertex_adapters.hpp>
#include <mapnik/geometry_correct.hpp> #include <mapnik/geometry/correct.hpp>
TEST_CASE("vertex_adapters") { TEST_CASE("vertex_adapters") {

View file

@ -24,7 +24,7 @@
#include "../../plugins/input/csv/csv_getline.hpp" #include "../../plugins/input/csv/csv_getline.hpp"
#include "../../plugins/input/csv/csv_utils.hpp" #include "../../plugins/input/csv/csv_utils.hpp"
#include <mapnik/datasource.hpp> #include <mapnik/datasource.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include <mapnik/util/utf_conv_win.hpp> #include <mapnik/util/utf_conv_win.hpp>
#if defined(MAPNIK_MEMORY_MAPPED_FILE) #if defined(MAPNIK_MEMORY_MAPPED_FILE)

View file

@ -29,8 +29,8 @@
#include <mapnik/global.hpp> #include <mapnik/global.hpp>
#include <mapnik/sql_utils.hpp> #include <mapnik/sql_utils.hpp>
#include <mapnik/util/conversions.hpp> #include <mapnik/util/conversions.hpp>
#include <mapnik/geometry_is_empty.hpp> #include <mapnik/geometry/is_empty.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include "connection_manager.hpp" #include "connection_manager.hpp"
#include "cursorresultset.hpp" #include "cursorresultset.hpp"

View file

@ -20,13 +20,12 @@
* *
*****************************************************************************/ *****************************************************************************/
#include <iostream> #include <iostream>
#include <vector> #include <vector>
#include <string> #include <string>
#include <mapnik/util/fs.hpp> #include <mapnik/util/fs.hpp>
#include <mapnik/quad_tree.hpp> #include <mapnik/quad_tree.hpp>
#include <mapnik/geometry_envelope.hpp> #include <mapnik/geometry/envelope.hpp>
#include "shapefile.hpp" #include "shapefile.hpp"
#include "shape_io.hpp" #include "shape_io.hpp"
#include "shape_index_featureset.hpp" #include "shape_index_featureset.hpp"