Skip to content
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

Question - is there a "datetime" functionality similar to osmdata package? #169

Closed
cormundo opened this issue Jan 22, 2021 · 5 comments
Closed
Assignees
Labels
wontfix This will not be worked on

Comments

@cormundo
Copy link

No description provided.

@agila5
Copy link
Contributor

agila5 commented Jan 23, 2021

Hi and thanks for your question. I'm sorry but, at the moment, there is no built-in datetime functionality. I think that it can be added using the historical OSM data stored by Geofabrik but, unfortunately, the website is not reachable now (at least for me). I will add an example as soon as I can load Geofabrik.

@agila5
Copy link
Contributor

agila5 commented Jan 25, 2021

Hi @cormundo! I just checked on Geofabrik website and I'm quite sure that you can get historical OSM data up to a fixed datetime using the historical .osh.pbf files (that can be accessed only with OSM credentials, but that shouldn't be a big problem). The main problem is that you need osmium to process the .osh.pbf files (or at least a new GDAL driver, I think) and, at the moment, I'm not sure how to implement those changes. Also linked with #141.

@agila5 agila5 self-assigned this Jan 25, 2021
@agila5 agila5 added enhancement New feature or request help wanted Extra attention is needed labels Jan 25, 2021
@mpadge
Copy link
Member

mpadge commented Nov 18, 2021

@agila5 I would strongly advise against doing this, as it would be in violation of the OSM license that comes with the data. You can only provide these data with an accompanying guarantee that people accessing it are also "OpenStreetMap contributors", which you can not do here at all, and for which merely registering an account to get an access key is likely also not sufficient. It really would go against the principle of the OSM license, so I'd close this issue and keep this as a record of why this feature is not and will not be implemented.

@agila5
Copy link
Contributor

agila5 commented Nov 19, 2021

Hi @mpadge, and thanks for your message.

I would strongly advise against doing this, as it would be in violation of the OSM license that comes with the data. You can only provide these data with an accompanying guarantee that people accessing it are also "OpenStreetMap contributors", which you can not do here at all, and for which merely registering an account to get an access key is likely also not sufficient.

I just checked the Geofabrik policy on internal OSM data, and I agree that it would be pretty challenging to ensure that those files are accessible only to OSM contributors. As you said, asking for an OSM account may be sufficient, but I think that writing new code for this purpose may be more trouble than it's worth.

@agila5 agila5 closed this as completed Nov 19, 2021
@agila5 agila5 added wontfix This will not be worked on and removed enhancement New feature or request help wanted Extra attention is needed labels Nov 19, 2021
@mpadge
Copy link
Member

mpadge commented Nov 19, 2021

Nice @agila5, but just to clarify, my suggestion was that (merely) asking for an OSM account would likely NOT be sufficient, which is the main reason this issue should remain closed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants