Comments (10)
For road shields, do we start exporting: tags->'network' as network?
Looks like we do a little connectivity testing like this for US Interstates already:
https://github.com/mapzen/vector-datasource/blob/master/data/functions.sql#L96
Could add network_val='US:US' and see where that gets us?
from vector-datasource.
We already do include the network
attribute on road features, like you just mentioned. How about changing the query to instead of querying on the network
tag, instead include type='route' and route='road'
features starting at z9. And when determining the kind
, we can identify these relations as highway
. We'll probably end up returning back duplicate geometries in these cases though, one for the underlying way and another for the relation, but maybe that's what we want to do?
This looks to be the relevant openstreetmap wiki page:
http://wiki.openstreetmap.org/wiki/Interstate_Highway_relations
from vector-datasource.
Let's try to avoid duplicating line work (lifework, thanks autocorrect). Should we limit this to adding the network_val='US:US' test (like we do now for US Interstates)?
from vector-datasource.
The duplicate geometries come from including both the ways and the relations. It already started happening when we included network=US:I
features.
I would expect that querying on type/route would yield more results because according to the wiki page there are more network values besides US:I
and US:US
. I'm assuming we would want to include those as well.
from vector-datasource.
Should we add in the additional relation features for now, and consider how to remove any duplication in the future?
from vector-datasource.
Another test case of relation/feature property conflict: the Brooklyn-Battery connection is a relation (https://www.openstreetmap.org/relation/1860086), much of which is a tunnel (https://www.openstreetmap.org/way/5681925) – the roads layer currently includes both features, with the tunnel section properly marked as is_tunnel : yes
but the whole relation marked as is_tunnel: no
.
from vector-datasource.
For:
- Improve road connectivity based on highway designation, not just road surface / width classification.
We are doing this now in the Tangram scene file by testing the presence of the ref, and that's working fine. So we should focus work here on (1) alone.
from vector-datasource.
I think we talked about this, but I've now forgotten: do we want to overwrite any existing network tag on the way (there aren't many of them) with the result from the relation? Also, do we want to restrict looking up networks to non-minor roads (e.g: tertiary & above) and railways?
from vector-datasource.
do we want to overwrite any existing network tag on the way (there aren't many of them) with the result from the relation?
Yes, overwrite the way's network value with the relation's network value.
do we want to restrict looking up networks to non-minor roads (e.g: tertiary & above) and railways?
Yes (avoid doing this for minor roads).
from vector-datasource.
Fixed in #170.
from vector-datasource.
Related Issues (20)
- Consider applying grid thinning to more places zooms
- Remove road properties at zoom 14 and 15 HOT 1
- Excessive road names at zoom 15 HOT 1
- Landuse layer min_zooms too detailed and prevents merging
- Geometry shifts substantially between NE and OSM in boundaries layer
- French regions and province boundary lines show too early HOT 1
- Upgrade to NE v5.1.0 HOT 1
- Add top-level-countries DBF from Natural Earth HOT 5
- Add kind_detail for country places HOT 2
- Always x-check country labels against Natural Earth HOT 2
- Add TLC POV from Natural Earth HOT 1
- Export label x and y values from TLC and ISO country tables HOT 1
- Switch to NE for country labels
- High zoom kind=unrecognized country label bug HOT 1
- Road simplification
- For buildings, add root_id = id HOT 1
- Python 3 support
- Rename `disputed_relation_overpass_query.txt` to `disputed_relation_overpass_query.overpassql` HOT 6
- Add to Taginfo Projects
- Problem with min_zoom in Earth layer in v1.9.0 HOT 9
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 vector-datasource.