comaps/comaps
44
1.9k
Fork
You've already forked comaps
162

Topologically incorrect polygons / lines simplification leads to gaps and other artifacts #1172

Open
opened 2025年07月30日 10:07:09 +02:00 by riadok · 5 comments
Member
Copy link

Describe the issue

When looking at a downloaded map of west Slovenia the map appears in a rectangular grid as shown in the picture.

Steps to reproduce

  1. Download map Slovenia - West
  2. Zoom in on Slovenia
  3. The more you are zoomed out (seeing the Slovenia map and not world map) the more is the rectangular grid visible

Expected behaviour

The map should look connected as all the others do.

Screenshots

No response

System information

  • Android version

Additional context

No response

### Describe the issue When looking at a downloaded map of west Slovenia the map appears in a rectangular grid as shown in the picture. ### Steps to reproduce 1. Download map Slovenia - West 2. Zoom in on Slovenia 3. The more you are zoomed out (seeing the Slovenia map and not world map) the more is the rectangular grid visible ### Expected behaviour The map should look connected as all the others do. ### Screenshots _No response_ ### System information - Android version ### Additional context _No response_
Owner
Copy link

Polygons are simplified for the overview zoom levels and at the moment the simplification algo doesn't take into account that there are adjacent polygons and there should be no gap between them (seamless).

I.e. the current simplification algo is topologically incorrect.

Ref to the old discussion in OM: https://github.com/organicmaps/organicmaps/issues/2424

Polygons are simplified for the overview zoom levels and at the moment the simplification algo doesn't take into account that there are adjacent polygons and there should be no gap between them (seamless). I.e. the current simplification algo is topologically incorrect. Ref to the old discussion in OM: https://github.com/organicmaps/organicmaps/issues/2424
pastk changed title from (削除) Rendering issue in Slovenia (削除ここまで) to Topologically incorrect polygons / lines simplification leads to gaps and other artifacts 2025年07月30日 10:58:04 +02:00

@pastk how about experimenting with giving it a thick same colour outline for overview zooms?

@pastk how about experimenting with giving it a thick same colour outline for overview zooms?
Owner
Copy link

If its thick then it might overlay onto nearby features (roads, etc) that are actually outside of the forest (or whatever other area) :)

So its going to be topologically incorrect too, but in a different fashion :)

If its thick then it might overlay onto nearby features (roads, etc) that are actually outside of the forest (or whatever other area) :) So its going to be topologically incorrect too, but in a different fashion :)

Any update on this?

Any update on this?
Owner
Copy link

AFAIK no one is working on this one at the moment. The effort to fix it is high, while impact is relatively low.

Its quite an interesting piece of work though - might involve smart algorithms and new interesting approaches!

If someone is interested to work on this one - PRs are welcome!

AFAIK no one is working on this one at the moment. The effort to fix it is high, while impact is relatively low. Its quite an interesting piece of work though - might involve smart algorithms and new interesting approaches! If someone is interested to work on this one - PRs are welcome!
Sign in to join this conversation.
No Branch/Tag specified
main
pastk-styles-modes
vehicle-mode-redesign
release/2026.07.16
carplay-dashboard-support
hbond/dl-wiggle
fix-dangling-pointer-drape
modes-ui
python-proxy
generate-260714
eisa01/main-segment-directions
oa-cpp-rewrite
openaddresses-canada
test/2026.07.11
test/2026.07.11-ios
routing-options-banner
generate-260711-test
generator_triangles_packed
gedankenstuecke-20260709-resolve_translate2
generate-260709-test
zy-mwm-monitoring
zyphlar-patch-3
zyphlar-patch-1
pastk-core-fix-new-poi-crash-TEST
generate-260705-test
pastk-mapgen-pr-4162
style/format-ci-enforcement
x7z4w-patch-1
yannikbloscheck-modes
test/2026.07.02-2
test/2026.07.02
generate-260628-test
zy-mapgen-wildcard
hbond/address-format
generate-260615-temp
zy-windows-app
traffic
cherry-pick-pr-11661
generate-260606-temp
generate-260606-test
release/2026.06.05
hbond/live-notification
pastk-pr-4405
generate-260603
generate-260530-temp
test/2026.05.29
zy-drape-documentation
generate-260527-test
test/2026.05.22
generate-260521-test
highway-construction
zy-mwm-safemode
release/2026.05.06
pastk-android-indep-map-updates
generate-260504
pastk-mapgen-TEST
pastk-test-2026年05月01日-fixed
pastk-mapgen-planet-update-buff
zy-mwm-intent
test/2026.05.01
generate-260430-test
jb_no_tag
pastk-TEST-ios-countries-signature
generate-260428
patepelo-club
release/2026.04.23
pastk-indep-map-updates-TEST
generate-260421
test/2026.04.19
zy-mwm-routing
generate-260414-test
zy-cicd
release/2026.04.07
pastk-alpha
x7z4w/x7z4w-border
generate-260405
jb_drv_opt
zy-subway-last-good
pastk-mapgen-TMP-wiki-lang
test/2026.04.03
generate-260401-test
pastk-mapgen-TEST-fix-categories-matching
release/2026.03.23
generate-260321
test/2026.03.19
yannikbloscheck-remove-english-as-default
generate-260316-test
yannikbloscheck-simplify-poi-checking
yannikbloscheck-ios-remove-unused-graphics
release/2026.03.09
generate-260307
jb_rw_st
test/2026.03.02
matheusgomesms-stop-signs
generate-260302-test
pastk-TEST-isolines
pastk-TEST-tiger
zy-runner-tools
pastk-TMP-mapgen-test
pastk-TMP-mapgen-debug
release/2026.02.23
pastk-styles-toll-booth-vis
generate-260221
test/2026.02.17
pastk-TMP-indep-map-updates
transit
generate-260215-test
pastk-mapgen-subways-clone
zy-mwm-docs
release/2026.02.09
generate-260207
zy-mwm-pano
zy-countries-versioning
noelclick-allow-remote-countries-txt
test/2026.02.03
generate-260202-debug-test
generate-260201-test
yannikbloscheck-ios-downloader-to-swiftui
release/2026.01.24
jb_3d_layer
jb_dlt_list
hbond-confirm-editor-pending
generate-260122
test/2026.01.20
generate-260118-test
zy-panoramax
zy-pano-build
zy-live-location
pastk-mapgen-pbf-update-verbose
test/2026.01.09
test/next
release/2026.01.08
generate-260106
test/2026.01.03
pastk-om-route-building-buttons
generate-260101-test
zyphlar-patch-5
test/2025.12.29
pastk-TMP-disable-fr1
release/2025.12.28
generate-251227
release/2025.12.19
generate-251217
test/2025.12.17
zy-panoramax-selector
test/2025.12.11
release/2025.12.11
generate-251209
test/2025.12.05
generate-251205-test
generate-251203
generate-next
release/2025.11.25
release/2025.11.19
generate-251116
test/2025.11.15
generate-251112-test
yannikbloscheck-more-cuisines
x7z4w-traffic
release/2025.11.07
generate-251104
release/2025.11.01
release/2025.10.16-fdroid
x7z4w-patch-4
release/2025.10.16
release/2025.10.09
release/2025.10.08
release/2025.10.02
generate-250906
pastk-mapgen-world-detail-optimize
generate-250902-test
release/2025.08.31
map-per-pedestrian-area
test/2025.08.24
test/2025.08.22
generate-250822
pastk-ios-reformat
release/2025.08.13
pastk-om-batch-31-android-bm-colors
pastk-gplay-metadata
release/2025.07.23
hb0nd-layers-leftbutton
generate-250804
fix-ci
test/2025.08.03
pastk-android-GS-cert-fix
always-update-fast
test/2025.07.20
test/2025.07.10
release/2025.06.30
test/2025.06.27
release/2025.06.25-apple
release/2025.06.22
pastk-gen-isolines
test/2025.06.19
test/2025.06.16
test/2025.06.12
release/2025.06.10
test/2025.06.08
release/2025.06.01
zyphlar-patch-2
delete_passed_intermediate_points
v2026.07.16-10
v2026.06.05-11
v2026.05.06-11
v2026.04.23-19
v2026.04.07-8
v2026.03.23-5
v2026.03.09-18
v2026.02.23-9
v2026.02.23-8
v2026.02.23-6
v2026.02.09-4-Linux
v2026.02.09-4
v2026.01.29-2-Linux
v2026.01.24-05
v2026.01.24-5
v2026.01.08-11
v2025.12.28-2
v2025.12.19-11
v2025.12.11-2
v2025.11.25-4
v2025.11.19-2
v2025.11.07-2
v2025.11.01-7
v2025.10.20-1
v2025.10.16-1
v2025.10.09-3
v2025.10.08-3
v2025.10.02-2
v2025.08.31-15
v2025.08.13-8
2025年08月10日-linux
2025年08月08日-2-android
2025年07月23日-4-android
2025年07月23日-2-android
2025年06月30日-22-android
2025年06月25日-1-apple
2025年06月22日-5-android
2025年06月10日-4-android
2025年06月01日-6-android
squashed-history
Labels
Clear labels
accessibility
Visual contrast, screen readers, etc.
addresses
Related to addresses, post codes, city/town/village borders
AI-assisted
AI-assisted PRs or issues
Android
Android app
Android Auto
Android Auto integration
Android Automotive
Android Automotive app
api
Deeplinks and URLs handled by the API
app stores
Google Play, App Store, F-Droid, Obtanium, Huawei Gallery, Acressent, Flathub, IzzyOnDroid, etc.
battery & performance
Performance and battery consumption-related problems and optimisations
borders
Related to borders between countries / regions
bug
Something is not working
build
building of apps
CarPlay
CarPlay integration
community
Community relations
contribution welcome
Contributions are very welcome, get started here
core
C++ core of the app
crash
Crash reporting
cycling
Specific to using a bicycle or similar vehicles
desktop
Qt desktop app incl. designer
devops
directions
Voice and visual turn-by-turn directions
docs
Documentation
downloader
Map downloader
drape
The C++ map rendering engine
driving
Specific to driving a car or similar vehicles
duplicate
This issue or pull request already exists
editor
Built-in OSM editor
elevation
Contour lines, elevation profiles, ...
enhancement
New feature
EPIC
A big idea or a piece of work that requires a lot of effort to implement
F-Droid
F-Droid platform
favorites
Places and GPS tracks
feature parity
A feature is implemented on one platform, but not on another
fonts
Fonts
good first issue
Interested in contributing? Get started here
help wanted
Need some help
icons
Map features icons
invalid
Something is wrong
iOS
iOS app
legal
Legal aspects
linux phone
LibreM, PinePhone and other mobile linuxes
location
Via GPS, network, etc.
macOS
Emulated iOS App or Qt Desktop App specifically related to macOS
map data
Related to OpenStreetMap data
mapgen needed
map generation is needed for PR to take full effect
maps compat
compatibility of newer maps with older apps; issues and PRs breaking or fixing compatibility
maps generator
Maps generator
navigation
The navigation turn-by-turn app mode
need feedback
Further information is requested
needs design
not planned
This is not planned at the moment
OM
Related to or references Organic Maps
opening hours
Related to Business Hours, off time, holidays, seasonal
outdoor
Hiking, backcountry cycling, 4WD, etc.
POI info
Various feature attributes usually displayed on the place page
priority
High
Seriously affects a lot of users or breaks the app severely
priority
Low
Not urgent or only happens in rare cases
priority
Medium
Happens enough to be a concern, but not app-breaking
privacy
Privacy aspects
public feedback needed
Experimental changes which requite explicit public feedback before continuing with them
public transport
Specific to public transport (busses, trams, subways, trains etc.)
question
Questions and Discussions
raw idea
Needs more discussion or to be further elaborated
refactoring
Improving the structure or simplifying the code, improving maintainability
regional
Different depending on the country or region
regression
Regression in the app
releases
Release management
route planning
Preview and plan your route
routing
Routing engine
search
Search inside of the app
security
Security improvements
source data
Related to OSM, SRTM, Tiger etc.
styles
Map styling, incl. mapping OSM tags
subway
The special subway layer
task
Internal things that have a clear way for implementation
tests
Unit tests
track recording
Track recording
traffic
Traffic information (still under development)
translations
Translations and all other kinds of localisation
TTS
Text-to-Speech
UI
User interface
UX
User experience
wait for upstream
Waiting for something to be done upstream
walking
Specific to walking
Wikipedia
Related to the embedded Wikipedia articles
Windows
Windows related
world map
The world overview map
No labels
accessibility
addresses
AI-assisted
Android
Android Auto
Android Automotive
api
app stores
battery & performance
borders
bug
build
CarPlay
community
contribution welcome
core
crash
cycling
desktop
devops
directions
docs
downloader
drape
driving
duplicate
editor
elevation
enhancement
EPIC
F-Droid
favorites
feature parity
fonts
good first issue
help wanted
icons
invalid
iOS
legal
linux phone
location
macOS
map data
mapgen needed
maps compat
maps generator
navigation
need feedback
needs design
not planned
OM
opening hours
outdoor
POI info
priority
High
priority
Low
priority
Medium
privacy
public feedback needed
public transport
question
raw idea
refactoring
regional
regression
releases
route planning
routing
search
security
source data
styles
subway
task
tests
track recording
traffic
translations
TTS
UI
UX
wait for upstream
walking
Wikipedia
Windows
world map
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
comaps/comaps#1172
Reference in a new issue
comaps/comaps
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?