Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

GI2012 bartoli-intro opengeosuite

1,019 views

Published on

12. Sächsisches GIS-Forum
Dresden: 18./19.05.2012
GI2012-OpenDataPolicies-FORUM

Published in: Technology
  • Be the first to comment

GI2012 bartoli-intro opengeosuite

  1. 1. 19.05.2012 / GI2012Introduction toOpenGeo SuiteAn overview1 Autore: Francesco Bartoli
  2. 2. 2 19.05.2012 / GI2012Agenda What is OpenGeo Suite? PostGIS, a spatial database GeoServer, a geodata engine server GeoWebCache, a map tile cache server GeoExplorer, a ready to use fully desktop-like webGIS application OpenLayers and GeoExt, web map client frameworks Autore: Francesco Bartoli
  3. 3. 3 19.05.2012 / GI2012Fully qualified geospatial stack One single packaged software Cross platform Easy installation Open/proprietary formats fully supported Ready to publish maps Out-of-the-box OGC compliant Almost entirely web-based Autore: Francesco Bartoli
  4. 4. 4 19.05.2012 / GI2012Dashboard Central panel for control and management  At a glance  Components  Preferences  Start&Stop Autore: Francesco Bartoli
  5. 5. 5 19.05.2012 / GI2012PostGIS PgAdmin  Visually create spatial database  Easily populating with data  Shapefile Loader Plugin  Query editor  CREATE TABLE "smallworld" (gid serial PRIMARY KEY, "placename" varchar(50), "comment" varchar(255) , "year" numeric);  SELECT AddGeometryColumn(,smallworld,the_geom, 4326,POINT,2);  INSERT INTO smallworld (the_geom, placename, comment, year) VALUES (ST_GeomFromText(POINT(51.05 13.75),4326), ’Dresden, ’GI2012, 2012); Autore: Francesco Bartoli
  6. 6. 6 19.05.2012 / GI2012GeoServer concepts Hierarchical structure  Workspace used to group similar data  Store, a container for geographical data (any data source supported)  Layer, collection of features or a coverage  Layer group, grouping of layers Style as a visualization directive for rendering geographic data Autore: Francesco Bartoli
  7. 7. 7 19.05.2012 / GI2012Data sources Files  Shapefile  GeoTIFF  ArcGrid  JPEG2000  GDAL formats Databases  PostGIS  ArcSDE  Oracle Spatial  DB2  SQL Server Autore: Francesco Bartoli
  8. 8. 8 19.05.2012 / GI2012OGC WMS Protocol Certified compliant WMS (sample request) http://ogsuite.geobeyond.it/geoserver/wms? SERVICE=WMS& VERSION=1.3.0& REQUEST=GetMap& LAYERS=usa:states& SRS=EPSG:4326& BBOX=24.956,-124.731,49.372,-66.97& FORMAT=image/png& WIDTH=600& HEIGHT=255 Autore: Francesco Bartoli
  9. 9. 9 19.05.2012 / GI2012OGC WFS Protocol Reference implementation of WFS http://ogsuite.geobeyond.it/geoserver/wfs? SERVICE=wfs& VERSION=1.1.0& REQUEST=GetFeature& TYPENAME=usa:states& FEATUREID=states.39 Autore: Francesco Bartoli
  10. 10. 10 19.05.2012 / GI2012Administration back office Publishing data from File-System Loading many shapefiles Importing directory of files Importing from PostGIS Cascading WMS Creating a layer group Styling layers Autore: Francesco Bartoli
  11. 11. 11 19.05.2012 / GI2012GeoWebCache TileProxying Strategies  Seeding a Tile-Cache  On-Demand Autore: Francesco Bartoli
  12. 12. 12 19.05.2012 / GI2012GeoExplorer Out-Off-The-BoxWebGIS application Comsuming layers from remote/local GeoServer  Composer – Editing map and layers  Viewer – Browsing map and layers Exporting map with selected tools Printing a static map http://ogsuite.geobeyond.it/geoexplorer/viewer#maps/1 Autore: Francesco Bartoli
  13. 13. 13 19.05.2012 / GI2012OpenLayers Javascript web mapping framework: <script src="openlayers/OpenLayers.js"></script> ... <div id="map-id”></div> <script> var map = new OpenLayers.Map("map-id"); var world = new OpenLayers.Layer.WMS( "Earth", "http://localhost:8080/geoserver/wms", {layers: "earthgroup”} ); map.addLayer(world); map.zoomToMaxExtent(); </script> You can add layers and controls Autore: Francesco Bartoli
  14. 14. 14 19.05.2012 / GI2012GeoExt<script src="openlayers/OpenLayers.js" type="text/javascript"></script><script src="geoext/script/GeoExt.js" type="text/javascript"></script><script type="text/javascript"> Ext.onReady(function() { var world = new OpenLayers.Layer.WMS( "Global Imagery", "/geoserver/wms/", {layers: "earthgroup"} ); var mapwin = new Ext.Window({ title: "GeoExt Map 1", width: 600, height: 400, layout: "fit", items: { xtype: "gx_mappanel", layers: [world] } }); mapwin.show(); });</script> Autore: Francesco Bartoli
  15. 15. 15 19.05.2012 / GI2012Contact us Geobeyond partnered with OpenGeo Professional support Follow us on twitter Contact francesco.bartoli@geobeyond.it Autore: Francesco Bartoli

×