One should enter the value as letter in parentheses. If the site satisfies more than one criteria, one can separate the values with a comma, not a semicolon.
It seems peculiar to explicitly mandate parentheses (A) and a comma separator , instead of using the standard OSM multi-value semicolon separator ; and raw letters A. The wiki doesn’t offer any explanation for this design choice.
Does anyone know the historical or technical context behind this formatting?
If there isn’t a specific reason, such as an active data consumer or script that strictly requires this exact syntax, I propose that we update the documentation and deprecate this formatting. @watmildon offered to clean up existing features to use standard OSM formatting (e.g., nrhp:criteria=A;B instead of (A),(B)).
Hi all, I was the one who created the NRHP JOSM preset. When adding the criteria options I just used what existed on the wiki (the version that includes parentheses and commas for delimiter). It would be a simple fix to switch to the A;B version instead. I thought it was odd when I first encounted the wiki description so I endorse this change (assuming no compatibility issues).
I’m pretty sure the parentheses come from the subsection headings in 36 CFR 60.4. There doesn’t seem to be a strict written convention to always punctuate them like that, as there would be for something like “501(c)(3)”. The more common convention seems to be “Criterion A”. So it was probably just a misunderstanding at some point along the line.
I’m more confused about the first sentence of the wiki page:
The National Register of Historic Places (NRHP) is the US federal government’s registry of historic properties established by the National Historic Preservation Act and administered by the National Park Service/Department of Interior. The registry contains over 94,000 buildings and sites important for architecture, history, archaeology, events, and more in the United States, territories of the US, Micronesia, Palau, Marshall Islands, and Morocco.
Yeah, I can probably make a JOSM validator rule that will tidy this up pretty cleanly. I also have a pretty giant JOSM instance I’m happy to put to work on it.
It handles the lettered cases as well as converting “prose” to their letter equivalents. I don’t reorder letters as it wasn’t clear if that mattered but I could make it so that it’s always alphabetized if someone things that’s important.
I have spotchecked the fixups using samples randomly selected from all over the OSM database but maybe someone will spot something I didn’t. Happy to make any adjustments but I have some confidence I got this mostly right.
I’ll am happy to apply it in a day or two unless someone gets to it themselves or if there’s some issue discovered.
It was a few different changesets to keep from being a global bbox but here’s the main one (Changeset: 187820447 | OpenStreetMap) they all have the same changeset comment in case we need to revert me for some reason.