Bug#687965: osm2pgsql not fit for release

David Paleino dapal at debian.org
Thu Sep 20 14:57:29 UTC 2012


On Thu, 20 Sep 2012 16:44:27 +0200, Eckhart Wörner wrote:

> Am Donnerstag, 20. September 2012, 16:23:25 schrieb David Paleino:
> > > The osm2pgsql version packaged in testing does not support 64-bit node
> > > ids. 
> > 
> > It seems like it does (at least partially), but wasn't enabled at
> > build-time. I looked through the upstream repository, and backported a
> > patch (taken from a couple commits).
> > 
> > Do you know how to test it against 64-bit osm IDs? And if that support is
> > supposed to be enabled on 32-bit machines? (I have no idea).
> 
> 64-bit ID mode should work fine on 32-bit machines (it will run slower
> though).
> 
> The main differences between 32-bit mode and 64-bit mode are:
> * osm2pgsql internally stores an ID as int32_t (32-bit mode) or int64_t
> (64-bit mode)
> * the PostgreSQL database stores an ID as int4 (32-bit mode) or int8 (64-bit
> mode)
> 
> Therefore, 32-bit mode and 64-bit mode are not compatible, one needs to
> re-create the database tables.

ACK. I knew that. My question was: do you have some way to *practically* test
whether my patch works or not? :)

Thanks for your help,
David

-- 
 . ''`.   Debian developer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://deb.li/dapal
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20120920/b1348713/attachment.pgp>


More information about the Pkg-grass-devel mailing list