osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.67k stars 1.02k forks source link

Online maps: date param #8064

Open edrex opened 4 years ago

edrex commented 4 years ago

Several potential tile sources have a required date param:

Questions:

Do time series data sources use the same date format?

It would be pretty cool for natural sci nerds like me to be able to add NASA data sources.

vshcherb commented 4 years ago

Unfortunately not possible today but the workaround is to generate URL and click it, so now adding tile source is possible via link check it here https://github.com/osmandapp/Osmand/issues/7658

edrex commented 4 years ago

very cool, i will test it out.

also thought of filling in dynamic params like date (with say tomorrow's date) via a specialized http proxy, maybe packaged as a companion "osmand-dynamic-sources" app, which could also generate links to add source. I don't know enough about android networking internals to know for sure there isn't some gotcha. Can android start an app when it gets a tcp port knock?

edrex commented 4 years ago

i searched around a bit and it seems like the answer is no. It would be lame to keep a foreground task running for the proxy. Maybe it could be packaged as an osmand plugin instead?

vshcherb commented 4 years ago

there is no possibility to inject the code with script and we will need to create UI for this feature.