[Talk-us] Redaction affected ways map
Martijn van Exel
m at rtijn.org
Sat Aug 4 14:35:48 BST 2012
On Sat, Aug 4, 2012 at 4:05 AM, Stellan Lagerström <stellan at zezame.com> wrote:
> On 2012-08-04 08:27, Martijn van Exel wrote:
>> I was curious how much of the road network in the US has been touched
>> by the redaction process. So I made this map:
>> I would like to know if this is useful to anybody, or what I can do to
>> make it more so.
> Nice. What do the colors signify?
> And I would suggest adding "Show in OSM" and/or "Edit in Potlatch/JOSM"
The colors mimic and signify Motorway / Trunk / Primary / Secondary / Other.
You can click on the features to get a popup with those links. It's a
GeoJSON-fed vector layer.
Let me give some background on how the data is prepared (and kept up
to date if I get it to work reliably):
1 A local us.o5m file is updated using osmupdate
2 From that, a file with just those objects last edited by the
redaction bot is filtered using osmfilter.
3 This file is compared with the previous run, an osc is derived using
4 The osc is applied to a PostGIS database that was initially
populated with the result of the first run of step 2.
The script can be found at https://gist.github.com/3257796 if you're interested.
martijn van exel
More information about the Talk-us