sent from a phone

> On 18. Aug 2020, at 11:26, geofr...@gmail.com wrote:
> 
> 
> Ciao, perche' non ti crei una vista direttamente nel db ??
> Poi puoi usarla in qgis come fosse una tabella.
> 
> tipo:
> CREATE OR REPLACE VIEW nome_vista AS 
>   SELECT 
>     ... (tutti i campi che ti servono),
>     a.tags -> 'ref'::text AS ref,
>     a.tags -> 'bridge'::text AS bridge,
>     a.tags -> 'tunnel'::text AS tunnel,
>     a.tags -> 'ford'::text AS ford
> FROM tabella_di_riferimento AS a
> WHERE (eventuali condizioni)
> ;


+1, ho fatto anch‘io così, perché QGIS ha un problema con hstore.


Ciao Martin 
_______________________________________________
Talk-it mailing list
Talk-it@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-it

Rispondere a