Commit Graph

36 Commits

Author SHA1 Message Date
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
Viktor Govako
e298da740e Get all URLs.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Viktor Govako
a3bb0bed46 Set boost addr2line option for stacktrace.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2025-07-25 06:32:48 +02:00
Alexander Borsuk
606a94c818 Fixed reading SRTM from squashfs 2025-07-25 06:32:48 +02:00
Konstantin Pastbin
f066b44e01 [tests] Remove deprecated landuse=field
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-07-12 13:18:52 +02:00
Konstantin Pastbin
b0f338273b [tests] Update tests for new wetland types
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-07-12 13:18:52 +02:00
Konstantin Pastbin
d85949c716 [core] Fix search after replacement of churchyard with religious land
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-07-11 22:07:20 +07:00
Jean-Baptiste
6a10cffe51 [generator] Add support of Panoramax tag
Signed-off-by: Jean-Baptiste Charron <jeanbaptiste.charron@outlook.fr>
Co-authored by: Harry Bond <me@hbond.xyz>
2025-06-27 05:19:47 +02:00
sddzhyc
ff65e44202 [styles] Add icon for Qingdao Metro
- Add icon files
- Add bbox to fit the network

Signed-off-by: sddzhyc <sddzhyc@gmail.com>
2025-06-01 12:09:44 +02:00
hemanggs
af00325a77 [classif] Adds amenity=love_hotel
- Can add a new heart icon , but not sure as this is kind of niche , for now used same icon as amenity=brothel, ( theres also shop=erotic that can be modified and used)

-  priority & icon rendering similar to amenity=brothel

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
2025-06-01 12:09:44 +02:00
hemanggs
31d065846a [classif] Adds leisure=firepit
- Used OSM carto's icon , its similar to outdoor icons in OM
, same color as red icons in OM (eg : emergency-phone-m.svg)

-  priority & icon rendering similar to amenity=bbq

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
2025-06-01 12:09:44 +02:00
hemanggs
5092113459 [classif] Adds leisure=dance
- Used OSM carto's icon , its similar to other sport icons in OM
- priority similar to leisure=sports_center
- amenity=dancing_school  seems to be  already replaced with leisure=dance

Signed-off-by: hemanggs <hemangmanhas@gmail.com>
2025-06-01 12:09:44 +02:00
hemanggs
0a685dc1c4 [classif] Adds amenity=studio
- Rendered icon similar to shop=music
- Gave it lower priority than shop=music
- Not sure about icon , suggest if better options
- Added only en string ( should i autotranslate rest with DEEPL )
Signed-off-by: hemanggs <hemangmanhas@gmail.com>
2025-06-01 12:09:44 +02:00
Harry Bond
856d16cfcb [generator][core] Add Mastodon and Bluesky
Signed-off-by: Harry Bond <me@hbond.xyz>
2025-06-01 12:05:12 +02:00
Konstantin Pastbin
54ab965822 [cmake] Rebrand desktop version to CoMaps
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2025-05-19 20:55:34 +07:00
Konstantin Pastbin
e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00