[OSM-dev] PBF parsing frontend for osm2pgsql, tester wanted

Hartmut Holzgraefe hartmut at php.net
Tue Nov 2 07:02:32 GMT 2010


On 11/02/2010 12:07 AM, Jon Burgess wrote:
> This looks like it fixes the problem:
> $ diff -uw parse-pbf.c~ parse-pbf.c
> --- parse-pbf.c~        2010-10-31 20:47:32.000000000 +0000
> +++ parse-pbf.c 2010-11-01 23:05:23.000000000 +0000
> @@ -306,6 +306,7 @@
>       DenseNodes *dense = group->dense;
>
>       for (unsigned node_id = 0; node_id<  dense->n_id; node_id++) {
> +      deltaid += dense->id[node_id];
>         deltalat += dense->lat[node_id];
>         deltalon += dense->lon[node_id];
thanks for spotting, looks as if i deleted two lines instead of one
when removing some unused variable declarations to silence
warnings :(

fixed, committed, pushed, and a new patch level tarball created:

http://php-baustelle.de/osm2pgsql-0.70.4.tar.gz

-- 
hartmut





More information about the dev mailing list