User:SherbetS/Draft:Highway Relation Page Guide

From OpenStreetMap Wiki
Jump to navigation Jump to search

information sign

This is a guide on how to create a highway relation compilation page for a state without special conditions for state or federal roads.

Creating a page

First, Create the page. The page should be under the state page with the title “Highway Relations.”

for example: Mississippi/Highway Relations.

Then, use a template like this.

References section

Finding Relations

To find the relations, you can use one of the following overpass queries, just insert your state.

try it yourself in overpass-turbo
[out:json];
[[:Template:GeocodeArea:STATE]]->.a;
(
  relation["network"="US:I"](area.a);
);
out body;
>;
out skel qt;
try it yourself in overpass-turbo
[out:json];
[[:Template:GeocodeArea:STATE]]->.a;
(
  relation["network"="US:US"](area.a);
);
out body;
>;
out skel qt;
try it yourself in overpass-turbo
[out:json];
[[:Template:GeocodeArea:STATE]]->.a;
(
  relation["network"="US:STATECODE"](area.a);
);
out body;
>;
out skel qt;

Save an overpass query for each network and insert it in the references section of each network.

Wikipedia

Each state has a Wikipedia page listing the state and federal highways, find the one for your state and link it in the references section as well. You can use this list to locate highways that may not have a relation.


Interstate Wikipedia pages will start with: List of Interstate highways in *

US Highway Wikipedia pages will start with: List of U.S. highways in *

State Highway Wikipedia pages will start with: List of state highways in *

Adding Relations

Run the Overpass query in JOSM to load all of the relations in a list. In the relations window, double click each relation to select it. Once selected, press CTRL+SHIFT+I to open the relation in your browser. Copy the relation number and insert it into the list. Once you’ve added all of the relations, check the Wikipedia page for any relations that no longer exist.

Add any highways that don’t have a relation on the map.


Add any highways that no longer exist to the list, along with a summary about the highway in the notes column.