[uMap] Popup with conditional fields

Jo winfixit at gmail.com
Sat Feb 28 21:53:15 UTC 2015


Thank you for the quick answers. As you can see I'm trying to help out a
project group who want to inventorise trees and green areas and let people
propose where new trees could be planted and where they'd like to see more
green.

Of course we'd need to be able to start a dialogue and we need to zoom in
quite far when discussing individual trees.

Anyway, I think umap is a great initiative! It's not the end all solution,
but it allows people to easily draw stuff on a map. I guess I'll write
instructions telling them to always use dedicated layers for each proposal.
It would be nice to limit what users can do at the layer level...

Also, is there a way to make off line backups of the data? When cloning it,
it's still only available on the same osm.fr server, if I'm not mistaken?

There doesn't seem to be undo, so what if somebody simply erases
everything? (I've been so imprudent as to allow everyone to edit... in
order to make the treshold for participation as low as possible)

Jo

2015-02-28 22:43 GMT+01:00 Yohan Boniface <ybon at openstreetmap.fr>:

> That's not possible at the moment.
> The only option I see is to filter the data itself before adding it to the
> map.
>
>
> On 28/02/2015 22:35, Jo wrote:
>
>> Hi,
>>
>> I created a layer with data I downloaded with Overpass and saved as
>> GeoJSON. Doing it the dynamic way didn't work and I can't seem to clone
>> the
>> Père Lachaise to see how it's done there. The explanation from the blog
>> didn't result in success.
>>
>> Anyway, I added the following to the Popup definition for that layer:
>>
>> {{https://d1cuyjsrcm0gby.cloudfront.net/{mapillary}/thumb-1024.jpg}}
>> {{{image}}}
>> **{species}**
>> *{species:nl}*
>> [[http://www.mapillary.com/map/im/{mapillary}|Virtuele wandeling]]
>>
>> That works great if those fields are actually present, but I need to only
>> show that when the fields are available and omit it otherwise.
>>
>> Jo
>>
>>
>>
>> _______________________________________________
>> Umap mailing list
>> Umap at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/umap
>>
>>
>
> _______________________________________________
> Umap mailing list
> Umap at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/umap
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/umap/attachments/20150228/8091b615/attachment.htm>


More information about the Umap mailing list