... | ... | @@ -154,6 +154,9 @@ static void askUser2() { |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Concept
|
|
|
|
... | ... | @@ -229,6 +232,10 @@ public class GoogleEarthTweetMapper { |
|
|
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## User Input 1
|
|
|
|
|
|
In this first step we ask the user to give us the "thumbs up" for downloading the required files onto their PC. We set the default directory to "C:/Users/Public/Documents", which is given on any PC. Nonetheless, we wanted to let the user specify a different directory if they prefer that. This was implemented in the non-executable [user_Input.java](https://git.sbg.ac.at/s1080384/EoT/-/blob/main/Java%20Codes/Final%20Version/User_input.java) class.
|
... | ... | @@ -348,6 +355,9 @@ New directory set to: C:\Users\Christina\Documents\Test Folder |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Connecting to WMS and Downloading Image
|
|
|
|
... | ... | @@ -489,6 +499,10 @@ Image was successfully saved at: C:\Users\Christina\Documents\Test Folder\boston |
|
|
|
|
|
The result is this image "boston.png": <http://maps.heigit.org/osm-wms/service?REQUEST=GetMap&FORMAT=image%2Fpng&SRS=EPSG:4326&BBOX=-71.13,42.32,-71.03,42.42&VERSION=1.1.1&STYLES=default&SERVICE=WMS&WIDTH=1000&HEIGHT=1000&TRANSPARENT=TRUE&LAYERS=osm_auto%3Aall>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Converting WMS Image into .KML
|
|
|
|
|
|
Here, we created a non-executable [wms_ImageToKML](https://git.sbg.ac.at/s1080384/EoT/-/blob/main/Java%20Codes/Final%20Version/WMS_ImageToKML.java) class which contains a method `wmsTOkml()` that:
|
... | ... | @@ -584,6 +598,10 @@ Image converted to kml and stored at: C:\Users\Christina\Documents\Test Folder\b |
|
|
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Downloading Twitter.csv File
|
|
|
|
|
|
Although this step was not included in the assignment instructions, we decided it would be nice for the user to not worry about having to download the .csv file themselves. Therefore we created a non-executable [tweets_download.java](https://git.sbg.ac.at/s1080384/EoT/-/blob/main/Java%20Codes/Final%20Version/Tweets_download.java) class that contains the methods `saveFileFromUrlWithCommonsIO()` and `downloadCSV()` that access and download the .csv file from this web-URL: <http://www.berndresch.com/work/twitter.csv>
|
... | ... | @@ -648,6 +666,9 @@ CSV file downloaded and stored at :C:\Users\Christina\Documents\Test Folder\twee |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Converting Tweets.csv into Tweets.kml
|
|
|
|
... | ... | @@ -865,6 +886,9 @@ All 1163 placemarks have been integrated into a single KML file, which is saved |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Creating a KML Tour
|
|
|
|
... | ... | @@ -1086,6 +1110,9 @@ KML Tour created and stored at C:\Users\Christina\Documents\Test Folder\A Little |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## User Input 2
|
|
|
|
... | ... | @@ -1191,6 +1218,9 @@ Continued. |
|
|
```
|
|
|
</details>
|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
|
|
<!---blank line--->
|
|
|
|
|
|
## Launch Google Earth
|
|
|
|
... | ... | @@ -1257,11 +1287,11 @@ Launch complete. |
|
|
|
|
|
(1) Programme interaction
|
|
|
|
|
|
[Programme](/s1080384/EoT/-/wikis/uploads/aa9d681078730f5eeeeda441304c1b78/Programme.mp4)
|
|
|

|
|
|
|
|
|
(2) Google Earth Tour
|
|
|
|
|
|
[Google_Earth_Tour](/s1080384/EoT/-/wikis/uploads/255bb09b1b316dc47ed6bc780562c923/Google_Earth_Tour.mp4)
|
|
|

|
|
|
|
|
|
<!---blank line--->
|
|
|
<br>
|
... | ... | |