[OSM-dev] Progress information

Rainer Schlönvoigt rainer.schloeni at gmail.com
Mon Mar 2 18:39:51 UTC 2015


I forgot to add that I am using Osmium.

The issue is that I don’t have access to exactly that information.
The reader does not provide it and a buffers size is also not representative since the internal data representation is not the same as in the files…

Greetings
Rainer

> On 01.03.2015, at 19:51, Paul Mahon <pmahon at decarta.com> wrote:
> 
> Couldn't you just count the number of bytes read and compare it to the number of bytes in the file?
> 
> On 15-03-01 08:24 AM, Rainer Schlönvoigt wrote:
>> While iterating through an OSM file, is there a way to find out how much of the information has already been iterated through?
>> 
>> When going through a planet file, it would be very helpful in order to show something to a user.
>> 
>> Greetings
>> Rainer
>> _______________________________________________
>> dev mailing list
>> dev at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/dev
> 
> 
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev




More information about the dev mailing list