umap icon indicating copy to clipboard operation
umap copied to clipboard

Feature Request: Select building/area pre-existing in OSM

Open tiziodcaio opened this issue 3 years ago • 8 comments
trafficstars

Hello. It would be possible to select some areas already defined in OSM? Maybe it's a dumb question... maybe it could be implemented... I let you the issue so you can judge it

tiziodcaio avatar Nov 26 '21 17:11 tiziodcaio

Not sure to get the point. Can you give an example ?

yohanboniface avatar Dec 28 '21 15:12 yohanboniface

If there is a park, can you color it blue and adding a label on my map?

tiziodcaio avatar Dec 28 '21 15:12 tiziodcaio

It is clear? Or not? If not I can explain better. I meant that it would be nice to create areas (lakes, parks, ...) based on the areas on OSM, without track them manually with polygon function.

tiziodcaio avatar Dec 28 '21 21:12 tiziodcaio

OK, now I understand! The only way I see now is through overpass-turbo, either an URL or a json copy-paste. From the search (when in edit mode), you can create point from a result, but this will not work for complex geometries. Would be great to query overpass directly from uMap, but that means an overpass server that allow much more requests than what we can now.

yohanboniface avatar Dec 29 '21 09:12 yohanboniface

Would be great to query overpass directly from uMap, but that means an overpass server that allow much more requests than what we can now.

Perhaps, as an intermediary measure, a layer capable of storing an overpass query in a text field which can be executed only when the ~user~ maintainer needs to load or update layer data. Something like: "Write Overpass Query" -> Execute -> "Save result into layer" or "Replace existing".

IgorEliezer avatar Dec 29 '21 10:12 IgorEliezer

We may use something like http://yohanboniface.github.io/Leaflet.RevealOSM/ to import object from OSM when clicking on the background. It's a bit magical, but it could help. Also, when as search result is complex geometry, we could retrieve it instead of a single point.

yohanboniface avatar Nov 29 '23 21:11 yohanboniface

Would be great if this isn't just for areas but for any feature as stated in #710 - I'm pretty sure that points/nodes would be the most common thing to be put on custom maps if you could click them and make a marker for them.

KaiRo-at avatar Dec 02 '23 01:12 KaiRo-at

Sure! Note that at the moment, when in edit mode, search results can be added to the map. It will be only nodes, and only features with name can be searched:

image

yohanboniface avatar Dec 02 '23 07:12 yohanboniface