New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Approximative dates in start_date tag are not working #547
Comments
Notice the banner, and read the discussion page. Those almost are entirely made up, and for OSM. It's not supposed to be supported. |
The documentation for approximate dates in OpenHistoricalMap was a bit scattered, so I wrote up some more concrete documentation for both keys: |
Thank you, @1ec5 & @Kovoschiz @svergeylen - for now, both start_date & end_date need to be in YYYY-MM-DD to work with our renderer. |
@1ec5 Before, it is said support is aimed to start at Level 1, so this should be distinguished. If you are using seasons |
I was unaware that we were aiming for level 1. I just assumed we wanted the For the documentation, I was going off @rwelty1889’s SotMUS ’22 talk and the existing common values in taginfo, which are dominated by the interval notation (actually using The set notation makes it possible to indicate a set of possibilities for both ends of an interval. It makes me wonder if we even need two EDTF keys, or whether we could unify them in a single key that takes an interval. Combined with repeating intervals from ISO 8601-2, we’d even have a way to represent the schedule of a festival that occurs on the same day every year, that sort of thing. Level 2 also introduces hemisphere-specific seasons. The examples just use location-independent seasons, just as they omit the time zone when specifying the time of day, since the feature inherently comes with location context. But if the location-independent seasons are problematic for data consumers, I suppose we could encourage the more specific syntax.
I think OHM has an opportunity to avoid the proliferation of overlapping lifecycle keys that OSM has seen. Since a single real-world feature can have multiple representations in OHM, we can micromap the life cycle in more detail. I agree that there are different definitions of “start” and “end” for something like a large building that can be difficult to pin down, but it basically depends on what the sources are able to tell us:
It could be useful to split out a page specifically about the EDTF syntax, just as there is for the opening hours syntax. But I think there would still need to be articles on |
OpenHistoricalMap/iD#185 turns the date fields into a structured form to keep mappers from mistakenly using OSM’s ad hoc format with the main date keys. OpenHistoricalMap/iD#187 adds EDTF fields to iD for discoverability. |
Bug description
Using approximating dates as described on the wiki does not work.
The elements using approximating dates are shown at all dates, even if they should appear on the mpa only when their start_date is reached.
The interpretation of the straing start_dates should match the wiki documentation (or the documentation should be adapted to reflect what is recommended AND working). Approximative dates are necessary for OHM projects, so the conversion of tags as start_date=C11 to reflect 11th century should be used as start_date=01/01/1000.
Repro Steps
Set an approximative start_date on an object (eg building : start_date=C11 for 11th century)
Go to OHM after update and set a date before 11th century (as 01/01/500)
Check that the building is still visible, even it should not.
Screenshots & URL
Exemple : https://www.openhistoricalmap.org/way/199484461#map=19/44.81613/1.14859&layers=O&date=0200-12-16&daterange=0200-12-16,1850-01-02
This building has a start_date=C17 but is visible all the time.
Wiki page --> Approximations
To be reviewed :
The text was updated successfully, but these errors were encountered: