... | @@ -80,9 +80,10 @@ Although this class could not be completed until we had created all other classe |
... | @@ -80,9 +80,10 @@ Although this class could not be completed until we had created all other classe |
|
|
|
|
|
As stated above, we aimed to make the whole programme run smoothly without the user having to figure out which classes to execute and in which order. We hope that it may demonstrate how we applied our newly obtained knowledge about modularity, to make the whole programme run smoothly and without the user having to figure our which classes to execute and in which order. To see the main class ["GoogleEarthTweetMapper.java"](url) in the correct order.
|
|
As stated above, we aimed to make the whole programme run smoothly without the user having to figure out which classes to execute and in which order. We hope that it may demonstrate how we applied our newly obtained knowledge about modularity, to make the whole programme run smoothly and without the user having to figure our which classes to execute and in which order. To see the main class ["GoogleEarthTweetMapper.java"](url) in the correct order.
|
|
|
|
|
|
<details><summary> See the Code for the main class here</summary>
|
|
<details><summary> See the Code for the "GoogleEarthTweetMapper.java" class here</summary>
|
|
|
|
|
|
|
|
```java
|
|
|
|
|
|
```
|
|
|
|
package Test2;
|
|
package Test2;
|
|
|
|
|
|
public class execute_programme {
|
|
public class execute_programme {
|
... | @@ -147,9 +148,9 @@ First, we created a [non-executable class "wms_GetMap"](https://git.sbg.ac.at/s1 |
... | @@ -147,9 +148,9 @@ First, we created a [non-executable class "wms_GetMap"](https://git.sbg.ac.at/s1 |
|
> 5. asks the user if they would like to see information on the service (and either shows it or moves on)
|
|
> 5. asks the user if they would like to see information on the service (and either shows it or moves on)
|
|
> 6. writes the image in .png to the local directory
|
|
> 6. writes the image in .png to the local directory
|
|
|
|
|
|
<details><summary> See the Code for the "main "wms_GetMap" class here</summary>
|
|
<details><summary> See the Code for the "wms_GetMap.java" class here</summary>
|
|
|
|
|
|
```
|
|
```java
|
|
|
|
|
|
package Test2;
|
|
package Test2;
|
|
|
|
|
... | @@ -290,9 +291,9 @@ Here, we created a [non-executable class "wms_ImageToKML"](https://git.sbg.ac.at |
... | @@ -290,9 +291,9 @@ Here, we created a [non-executable class "wms_ImageToKML"](https://git.sbg.ac.at |
|
> - finds the local boston.png image
|
|
> - finds the local boston.png image
|
|
> - writes a kml file (containing the image) to a local wms_kml_structure.kml
|
|
> - writes a kml file (containing the image) to a local wms_kml_structure.kml
|
|
|
|
|
|
<details><summary>See Code for the "wms_ImageToKML" class here</summary>
|
|
<details><summary>See Code for the "wms_ImageToKML.java" class here</summary>
|
|
|
|
|
|
```
|
|
```java
|
|
|
|
|
|
package Test2;
|
|
package Test2;
|
|
|
|
|
... | | ... | |