[osmosis-dev] Reading file over http
Stephen Knox
stephenknox73 at gmail.com
Sun Jun 19 19:09:55 UTC 2016
On 06/19/2016 04:49 PM, Frederik Ramm wrote:
> 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.
Thanks
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?
*
I should have said, I am using Osmosis as a Java library and don't
have access to the command line as I am using Platform as a service,
so I guess the same applies so long as I can find a decent Bzip
converter to stream to Osmosis?
Stephen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20160619/0fdfe775/attachment.html>
More information about the osmosis-dev
mailing list