[Talk-us] Cloudmade california.osm: dups or osmosis bug?

andrzej zaborowski balrogg at gmail.com
Fri May 21 19:40:16 BST 2010


Hi,

On 21 May 2010 01:54, David Carmean <dlc at halibut.com> wrote:
> Is it the dataset or osmosis that is giving me a single 2-node duplicate
> for each postGIS table created by osmosis?

Not sure if it's related, but I noticed that many of the CloudMade
extracts can't be processed using osmosis (even though they're
generated with osmosis), except for the operations that don't try to
validate the order of elements.  It seems they often contain
consecutive elements with the same id, but possibly different version.
 I have a little patch (attached) to add a new filter (--ff) that
"flattens" the file.  It does the same operation on sorted entity
streams as --simplify-change does on change streams, unfortunately
"--simplify" is taken by a different operation now.  I decided it was
faster to modify osmosis than to download the planet and make my own
un-broken extracts.

Cheers
(I'm not subscribed to osmosis-dev)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flatten-filter.patch
Type: text/x-patch
Size: 4227 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20100521/602c8372/attachment.bin>


More information about the Talk-us mailing list