1 / 13

Visualisation: Geography

Visualisation: Geography. Dr Andy Evans. Geographical data KML Free mapping services GeoTools Cartograms. Geographical data. Keyhole Markup Language (KML) http://www.opengeospatial.org/standards/kml/ https://developers.google.com/kml/documentation/. Google.

varian
Download Presentation

Visualisation: Geography

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visualisation: Geography Dr Andy Evans

  2. Geographical data KML Free mapping services GeoTools Cartograms

  3. Geographical data Keyhole Markup Language (KML) http://www.opengeospatial.org/standards/kml/ https://developers.google.com/kml/documentation/

  4. Google KML can be combined with GoogleMaps. Can be used to overlay information on GoogleEarth. Test suite: https://kml-samples.googlecode.com/svn/trunk/interactive/index.html GoogleMaps can also pull in GeoRSS streams.

  5. KML OGS specification. At simplest, a little like the XML we looked at last lecture: <?xml version="1.0" encoding="UTF-8"?> <kmlxmlns="http://www.opengis.net/kml/2.2"> <Document> <Placemark> <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> 10,10,1 10,20,1 20,20,1 20,10,1 10,10,1 </coordinates> </LinearRing> </outerBoundaryIs> </Polygon> </Placemark> </Document> </kml>

  6. Other free mapping services PhiloGL http://www.senchalabs.org/philogl/ Google WebGL Globe http://www.chromeexperiments.com/globe

  7. Geographical data GeoTools (Leeds et al.): http://geotools.org/

  8. Features Mapping Includes simple Swing components for showing maps. GML/XML conversion Web service setup Interaction with databases Shapefile read and write Graph and Network tools Spatial queries

  9. Data formats Raster formats and data access: arcsde, arcgrid, geotiff, grassraster, gtopo30, image (JPEG, TIFF, GIF, PNG), imageio-ext-gdal, imagemoasaic, imagepyramid, JP2K, matlab Database jdbc support: db2, h2, mysql, oracle, postgis, spatialite, sqlserver Vector formats and data access: app-schema, arcsde, csv, dxf, edigeo, excel, geojson, org, property, shapefile, wfs XML Bindings: Java data structures and bindings provided for the following: xsd-core (xml simple types), fes, filter, gml2, gml3, kml, ows, sld, wcs, wfs, wms, wps, vpf. Additional Geometry, Filter and Style parser/encoders available for DOM and SAX applications.

  10. Example FileDataStore store = FileDataStoreFinder.getDataStore(file); SimpleFeatureSource featureSource = store.getFeatureSource(); MapContent map = new MapContent(); map.setTitle("Quickstart"); Style style = SLD.createSimpleStyle(featureSource.getSchema()); Layer layer = new FeatureLayer(featureSource, style); map.addLayer(layer); JMapFrame.showMap(map);

  11. GML http://docs.geotools.org/latest/userguide/library/xml/geometry.html http://docs.geotools.org/latest/userguide/library/xml/faq.html See org.geotools.gml in docs Also parses/produces KML.

  12. Cartograms WorldMapper (Sheffield Geography): http://www.worldmapper.org/about.html Cartogram Geoprocessing Tool (Tom Gross): http://arcscripts.esri.com/details.asp?dbid=15638

  13. Cartograms ScapeToad (Java: Chôros Laboratory)http://scapetoad.choros.ch/ Takes in shapefiles; exports shapefiles or SVG. You can download the src here: http://sourceforge.net/projects/scapetoad/files/scapetoad/ScapeToad%201.1/ Nothing to stop you using it in other GNU General Public License, version 2, code.

More Related