Comments (14)
In my opinion, this kind of fix shouldn't be recommended at all.
The wiki page for the key wikipedia=*
itself recommends adding secondary wikipedia links in some cases, and this recommendation is there for a long time.
I believe this shouldn't be seen as some kind of error.
On the other hand, I don't think there is any case where more than 2 or 3 wikipedia:xy=*
variants could be justified.
from osmose-backend.
This checking is justified. But you're right, extra wikipedia:xy tag can be useless, but it can be checked on another analysis. See #18
from osmose-backend.
I just checked it. When there is multiple "wikipedia:LANG" it propose an alternative fix for each language. So, it's right for me.
from osmose-backend.
Well, somebody automatically fixed (but not correctly in all cases) those issues in Brazil, but what we had was an object with only wikipedia:en=X
and wikipedia:pt=X
(ie, the object didn't have a primary wikipedia=LANG:X
tag)
osmose was suggesting to use wikipedia=en:X
instead the proper wikipedia=pt:X
for Brazil.
The primary wikipedia
key should always be pt
in Brazil and not en
like osmose was suggesting.
from osmose-backend.
I no locate an issue like you describe.
But in the code it produce 2 alternates solutions. I just check it.
from osmose-backend.
I will create one object like this in OSM and then I will show you in 1 or 2 days :-)
from osmose-backend.
Well, actually it wasn't necessary to create an object...
Using this example: http://www.openstreetmap.org/node/34582421
See that we have a lot of wikipedia=LANG:X
but not a primary wikipedia:LANG=X
osmose suggests this:
See that it's suggesting to use wikipedia=en:Sugarloaf
instead wikipedia=pt:Complexo_do_Pão_de_Açúcar
In Brazil it should always use/suggest wikipedia:pt
when available, instead wikipedia:en
I hope it's clearer now :-)
from osmose-backend.
So you're right. There is something wrong.
from osmose-backend.
There are multiple errors, each with one fix, in place of one error with multiple fixes.
from osmose-backend.
commit 3f10546 (HEAD, master)
Fix 'Missing primary Wikipedia tag' with multiple secondary tags
from osmose-backend.
from osmose-backend.
I fear one thing here: people will use the first suggestion to fix the key (and make en
the primary language for wikipedia).
Isn't it possible to suggest only one fix (pt
for Brazil) or at least make pt
the first option?
from osmose-backend.
Sort fix in TagFix_Wikipedia, country language first, github#14
ad56668
from osmose-backend.
Checked. It works.
from osmose-backend.
Related Issues (20)
- Parse '' as ' in `mapcss.tr` HOT 1
- Invalid polygon reported on highway=raceway HOT 4
- println(?) causes bad fix suggestion in wikipedia mapcss validation rules HOT 1
- False positive in 8290/1 could show issue with France polygon HOT 1
- Backend does not check if sax analyser is up to date before running
- wrong geocoding for townhall HOT 6
- Dupplicate report on drivethroughs loop HOT 3
- Polygon on border marked as "Should be polygon" HOT 6
- "One way inaccessible or missing parking or parking entrance" for way originating outside extract HOT 2
- Flag urls with click trackers HOT 1
- Waste basket hang on Street lamp create false positives HOT 1
- Handle multilingual wikipedia tags HOT 7
- "Segregated" on tram crossings HOT 3
- Highway_Parking_Lane, duplicate issue item=31625 class=3162 HOT 1
- Automatically check for duplicate errors (as far as test coverage allows) HOT 2
- Duplicate error in germany_niedersachsen / Sax HOT 3
- Ask to report highway ford without waterway HOT 1
- merge_public_equipment_FR_nantes_toilets fails with `KeyError: 'id'` HOT 3
- Multilingual ast / es order HOT 5
- Detect bad usage of `crossing=informal`
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.