-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Suggest or choose an imagery automatically depending on country #6736
Comments
Hi @SviMik, iD gets its imagery through the editor-layer-index project. There's a Luckily this means there's already an easy solution! Try opening an issue or pull request at the index repo to add Here's the Estonia directory: https://github.com/osmlab/editor-layer-index/tree/gh-pages/sources/europe/ee |
It already has "best": true since at least 2018. Then I don't understand why it doesn't work. By 'doesn't work' I mean not necessarily a bug, but the fact that people continue using Bing in Estonia despite the tremendous difference in quality. I can't see any reasonable explanation why someone would deliberately choose Bing, that's seems very unlikely to me. I think it may be either a technical problem or some UI/UX problem. Is there a way to explicitly tell people to NOT use Bing in our country? Like some kind of warning, which would tell them that they're likely making a mistake. |
Any mapper who launches iD in another country, and then moves the map over to Estonia to map will have Bing as their background imagery, so maybe that's the issue. |
I've just launched iD probably first time in my life. I did it right away in Estonia. The imagery is Bing, and it does not prioritize Maaamet in the list. Moreover, the one that has |
iD can not use this source because the only projection available is EPSG:3301 The list of supported projections in iD for WMS sources is: Lines 57 to 67 in 7c488d9
|
Thanks, now I see the issue. I already noticed that it doesn't work, but thought it's just me, or some temporary issue. |
Yes, there can be several sources that have |
Any reason why iD is offering that EPSG:3301 imagery in the list while it knows it does not support it? Is it a bug? It creates an illusion that the imagery was successfully added, and was one of the reasons it took so long before the problem was noticed. |
I dont think iD is actually offering the one linked to above in its list. It is showing a bunch of similar ones though. |
There are 2 sources with If you move the (I don't know anything about these sources, maybe they are really the same thing and one can be removed?) |
The problem is that the TMS one is much worse, it looks like jpeg with 0% quality for some reason. It's completely unusable. I suggest using Esri for Estonia, it looks exactly as Maaamet EPSG:3301, the same high quality. Unfortunately, editor-layer-index developers bumped into a problem:
Apparently they can't mark Esri as 'best' just for Estonia. Any ideas? |
I guess reach out to whomever is maintaining that TMS server and work with them to improve the imagery that it serves? |
Looks like the quality loss is because their primary projection is EPSG:3301, and other projections are converted from that. The difference is because Esri does it a bit better, although you may still notice that it's a bit blurry. The EPSG:3301 is the sharpest and highest resolution one. From worst to best:
Is it possible to add EPSG:3301 to iD? It would solve all the problems at once. |
We can't do that, but I will poke through the server metadata for you and see whether they provide the data in a better format. |
ok so far I've found that the TMS proxy only goes up to z18, which explains some of the blurriness. @SviMik, I'm not sure what those images are that you posted above.. They look like you took screenshots from an app, not actual tiles, so we can't really directly compare the quality. Also it would be great if you shared the location (lat/long/zoom) that you're comparing. |
The screenshots are from JOSM. In iD the Maaamet TMS looks even worse: |
OK so anyway, I spent some time on this today and found that the server really only does work in EPSG:3301. It is not easy investigating WMS server capabilities when the documentation is in language I don't speak and the agency publishes their guides in PDF files, but I tried. 🌟 I don't know how difficult getting support for this into iD would be. I looked into libraries like Proj4js and also took a look at how Leaflet supports layers using different projections. I really know a lot less about maps and GIS stuff than people probably think I do, and that makes me sad. I'm not super involved in iD development anymore, and that makes me sad too. Would love for someone smarter or more motivated than me to step in and solve this issue, but I'm not holding my breath. Sorry! |
Once we do #6483, this is exactly the kind of issue that a 3rd party developer that depends on iD might step in to solve, to the benefit of all iD projects. |
I've used Proj4js once, works like that (don't know if it helps somehow):
I'm sorry but I don't really understand what you mean. I'd like to see this problem solved on www.openstreetmap.org, not on some third-party project which #6483 is about. |
I mean that in the future iD could be used by many different projects, so if another developer fixes something for their project it would also be fixed on openstreetmap.org for free. I know that isn't totally helpful right now, so don't worry about it 😅 |
Maybe "Editor's choice" https://www.google.com/search?q=seal+of+approval+with+ribbons&tbm=isch could be placed next to items in the imagery radio button list to steer users to them... More colorful than stars... |
@jidanni I've actually been considering an icon change since star icons often refer to user favorites. A ribbon, crown, or thumbs-up might do. It'd still be monochrome. |
At least I could find a ribbon. |
OK I see many Award-Medal on https://www.unicode.org/emoji/emoji-requests.html |
I have created a MapProxy configuration that can provide HiDPI TMS tiles from Estonian Maa-amet WMS services: https://github.com/intgr/histonia Feel free to open pull requests, issues or discussions, if you have any thoughts. I'm very much a noob at this and probably have messed up some things, but it works. :) |
The problem:
We have a very good imagery provided by Maa-amet in Estonia. It has a high resolution and almost no offset errors. Unfortunately, most iD users start mapping using Bing without even checking if there are alternatives. New objects being poorly mapped is only a minor issue. The worst thing is that they start 'fixing' the existing geometry, which was not only correct, but a very precise. Their actions sometimes are so bad it looks like a vandalism.
Suggestions:
The list doesn't have to be an extensive one, and it doesn't have to be filled in one go. New records can be added, for example, by suggestions from local communities.
The text was updated successfully, but these errors were encountered: