[osmosis-dev] Reading file over http
Frederik Ramm
frederik at remote.org
Sun Jun 19 16:49:58 UTC 2016
Hi,
On 06/19/2016 04:16 PM, Stephen Knox wrote:
> This might be a bit of a dumb question, but is it possible already (or
> would it be possible with minor modification) to read a remote osm xml
> file over http and stream it, so that the file does not have to be fully
> downloaded?
wget -O- http://somewhere/file.osm.bz2 | bzcat | osmosis --read-xml -
--do-something-else
Sadly the more efficient .osm.pbf files cannot be consumed in streaming
fashion due to Osmosis attempting to seek in the file.
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the osmosis-dev
mailing list