OpenStreetMap logo OpenStreetMap

Changeset When Comment
155661579

Continues 155661352

155661352

Continues cleanup operation from changeset/155633221.

155633221

This also found and fixed instances of ways named "Foo;State Highway X" and "Bar / State Road X", etc., where delimiters were put in the name tag. I felt these were in scope for this changeset due to the route lettering

155633221

By leveraged, I mean I'm using search in JOSM.

155633221

This primarily impacts tiger:* tags, although many name="State Road X" and name="Highway X" are removed, as well.

There seems to be a million ways to render a state route designation into text, and none of them can elegantly handle concurrencies

155632274

I am aware that this left some ways with name_2 tags but no name tags when the latter was targeted. This will be remedied by promoting name_2 when it wouldn't overwrite name

155632061

Query used:

[timeout:120];
area[name="Missouri"];
way(area)[ref~"(^|;)MO A(;|$)"][name="State Highway A"];
(._;>;);
out meta;

155585903

This changeset continues effort from changeset/155583386

155631411

"is_in" is completely redundant nowadays, and I am confident that, on state route ways specifically, they will not be missed. Redundancy/denormalization is good for perf optimizations sometimes, but it's super easy to find enclosing munis/CDPs

155631440

This only affected ways participating in state routes, also, as determined by this Overpass Turbo query:

area[name="Missouri"];
way(area)[ref~"(^|;)MO "]["addr:postcode"];

155631440

This tag is meant for buildings and POIs

155631411

Some addr:postcode tags were also removed

155585903

This was the code I used in JOSM:

from org.openstreetmap.josm.command import ChangePropertyCommand, SequenceCommand
from org.openstreetmap.josm.gui import MainApplication

def println(x):
from org.openstreetmap.josm.plugins.scripting.ui.console import ScriptingConsole
ScriptingConsole.getInstance().getScriptLog().getLogWriter().println(x)

# equal and non-null
def enn(x, y):
return x and y and x == y

def check(way, x, y):
if enn(way.get(x), way.get(y)):
return ChangePropertyCommand(way, x, None)
return None

layer = MainApplication.getLayerManager().getEditLayer()
cmds = []
for way in layer.data.getWays():
cmds.append(check(way, 'tiger:name_base', 'name'))
cmds.append(check(way, 'tiger:name_base_1', 'name_1'))
cmds.append(check(way, 'tiger:name_base_2', 'name_2'))
cmds.append(check(way, 'tiger:name_base_3', 'name_3'))
cmds = filter(None, cmds)
seq = SequenceCommand('Remove redundant name_bases', cmds)
seq.executeCommand()

155585903

Similar in spirit to my previous changeset, #155583386, this is an effort to reduce import cruft on the Missouri state highway network.

The tags deleted in this changeset are 100% redundant. For example, if tiger:name_base_3=foo and name_3=foo, then the former is deleted. But if name_3=bar, then tiger:name_base_3 is kept. By focusing just on name_base, this doesn't even attempt to do anything with directional affixes (which, side note, are frequently incorrect with MO supplemental state routes)

155583386

The ref tag containment check is a regex of the form (^|;)MO X(;|$) to handle semicolon delimiting properly

155583386

I recognize this is a large changeset, but I am sure this does not affect semantics. It is only cleanup of import cruft. On Missouri state highways, TIGER's type codes are no longer relevant, counties are easily determined, and ZIP codes are not meaningfully associated with them.

155537152

This was an instance of geofiction whereby the City of Chaffee, Missouri, was replaced with a fictitious town called Truesdale. A railroad was fixed up by another user, and I kept those fixes. Other than that, this was a clean rollback

154759197

I'm sorry to undo all the work done here, but I went ahead and restored Chaffee, MO. We're boring around here :)

We're always looking for help fixing up the map, though. I don't want to burn bridges. Feel free to message me or another mapper any time if you need help getting started

154759197

Hello, yes, OpenStreetMap is a map of the real world, sorry!

Maybe you're looking for OpenGeofiction? They apparently use OSM tools but I don't know the state of the project.

The town of Chaffee, MO, needs to be recovered.

155534913

Common mistake