Commit Graph

607 Commits

Author SHA1 Message Date
systemed 074e6cec2b Use custom correct (make_valid) for clipping 2023-11-09 12:51:00 +00:00
Colin Dellow fcec727779 free SHPObject when done with it (#568) 2023-11-05 11:54:16 +00:00
Ethan 5153a6049e Fix Docker dynamic build (#567)
* Fix Docker dynamic build

* Fix Docker image
2023-11-04 12:16:57 +00:00
Richard Fairhurst 988c7708e5 Use CONFIG mode for CMake, fall back to MODULE (#566) 2023-11-03 13:37:19 +00:00
Richard Fairhurst ec950c9aad Don't use static build for Dockerfile (#564) 2023-11-03 12:15:33 +00:00
Richard Fairhurst 3775c309f5 Reinstate CMAKE_DL_LIBS (#562) 2023-11-03 11:00:14 +00:00
Richard Fairhurst c6f7ab5be3 Use Ubuntu 22.04 in Dockerfile for consistency with CI (#561) 2023-11-03 10:41:49 +00:00
Richard Fairhurst 4124035fa8 Don't supply our own FindSQLite3 (#560) 2023-11-03 10:13:25 +00:00
Richard Fairhurst 172ffb4324 Stop protobuf build erroring out (#559) 2023-11-03 09:27:55 +00:00
FunMiles 5b6bb37daa Modernize CMake include and linking resolution. (#555)
* chore: Modernise cmake file.

In modern cmake, linking a target to a library with target_link_libraries
automatically sets the include paths.
This modern approach also resolves issues with transitive dependencies
(e.g. protobuf using abseil).

* chore: Update the required minimum CMake to a lower working value.

* fixed MSVC SQLite3 issue

* Use an alias, avoiding second IF(MSVC)
2023-10-21 19:19:06 +01:00
Masamune Ishihara ba3fc62377 Change example configration compress parameter to "gzip" (#554) 2023-10-20 08:40:46 +01:00
Richard Fairhurst 82ba6afb84 Skip 0-length ways (#553) 2023-10-19 13:31:20 +01:00
Richard Fairhurst dbdb4da097 RestartRelations() to reset relation subscript (#548) 2023-10-09 11:30:03 +01:00
Richard Fairhurst 98246b389b Remove errant old boundaries code (fixes #545) (#549) 2023-10-05 10:58:33 +01:00
Nakaner 3c6197e17e OpenMapTiles implementation: Add missing attributes, use correct classes/subclasses (#543)
* Use different OSM tags as source for subclass in special cases

For tourism=information, amenity=place_of_worship and leisure=pitch,
class should contain information/place_of_worship/pitch and subclass
should contain the value of a special OSM tag
(information/religion/sport).

* Add attribute layer, level and indoor to poi layer
2023-10-05 10:58:05 +01:00
Richard Fairhurst 439c6b1027 Report OSM ID on Lua processing error (#535) 2023-09-18 14:22:36 +01:00
Ethan b360f40531 Use prebuilt Docker image in GitHub action to speed it up (#532)
Reduces the duration of workflows using this action by 3-5mins
2023-09-18 14:22:20 +01:00
SomeoneElseOSM 10961027cb Updated Makefile for Debian 12; different lua version.# (#526)
No functional changes.
2023-09-18 14:10:02 +01:00
Grant 9af2b0686c Add docker runtime OOM killer warning (#530) 2023-09-18 14:09:33 +01:00
Jin Igarashi 6e932631a0 feat: add CI to build and push docker image to Github package (#1) (#512) 2023-08-04 12:45:49 +01:00
Robin Hutmacher 9a377a690e Update RUNNING.md (#510) 2023-08-04 12:33:31 +01:00
Richard Fairhurst 6078f073e6 Squawk if user has pratted around with way IDs (#509) 2023-07-23 08:57:59 +01:00
Richard Fairhurst 528aa25dec Support type=boundary relations as native multipolygons (#508) 2023-07-23 08:57:39 +01:00
holzgeist d3c46edacb fix: CMake build on Arch Linux (#503)
* added missing include
* set required C++ version to 17

Co-authored-by: Tobias Ollmann <tobias@holzgeist.at>
2023-07-16 13:32:06 +01:00
systemed c6ae3cd68f Move Github action to macos-latest 2023-06-10 21:10:49 +01:00
systemed 57434b386e Update .gitignore 2023-06-07 13:53:41 +01:00
Daniel Schep ff7f0b73a9 Add bike/foot/horse/mtb fields (#490)
Adding `bicycle`, `foot`, `horse`, & `mtb_scale` fields per: https://openmaptiles.org/schema/#bicycle
2023-04-20 12:58:14 +01:00
systemed 8fbfcaa305 Changelog for v2.4.0 v2.4.0 2023-03-31 15:31:28 +01:00
systemed 4659aae06e Show warning if you specify maxzoom of 16+ 2023-03-31 15:23:16 +01:00
Richard Fairhurst 4a85c60e6d Compile-time option for float ZOrder (#486) 2023-03-31 15:10:30 +01:00
Richard Fairhurst 06e0b2820b Configurable sort order (#485) 2023-03-31 15:09:58 +01:00
Richard Fairhurst bf64cc3d21 Use rtree for large polygons (#479) 2023-03-25 23:16:37 +00:00
Richard Fairhurst 4937daee4b Use faster bbox-specialised clipping algorithm (#482) 2023-03-25 23:16:07 +00:00
Daniel Schep a5d7def9f4 Add surface data to transportation layer (#476)
Adding paved/unpaved values like OMT: https://openmaptiles.org/schema/#surface
2023-03-12 21:02:49 +00:00
Daniel Schep 30c9e5fd54 Align path & track transportation classes with OMT (#474) 2023-03-12 17:04:06 +00:00
Daniel Schep e0773da49b Update use of access to align with OMT (#475)
OpenMapTiles adds `access=no` when `access=no|private` instead of omiting the line: https://openmaptiles.org/schema/#access

this pr does the same
2023-03-12 17:03:42 +00:00
systemed 7b7c14b8d2 Merge branch 'master' of github.com:systemed/tilemaker v2.3.0 2023-03-08 00:19:51 +00:00
systemed 3c4fdb8db9 v2.3 2023-03-08 00:19:40 +00:00
Richard Fairhurst 653ffb866f Move centroid error to verbose mode only (#472) 2023-03-07 23:49:30 +00:00
ǝɹʇʇɐʃǝ◖ xıʃǝɟ 2703d73410 Add latomic when needed. (#427) 2023-03-07 23:49:04 +00:00
Richard Fairhurst 334a99fab9 Ignore nodes in ways with --skip-integrity (#469) (#471) 2023-03-07 23:22:34 +00:00
Richard Fairhurst 571a997b37 Mask IDs so they're accurate (#470) 2023-03-07 23:12:46 +00:00
Hsieh Chin Fan d75f6d8218 Update to rack 3 (#460)
Rack::Handler is extracted to gem "rackup" from v3

ref:
https://github.com/rack/rack/blob/main/CHANGELOG.md#removed

Co-authored-by: Hsieh Chin Fan <pham@topo.tw>
2023-03-07 22:26:38 +00:00
Fabrizio 57942b9812 Fixed application crashes (#441) 2022-10-29 14:18:40 +01:00
Richard Fairhurst 3a4239f00a Move Github actions to Ubuntu 22.04 (#439) 2022-10-15 12:20:17 +01:00
Richard Fairhurst 9625dce266 Send project name to init_function (#438) 2022-10-15 11:17:30 +01:00
Richard Fairhurst 5422dd5c2e Move mmap shutdown to end of PBF reading (#437) 2022-10-15 11:14:32 +01:00
Richard Fairhurst bcba6cc984 Move "no indexed layer" error to verbose-only 2022-10-14 13:26:30 +01:00
Richard Fairhurst fa6d830fe6 Ensure inner area is positive when filtering (#435) 2022-10-06 19:09:31 +01:00
Richard Fairhurst c4da4f1622 Intersect each part of a multipolygon with the clipping box individually (#432) 2022-10-03 09:53:27 +01:00