Comments (12)
No test for this. It's make sense except for U-Turns.
Can be done in sax plugin
from osmose-backend.
But the problem that I see a lot here is exactly for u-turn.
Some users add a lot of no_u_turn
restriction with the from
and to
as the same way.
no_u_turn
should be considered an implicit value when we refer to the way itself.
from osmose-backend.
I see no exception in the wiki about u-turn. So, I think it must be like other, even when from is to.
from osmose-backend.
But if this is allowed, people could start adding two no_u_turn
on every highway segment (one on each ending).
Maybe it's not forbidden, but also doesn't make sense to have such turn restrictions.
from osmose-backend.
Maybe it's not the same rules in Brazil and here in France. But unless there a non u-turn sign you have the right to do it. So here it's not useless to map no-u-turn.
from osmose-backend.
Can this test be enabled only for Brazil then?
from osmose-backend.
Or disable only in Frace?
Maybe I am not properly explaining this :-)
I asked right now in #osm:
"Is no_u_turn implict on the way itself? (ie, it isn't necessary to add a no_u_turn on every highway segment with both "from" and "to" as itself)"
And got an answer:
"correct, it's only necessary to add it when the way is split into two parallel ones"
from osmose-backend.
commit 316752d3be6bae6c3e661ff3b289a8a2d80986c8 (HEAD, master)
Add plugin Structural_Restriction for no u-turn on Brazil
from osmose-backend.
It's online. Please, can you check ?
http://osmose.openstreetmap.fr/map/#item=3180&class=31801
from osmose-backend.
Very good!
Is it testing only no_u_turn
?
This test could be extended for every kind of restriction (no_left_turn
, no_straight_on
, only_right_turn
and everything else doesn't make sense (at least here) when to
and from
are the same way)
from osmose-backend.
Generalise Structural_Restriction plugin to all restriction types github#20
c216d9f
from osmose-backend.
Done. Almost no error in other counties.
from osmose-backend.
Related Issues (20)
- Wikidata-check for living organism wrong HOT 9
- Bad fix suggestion for `highway=*` + `fee=*` + `amenity=*`
- Merge: missing for possible_merge and update_official
- golf=practice should be golf=driving_range HOT 6
- Clarification for 32301 (`Probably only for bottles, not any type of glass`) HOT 2
- String format in the title for 30322
- Incorporate glass containers HOT 5
- substation quest suggests to add reference as a name, creating osmose issues HOT 2
- Gas (& other?) pipeline substations not recognised HOT 2
- Validation rule traffic sign: Unmapped road bump (Germany) HOT 7
- All public_transport merge seems to be missing HOT 2
- mapcss functionExpression with booleanExpression arguments fails
- "Could be integrated" features in France HOT 6
- No update of analysis merge_recycling_FR_sitcom40 HOT 4
- analyser_merge_fuel_IT join CSV invalid
- use "similar value" to detect typo in tracktype HOT 3
- split turkey HOT 5
- show nominatim QA in osmose
- Edit suggestion suggests highway=residential_link HOT 8
- Default and local language name not the same in Belgium-Vlanderen HOT 3
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 osmose-backend.