Artem Pavlenko
a65d65a5ab
Update .clang-format to BraceWrapping: BeforeCatch : true
...
run `pre-commit`
2022-11-10 15:57:38 +00:00
Mathis Logemann
eb16e7a647
fix all files
...
format files
2022-08-14 22:26:31 +02:00
Mathis Logemann
6dcf754077
format dir test
...
format dir test
fix
2022-01-27 00:12:12 +01:00
Mathis Logemann
fe887a2c83
fix #4268 by adding mapped_memory_file
2022-01-24 10:45:32 +01:00
Mathis Logemann
e626ba2688
replace _WINDOWS with _WIN32
2021-10-21 18:22:53 +02:00
Mathis Logemann
ba8a972254
[unit-test] fix formatting
2021-10-09 13:55:32 +02:00
Mathis Logemann
a73d2f7d94
[unit-tests] fix windows 11 path search
2021-10-09 13:46:55 +02:00
Mathis Logemann
bf6081b207
[unit-test] add std includes for external catch2
2021-10-09 13:46:24 +02:00
Artem Pavlenko
6fa2666747
Add convertion functions from_u8string
to support c++20 + update tests
2021-05-17 16:11:44 +01:00
Artem Pavlenko
bd961c4da2
update copyright year [skip ci]
2021-01-05 14:39:07 +00:00
Mathis Logemann
64054fade4
compiler independent warning ignore
...
Signed-off-by: Mathis Logemann <mathisloge@gmail.com>
2020-11-19 17:25:10 +01:00
Artem Pavlenko
a9d9f7ed99
add unit test #4177
2020-10-09 10:03:00 +01:00
Artem Pavlenko
d6d69df498
Update catch.hpp to v2.13.1 + fix tests
2020-09-10 15:34:52 +01:00
Artem Pavlenko
d0b40f62dc
Relax bounding box extracting grammar (ref #4140 ) + unit test
2020-05-07 11:35:53 +01:00
lightmare
a0ea7db1a7
Merge pull request #3984 from lightmare/pg-app-name
...
accept explicit parameter "application_name" in postgis and pgraster datasources
2019-08-12 12:52:34 +02:00
lightmare
8a44f7ffbb
Merge pull request #3942 from lightmare/postgis-float-tokens
...
postgis: always put decimal point in substituted tokens in SQL
2019-08-11 11:57:44 +02: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
Mickey Rose
86e70a726d
postgres: add connect param "application_name"
2018-09-07 11:07:33 +02:00
Mickey Rose
6a3452da96
fix read beyond buffer in topojson test
2018-08-13 19:08:30 +02:00
Mickey Rose
ee28954786
topojson: add test with empty "objects" and "arcs"
2018-08-13 18:41:56 +02:00
Mickey Rose
774a618d13
postgis: add test for pg_typeof substituted tokens
2018-07-19 22:51:01 +02:00
Mickey Rose
2e82c17d92
datasource tests: typos
2018-06-30 15:26:17 +02:00
Mickey Rose
58592ed597
datasource tests: fix failing csv test
...
- it was indeed the test that was wrong; the coordinates in nypd.csv are
specified with a decimal point, thus should be `value_double`
2018-06-30 15:21:55 +02:00
Mickey Rose
04e1f82734
datasource tests: use macro REQUIRE_ATTRIBUTES instead of function
...
- failing checks report location inside the function, not where it's
called from; using macro reports proper location
2018-06-30 15:20:22 +02:00
Mickey Rose
d62e215ff9
datasource tests: also check value types in REQUIRE_ATTRIBUTES
2018-06-30 15:20:19 +02:00
Jiri Drbalek
ab05de48df
postgis: Exclude password from ConnectionCreator::id()
...
- Password is not necessary for connection identification
- When password is not required by the database,
user can accidentally use multiple different passwords
without noticing.
This leads to allocating more connection pools
and increase of connection consumption.
2018-05-07 13:49:57 +00:00
Jiri Drbalek
43a9f70314
Add a test that GDAL plugin does not upsample
2018-01-10 15:02:44 +00:00
Artem Pavlenko
e97759d01b
geojson test - require throwing on an empty feature collection
...
(not sure this is correct but needed to preserve 3.0.x behaviour)
2017-09-11 17:58:26 +01:00
Artem Pavlenko
0253653676
Geobuf.input ( #3715 )
...
* geobuf.input - initial implementation (WIP)
* geobuf.input - fix reading MultiPolygon's
* geobuf.input - don't store invalid bounding boxes in r-tree.
* Use `protozero` lib to read `geobuf` (Initial implementation, not complete!)
* geobuf.input - poring to `protozero`. (TODO: add support for `GeometryCollection`)
* add initial support for `GeometryCollection` + cleanup namespaces
* remove stderr + cleanup + update copyright
* fix GeometryCollection and MultiLineString decoding + add support for standalone Feature and Geometry
* don't use `reserve` as undelying data format doesn't allow for efficient `distance` implementation.
* add geobuf unit test + update test data
* update data
2017-08-17 10:52:07 +01:00
artemp
55776f0b8c
add missing include directives (VS2017)
2017-07-06 16:02:17 +02:00
artemp
82a7d07b7f
return error code when no feature can be read from shapefile + update unit test.
2017-06-01 15:44:25 +02:00
artemp
333ef9fde1
update copyright year
2017-05-05 13:02:01 +02:00
artemp
064b99168b
geometry.hpp
2017-03-27 16:14:51 +01:00
artemp
fd36ac5279
Merge branch 'master' into geometry-refactor
2016-11-10 18:01:11 +01:00
artemp
a0a5085917
add GeoJSON num_features_to_query unit test (ref #3515 )
2016-09-23 11:56:43 +02:00
artemp
8e0e344b72
Merge branch 'master' into geometry-refactor
2016-09-05 09:41:52 +01:00
Dane Springmeyer
fa44f0e247
Add memory_datasource test + fix returning of invalid_featureset for emptyset
2016-09-02 15:09:45 -07:00
artemp
38bff90a99
Merge branch 'master' into geometry-refactor
2016-09-01 16:06:20 +01:00
artemp
af099a57ef
topojson grammar - change interface + instantiate with Iterator = char const*
to reduce binary size
2016-08-31 17:42:18 +01:00
Dane Springmeyer
f81583554a
Merge branch 'master' of github.com:mapnik/mapnik into geometry-refactor
2016-08-22 16:19:17 -07:00
Dane Springmeyer
0ae2f1311c
update test data if UPDATE env set
2016-08-22 10:50:08 -07:00
artemp
1a29b35717
GeoJSON unit tests- ensure descriptors are ordered by name (ref #3494 )
2016-08-16 15:46:10 +01:00
artemp
b9279feee2
fix is_valid
logic (ref #3494 )
2016-08-15 12:49:43 +01:00
artemp
008a6eb4cf
test geojson - add empty featurecollection test
2016-08-15 10:44:54 +01:00
artemp
5c11fe49f9
geoson+topojson tests - correct expected test data (ref #3491 )
2016-08-12 11:05:50 +01:00
artemp
efabcc8081
make all mapnik::geometries aliases to mapbox::geometry and attempt to adapt new polygon model (one std::vector)
...
NOTE: some boost.geometry algorithms are broken as a result
2016-06-29 12:41:57 +01:00
artemp
67d2a0e141
Merge branch 'master' into geometry-refactor
2016-06-20 15:01:29 +01:00
artemp
37d5a32875
make return type bool
2016-06-08 12:24:21 +02:00
artemp
9e3ccf6629
Issue a warning but don't fail if PostgreSQL is not running or it's not accessible (ref #3448 )
2016-06-08 12:21:27 +02:00
artemp
37a8aed62d
transcode input strings to UTF-8 (portability)
2016-05-24 12:16:48 +02:00