NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

We are trying to figure out road id names. We are working with a company that uses OSM as their base centerline and their shapefile they share with us has extra numbers in addition to the section ID numbers that can be found on OSM. Does anyone know if OSM uses these numbers or is it something this company adds?

This is what it is formatted like: Waterstone Drive / 221933601 / 1002

alt text

asked 05 Jul '23, 21:10

Amir936's gravatar image

Amir936
11114
accept rate: 0%

edited 05 Jul '23, 21:14


The name and the first number match: https://www.openstreetmap.org/way/221933601. The number is the way ID. The second number 1002 seems to be completely arbitrary. Ask the company what it stands for. It is probably some internal identifier.

permanent link

answered 06 Jul '23, 07:11

scai's gravatar image

scai ♦
33.3k21309459
accept rate: 23%

Thanks for clearing that up. Does OSM have unique IDs for sections of a roadway. Such as 221933601 is the whole ID for Waterstone Dr, but what if you need a section of the road between 2 intersections.

(06 Jul '23, 16:09) Amir936
1

Ways in OSM are split at arbitrary positions (usually if some property changes, like maxspeed, lane count, name, surface etc.). So a certain road with a specific name can consist of multiple ways in OSM, each having a unique ID. However, ways aren't split at every intersection. So if you need shorter stretches, split them in your client software. Take a look at the OSM wiki to learn more about OSM elements.

(07 Jul '23, 07:49) scai ♦

Thank again.

(07 Jul '23, 15:49) Amir936

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×2

question asked: 05 Jul '23, 21:10

question was seen: 659 times

last updated: 07 Jul '23, 15:49

Related questions

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum