Search in sources :

Example 1 with PGHStore

use of org.openstreetmap.osmosis.hstore.PGHStore in project osmosis by openstreetmap.

the class CopyFilesetBuilder method buildTags.

private PGHStore buildTags(Entity entity) {
    PGHStore tags;
    tags = new PGHStore();
    for (Tag tag : entity.getTags()) {
        tags.put(tag.getKey(), tag.getValue());
    }
    return tags;
}
Also used : Tag(org.openstreetmap.osmosis.core.domain.v0_6.Tag) PGHStore(org.openstreetmap.osmosis.hstore.PGHStore)

Aggregations

Tag (org.openstreetmap.osmosis.core.domain.v0_6.Tag)1 PGHStore (org.openstreetmap.osmosis.hstore.PGHStore)1