Add advanced option to add a "sun position" ray to the geolocator map
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
Research direction
Start from the georeference view for a single image (the URL pattern behind /georeference/?image=<id>) and find the template and JavaScript that build the Leaflet map, then check where the photo's timestamp and coordinates are available to that context. Sun azimuth/altitude for a given time and lat/lon needs a small computation, so compare against suncalc for one known photo before wiring it in. Done means an optional layer drawing a sun-direction ray on the map, off by default, verified against the referenced example image.
Written by the indexing model from the issue text.
Description
This only works for photos that have a timestamp but was very helpful in sorting out which direction this photo was taken: https://yesterdays.today/georeference/?image=68958
In the mean time I used this: https://www.suncalc.org/#/35.5433,-98.3184,6/2008.09.06/15:59/1/3
I've submitted a PR for mapswipe for the time being as an (probably reasonable?) workaround.
- Dominant language
- Python
- Stars
- 16
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MapRVA/yesterdays
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
MapRVA/yesterdays#250 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
MapRVA/yesterdays#249 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
MapRVA/yesterdays#243 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MapRVA/yesterdays#229 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MapRVA/yesterdays#246 · 1 comment ·
All issues in MapRVA/yesterdays
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day