Comments (1)
Thanks for your feedback.
On which date was generated the planet file you used as the input ?
The most common cause for this kind of issues is that some multipolygons have been broken in OSM. By any chance, do you stll have logs from your run where we could find more details about the boundary parts that would be broken ?
There have been several suspicious edits on India relation recently.
On 2021-03-05 in changeset 100473803, the admin_level
value for India has been modified from 2 to 4. That alone may explain why India is no longer considered as a country by Cosmogony.
The diagram from the Wikipedia article refers to former enclaves that have been exchanged in 2015. They are now greatly simplified:
Since the exchange of territory took place, the only remaining enclave is Dahagram–Angarpota, an exclave of Bangladesh.
So the limitations of the algorithm should not be an issue with current boundaries. And this kind of "third-order enclave" should not break the whole polygon anyway.
Boundaries relations with role subarea
are not used indeed. But that's actually on purpose. "osm_boudaries_utils" builds a multipolygon by iterating though member ways with role inner
or outer
. These are the minimum roles that are required to form a valid multipolygon in OSM.
Subareas relations can also be defined as members of the parent relation but they optional and cannot be substituted for member ways. See https://wiki.openstreetmap.org/wiki/Relation:boundary for more details.
from cosmogony.
Related Issues (20)
- Merge multiple non overlapping cosmogony files HOT 1
- Segmentation fault HOT 3
- Tests failed in cosmogony run HOT 1
- Generating .json from planet.osm.pbf results in process being 'killed'. HOT 1
- Unable to build cosmogony as described into README.md + Pull Request
- Read ways HOT 7
- cosmogony parameters HOT 1
- Approximate polygons for areas/levels where they are missing HOT 7
- Explore the cosmogony HOT 2
- Postgis output
- Intersecting inner is ignored HOT 1
- Bruxelles region not shown HOT 5
- Duplicates finder (tool suggestion)
- Incorrect classification for Israel
- industrial and retail areas
- Answer the question: where am I? HOT 3
- Bug : Canada is not recognized correctly HOT 4
- http://cosmogony.world not accessible HOT 2
- Need help with mapping country regions for COVID tracking HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cosmogony.