We use osmosis to merge geofabrik's UK and Ireland extracts to fill a
database from which we build the CycleStreets.net routing structures.

osmosis
 -v 100
 --read-xml data/osm/downloads/great_britain.osm enableDateParsing=no
 --sort-0.6 type="TypeThenId"
 --read-xml data/osm/downloads/ireland.osm enableDateParsing=no
 --sort-0.6 type="TypeThenId"
 --merge --write-apidb dbType=mysql populateCurrentTables=no
host=localhost database=britainOSM user=import password=xxx
validateSchemaVersion=no

That currently takes about 1.5 hours to run, building a 4.5 GB database.

1. I have just discovered the keyValueList option.

I could use this as a long list of  e.g.
"highway.residential,highway.unclassified,highway.primary,...cycleway.opposite,access.yes...,foot...,bicycle..."
pairs to filter the ways. I'd estimate there would be about 50 pairs
in the list.

My question here is would that speed up or slow down the osmosis?

Is there any scope for wildcards in that list, e.g. cycleway.* ?


2.  Duplicate ways / multiple versions of nodes and ways.

The processing we do in CycleStreets after this osmosis detects
hundreds of duplicate ways and a few tens of duplicate nodes.

Are there osmosis options for just catching the latest versions of the
nodes and ways?
(I have to say I don't really understand this area very well.)


Simon

_______________________________________________
osmosis-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to