Eclipse Mobile Mousw Guide d'installation Page 1

Naviguer en ligne ou télécharger Guide d'installation pour Souris Eclipse Mobile Mousw. Eclipse Mobile Mousw Installation guide Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 59
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
1
Tutorial for Course of Web and Mobile GIS
Autumn 2012
Rui Zhu
School of Architecture and the Built Environment
Royal Institute of Technology-KTH
Stockholm, Sweden
September 2012
Lab 1
Design a Dynamic Map
Page 2
Lab 2
Create Web Maps with Google Mapping Tools
Page 9
Lab 3 & 4
Open Source Solution: OpenLayers + GeoServer + PostGIS
Page 11
Lab 5
ArcGIS Server
Page 17
Lab 6
ESRI Mobile Solutions
Page 21
Lab 7
Locate Your Current Position with Android Built-in GPS
Page 25
Lab 8
Combination of a Dynamic Website and an Android app
Page 32
Help File
Web and Mobile GIS Developing Environment Solution
Page 44
Vue de la page 0
1 2 3 4 5 6 ... 58 59

Résumé du contenu

Page 1 - Rui Zhu

1 Tutorial for Course of Web and Mobile GIS Autumn 2012 Rui Zhu School of Architecture and the Built Environment Royal Institute of Tec

Page 2 - Lab 1: Design a Dynamic Map

10 c. Path: Add a path in the map. 6.2. Google Maps JavaScript API V3. There are three Google official web pages that you can referenc

Page 3

11 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 3&4: Open Source Solution: OpenLayers + GeoServer + PostGIS Due

Page 4

12 and moving). Throughout the exercise you will make modifications to your VM, i.e., you will configure settings and services, and in

Page 5

13 Figure 2. Name and Namespace URI of a New Workspace 10.3. Create a New Store Click Stores (in the Data set), then click Add new Stores. You will

Page 6

14 11. GeoServer with OpenLayers “OpenLayers is a pure JavaScript library for displaying map data in most modern web browsers, with no server-side

Page 7 - 3. Report

15 to the map: // Initialize WMS layer from our local GeoServer buildings = new OpenLayers.Layer.WMS( "Medford Buildings

Page 8

16 Figure 3. Structure of PostgreSQL 9.0 Tips: You may use Quantum GIS or shp2sql for importing shapefile into the database in the fu

Page 9 - 6. Google Map API

17 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 5: ArcGIS Server Due Sep 25 14. Guides and Help Virtual Machine for

Page 10 - 7. Report

18 16. Add More Functionality to Your Map Search ArcGIS server help for Geocoding and ArcGIS desktop help for Geocoding tutorial to lear

Page 11 - PostGIS

19 17. Geoprocessing service This lab section works with the data in folder Sweden. 17.1. Create a Toolbox and a Map Document  Start ArcCatalog 

Page 12 - 10. GeoServer

2 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 1: Design a Dynamic Map Due Sep 7 1. Task The aim of this lab is to

Page 13

20  Save and close model  Save your map document as yournameSweden.mxd 4.3. Test the Model  Double-click on your tool in the ArcToolbox wind

Page 14

21 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 6: ESRI Mobile Solutions Due Oct 2 20. Task In this lab you wil

Page 15 - 12. PostGIS

22 Do NOT download it from Amazon unless you have a payment address in USA, which is required in the last step for downloading (even though

Page 16 - 13. Report

23 If you come across the warning that Port 8080 is already in use, type services.msc in Run and click OK. Right click Apache Tomcat 7.0 to

Page 17 - Lab 5: ArcGIS Server

24  Type cmd in Run and hit Enter. Once the box opens type ipconfig /all and hit Enter. Write down your current IP Address that you see. We are goi

Page 18

25 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 7: Locate Your Current Position with Android Built-in GPS Due Oct 4

Page 19 - 17. Geoprocessing service

26  Folder of res stores all the resources which your application needs, like layout files, images, sounds and so on.  Put the mouse on Test.

Page 20 - 19. Report

27 the content of the page to a .txt file for later usage. Link-1: http://code.google.com/android/maps-api-signup.html 1.3. Edit res/layout/activi

Page 21 - Lab 6: ESRI Mobile Solutions

28 mapView.setSatellite(false); //get map controller mapController = mapView.getController(); //set the initial zoom level mapController.setZoom(10);

Page 22

29  Define three variables in the public class of MainActivity in the MainActivity.java. private MapController mapController; private MapView mapVi

Page 23

3 </body> </html> Now create a root folder of images under WebContent, copy kth.png and kth_rgb.jpg into images, and refres

Page 24 - 21. Report

30 Section 3 – Locate Your Position with Built-in GPS  Use built-in Android GPS by copying the following code in the class of public void onCreate

Page 25 - 22. Task

31 mapView.getProjection().toPixels(point, screenPoint); Bitmap bmp BitmapFactory.decodeResource(getResources(),R.drawable.dot);

Page 26

32 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 8: Combination of a Dynamic Website and an Android app Due Oct 8 24.

Page 27

33 com.demo.mobile -> New -> Class, fill Location (JavaBeans) in the Name: field, click Finish. Modify Location.java as it is show

Page 28 - Section 2 – Display OSM Map

34  This webpage represents OSM map, editable vectors, position dot, switch layers, and scale bar, all of which are created by OpenLayers

Page 29

35 Appendix-1 // MyLocationListner class MyLocationListener implements LocationListener { public void onLocationChanged(Location loc) {

Page 30

36 { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { e.printStackT

Page 31 - 23. Report

37 password = "123456"; /* Be intelligent, you will understand that the following two statements * are used for gettin

Page 32 - 24. Task

38 { Location location = new Location(); location.getLocation(request, response); }//end of if location } /** * @see Http

Page 33

39 DataOutputStream dos = new DataOutputStream(response.getOutputStream()); dos.writeUTF("Succeed"); try { connect =

Page 34 - 25. Report

4 As a last step, to edit the appearance of text, write the following code into the style.css file and change the only <div> element to <di

Page 35

40 public static void releaseConnection( Connection c) { if(c != null) { try { c.close(); } catch (SQL

Page 36

41 <link rel="stylesheet" type="text/css" href="style.css" /> <script src="http://www.openlayers.org/api

Page 37

42 var zoom = 12; // Add layers map.addLayers([mapnik,vector_layer2,vector_layer]); // Add a vec

Page 38

43 <div id="content2"> <div id="basicMap"></div> </div> <!-- END content --> <!-- BEGI

Page 39

44 Division of Geodesy and Geoinformatics Department of Urban Planning and Environment Royal Institute of Technology – KTH Course of AG241

Page 40

45 You can also install installer_r20.0.1-windows in the Virtual Machine of C:\software. Keep the initial routing of C:\Program Files

Page 41

46 2.3. Now you will see Android SDK Manager and AVD Manager, as it is shown in the two red boxes below. To be safe for the later labs (some confli

Page 42

47 2.4. In the AVD Manager, click New… button, set Name: Android, Target: Android 2.1 – API Level 7, Built-in: WQVGA432, and lastly click Create AV

Page 43

48 3. Apache Tomcat Installation You can download Apache Tomcat from http://tomcat.apache.org/. Or you can install apache-tomcat-7.0.26

Page 45

5 //Add the world street map layer to the map. View the ArcGIS Online site for services http://arcgisonline/home/search.html?t=content&

Page 46

50 4. PostgreSQL Installation You can download PostGIS from http://postgis.refractions.net/download/. Or you can install postgresql-8.4.11-1-wind

Page 48

52 5. PostGIS Installation When you click Finish button of PostgreSQL, installation for PostGIS jumps out. Select the particular server of Postgre

Page 51

55 6. GeoServer Installation You can download GeoServer from http://geoserver.org/display/GEOS/Download. Or you can install geoserver-2.1.3a from

Page 54

58 7. OpenLayers “Installation” In fact you do not have to install OpenLayers. Download Latest stable release vision [.zip] from

Page 56

6 through standard map navigation controls. Another simple way to make a static map more interactive is by linking information to

Page 57

7 Do similar thing to at least 4 other interesting buildings. These buildings will be linked to the website of a school occupying

Page 59

9 AG2417 Web and Mobile GIS Autumn 2012 Rui Zhu and Gyözö Gidófalvi Lab 2: Create Web Maps with Google Mapping Tools Due Sep 11 4. Task The

Commentaires sur ces manuels

Pas de commentaire