Google Earth - Bernd Resch by bestt571

VIEWS: 4 PAGES: 11

Google Earth (GE) is a development of Google's virtual globe software, which the satellite photos, aerial photography and GIS arranged in a three-dimensional model of the Earth. Google Earth in 2005, introduced to the world, is "PC World Magazine" named in 2005 one of the 100 best new products. Users can download to their computer via a client on the software, free access to worldwide high-resolution satellite images. Google Earth is divided into Free and Pro versions.

More Info
									                                            Summer Term 2011




Softwareentwicklung in der Geoinformatik Praxis

                Google Earth

     File Handling and Dynamic Visualisations


                    Bernd Resch



                     13 April 2011
                            geoKnowledge Shapes the Future!



 Overview



        Organisational

        Introduction

        Google Earth, KML
        and Java




13 April 2011                                             2
                                                 geoKnowledge Shapes the Future!



 Organisational ::: Dates


        Wed, 16 March 2011   09.00-12.00   HS 3.004

        Wed, 06 April 2011   09.00-12.00   HS 3.004

        Wed, 13 April 2011   09.00-12.00   HS 3.004

        Wed, 04 May 2011     09.00-12.00   HS 3.004

        Wed, 18 May 2011     09.00-12.00   HS 3.004

        Wed, 01 June 2011    09.00-12.00   HS 3.004

        Wed, 15 June 2011    09.00-12.00   HS 3.004



        Fri, 15 July 2011    End-term Assignment Due Date




13 April 2011                                                                  3
                          geoKnowledge Shapes the Future!




                Google Earth




13 April 2011                                           4
                           geoKnowledge Shapes the Future!



 Introduction to Eclipse

        Create
        a new
        project

        “unit3”




13 April 2011                                            5
                                      geoKnowledge Shapes the Future!



 Google Earth and KML ::: Exercise


        Create a KML file “unit3.kml” that displays the
        following WGS84 position:
                13.06024, 47.78861

         http://code.google.com/apis/earth

         KML Placemark sample:
        http://code.google.com/apis/kml/documentation
        /kml_tut.html#placemarks


13 April 2011                                                       6
                                           geoKnowledge Shapes the Future!



 Google Earth and KML ::: Exercise


        Create a class “GoogleEarthLauncher”, which
        displays the contents of the file “unit3.kml” in
        Google Earth.

                Use Runtime.getRuntime().exec() command

                 parameters: Google Earth program path and KML
                file path




13 April 2011                                                            7
                                    geoKnowledge Shapes the Future!



 Google Earth and KML ::: Exercise


        Create a class “DynamicGoogleEarthLauncher”,
        which displays the following coordinates (x/y
        WGS84) in Google Earth:

        13.06024,47.78861
        13.03917,47.82273
        13.03364,47.80569
        13.05354,47.80628
        13.04747,47.81912


13 April 2011                                                     8
                                             geoKnowledge Shapes the Future!



 Google Earth and KML ::: Exercise


        Create a class “DynamicGoogleEarthLauncher”,
        which displays the following coordinates (x/y
        WGS84) in Google Earth:

                Create a String variable containing the KML tags

                Use a for loop to create the <Placemark> tags




13 April 2011                                                              9
                                                 geoKnowledge Shapes the Future!



 Google Earth and KML ::: Exercise


        Create a class “DynamicGoogleEarthLauncher”, which
        displays the following coordinates (x/y WGS84) in Google
        Earth:

                Create the file “unit3.kml” dynamically on your
                harddrive (use FileWriter and BufferedWriter classes)

                Launch GE using the file path as a command line
                parameter (s. above Runtime.getRuntime().exec())




13 April 2011                                                                 10
                                            Summer Term 2011




Softwareentwicklung in der Geoinformatik Praxis

                Google Earth

     File Handling and Dynamic Visualisations


                    Bernd Resch



                     13 April 2011

								
To top