[OSM-dev] coast_josm: limit the nodes per way to 250 max.

Arne Goetje arne at linux.org.tw
Sat Oct 13 15:10:54 BST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

D Tucny wrote:
> On 13/10/2007, Frederik Ramm <frederik at remote.org> wrote:
>> Hi,
>>
>>> attached is a small patch to limit the way length to 250 nodes maximum.
>> Applied, thanks. Such a limit was in there before, and I accidentally
>> dropped it when implementing my simplification algorithm.
> 
> 
> Argh, wish I'd noticed that this had been done before I converted and
> started uploading the coastline file I'd created and touched up a bit just
> before the 0.5 switchover... The one produces a file 1/4 the size of the one
> produced by the old coast_josm.pl, 1/3 the size of the converted one...
> 
> Interestingly, for this area, it still seems to get pretty much 99% of the
> 'segments' in the wrong direction... With the last version I just did a
> select all reverse, renumber which then meant only having to tidy up that 1%
> that were right... Is this something strange relating to the different
> source files having different directions?

yepp, for me too... Area 23 seems to be completely in the wrong
direction, I opened every OSM file in JOSM and reverted the ways...

Cheers
Arne
- --
Arne Götje (高盛華) <arne at linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHENHubp/QbmhdHowRAkjWAKDo7QWlErEWUYJLQvSUP00P5olR9ACfYPGC
GhdLxliUhuZyyb5nlVfvVJo=
=Jtp0
-----END PGP SIGNATURE-----




More information about the dev mailing list