Il 16 marzo 2013 10:44, Groppo O ha scritto: > Da quel che ne so, se importi il PBF con osmosis [1] non vengono create le > geometrie delle relazioni ma devi farlo a mano, successivamente. Invece > imposm dovrebbe crearle automaticamente.
le crea anche osmosis automaticamente se si usa --write-pgsql e --write-pgsimp e il database creato ha le colonne per le geometrie che vuoi, mentre se si usa --write-pgsql-dump o --write-pgsimp-dump bisogna aggiungere le opzioni enableLinestringBuilder e/o enableBboxBuilder e in molti casi è più veloce farle creare a osmosis che dopo manualmente nel database ma richiede molto spazio per i file temporanei perché salva temporaneamente tutti i nodi e tutte le way (a meno di non filtrare le way che non interessano) in [1] lo dice in questo paragrafo: If you want way geometries, be sure to load the linestring schema extension in addition to the snapshot schema when creating the database: [...] osmosis will detect this on import, there is no need to tell osmosis to create the line geometries. [1] es. uso osmosis http://oegeo.wordpress.com/2012/03/06/a-self-updating-openstreetmap-database-of-us-bridges-a-step-by-step-guide/ -- Daniele Forsi _______________________________________________ Talk-it mailing list Talk-it@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-it