3898 Commits

Author SHA1 Message Date
Artem Pavlenko
f7248b5f6d Bump up version to v4.1.4 2025-10-30 10:40:43 +00:00
Artem Pavlenko
d2c867f7e3 Don't rely on __cpp_lib_execution >= 201603 to use <execution> (ref #4530) 2025-10-30 10:23:42 +00:00
Artem Pavlenko
5d9183fa97 Implement sort-by clause parser <field-name>, [DESC | ASC] e.g "name DESC" (default to ASC) 2025-10-27 13:56:34 +00:00
Artem Pavlenko
c1dbec2196 Layer - initial implementation of sort-by [WIP] [skip ci] 2025-10-24 10:59:48 +01:00
Artem Pavlenko
fb2316b6b3 Remove virtual dtor (mapped_memory_file has no virual methods) 2025-09-27 11:14:09 +01:00
Artem Pavlenko
f15aee09c6 pre-commit run --show-diff-on-failure --color=always --all-files [skip ci] 2025-09-18 10:35:13 +01:00
Artem Pavlenko
4e1f83f64f Use 'ignore case' comparison to determine well-known projections [WIP] [skip ci] ref #4521 2025-09-12 14:51:41 +01:00
jiakai
304706eaf9 Fix two compile issues with mingw:
1. result type of dlsym is FARPROC on WIN32, which can not be converted
   via static_cast
2. std::ifstream(std::wstring) is not an std interface; we need to use
   filesystem::path to wrap the path
2025-08-02 11:52:58 -04:00
Artem Pavlenko
c86e2e3d4e avif_reader - use avif.h header as avif_cxx.h is not available starting from v1.1.0.
(ubuntu 24.04 packages v1.0.4)
2025-08-01 15:00:00 +01:00
Artem Pavlenko
6575bc0ab0 CMake - add libavif support (USE_AVIF=ON) 2025-08-01 09:46:28 +01:00
Artem Pavlenko
48d9bd2f7c AVIF reader - Use "valid" crop rectangle (ref: https://github.com/AOMediaCodec/libavif/issues/2852) 2025-07-25 09:00:39 +01:00
Artem Pavlenko
54d34760dc Set encoded YUV->RGB depth to 8bpc 2025-07-23 09:38:40 +01:00
Artem Pavlenko
ca89a51a77 add missing avif_reader.cpp + refactor internal/external buffer impl. 2025-07-22 15:40:58 +01:00
Artem Pavlenko
894d634445 pre-commit run --show-diff-on-failure --color=always --all-files 2025-07-22 15:35:56 +01:00
Artem Pavlenko
db86bfb280 avif_reader - initial implemntation [WIP] 2025-07-22 14:13:29 +01:00
Artem Pavlenko
e61128056f clang-format -
+QualifierAlignment: Right
+Standard: c++20
2025-07-14 14:49:23 +01:00
Artem Pavlenko
e5b221f38d fix clang-format -
+BreakConstructorInitializers: BeforeColon
+PackConstructorInitializers: Never
2025-07-14 14:42:10 +01:00
Artem Pavlenko
f92b459b73 Update copyright year to 2025 [skip ci] 2025-06-24 16:23:12 +01:00
Artem Pavlenko
90b4eff3b4 TextSymbolizer - make 'lang' parameter an expression (ref https://github.com/mapnik/mapnik/pull/4493) 2025-05-16 10:17:50 +01:00
Artem Pavlenko
668cb06426 Amend expressions grammar per #4508 [WIP] 2025-05-16 10:11:41 +01:00
Artem Pavlenko
6d30a5e1ba tiles.input - add CMake support [WIP] 2025-05-03 10:40:46 +01:00
Artem Pavlenko
743cbea432 pre-commit run --show-diff-on-failure --color=always --all-files 2025-05-01 10:09:33 +01:00
Artem Pavlenko
b75a945e02 Merge branch 'master' into vector_tiles 2025-04-29 13:54:31 +01:00
Artem Pavlenko
33e662599b Always render nodata values using mapnik.color(0,0,0,0) ref #4502 [skip ci] 2025-04-29 09:50:37 +01:00
Artem Pavlenko
c9fc354d51 Merge branch 'master' into vector_tiles 2025-04-08 12:02:32 +01:00
David Hummel
f6d49c54c5 Applied artemp's suggestion 2025-03-31 06:43:56 -07:00
David Hummel
102cf2b2c4 Added fix in order to support libc++ >= 19 2025-03-30 07:34:40 -07:00
Artem Pavlenko
c2730d825b c++ style 2025-03-27 09:38:58 +00:00
Artem Pavlenko
c48ecb270a cairo-glyph-caching - use 'random' offset (0....1e-6) to disable caching 2025-02-28 10:45:06 +00:00
Artem Pavlenko
021d7c3733 pre-commit run --show-diff-on-failure --color=always --all-files 2025-02-26 10:43:02 +00:00
Artem Pavlenko
8c75ca6c8c Attempt to disable 'cairo' glyph caching (ref https://github.com/mapnik/mapnik/issues/4497) 2025-02-26 10:40:40 +00:00
Artem Pavlenko
54f12f7343 AGG text - add missing halo renderer when
`rasterizer_ == halo_rasterizer_enum::HALO_RASTERIZER_FULL` and
`bit->bitmap.pixel_mode == FT_PIXEL_MODE_BGRA`
2025-02-26 09:43:32 +00:00
Artem Pavlenko
5a10f12fe6 pre-commit run --show-diff-on-failure --color=always --all-files 2025-02-12 14:14:28 +00:00
Artem Pavlenko
0c813a4f0d from_xml - use node.get_opt_attr<std::string> + serialise lang property in to_xml 2025-02-12 14:11:24 +00:00
Artem Pavlenko
32fe78e952 No "empty" string check required 2025-02-12 14:10:33 +00:00
Nick Doiron
d6ff036105 restore optional status to string here 2025-02-11 17:08:17 -06:00
Nick Doiron
9b0184677a revive lang tag for textsymbolizer based on #3655 / bdon 2025-02-09 02:26:11 -06:00
Artem Pavlenko
11f92aade4 More fix (ignore) more GCC compiler warnings 2025-01-30 11:54:13 +00:00
Artem Pavlenko
c5d5d280db Fix remaining compiler warnings (Apple clang version 16.0.0 (clang-1600.0.26.6)) 2025-01-22 10:17:47 +00:00
Artem Pavlenko
2e175a16fe value::to_bool() - sync logic with Python bool() operator e.g if 0 -> false : else -> true 2024-11-13 14:00:50 +00:00
Artem Pavlenko
92b1ea9ceb Commit staged changes 2024-10-29 10:19:22 +00:00
Artem Pavlenko
75756b33f3 CMake - set SOVERSION to ${MAPNIK_MAJOR_VERSION}.${MAPNIK_MINOR_VERSION} 2024-07-31 10:30:50 +01:00
Artem Pavlenko
7358a66c2f mapnik::projection - add area_of_use method returning std::optional<mapnik::box2d<double>> (WGS84) [WIP] [skip ci] 2024-07-29 11:21:54 +01:00
Artem Pavlenko
727e3a1ca7 Split bounding box along (0, 0) before reprojecting [WIP] [skip ci]
(improves handling stereographic projections e.g epsg:3995)
2024-07-26 14:28:41 +01:00
Artem Pavlenko
fc029ae5a5 Update Coopyright year 2024-07-22 10:20:47 +01:00
Artem Pavlenko
52bde246d2 Fix escape char (python >= v3.12) 2024-06-14 14:36:25 +01:00
Artem Pavlenko
61cb187dbb Check if text_symbolizer has 'placement finder'(keys::text_placements) before any text processing 2024-06-04 12:15:10 +01:00
Artem Pavlenko
d7a8f1d04a clang-format 2024-06-04 12:13:02 +01:00
Artem Pavlenko
4798be914c Set default font-size -> 16px/1em 2024-06-03 12:47:34 +01:00
Mathis Logemann
ab626ac052 update pre-commit and format sources 2024-05-18 10:22:29 +02:00