Vai al contenuto

Estrarre un campo da un attributo HStore↵

Il formato HStore è molto usato nel database OpenStreetMap, leggi qui.

In questo esempio estrarremo dall'attributo other_tags il valore della chiave population, il dataset è qui

espressione utilizzata:

to_int(
    map_get(
        hstore_to_map("other_tags"),'population')
)

provaci tu↵

download isole