Artem Pavlenko
b60de49388
make sure boost 1_69 works too
2019-10-21 17:18:25 +01:00
Artem Pavlenko
0b4f3dc497
fix support for BOOST 1_71
2019-10-21 16:42:58 +01:00
Nikita Kniazev
c191e196c0
Replace MAPNIK_INIT_PRIORITY workaround
...
Spirit rules are just placeholders. They are cheap to construct and by doing
this static initialization order fiasco problem is effectively avoided.
Also had to fix name clash between geojson and generic json parsers.
2019-07-02 01:04:31 +03:00
Artem Pavlenko
65080e2a95
add support for BOOST_VERSION < 106700
2018-07-23 10:58:27 +01:00
Artem Pavlenko
664d3508de
remove reference_wrapper usage when injecting attributes into grammar ( >= boost_1_67) [skip-ci]
2018-04-18 12:53:17 +02:00
Artem Pavlenko
c946620fec
remove unused instantiation
2018-04-18 10:31:33 +02:00
Artem Pavlenko
3cb74f0871
attempting to fix #3793
2017-11-14 10:10:26 +01:00
Artem Pavlenko
97f520c7cf
cleanup
2017-11-14 10:10:26 +01:00
artemp
333ef9fde1
update copyright year
2017-05-05 13:02:01 +02:00
artemp
f13848e210
move box2.hpp and related files into geometry dir
2017-01-26 09:51:37 +01:00
artemp
5745bedbd9
update copyright year to 2016
2016-12-20 17:57:22 +01:00
artemp
f1ccc66162
avoid parsing synthesised std::tuple<> + more fine-grained rules
2016-12-19 17:53:58 +01:00
artemp
47cdd22fad
simplify further
2016-12-19 17:06:27 +01:00
artemp
4475754e8a
deduce types
2016-12-19 17:02:45 +01:00
artemp
c5b5bc0237
fix namespace prefix
2016-12-19 16:34:16 +01:00
artemp
18f721fd17
TopoJSON - implement parsing using spirit::x3
2016-12-19 16:18:19 +01:00
artemp
4ba87b1e9d
c++14 support is not sufficient on windows: reverting back and start tracking Windows workarounds in separate branch
...
Revert "move BOOST_SPIRIT_DEFINE into separate headers + use across all grammar defs (#3573 )"
This reverts commit 81cfa721dbfe3df55346f7823ecabc98b9f74f07.
Revert "windows : fix errors C3259 + C3249"
This reverts commit 8327905abaece377185d1b02837f49056d668206.
Revert "Workaround for VC++ C2995 via redifining BOOST_SPIRIT_DEFINE macro (#3573 )"
This reverts commit 2a2f0bf00a5772f9894206e880a8d285296c9aa2.
2016-12-14 17:11:59 +01:00
artemp
81cfa721db
move BOOST_SPIRIT_DEFINE into separate headers + use across all grammar defs ( #3573 )
2016-12-14 16:35:24 +01:00
artemp
6824f4c477
fix more gcc warnings
2016-12-02 11:42:57 +01:00
artemp
2f8da6dfd5
reduce compiler warnings (gcc 6)
2016-12-01 17:17:56 +01:00
artemp
410a2ce7ca
from_geojson(json, geometry) - remove temp feature/ parse directly into geometry
2016-11-30 12:21:56 +01:00
artemp
56d5ffb473
remove unused headers
2016-11-30 12:21:38 +01:00
artemp
b01481ded7
refactor feature_grammar_x3 to have a cleaner separation between feature and geometry rules
2016-11-30 11:33:35 +01:00
artemp
36eb7f61bd
implement from_geojson in terms of parse_(feature|geometry)
2016-11-29 10:48:06 +01:00
artemp
941a025682
remove spirit::qi usage from (Geo)JSON
2016-11-29 10:46:23 +01:00
artemp
160c1c9471
pass iterator pair by ref,const& ref to match spirit::x3 APIs and be able check for fully consumed input (needed by geojson.input logic)
2016-11-28 18:40:03 +01:00
artemp
1e2b4c6bc1
instantiate require parse_rule's
2016-11-28 10:15:17 +01:00
artemp
af1b39c689
support both box2d<float> and box2d<double>
2016-11-28 10:14:49 +01:00
artemp
f422da8681
sanitise parse_rule instantiations via BOOST_SPIRIT_INSTANTIATE and OOST_SPIRIT_INSTANTIATE_UNUSED macros
2016-11-27 17:07:04 +01:00
artemp
8158293b16
fix std:: namespace :)
2016-11-25 17:47:41 +01:00
artemp
1a16dfd8c2
fix namespace
2016-11-25 17:19:30 +01:00
artemp
c5e44cc7a6
add missing extract_bounding_boxes_x3.cpp back
2016-11-25 17:16:13 +01:00
artemp
a40d4ee83f
Revert "move extract_bounding_boxes_x3 back into mapnik-json.a"
...
This reverts commit 44fc648cad3fd8199fae6be4c34a1c78c29e51fc.
2016-11-25 17:01:01 +01:00
artemp
7a819d94fa
manually add missing parse_rule instantiation (FIXME) <-- must a better way perhaps via adding another macro
2016-11-25 16:51:15 +01:00
artemp
236d42402f
instatiate parse_rules via BOOST_SPIRIT_INSTANTIATE
2016-11-25 16:50:15 +01:00
artemp
00b2bf013a
add missing generic_json_grammar_x3.cpp
2016-11-25 16:48:56 +01:00
artemp
44fc648cad
move extract_bounding_boxes_x3 back into mapnik-json.a
2016-11-25 16:48:34 +01:00
artemp
163a82fd1e
add feature_grammar_x3 implementation
2016-11-25 16:45:23 +01:00
artemp
a112e88e23
fix compilation - move extract_bounding_boxes into mapnik-index src dir
2016-11-23 17:44:35 +01:00
artemp
ed5ee69c3c
refactor GeoJSON bounding box extraction into separate method for re-use and more...
2016-11-23 16:18:38 +01:00
artemp
2a0bc9db6c
GeoJSON - refactor feature/geometry parsing
2016-11-21 16:08:15 +01:00
artemp
ca96d3e137
fix duplicate feature to geojson code
2016-11-17 10:33:05 +01:00
artemp
e46a52c3f0
GeoJSON - spirit::x3 based parsing building blocks
2016-11-10 17:26:24 +01:00
artemp
ab86171c2b
GeoJSON generator - implement using geometry<double> karma adapters
2016-10-13 17:00:12 +02:00
artemp
af099a57ef
topojson grammar - change interface + instantiate with Iterator = char const* to reduce binary size
2016-08-31 17:42:18 +01:00
artemp
f360f50eed
JSON - make generic_json a proper spirit grammar and reduce code bloat
2016-08-31 14:36:35 +01:00
Dane Springmeyer
296f8d467d
avoid grammar_impl usage in headers - other minor refactoring around json spirit
2016-03-02 12:48:07 -08:00
Dane Springmeyer
d148a966c8
from_geojson/to_geojson are now used in unit tests, csv plugin, and node-mapnik so move these to cpp
2016-03-02 11:26:56 -08:00
artemp
2906706a40
geojson.input - split parsing FeatureCollection and single Feature/Geometry into separate grammars
2015-10-15 15:12:16 +01:00
artemp
8c6bf0eef6
update copyright notice
2015-06-16 12:49:16 +02:00