[OHM] query api for OHM?

Richard Welty rwelty at averillpark.net
Fri Jan 9 17:59:05 UTC 2015


On 1/9/15 10:08 AM, Richard Welty wrote:
> are there any query APIs for OHM other than the standard
> OSM 0.6 API? i'm thinking in terms of an instance of
> Overpass aimed at OHM or something else of that order.
thanks to all for help on the embedded leaflet examples; i have
a decent working example of an embed showing historic race
tracks overlaid on stock OSM.

however, this leads to the reason i asked about a query API.
Sometimes historic racing circuits overlap with other circuits,
both historic and current. this leads to a confusing map where
both types of circuit are rendered in the same manner.
the second, third and fourth (current) courses at Watkins Glen
have this issue. here is my test code, currently pointing at
the site in question; the 2nd circuit (OHM) and 4th circuit
(OSM) are overlaid and rendered in the same pink.

http://www.na-motorsports.com/test/test.html

if i had a query api, i'd just fetch the ways for the 2nd circuit
in geojson and draw the 2nd circuit in a contrasting color.

the basic editing API is unsuitable in that it depends on
knowing way ids; i'd rather do a bounding box query for
ways & relations with highway=raceway tagging (and
maybe start_date/end_date tagging). an instance of overpass
pointing at OHM would fill this requirement nicely.

richard

-- 
rwelty at averillpark.net
  Averill Park Networking - GIS & IT Consulting
  OpenStreetMap - PostgreSQL - Linux
  Java - Web Applications - Search




More information about the Historic mailing list