Artem Pavlenko
b911464472
correct 'is_empty' implementation for multi geometries
2024-02-26 14:40:36 +00:00
Artem Pavlenko
127f9ba143
add missing copy
2024-02-26 14:39:41 +00:00
Artem Pavlenko
995d3044a4
GeoJSON - allow empty arrays in "coordinates" element for Multi* geometries (ref #4431 )
2024-02-26 14:01:09 +00:00
Artem Pavlenko
cc1c990a2a
clang-format : pre-commit run --show-diff-on-failure --color=always --all-files
...
xsx
2024-02-06 09:37:48 +00:00
Artem Pavlenko
4f6ab6a4a2
Fix spurious ',' in operator==
2024-02-05 09:36:56 +00:00
Artem Pavlenko
2e1b32512b
Merge pull request #4421 from hummeltech/ogr-open-options-CMake
...
Fix CMake build issues after OGR open_options support addition
2023-11-28 08:54:08 +00:00
Artem Pavlenko
9d5c458405
Merge pull request #4426 from geofabrik/configure-fix
...
Fix bugs in configure script
2023-11-24 14:05:45 +00:00
Michael Reichert
ee76817d14
Fix bugs in configure script
...
The script expected that the shell supports arrays but only Z shell and
Bash do so. Other shells return syntax errors.
In addition, the script expected the mapnik-settings.env file to exist
and crashed otherwise.
2023-11-24 13:46:29 +01:00
Artem Pavlenko
88652012a9
Merge pull request #4424 from geofabrik/configure
...
Fix configure script for variables read from mapnik-settings.env
2023-11-24 08:50:04 +00:00
Michael Reichert
a5a96aacad
Fix configure script for variables read from mapnik-settings.env
...
Custom build variables (e.g. CXX_STD or CXX) read from
mapnik-settings.env have to be provided as command line arguments
because SCons does not respect the environment variables.
2023-11-23 22:04:58 +01:00
David Hummel
c8fd548133
Fix build issues after addition of OGR open_options support
2023-11-22 09:45:23 -07:00
Artem Pavlenko
437feebaf1
Merge pull request #4423 from hummeltech/LibXML2_2.12.0_Support
...
Fix broken builds with libxml2 >= v2.12.0
2023-11-21 09:16:08 +00:00
David Hummel
8cdca5f5be
Fix broken builds with libxml2 >= v2.12.0
...
**I.E.**
```
src/libxml2_loader.cpp:91:50: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive]
src/libxml2_loader.cpp:131:50: error: invalid conversion from ‘const xmlError*’ {aka ‘const _xmlError*’} to ‘xmlError*’ {aka ‘_xmlError*’} [-fpermissive]
```
2023-11-20 10:21:12 -07:00
Artem Pavlenko
d745e43eb1
pre-commit run --show-diff-on-failure --color=always --all-files
2023-11-17 16:33:01 +00:00
Artem Pavlenko
7d2029165e
Merge branch 'geofabrik-ogr-open-options-pr'
2023-11-17 16:31:13 +00:00
Michael Reichert
2d20d5a3c5
Add support for open options in OGR input plugin
2023-11-17 11:06:18 +01:00
Artem Pavlenko
279acf4c36
Merge pull request #4419 from geofabrik/drop-old-gdal-pr
...
Drop support for old versions of GDAL/OGR (older than 2.0)
2023-11-17 09:10:49 +00:00
Michael Reichert
bff4fdde77
Drop support for old versions of GDAL/OGR (older than 2.0)
...
Fixes #4403 .
GDAL 2.0.0 was released in March 2018 (more than five years ago).
Almost all Linux distributions (apart from few long-term support versions)
should come with at least GDAL >= 2.0.
2023-11-16 20:16:05 +01:00
Artem Pavlenko
f391178af0
Upgrade to SCons 4.5.2
2023-09-22 14:38:30 +01:00
Artem Pavlenko
50f1b05f86
boost/algorithm/string/trim.hpp
is needed for `trim_if' (boost 1.83)
2023-09-22 14:37:34 +01:00
Artem Pavlenko
d69a0902d4
Forward declaration of 'mapnik::rule' is not sufficient when building on macOS :
...
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
2023-09-15 14:46:29 +01:00
Artem Pavlenko
cb352ac609
Remove unused local variable
2023-09-15 14:45:18 +01:00
Artem Pavlenko
388d3fd8da
Add missing scons-local-4.5.1
2023-09-15 12:34:31 +01:00
Artem Pavlenko
b7332b07a1
Merge pull request #4404 from hummeltech/include_mapnik_geometry_cstdint_header
...
Add cstdint header include to `include/mapnik/geometry/boost_spirit_karma_adapter.hpp`
2023-09-15 09:12:49 +01:00
David Hummel
b1282fe32c
Add cstdint header include to include/mapnik/geometry/boost_spirit_karma_adapter.hpp
2023-09-14 17:38:27 -07:00
Artem Pavlenko
123232ffde
Merge pull request #4390 from mapnik/feature/updateVcpkg
...
Update vcpkg commit ref in the ci
2023-06-12 08:29:12 +01:00
Mathis Logemann
2445dbe063
remove boost foreach include
2023-06-11 20:10:50 +02:00
Artem Pavlenko
20acc0e656
Merge pull request #4389 from MoeSzyslak98/gcc-13-fix
...
add cstdint header for gcc13 compilation.
2023-06-11 09:44:02 +01:00
Mathis Logemann
6003293e25
Update build_and_test.yml
2023-06-11 08:30:42 +02:00
kian
76c5fd047d
add cstdint header for gcc13 compilation.
2023-06-09 15:32:59 +03:30
Artem Pavlenko
c4aa24496a
Merge pull request #4385 from hummeltech/C++17Build
...
Add build & test for `CXX_STANDARD=17` to GitHub Actions
2023-03-20 09:01:13 +00:00
Hummeltech
63f33eed4b
List advanced cached variables in CI [skip ci]
2023-03-19 14:05:58 -07:00
Hummeltech
bc09efb8f5
Fixed typo USE_BOOST_FILESYSYTEM
2023-03-19 14:01:14 -07:00
Hummeltech
bb280a2815
Fixing issues with USE_BOOST_FILESYSTEM definition
2023-03-19 13:39:20 -07:00
Hummeltech
93e488a6cf
Only test for !defined(USE_BOOST_FILESYSTEM)
in filesystem.hpp
2023-03-19 09:39:13 -07:00
Hummeltech
9f88d4c3a4
Revert CMAKE_CXX_FLAGS
msvc-cl change
2023-03-19 09:38:27 -07:00
David Hummel
f6cd056552
Attempting to fix Windows build with C++17
2023-03-18 09:06:34 -07:00
David Hummel
0e9996dde0
Add build & test for CXX_STANDARD=17 to GitHub Actions
2023-03-18 08:03:58 -07:00
Artem Pavlenko
fc2d27d349
Merge pull request #4384 from hummeltech/cplusplus17
...
Fixed check for `__cpp_lib_filesystem` in `filesystem.hpp`
2023-03-18 14:35:07 +00:00
David Hummel
e4557c016f
Oops, it looks like <version> does not exist until C++20
2023-03-17 10:31:30 -07:00
David Hummel
edec46e8c3
Fixed check for '__cpp_lib_filesystem' always false until after '#include <filesystem>'
2023-03-17 10:20:24 -07:00
Artem Pavlenko
338942b490
Merge pull request #4383 from mapnik/std-filesystem
2023-03-15 07:47:55 +00:00
Artem Pavlenko
00199754a2
Update test/visual/CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-14 16:54:04 +00:00
Artem Pavlenko
49912a423e
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-14 16:53:37 +00:00
Artem Pavlenko
a244effa91
Add mapnik/filesystem.hpp ref: https://github.com/mapnik/mapnik/pull/4383#discussion_r1131405532
2023-03-13 14:27:02 +00:00
Artem Pavlenko
45b48721fa
replace std::tmpnam
(deprecated) with make_unique
2023-03-13 09:34:58 +00:00
Artem Pavlenko
106a46bbf6
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:54 +00:00
Artem Pavlenko
96a6fcd941
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:45 +00:00
Artem Pavlenko
d680d1d7f5
Update CMakeLists.txt
...
Co-authored-by: Mathis Logemann <mathisloge@gmail.com>
2023-03-09 21:14:28 +00:00
Artem Pavlenko
be0b537f52
Use std::filesystem
when CXX_STD >= 17 and not USE_BOOST_FILESYSTEM
2023-03-09 13:17:28 +00:00