I want to extract the different points of interest from OpenStreetMap. Some of them are represented as ways (e.g., a large sport center might be represented as the building, i.e., as a way), others are represented as nodes. I am using Osmosis to export these elements from the Swiss version of OpenStreetMap. I'm trying to filter sport, leisure and amenity keys and then merge them:
I have this error message that I don't understand:
Thank you in advance.
أكثر...
osmosis --read-pbf file=switzerland.pbf --tf accept-nodes sport=* --tf accept-ways sport=* --tf reject-relations outPipe.0="sport" --read-pbf file=switzerland.pbf --tf accept-nodes amenity=* --tf accept-ways amenity=* --tf reject-relations outPipe.0="amenity" --read-pbf file=switzerland.pbf --tf accept-nodes leisure=* --tf accept-ways leisure=* --tf reject-relations outPipe.0="leisure" --merge inPipe.0="sport" inPipe.1="amenity" inPipe.2="leisure" --write-pgsql host=128.178.1.1 database=myDB user=myUsn password=myPwd
It is based on the description of tag-filtering on Osmosis detailed usage page.
I have this error message that I don't understand:
The following named pipes (leisure) and 0 default pipes have not been terminated with appropriate output sinks.
I'm new with Osmosis. Sorry if this is a stupid question. But I cannot find the error.
Thank you in advance.
أكثر...