[OHM] Introduction; Overpass; Dates in OSM / OHM

Stephan Bösch-Plepelits skunk at xover.mud.at
Tue Sep 24 12:21:52 UTC 2019


Hi!

I attended the workshop on OpenHistoricalMap at the SOTM in Heidelberg and
talked with Sanjay afterwards. It's a very interesting project!

I noticed you already have an Overpass API for OpenHistoricalMap - but
according to the Wiki, you can't use it with Overpass Turbo. This is not
true, you can enter the OHM Overpass URL into Overpass Turbo settings.
I documented this here:
https://wiki.openstreetmap.org/wiki/Open_Historical_Map#Using_the_data

Also, we talked about dates. The start_date (and the end_date which you want
to use) have a very complex syntax. For my project OpenStreetBrowser I've
already written a parser and a human readable formatter (as npm modules):
- https://github.com/plepe/openstreetmap-date-parser
- https://github.com/plepe/openstreetmap-date-format

I had the idea, that we also need a regular expression generator - so you
can search in Overpass for objects matching certain criteria (like: give me
all objects which were built in the 17th century or before/after a specific
date).

Here you are:
- https://github.com/plepe/openstreetmap-date-query

I'm also planning to integrate this into OpenStreetBrowser - this could be
useful in the category "Buildings age", where you could filter for
buildings from a certain date range:
https://www.openstreetbrowser.org/#map=18/47.07108/15.43863&categories=buildings-start_date

Hope this is useful for the OpenHistoricalMap as well! I'm looking forward
to contributions (e.g. additional translations for the date formatter).

greetings,
	Stephan
-- 
Seid unbequem, seid Sand, nicht Öl im Getriebe der Welt! - Günther Eich
,----------------------------------------------------------------------.
| Stephan Bösch-Plepelits  ❤ code ❤ urbanism ❤ free software ❤ cycling |
| Projects:                                                            |
| > OpenStreetMap: openstreetbrowser.org > openstreetmap.at            |
| > Urbanism: Radlobby Wien                                            |
| Contact:                                                             |
| > Mail: skunk at xover.mud.at > Blog: plepe.at > Code: github.com/plepe |
| > Twitter: twitter.com/plepe > Jabber: skunk at jabber.at               |
| > Mastodon: @plepe at en.osm.town                                       |
`----------------------------------------------------------------------'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/historic/attachments/20190924/58e49d95/attachment.sig>


More information about the Historic mailing list