3873 Commits

Author SHA1 Message Date
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
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
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
Mathis Logemann
7ef431ece2 use std::optional instead of boost::optional 2024-05-18 10:22:29 +02:00
Mathis Logemann
e1feef5a79 Use std::string_view instead of boost::string_view 2024-05-18 10:22:29 +02:00
Artem Pavlenko
4114824e6b pre-commit run --show-diff-on-failure --color=always --all-files 2024-05-15 10:29:13 +01:00
Artem Pavlenko
99aa246b73 Remove comment - duplicate names are OK 2024-05-15 10:25:47 +01:00
Artem Pavlenko
3a461630f7 remove extra space character for ouput (tidy) 2024-05-15 10:25:14 +01:00
Artem Pavlenko
454837070d Fix typo 2024-05-14 09:10:51 +01:00
Artem Pavlenko
3176749613 clang-format
(pre-commit run --show-diff-on-failure --color=always --all-files)
2024-04-30 10:04:57 +01:00
Artem Pavlenko
e412e12599 svg_parser - cleanup + consistent push/pop attributes 2024-04-30 10:01:02 +01:00
Artem Pavlenko
751c96ec4a tidy [skip ci] 2024-04-22 15:33:11 +01:00
Artem Pavlenko
e1d7d3deb5 Fix dasharray grammar 2024-04-22 15:22:19 +01:00
Artem Pavlenko
0708ee8724 Use pkg-config to determine static linking dependencies, default to original behaviour. 2024-04-04 11:01:17 +01:00
Artem Pavlenko
83f833f1ce clang-format 2024-03-28 16:49:57 +00:00
Artem Pavlenko
a9e0bf5bee Link to sharpyuv when 'RUNTIME_LINK'=='static' (webp) 2024-03-28 15:57:14 +00:00
Artem Pavlenko
6479059c7e Add specialisation for nodata->rgba8 conversion for mapnik::image_gray8
( fixes gdal-overview-gray8 visual test)
2024-03-28 15:33:41 +00:00
Artem Pavlenko
62c449e6d1 Use the same flags when calling FT_Load_Glyph
+ `revive missing check_object_status_and_throw_exceptiona` in `set_font_face`
2024-03-01 09:05:05 +00:00
Artem Pavlenko
dcfb2d692c SVG - improve handling of gradientUnits and gradientTransform attributes (radial gradient) + correct default values [skip ci] 2024-02-15 11:47:57 +00:00
Artem Pavlenko
45f954c578 Merge branch 'master' into svg-group-render 2024-02-05 09:41:31 +00:00
Artem Pavlenko
4f6ab6a4a2 Fix spurious ',' in operator== 2024-02-05 09:36:56 +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
b7fdeeeb02 Move rotation struct definition into pixel_position.hpp 2023-03-15 10:29:30 +00:00
Artem Pavlenko
ecfccdd36c Merge branch 'master' into svg-group-render 2023-03-15 08:37:06 +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
be0b537f52 Use std::filesystem when CXX_STD >= 17 and not USE_BOOST_FILESYSTEM 2023-03-09 13:17:28 +00:00
Artem Pavlenko
87ac079bb6 Add -fvisibility=hidden -fvisibility-inlines-hidden to mapnik target (CMake) 2023-03-07 10:02:50 +00:00
Artem Pavlenko
8839f5774a pre-commit run --all-files 2023-02-24 18:07:09 +00:00