Wrong offline region for province in China #511
Labels
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: organicmaps/organicmaps-tmp#511
Loading…
Add table
Reference in a new issue
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?
When I zoom in to look for things around me,I found that I was placed in the wrong province.The area I was browsing is not
河北省
(Hebei Province), but is北京市
(Beijing)I noticed when I look for detaild things in
北京市
and天津市
(Tianjin), the app will notice me that I need to download the whole河北省
. The北京市
and天津市
are surrounded by河北省
.Here is the relation of those 3 province:
北京市
:https://www.openstreetmap.org/relation/912940天津市
:https://www.openstreetmap.org/relation/912999河北省
:https://www.openstreetmap.org/relation/912998And if this is not enough, you can see the wiki for more detail of province in China
Those 3 province have the equal administrative level, so I think this should be separate into 3 different offline package.
Here are screenshots in APP
(Pic is large so click if needed)
Screenshot_2021-06-06-20-02-16-022_app omaps beta
Screenshot_2021-06-06-20-02-47-322_app omaps beta
Looks like our province borders are incorrect, right?
You may help by fixing them, all borders are in data/borders and there may be some script in tools to generate poly files.
https://github.com/organicmaps/organicmaps/blob/master/data/borders/China_Hebei.poly
So I needed to manual modify this file (like geojson?) and so much points? And how can I need to deduct the inner regions of the two provinces here?
:(
I' m new to this repository, and don't know the grammar of this kind of file, also don't know which kind of script can help me.
So could you give me a link of related document so I can learn it?
Is there any repair progress?
Maps were split not ideally, with the idea to have a limited file size, not with the idea to reflect the region with 100% accuracy.
But if you see that borders are slightly incorrect, please edit/fix them in .poly files (including nearby regions), and make a Pull Request with your changes (or send files to us). The important thing is not to have any "holes" between regions, because it can break the routing algorithm.
If have docs, I can do this job, or I only can request your maintainer. That's why I open this issue
What you mention would be a problem too. I mentioned another "hole" issue:
JOSM editor has a plugin that supports editing .poly files. You can load several neighboring regions and visually see/edit/correct them.
This is my modified version in #1277
Hebei is using 3 area to describe.
In face only 2 land area is Hebei province, but you said that poly file shouldn't have a hole, so those sea were added in Hebei province
Can you please also show us what were the borders in previous poly files, without your modifications? Just download them again from the repository and make a screenshot, to better understand the difference?