ߏߔߌ߲ߛߑߕߙߌߕߑߡߊߔ ߛߌ߲ߞߐ߲ OpenStreetMap

merger in effect

ߊ߬ ߟߊߦߟߍ߬ߣߍ߲߬ ߦߋ߫ h4ck3rm1k3 ߓߟߏ߫ 12 October 2009 ߦߋ߫ English ߟߋ߬ ߘߐ߫

Hi, after doing all types of fun things,
I finally got the motivation to work on the cleanup work for kosovo.

http://bazaar.launchpad.net/~kosova/+junk/openstreetmapkosova/revision/86

Script is easy to use
perl mergenames.pl todo2.osm > deletes3.osm

Just pipe an osm file in, and it produces a file for josm out.

you can then load that in an upload to osm..

Added the feature today to round the lat/long like this
that way it merges more nodes that are only marginally different.

## now we round the coords to merge them!
$long =sprintf ("%3.5f",(($node->{header}{lon} * 1000000) / 1000000));
$lat =sprintf ("%3.5f",(($node->{header}{lat} * 1000000) / 1000000));

Thanks,
mike

Email icon Bluesky Icon Facebook Icon LinkedIn Icon Mastodon Icon Telegram Icon X Icon

Discussion

ߡߙߌߣߊ߲ ߞߊ߬ ߝߘߊ߫ Jkos ߟߊ߫ 13 October 2009 at 08:29 ߘߐ߫

Mike,
Thanks for all your continued work on the map. I mostly don't understand what you're doing, :) but the results are great and we're all grateful for your hard work.

Jeff

ߡߙߌߣߊ߲ ߞߊ߬ ߝߘߊ߫ h4ck3rm1k3 ߟߊ߫ 13 October 2009 at 09:05 ߘߐ߫

Hi,
well I will make a video message on it.
Basically I removed all the duplicate points.
Now I will update all the points with albanian names if missing.
mike

ߌ ߜߊ߲߬ߞߎ߲߫ ߞߊ߬ ߛߋ߫ ߡߙߌߣߊ߲ ߦߌ߬ߘߊ߬ ߟߊ߫