65 Commits

Author SHA1 Message Date
Henry Sternberg
b929823f6b [routing] Avoid using parking aisles
Signed-off-by: Henry Sternberg <henry@bluelightmaps.com>
Co-authored-by: Henry Sternberg <henry@bluelightmaps.com>
Co-committed-by: Henry Sternberg <henry@bluelightmaps.com>
2025-12-12 15:37:21 +01:00
x7z4w
0a3a4ebd9a [core] Regex refactoring
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-11-16 18:27:04 +01:00
Yannik Bloscheck
2ae482de76 [generator] Ignore edited status for nearby places during map generation
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
2025-11-15 18:32:43 +01:00
Yannik Bloscheck
a886270dda [types] Add emergency access points
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
2025-11-12 12:25:32 +01:00
map-per
84ecbaa63c [generator] Keep area shape to fix OSM editing
Signed-off-by: map-per <map-per@gmx.de>
2025-11-09 12:36:24 +01:00
map-per
5886d15e88 [styles] Add disused business POIs (e.g. disused:shop)
Signed-off-by: map-per <map-per@gmx.de>
2025-10-26 16:22:22 +01:00
Jean-Baptiste
8e5c1a4d17 Reorganize and clean maxspeed:type values
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-10-23 10:01:18 +02:00
x7z4w
239332edb4 [generator] Support more maxspeed from the wiki
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-10-23 10:01:18 +02:00
Jean-Baptiste
564c6203eb [generator] Support more maxspeed type in the world
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
2025-10-23 10:01:18 +02:00
javnik
5cd9f1274b [routing] Support PL:expressway instead of PL:trunk
Signed-off-by: javnik <javnik@noreply.codeberg.org>
2025-10-22 16:38:35 +02:00
Séverin Lemaignan
2217db002a refactor: libs/feature_helpers merged in libs/indexer
Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-10-06 14:07:46 +02:00
Séverin Lemaignan
0c0e9ab5f6 refactor charge sockets data processing into dedicated class
While here, add method to generate the OSM keys corresponding
to a socket list.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-10-03 12:24:43 +02:00
Wojciech Sipak
0ef547daa6 fix syntax in osm2meta.cpp
Signed-off-by: Wojciech Sipak <wsipak@protonmail.com>
2025-09-20 19:14:31 +02:00
Séverin Lemaignan
f8d786958a [generator] retrieve socket:* OSM tags used by amenity:charging_station
Currently support the following socket types:
- type 1
- type 1 combo
- type 2 (wired or wo/ cable)
- type 2 combo
- chademo
- nacs

This commit also adds initial display of the socket types and power
the to Qt desktop app.

Signed-off-by: Séverin Lemaignan <severin@guakamole.org>
2025-09-18 22:09:52 +02:00
Konstantin Pastbin
cc8f45bac9 [generator] Hush too common 'No street found' logging
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-09-15 15:10:30 +02:00
eisa01
7cbe29db72 [generator] Always add ref to subway_entrance title
Signed-off-by: eisa01 <eisa01@gmail.com>
2025-09-05 11:37:54 +02:00
Fs00
4da403b8c0 [search] Recognize camp sites allowing caravans/motorhomes as caravan sites
Signed-off-by: Fs00 <francescosaltori@gmail.com>
2025-09-04 15:02:48 +02:00
Konstantin Pastbin
76cb6803c2 [generator] Improve logging
- more logging for various stages start/finish
- silenced some too repetitive and common warnings (changed to LDEBUG)

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-09-04 17:34:23 +07:00
eisa01
9e38cff708 [generator] Add branch to search indexer
Signed-off-by: eisa01 <eisa01@gmail.com>
2025-09-04 11:19:58 +02:00
Konstantin Pastbin
2b17fbfd85 Barriers comments and priorities regeneration
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-09-02 19:15:07 +02:00
eisa01
20208cf892 [generator] Add branch key to map generator
Signed-off-by: eisa01 <eisa01@gmail.com>
2025-08-27 10:11:29 +02:00
x7z4w
2e3efc0597 [generator] Add toll booth penalty
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
2025-08-24 09:24:50 +02:00
Viktor Govako
b85c11ea5a [feature] Added RouteRelation and linked it with FeatureType.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-08-23 08:32:06 +02:00
Viktor Govako
550455a14a [feature] Added Feature V1 version with free Header2 bits.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-08-23 08:32:06 +02:00
Viktor Govako
6beabb2fe1 [feature] Removed IndexFactory class.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>

^ Conflicts:
^	libs/indexer/data_source.cpp
^	libs/indexer/feature.cpp
^	libs/indexer/features_vector.cpp
^	libs/indexer/mwm_set.hpp
2025-08-23 08:32:06 +02:00
Alexander Borsuk
55dc1e17e6 Correct is_space fix for Windows compatibility
Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-22 18:59:37 +07:00
Konstantin Pastbin
d5966ff198 [tests] Add smoke tests for more barriers
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-20 12:39:48 +02:00
Konstantin Pastbin
3abd04426c [routing] Block cars going through barrier=yes
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-20 12:39:48 +02:00
Viktor Govako
c7592276f7 [classifier] Added highway=ladder to the routing and other checkers.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-08-19 23:34:00 +07:00
Viktor Govako
1d29e7816a [coding] Rename non-empty string serialization.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-08-18 09:07:05 +02:00
Viktor Govako
7b4862b442 [base] Updated IsSortedAndUnique function.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-08-18 09:07:05 +02:00
Henry Sternberg
c59b63d784 [routing] OSM tag based time and turn penalties
Signed-off-by: Henry Sternberg <dev@bluelightmaps.com>
Co-Authored-By: eisa01 <eisa01@gmail.com>
Co-Authored-By: x7z4w <x7z4w@noreply.codeberg.org>
Co-Authored-By: Yannik Bloscheck <git@yannikbloscheck.com>
2025-08-17 19:40:00 +02:00
Konstantin Pastbin
bfffa1fff4 Format all C++ and Java code via clang-format
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-17 14:32:37 +07:00
Alexander Borsuk
76ffc99abd New cpp folder structure
Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-14 20:52:04 +07:00
Alexander Borsuk
76d7ef146c Removed SignedRound and replaced std::round with std::lround where needed
Also see https://clang.llvm.org/extra/clang-tidy/checks/bugprone/incorrect-roundings.html

Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-11 14:58:45 +02:00
Alexander Borsuk
30718e106e ADL for AlmostEqual* and use math:: instead of base:: (#9634)
* ADL for AlmostEqual* and use math:: instead of base::

Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-11 14:58:45 +02:00
Alexander Borsuk
82133c5743 Fixed failing is_finite tests on the latest clang
Signed-off-by: Alexander Borsuk <me@alex.bio>
2025-08-11 14:58:45 +02:00
Eivind Samseth
04246a55f2 [generator] Add check_date and variants
Includes survey:date and check_date:opening_hours
Only apply to amenity and shop types for now

[generator] Add check_date to further types

[generator] Improve date validation

Check if it can be parsed to a proper date

Signed-off-by: Eivind Samseth <eisa01@gmail.com>
2025-08-08 15:11:24 +02:00
Konstantin Pastbin
5de22c6de8 [generator] Improve logging, add comments
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-07 13:56:48 +02:00
Konstantin Pastbin
d7f73f4b9b [generator] Fix Features stage crash on an empty relation
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-08-07 13:56:48 +02:00
Eivind Samseth
fdeeb1ae34 [routing] Add faux oneways for motor_vehicle and vehicle forward/backward
Signed-off-by: Eivind Samseth <eisa01@gmail.com>
Co-authored-by: Eivind Samseth <eisa01@gmail.com>
Co-committed-by: Eivind Samseth <eisa01@gmail.com>
2025-08-02 22:57:41 +02:00
Viktor Govako
34af5e26d9 Do not inherit "oneway" and "surface" from Relation.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
128b0f3e2b Borders 2025-07-25 06:32:48 +02:00
Viktor Govako
3b46dd1dee Check default max speeds consistency.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
767f27e00a Added SrtmTileManager::GetBilinearHeight.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
ac50520ca8 Print SRTM tiles usage.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
4f6455d6f8 Added maxspeed OSM related warnings.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
c2c68c4a76 Fixed getting url bug.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
2f2c3b042f Fixed altitude tiles cache bug.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
c05b668e38 Added SrtmTileManager::GetTriangleHeight.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00