> There's a minute-replicate file from yesterday > http://planet.openstreetmap.org/minute-replicate/000/087/729.osc.gz that > causes an exception in osmosis:
There have been some talk about it on osmosis-dev: http://lists.openstreetmap.org/pipermail/osmosis-dev/2009-November/000268.html The patch posted by Frederik has to be changed to work with osm2pgsqls 32k restriction. The modified patch can be found at [1] and a patched version of Relation.java here [2]. It must be placed in a HEAD checkout of osmosis' svn as src/org/openstreetmap/osmosis/core/domain/v0_6/Relation.java After that do an "ant all" to build the patched version. It drops the excessive members of the relation, they are fixed in later .osc files. Peter [1]http://cassini.toolserver.org/~mazder/temp/remove_excessive_members.diff [2]http://cassini.toolserver.org/~mazder/temp/Relation.java _______________________________________________ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/listinfo/dev