[osmosis-dev] Reading OSM History dumps
Brett Henderson
brett at bretth.com
Thu Aug 26 00:25:33 BST 2010
On Wed, Aug 25, 2010 at 11:33 PM, Peter Körner <osm-lists at mazdermind.de>wrote:
> Am 25.08.2010 15:26, schrieb Brett Henderson:
>
> In short it just hasn't been a high priority to change it.
>>
> I was planning to share on FileInputStream/FileOutputStream level. You can
> feed a FileInputStream into the CopyManager as well as into a file, can't
> you?
>
Sorry, I'm not sure what you mean. I think the only way to feed data into
the CopyManager is via an InputStream. That InputStream can be a
FileInputStream or a piped input stream or whatever you wish. But there are
also classes like PGCopyOutputStream so perhaps you can use those directly
to avoid using multiple threads. It's been a while since I looked at it.
>
> Maybe want to can copy the relevant bits later to pgsnapshot.
>
Yep, sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20100826/4a813c48/attachment.html>
More information about the osmosis-dev
mailing list