From OpenStreetMap Wiki
Jump to: navigation, search

The step "Filter the Planet File" doesn't work anymore as of osmfilter 1.25. Excerpt from osmfilter -h: "The input file name must be supplied as command line argument. The file must not be a stream. Redirections from standard input will not work because the program needs random access to the file." This should be changed to a procedure that uses .o5m files instead of gzipped .osm files. --Turion 14:26, 9 January 2013 (UTC)

Hi! Thanks for the hint! I've just changed the page. I would recommend not to use gzip but to use osmconvert instead to compress the downloaded data. The format .o5m suits better as input format for osmfilter:
wget -O - 2>/dev/null |./osmconvert - -o=a.o5m
--Marqqs 18:02, 10 January 2013 (UTC)