1802 Commits

Author SHA1 Message Date
Artem Pavlenko
058bd86194 Remove stderr 2025-05-05 13:03:32 +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
35ff36bbfb Only set nodata value if it's provided by user or present in input data
(https://github.com/mapnik/mapnik/issues/4502)
2025-04-29 09:45:20 +01:00
Artem Pavlenko
74287a9a0c Throw if magic number is invalid [skip ci] [WIP] 2025-04-29 09:24:10 +01:00
Artem Pavlenko
1ce62c5539 Tiles.input - default minzoom = 0 [skip ci] [WIP] 2025-04-28 10:43:18 +01:00
Artem Pavlenko
d3fb85f52c Rename to "tiles.input" + cleanup [skip ci] [WIP] 2025-04-28 10:34:24 +01:00
Artem Pavlenko
3bb096c155 pmtiles.input - add sqlite dependency. 2025-04-28 09:44:05 +01:00
Artem Pavlenko
23ab33a838 better names 2025-04-17 12:04:34 +01:00
Artem Pavlenko
0c9e063114 combine support for .pmtiles and .mbtiles via tile_source interface 2025-04-17 10:13:07 +01:00
Artem Pavlenko
418605ff67 try/catch 2025-04-14 11:52:20 +01:00
Artem Pavlenko
65a07b52af features_at_point - use maxzoom and select one tile for the query. 2025-04-14 11:51:18 +01:00
Artem Pavlenko
c43298dd93 store extent and layer by value. 2025-04-14 10:45:40 +01:00
Artem Pavlenko
b296765b2c Use already defined consts e.g mapnik::EARTH_CIRCUMFERENCE + cleanup 2025-04-05 09:45:37 +01:00
Artem Pavlenko
55e65c1a12 Fix scale_to_zoom logic + remove zoom parameter 2025-04-05 09:44:36 +01:00
Artem Pavlenko
5e4f2a49e4 Remove MAPNIK_MEMORY_MAPPED_FILE definition 2025-04-05 09:41:00 +01:00
Artem Pavlenko
bbeeb97f7c Implement mvt_layer as inner and only calculate tile_x, tile_y, resolution once + cleanup/style 2025-04-05 09:38:15 +01:00
Artem Pavlenko
bfc3fcef6f mbtiles_vector.input 2025-04-05 09:35:31 +01:00
Artem Pavlenko
0b702483b7 PMTile input plugin (WIP) 2025-03-27 10:24:19 +00:00
Artem Pavlenko
4af6f75661 PMTiles input plugin initial commit 2025-03-19 15:20:09 +00:00
Artem Pavlenko
77b272f920 Fix compiler warning - remove unused variable 2025-01-22 09:31:25 +00:00
Artem Pavlenko
2abd2deb4c small typo [skip ci] 2024-12-29 09:55:21 +00:00
Artem Pavlenko
92b1ea9ceb Commit staged changes 2024-10-29 10:19:22 +00:00
Artem Pavlenko
fc029ae5a5 Update Coopyright year 2024-07-22 10:20:47 +01:00
Artem Pavlenko
c87b245f71 Remove unused 'simplify_prefilter_' parameter (ref #4459) 2024-06-04 12:09:24 +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
Artem Pavlenko
c2c6d2ed60 gdal-config - use both --libs and --dep-libs when RUNTIME_LINK
+ `ogr.input` needs `pkg-config libpq --libs --static`
2024-04-03 18:18:13 +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
d745e43eb1 pre-commit run --show-diff-on-failure --color=always --all-files 2023-11-17 16:33:01 +00:00
Michael Reichert
2d20d5a3c5 Add support for open options in OGR input plugin 2023-11-17 11:06:18 +01: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
50f1b05f86 boost/algorithm/string/trim.hpp is needed for `trim_if' (boost 1.83) 2023-09-22 14:37:34 +01:00
Artem Pavlenko
be0b537f52 Use std::filesystem when CXX_STD >= 17 and not USE_BOOST_FILESYSTEM 2023-03-09 13:17:28 +00:00
Mathis Logemann
ccbf27400c move datasource_plugin into mapnik target 2023-01-23 16:13:32 +01:00
Mathis Logemann
7d267b47fe Merge branch 'master' of https://github.com/mapnik/mapnik into feature/cmake-static 2022-11-22 20:14:33 +01:00
Artem Pavlenko
a65d65a5ab Update .clang-format to BraceWrapping: BeforeCatch : true
run `pre-commit`
2022-11-10 15:57:38 +00:00
Mathis Logemann
e6553ef652 simplify cmake 2022-08-18 20:38:21 +02:00
Mathis Logemann
eb3823aa4a precommit 2022-08-17 17:35:25 +02:00
Mathis Logemann
213be3777c Merge branch 'master' of https://github.com/mapnik/mapnik into feature/cmake-static 2022-08-17 17:34:52 +02:00
Mathis Logemann
2b7456f54b Revert "precommit"
This reverts commit f48589738f9eb70b8503827e32f62d9f75cefaa8.
2022-08-17 17:22:07 +02:00
Mathis Logemann
f48589738f precommit 2022-08-17 17:19:59 +02:00
Mathis Logemann
54b0381f4d wip 2022-08-16 21:03:56 +02:00
Mathis Logemann
eb16e7a647 fix all files
format files
2022-08-14 22:26:31 +02:00
Mathis Logemann
c85f8462fd [CMake] fixes for windows (WIP) 2022-04-22 15:10:49 +02:00
Mathis Logemann
6fcdccaf83 [CMake] fix rename MAPNIK_STATIC_PLUGINS => BUILD_SHARED_PLUGINS 2022-02-09 15:57:03 +01:00
Mathis Logemann
42f465f842 refactor datasource plugins
fix merge

remove old DATASOURCE_PLUGIN call

fix memory_datasource

wip

wip

fix temp return

fix install

wip before_unload

linux

remove docker

remove docker

comments

add windows error message if libmapnik=static and plugins=dynamic

fix false plugin macro

plugin default de/constructor to remove UB

simplyfy plugin targets - add fpic

fix makro

simplyfy

use unique_ptr for plugin handle

rename option static plugins

replace local init with fnc call

call setup everywhere

init datasource_static
2022-02-07 15:35:09 +01:00
Mathis Logemann
8a1f2579e9 Merge branch 'master' of https://github.com/mapnik/mapnik into feature/cmake-static 2022-02-02 17:15:55 +01:00
Mathis Logemann
2d846dd5f3 static plugins
wip static plugins

add remaining datasources

wip

formatting
2022-02-02 16:35:49 +01:00