[Talk-us] Cloudmade california.osm: dups or osmosis bug?
andrzej zaborowski
balrogg at gmail.com
Sat May 22 06:29:58 BST 2010
Hi Mike,
good catch, I forgot to add the ...Factory.java file. Hopefully I
haven't forgotten any more files.
Cheers
On 22 May 2010 04:08, Mike N. <niceman at att.net> wrote:
> Hi andrzej,
>
> I tried to apply the patch, but I get an undefined symbol when trying to
> build 'FlattenFilterFactory'. Am I missing part of the patch or is there
> another setting to create the Factory?
>
> Thanks,
>
> Mike Nice
>
> --------------------------------------------------
> From: "andrzej zaborowski" <balrogg at gmail.com>
> Sent: Friday, May 21, 2010 2:40 PM
> To: "David Carmean" <dlc at halibut.com>
> Cc: <osmosis-dev at openstreetmap.org>; "OSM US Talk"
> <talk-us at openstreetmap.org>
> Subject: Re: [Talk-us] Cloudmade california.osm: dups or osmosis bug?
>
>> 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)
>>
>
>
>
>> _______________________________________________
>> Talk-us mailing list
>> Talk-us at openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-us
>>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flatten-filter.patch
Type: text/x-patch
Size: 5393 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/talk-us/attachments/20100522/40981a91/attachment.bin>
More information about the Talk-us
mailing list