Skip to content

Commit

Permalink
Line of Sight Visualizer: Init
Browse files Browse the repository at this point in the history
This is a partial rewrite of https://rop.nl/freifunk/line-of-sight.php. Webscraping got replaced by API-Calls. The main functionality is working, however more detailed information cant be shown as long as there are not available as attributes in the wiki. I consider this optional as you can still get all the relevant information in the wikiarticle, so its not strictly needed in Google Earth. Since big parts of the code are legacy I excluded them from linting. Otherwise a way bigger rewrite would be needed. The code still works as expected.
  • Loading branch information
FFHener committed Jul 18, 2023
1 parent 7e8c514 commit 347fbbf
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# Do not lint 3rd party CSS and JavaScript libraries
FILTER_REGEX_EXCLUDE: .*/(css|javascript)/3rd-party/.*
FILTER_REGEX_EXCLUDE: .*/(css|javascript)/3rd-party/.*|.*line-of-sight\.php
13 changes: 13 additions & 0 deletions www/line-of-sight.kml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<NetworkLink>
<name>Freifunk Berlin Line-of-Sight visualiser</name>
<flyToView>0</flyToView>
<open>1</open>
<visibility>1</visibility>
<refreshVisibility>1</refreshVisibility>
<Link>
<href>https://util.berlin.freifunk.net/line-of-sight.php</href>
<refreshMode>onChange</refreshMode>
<viewRefreshMode>onRequest</viewRefreshMode>
<viewFormat>VARS=[cameraLon],[cameraLat],[cameraAlt]</viewFormat>
</Link>
</NetworkLink>
Loading

0 comments on commit 347fbbf

Please sign in to comment.