I exported some OSM data via Overpass and but there are duplicates of the same highway. For example, in one instance a highway is considered a tertiary highway and in another it is considered a secondary. The coordinates are very slightly different as well. When this occurs, is there an obvious way to decide which highway to use?
(probably obvious but I’m brand new to OSM)
Here’s an example in JSON:
{
"type": "Feature",
"properties": {
"@id": "way/9033101",
"attribution": "Office of Geographic and Environmental Information (MassGIS)",
"condition": "fair",
"highway": "secondary",
"lanes": "2",
"massgis:way_id": "182483",
"name": "Hartford Street",
"oneway": "no",
"source": "massgis_import_v0.1_20071009102724",
"width": "12.2"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-71.268438,
42.210292
],
[
-71.268296,
42.210335
],
[
-71.26788,
42.210454
],
[
-71.2677975,
42.2104788
],
[
-71.2673684,
42.2106079
],
[
-71.26669,
42.21073
],
[
-71.26657,
42.21075
],
[
-71.2663151,
42.2107912
],
[
-71.26521,
42.21097
],
[
-71.265049,
42.2109932
],
[
-71.2644299,
42.2110824
],
[
-71.264079,
42.211133
],
[
-71.2631084,
42.2112783
],
[
-71.26303,
42.21129
],
[
-71.26218,
42.21145
],
[
-71.2616443,
42.2115305
],
[
-71.261601,
42.211537
],
[
-71.26151,
42.21155
],
[
-71.2614154,
42.211555
],
[
-71.2613115,
42.2115609
],
[
-71.260917,
42.2115584
],
[
-71.260385,
42.211555
],
[
-71.259864,
42.21156
],
[
-71.2596328,
42.2115632
],
[
-71.2592395,
42.2115687
],
[
-71.2582993,
42.2115819
],
[
-71.257,
42.2116
],
[
-71.2569615,
42.2116013
],
[
-71.2566648,
42.2116114
],
[
-71.25641,
42.21162
],
[
-71.256287,
42.211629
],
[
-71.25577,
42.21169
],
[
-71.25542,
42.21176
],
[
-71.2553003,
42.2117987
],
[
-71.25508,
42.21187
],
[
-71.2549,
42.21197
],
[
-71.25449,
42.21215
],
[
-71.25418,
42.21231
],
[
-71.25378,
42.21248
],
[
-71.25345,
42.2126
],
[
-71.253094,
42.212713
],
[
-71.25208,
42.21299
],
[
-71.25169,
42.21307
],
[
-71.25084,
42.2133
],
[
-71.2503994,
42.2134312
],
[
-71.25037,
42.21344
],
[
-71.24912,
42.21386
],
[
-71.2488172,
42.2139587
],
[
-71.2485278,
42.214053
],
[
-71.2482766,
42.2141348
],
[
-71.24823,
42.21415
],
[
-71.2479902,
42.2142193
],
[
-71.24778,
42.21428
],
[
-71.24748,
42.21434
],
[
-71.247264,
42.214375
]
]
},
"id": "way/9033101"
},
{
"type": "Feature",
"properties": {
"@id": "way/9503407",
"attribution": "Office of Geographic and Environmental Information (MassGIS)",
"condition": "fair",
"highway": "tertiary",
"lanes": "2",
"massgis:way_id": "182428",
"name": "Hartford Street",
"source": "massgis_import_v0.1_20071009094641",
"width": "18.3"
},
"geometry": {
"type": "LineString",
"coordinates": [
[
-71.247264,
42.214375
],
[
-71.247158,
42.214391
],
[
-71.247069,
42.214408
],
[
-71.2469,
42.21444
],
[
-71.246723,
42.214463
],
[
-71.24652,
42.21449
],
[
-71.2465007,
42.2144913
],
[
-71.2463635,
42.2145006
],
[
-71.2461527,
42.2145149
],
[
-71.24593,
42.21453
],
[
-71.24567,
42.21456
],
[
-71.24541,
42.21457
],
[
-71.24487,
42.21462
],
[
-71.24411,
42.214673
],
[
-71.2440713,
42.2146757
],
[
-71.243746,
42.214698
],
[
-71.2434102,
42.2147259
],
[
-71.243,
42.21476
],
[
-71.24267,
42.21481
],
[
-71.2425524,
42.214841
],
[
-71.24238,
42.21489
],
[
-71.24217,
42.21494
],
[
-71.24127,
42.21525
],
[
-71.24065,
42.21545
],
[
-71.2404,
42.21554
],
[
-71.23911,
42.21597
],
[
-71.2380551,
42.2163256
],
[
-71.23755,
42.2164986
],
[
-71.2371509,
42.2166398
],
[
-71.2370077,
42.2166978
],
[
-71.2369445,
42.2167234
],
[
-71.2368405,
42.2167703
],
[
-71.2367287,
42.216824
],
[
-71.2365984,
42.2168857
],
[
-71.2359335,
42.2172891
],
[
-71.23582,
42.21736
],
[
-71.23507,
42.21786
],
[
-71.2346,
42.21816
],
[
-71.23444,
42.21825
],
[
-71.23423,
42.21835
],
[
-71.23379,
42.21853
],
[
-71.23337,
42.21867
],
[
-71.23308,
42.2188
],
[
-71.23254,
42.21903
],
[
-71.23199,
42.21929
],
[
-71.23167,
42.21943
],
[
-71.2310263,
42.2197149
],
[
-71.2305135,
42.2199398
],
[
-71.2301195,
42.220108
],
[
-71.2296134,
42.2203377
],
[
-71.2293725,
42.2204606
],
[
-71.2290689,
42.2206378
],
[
-71.2287252,
42.2208369
],
[
-71.22802,
42.221228
],
[
-71.227342,
42.221603
],
[
-71.226977,
42.221772
],
[
-71.226857,
42.221823
],
[
-71.22609,
42.22215
],
[
-71.22574,
42.22232
],
[
-71.22543,
42.22245
],
[
-71.22516,
42.22259
],
[
-71.22477,
42.22281
],
[
-71.22468,
42.22288
],
[
-71.22446,
42.22303
],
[
-71.2243579,
42.2231126
],
[
-71.22404,
42.22337
],
[
-71.2232428,
42.2240496
]
]
},
"id": "way/9503407"
}