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:
parent
d6a3be87a4
commit
8ce7a1c43d
84 changed files with 142 additions and 153 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
|
@ -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 {
|
|
@ -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 {
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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 {
|
|
@ -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 {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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") {
|
||||||
|
|
||||||
|
|
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue