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

Arne Goetje arne at linux.org.tw
Sat Oct 13 07:07:32 BST 2007


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

Hi,

attached is a small patch to limit the way length to 250 nodes maximum.

When converting the data for the Southern China coast, it gave me a way
with more than 17000 nodes, which was impossible to handle in JOSM and
also Potleach.

So, this patch starts a new way when the node counter reaches 250. The
number 250 is arbitrary and can be changed of course... I just thought
it's not too big and not too small... ;)

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

iD8DBQFHEGCkbp/QbmhdHowRAqoAAKDDdLSNXoLVPUYK4xk5b0bmbELepgCgnPvb
WcG2x0V93AXi6BPWBmgbGw0=
=KhSY
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coast_josm.diff
Type: text/x-patch
Size: 898 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20071013/b8c2b97b/attachment.bin>


More information about the dev mailing list