OpenStreetMap logo OpenStreetMap

Changeset When Comment
155632274 over 1 year ago

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 over 1 year ago

Query used:

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

155585903 over 1 year ago

This changeset continues effort from changeset/155583386

155631411 over 1 year ago

"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 over 1 year ago

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 over 1 year ago

This tag is meant for buildings and POIs

155631411 over 1 year ago

Some addr:postcode tags were also removed

155585903 over 1 year ago

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 over 1 year ago

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 over 1 year ago

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

155583386 over 1 year ago

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 over 1 year ago

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 over 1 year ago

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 over 1 year ago

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 over 1 year ago

Common mistake

155484690 over 1 year ago

See note #4392583

155484490 over 1 year ago

It also had the wrong classification

155483573 over 1 year ago

^ Greene*

155483371 over 1 year ago

Please do not abbreviate directional prefixes on Greene County farm roads.

155483573 over 1 year ago

Please do not abbreviate directional prefixes on Green County farm roads.