Home
Application Development in Web Mapping 3.
Contents
1. e how many values allowed to have 12 XMLmind XSL FO Converter WMS WES Server topp states Configure the resource and publishing information for the current layer Data Publishing Basic Settings Name states IZ Enabled HTTP Settings I Response Cache Headers Cache Time seconds 3600 WFS Settings Per Request Feature Limit O Maximum number of decimals T e HTTP Settings if Response Cache Headers is checked Geoserver will not request the same tile twice within the time specified in Cache Time e WES Settings the maximum number of features a WFS GetFeature operation should generate WMS Settings Default Style BFL D h 4M gt 4m Boundary Additional Styles Available Styles Selected Styles burg es polygon al capitals pophatch cite lakes ry dem iant polygon gant pord e Grass green line poi point xl EI Default Rendering Buffer Default WMS Path i e Default style the style that will be used when the client does not specify it e Additional styles other styles that can be associated to this layers for alternative styling e Default rendering buffer the default value of the buffer GetMap GetFeatureInfo vendor parameter 13 XMLmind XSL FO Converter WMS WES Server e Default WMS path the location of the layer in the WMS capabilities layer tree WMS Attribution Attribution Text Attribution Link Logo URL Logo Content Type Logo Image Width Logo Image Height Awu
2. states shapetile Description M Enabled Connection Parameters URL file data shapetiles states shp Namespace http www openplans org topp 7 create spatial index charset 5 memory mapped buffer Save Cancel The URL refers to the location of data source in data dictionary file data refers to a data folder in data directory geoserver data data In this example according to the URL the states shapefile path is geoserver data data shapefiles states shp Layers A layer is a collection of geospatial features or a coverage Vector layer is analogous to feature type and raster layer is analogous to coverage Usually a layer contains one type of data points lines polygons raster A store can contain many layers but it must contain at least one layer It has a single layer in the case of a shapefile Selecting Layers a list displays the layers with layer type layer name store name workspace name status and SRS lad topp states shapefie states i EPS5 4326 Clicking on states the layer can be edited in Data and Publishing tabs 10 XMLmind XSL FO Converter topp states WMS WES Server Configure the resource and publishing information for the current layer Data Publishing Basic Resource Info Hame states Title USA Population Abstract This is some census data on the states Keywords Current Keywords census pa united boundaries state Aias l Remove selected Mew Keyword Metad
3. Selecting the Workspaces from the left side of administration interface you will get a list of defined workspaces and there is an add and a remove option on the top Clicking on topp workspace the Edit Workspace form is displayed with Name Namespace URI and Default Workspace properties http en wikipedia org wiki Pyramid_ image_processing http en wikipedia org wiki Namespace 8 XMLmind XSL FO Converter WMS WES Server Edit Workspace Edit existing workspace Name ftopp Namespace URI http Awww openplans org topp The namespace uri associated with this workspace Default Workspace C gare Cancel The namespace can be set related to the data provider data owner a project or any logical category which is somehow associated to the datasets in the workspace Stores A store is the name for a container of geographic data A store refers to a specific data source Selecting the Stores the given list tells the available stores in the defined workspaces Each store must be associated with one workspace For example topp workspace contains states shapfile store E topp states shapefile y Clicking on states shapefile an edit form is displayed with Basic Store Info and Connection Parameters Here the namespace can be modified 9 XMLmind XSL FO Converter WMS WES Server Edit Vector Data Source Shapetile ESRIitm Shapetiles ship Basic Store Info Workspace topp g Data Source Name
4. height 400 amp x 170 amp y 160 The result is a text document with feature information Read more about WMS in the specification document or on the related pages of GeoServer User Manual 5 3 5 Web Feature Service The Web Feature Service WFS is a standard to send and receive geospatial data through HTTP WES transfers information in Geographic Markup Language GML format GML is an OGC standard to express geographic data in XML WES operations are e GetCapabilities e DescribeFeatureType e GetFeature e LockFeature e Transaction e GetGMLObject in WES 1 1 0 only Transactions can contain INSERT UPDATE or DELETE elements to add modify or remove features GeoServer supports WFS 1 0 0 and 1 1 0 standards GetCapabilities The GetCapabilities request gives an XML document with metadata of service operations feature types functions spatial logical arithmetic which are provided by a server Insert the next request into your browser and study the result xml http localhost 8080 geoserver wfs service wfs amp version 1 1 0 amp request GetCapabilities DescribeFeatureType DescribeFeatureT ype returns an XML schema document describing the structure of the data set The schema document lists each field and its data type http localhost 8080 geoserver wfs service WFS amp version 1 1 0 amp regquest DescribeFeatureType amp typeName AWD railways 8 OGC WMS standard http www opengeospatial o
5. stop it Apache Tomcat T Pro perties x General Lag on Logging Java Startup shutdown Service Mame Tomcat Display name Apache Tomcat 7 Description Apache Tomcat 7 0 11 Server http tomcat apache Path to executable e Program Files4pache Software Foundationi Tomcat 7 0 bin torncat Startup type Manual ar Service Status Stopped Start Stop Pause Restart OK M gse lkalmaz On Ubuntu Open a terminal and type sudo apt get install tomcat6 tomcat6 admin tomcat6 common tomcat6 user tomcat6 docs tomcat6 examples To enable admin web based features edit roles in etc tomcat6 tomcat user xml Type gksudo gedit etc tomcat user xml Add the following lines lt role rolename manager gt lt role rolename admin gt lt UsSic iaeme Vacinim DE SE Ke Seems SAE e a sicmmalia Y gt The secret password value should be changed to your secret password 2 1 2 3 2 1 2 Deploying GeoServer Download the GeoServer in Web Archive format from http geoserver org display GEOS Stable Unzip it and you will have a geoserver war file Log in to your Tomcat Manager application and roll down your browser to see WAR file to deploy section Select the geoserver war from your hard drive and deploy it 4 XMLmind XSL FO Converter WMS WES Server select WAR file to upload Fajl kiv laszt sa oaei Deploy Open http localhost 8080 geoserver and you should see the Welcome
6. 1 Installing Apache Tomcat 2 0 cccccssssssessseeeeeeceeceeeeeeeeeeeaeeeeeees l 2 12 3 2 42 Deploying GEO SCL VEL escsaseiesavcnstensocendencncaracisncundusareomtemncoadensecatncesaent 4 Ded ea DAU IIE CUORY pae te vacensneseansnhermesnercdauton dev mesaedeieecsntehmeenincaeaese 5 2 3 3 2 Administration Iterace ss ccscucndecinscendevceneddsennsnbernucndscdeatondevmessedeitacsadedeweniad aes 6 DAs Aszt Daa SODE aiian a 7 Jak Wi ORIG Wt lay CUS sosser ien E E ER 14 Jess ANAS TAY CLS erae a E A E puensusestesse T 14 Jade VPM LAVES cesedinin E E EEEa 17 Jsdo CROWDING NAV CUS senrerisene idein rda EEA E EEOAE SEIEUN Ndan 18 24 324 Web Map SOR ICS arg aherpco sce sosuceasnsonnieranccasdeeoccodaranceeataananedezanetaadcsosandevenseandenvocedckaaecestanec 19 Be VEB COW S VI E penere dere nceectae E E E E E 23 111 XMLmind XSL FO Converter Chapter 3 WMS WES Server 1 3 1 Introduction The Open Geospatial Consortium OGC in Web Map Service WMS and Web Feature Service WFS specifications defines the way how to serve geospatial raster and vector data to clients through networks including the Internet There are several software providers which implement OGC Web Services OWS in their desktop or web products One great open source server solution is the Java based GeoServer In this module there will be e given instructions about GeoServer installation on Windows XP and Ubuntu 10 4 operating systems e reviewed the adminis
7. About GeoServer Services GWC amp wes fa WFS ib wes Data 22 Workspaces Stores Layers al Layer Groups Styles Security a Users b Data security D5 Service security C3 Catalog security Demos Layer Preview For more information about administration read the related pages of GeoServer User Manual 2 4 3 2 4 Data storing GeoServer manages the following data types e Vector data formats e Shapefiles e PostGIS databases e Java Properties files e Raster data formats e ArcGrid e GeoTIFF e Gtopo30 GeoServer User Manual Web Administration Interface http docs geoserver org stable en user webadmin index html 7 XMLmind XSL FO Converter WMS WES Server e ImageMosaic e WorldImage e Other data formats e External WMS layers e External WFS layers Some data types are available through extensions and require additional installation steps e ArcSDE e GML e DB2 e H2 e MySQL e Oracle e Microsoft SQL Server e Pregeneralized Features e Vector Product Format e GDAL program for additional image formats e Image Pyramid extension for pyramid representation e Image Mosaic JDBC e Oracle Georaster e Custom JDBC Access for image data Data configuration requires to set e the properties of data in Layers e the location of the data source in Stores e and a namespace a logical group of data sets in Workspaces Let s see these configuration options through an example data Workspace
8. Application Development in Web Mapping 3 WMS WFES Server Laszlo Kottyan XMLmind XSL FO Conver ter Application Development in Web Mapping 3 WMS WEFS Server Laszlo Kottyan Lector Antal Guszlev This module was created within TAMOP 4 1 2 08 1 A 2009 0027 Tananyagfejleszt ssel a GEO rt Educational material development for GEO project The project was funded by the European Union and the Hungarian Government to the amount of HUF 44 706 488 v1 0 Publication date 2010 Copyright 2010 University of West Hungary Faculty of Geoinformatics Abstract GeoServer allow users to share and edit geospatial data using several types of data sources and serving maps in a standard way This Module gives an overview about GeoServer OGC Web Map Service and Web Feature Service The right to this intellectual property is protected by the 1999 LXXVI copyright law Any unauthorized use of this material is prohibited No part of this product may be reproduced or transmitted in any form or by any means electronic or mechanical including photocopying recording or by any information storage and retrieval system without express written permission from the author publisher XMLmind XSL FO Converter Table of Contents 9 WIV VV S DEY CE ertettel E E A E E E l PeO O E E N E N KSS l Ze OU RICO DLV OL r E EE E cnaeuen l Ali AAL ostaline GEO OSE VCE cuuzhsnnnsainedeaqoigondaoudwadeatannentsasionceecolsand r E t st n l 2 1 1 3 2 1
9. L width 20 height 20 gt lt Format gt image png lt Format gt lt OnlineResource Mins x link Menor www ome T999 x1TInk i kink pe simple xlink href http localhost 8080 geoserver wms request GetLegendGraphic amp format image 2Fpng amp width 20 amp height 20 amp layer natural gt lt LegendURL gt lt Style gt lt Layer gt GetMap The GetMap request parameters are 20 XMLmind XSL FO Converter WMS WES Server LAYERS layer_list E i Comma separated lst of one or more map layers Comma separated ist of one rendenng style per requested layer Bounding box comers lower left upper right in CRS units Width in pixeis of map picture HEIGHT output_height Ms Height in pixels of map picture maxy Coordinate reference system WOT U wan wannpucwormppae O OO FORMATzoutput format Output format of map TRANSPARENT TRUEJFALSE Background transparency of map detault FALSE 8 B 2 5 Hexadecimal red green biue colour value for the background color Gefault OxF FFFFF EXCEPTIONS exception format The format in which exceptions are to be reported by the WMS default XML TIME time i i Time value of tayer desired ELEVATION elevation HK HK Elevation of layer desired Other sample dimension s O Vakeof other dimensions as appropriate Remember in WMS 1 1 1 there is SRS parameter not CRS GeoServer output formats e PNG parameter syntax format image png e PNG8 8 bit 256 colors im
10. age parameter syntax format image png8 e JPEG parameter syntax format image jpeg e GIF parameter syntax format image gif e TIFF parameter syntax format image tiff e TIFF8 8 bit image parameter syntax format image tiff8 e GeoTIFF includes GeoTIFF metadata parameter syntax format image geotiff e GeoTIFF 8 bit image parameter syntax format image geotiff8 e SVG parameter syntax format image svg e PDF parameter syntax format application pdf e GeoRSS parameter syntax format rss e KML parameter syntax format km1l e KMZ parameter syntax format kmz e OpenLayers generates an OpenLayers client application parameter syntax format application openlayers Using the data from GetCapabilities XML we can compose a request like this http localhost 8080 geoserver wms version 1 1 1 amp request GetMap layers AWD natural amp 21 XMLmind XSL FO Converter WMS WES Server styles polygon amp Srs EPSG 43266 amp b ox l6 2 745 17447 22 901 4575356 width 600 amp height 400 amp format image png GeoServer offers an easier solution too With WMS Reflector the request can be shortened WMS reflector adds some default values to the request These are the following e request getmaps e version 1 1 1 e format image png e width 512 e height 512 if width is not specified e EPGS 4326 e bbox the bounds of layers An example reflector request Neues Mocalnosce soUS0 geoser
11. ata links Mo metadata links so Far Add link Acda e Name used to reference the layer in WMS requests e Title a human readable name of the layer for clients e Abstract a description about the layer e Keywords words associated with the layer to aid in catalog searching e Metadata links linked external documents that describe the layer 11 XMLmind XSL FO Converter WMS WES Server Coordinate Reference Systems Native SRS ENKON GCS WGS 1984 Declared SRS EPS 4326 Find EPSG wis 84 R5 handling Force declared Bounding Boxes Native Bounding Box in Hin Y Man Han Y 124 731 4 956 66 97 ag 372 Compute Fom data Lat Lon Bounding Box Min Min Mian A Max Y i 2473 b4 956 66 97 lg 372 Compute Fom mative bounds Feature Type Details Property Type Millable Min ax Occurences the gqeom MultiPoby gan true ot STATE MAME String true gri STATE_FIPS String brie gri SUB REGION String brie off ST4TE_ABBR String brie gri Native SRS the projection of the stored layer Declared SRS the projection what GeoServer gives to clients SRS Handling determines how GeoServer should handle the different projections Native Bounding Box determines the extent of the layer can be generated Lat Lon Bounding Box computed bounds based on the standard lat long can be generated Feature Type Details e property and type of data e Nillable is true if the value can be empty null
12. bo detect image size and type e WMS Attribution information about data providers KML Format Settings Default Regionating Attribute v lassz egyet Default Regionating Method v lassz egyet hd Features Per Regionated Tile 10 Save Cancel e KML Format Settings Regionation settings to decide how to determine which features show up more prominently than others it can be useful for visualizing large datasets GeoServer can serve KML data applying a regionating method on an attribute or geometry 3 3 3 Working with layers 3 1 3 3 1 Adding layers From http download geofabrik de osm europe download the hungary shp zip file It contains seven shapefiles which will be used for adding layers to GeoServer Unzip it and move it to geoserver data data folder Regionating Vector Data http earth google com support bin answer py answer 175007 14 XMLmind XSL FO Converter WMS WES Server C Program Files Apache Software Foundationi Tomcat 7 0 webapps geoserver dataldata D data ia nyc Fajlmappa hungary shp Fajlmappa shapefiles Fajlmappa sf Fajlmappa Create a new workspace for example taz_shapes Fajlmappa e Name AWD e Namespace URI http geo info hu awd New Workspace Configure a new workspace Mame nD Namespace URI hitp geo info husawed The namespace uri associated with this workspace Default workspace Add a new store using the Directory o
13. ce http geminfo hu awd Add layers choosing first the AWD hungary shapes and the Publish link of buildings on New Layer chooser page 16 XMLmind XSL FO Converter WMS WES Server New Layer chooser Add layer from AWOhungary_shapes Here is list of resources contained in the store hungary shapes Click on the byer you with to configure Results 0 to 0 out of 0 tems Search Pribdeh On data tab of the displaying form e enter a description e enter keywords to the selected layer e find the EPSG 4326 SRS value from SRS list or enter manually to Declared SRS field Native SRS is probably unknown and you cannot change it e compute bounding box values and save the form data e repeat these steps with the other layers in hungary shapes Store Select a coordinate system Use the search box to narrow the list 4316 Dealul Piscului 1930 aj 4317 Dealul Piscului 1970 4318 NGN 4319 KUDAMS 4322 was 72 4324 WiGS 72BE 4326 was 84 4327 WGS 84 geographic 3D 4328 WGS 4 geocentric 4329 WGS 84 3D 4330 ITRF88 geocentric 4331 ITRF89 geocentric 4332 ITRF90 geocentric 4333 ITRF91 geocentric 4334 ITRF92 geocentric 14335 ITRF93 geocentric s Finally you should have seven hungary_shapes layers in layers list 3 2 3 3 2 Viewing layers GeoServer provides a great built in solution to checking served layers in different output format Select Layer Preview and look at the created layers in different f
14. f spatial files link We need this because the hungary shp contains several shapefiles 15 XMLmind XSL FO Converter WMS WES Server New data source Choose the type of data source you wish to configure Vector Data Sources B Directory oF spatial Ales Takes a directory of spatial data Ales and exposes it as a data store d PastGIS PostGIS Database d Postais INDI PostolS Database INDI G Properties Allows access to Java Property Ales containing Feature information d Shapefle ESRI Chm Shapefles shp d web Feature Server The wWFSDataStore represents a connection to a Web Feature Server ability to perform transactions on the server when supported allowed Raster Data Sources E Srcorid Arc Grid Coverage Format EI SeoTIFF Tagged Image File Format with Geographic information E Gtoposd Stopos0 Coverage Format ImageMosaic Image mosaicking plugin E worldImage A raster Ale accompanied by a spatial data Ale Select AWD workspace from the workspace list check Enabled and enter the followings e Data Source Name hungary shapes e Description Hungary from OSM e URL file data hungary shp Edit Vector Data Source Directory of spatial Ales Takes a directory of spatial data Ales and exposes it as a data store Basic Store Info Workspace ano Data Source Name hungan_shapes Description Hungary from OS tl I Enabled Connection Parameters URL file datafhungary shp Namespa
15. ing for cache control Let s get the capabilities of the local GeoServer Make sure that your server is running open a browser window and paste http localhost 8080 geoserver wms service wms request GetCapabilities Notes e The request in GeoServer works without the service parameters too e In GeoServer the deafult route of WMS is geoserver wms and the route of WES is geoserver wfs The response is an XML document It can be opened in an editor or Web browser The first part of it is in lt Service gt tag the second part is in lt Capability gt tag The Service contains information about the WMS service and the service contact who is responsible for the service These information can be configured on Administration interface Server Contact Information and Services WMS pages The Capability contains metadata about map formats layers legends SRSs Here is a part of the XML document that describes the natural layer from hungary_shapes lt Layer queryable 1 gt lt Name gt AWD natural lt Name gt S TES met m a Ik Wane he lt Abstract gt lt KeywordList gt SSIS BPCO e AS 26 SINS lt LatLonBoundingBox minx 16 12 miny 45 744 maxx 22 901 maxy 48 585 gt Boundaingsox SRS VEPSG 4326 mamx 16 020 miny 45 744 maxx 27 901 maxy 48 585 gt lt Style gt lt Name gt polygon lt Name gt Mieke Detect Polygon a e lt Abstract gt A sample style that draws a polygon lt Abstract gt lt LegendUR
16. nd services http www opengeospatial org resource products 1 XMLmind XSL FO Converter WMS WES Server Choose Components Choose which features of Apache Tomcat you want to install E EZ Tomcat V Start Menu Items i Gyer a component to V Documentation seg its description EGSIUOT your mouse C Examples Nullsoft Install System v2 46 Type the administrator user and password Configuration Tomcat basic configuration admin gui manager qui Nullsoft Install System v2 46 The default Tomcat port is 8080 The displayed roles are important to access for the Manager and Host manager applications Select the path of the installed Java Virtual Machine 2 Created by XMLmind XSL FO Converter WMS WES Server Java Virtual Machine Java Virtual Machine path selection C Program Files Javaljre z Mullsatt Instal system v2 4 If the installation is finished open localhost 8080 in your browser You should check your Manager and Host manager access a Apache Tomcat 0 11 x E 2 C A Okcahost 3009 oft re Foundation Softwa http www apache org Tomcat 7 0 11 if you re seeing this you ve successfully installed Tomcat Congratulations 3 Created by XMLmind XSL FO Converter WMS WES Server From Start menu Programs Apache Tomcat 7 0 besides the documentations a configuration tool is available With this tool you can set the properties of the server and start or
17. ns information about layergroups configurations palettes store image palettes for WMS in order to better serving plugIns contains plugin definitions security contains files to configure the GeoServer security subsystem styles contains Styled Layer Descriptor files templates contains files used by the GeoServer templating subsystem user projections contains epsg properties file which is used to define custom spatial reference systems workspaces contains metadata about layers www 15 used to allow GeoServer to act like a regular web server and serve regular files 2 3 3 2 4 Administration interface The GeoServer administration interface is available after logging in The left side of the interface contains the following main elements Server provides access to GeoServer environment information and enable some configurations Services configuration of WCS WFS WMS services Data adding editing deleting different data types and organize them into GeoServer data structures Security for setting user data and service security parameters Demos contains links to example requests and a list of known SRS Spatial Reference System it is available without logging in Layer Preview provides layer views in various output formats 6 XMLmind XSL FO Converter WMS WES Server Server amp Server Status GeoServer logs a Contact Information 3 Global Settings Fi JAI Settings F Coverage Access Settings
18. ormats To work with maps the standard defines three operations e GetCapabilities e GetMap e GetFeatureInfo This operations used in HTTP is requested by clients Each operation produces a response in a particular format WMS server which supports SLD Styled Layer Descriptor generally has DescribeLayer and GetLegendGraphic operations A HTTP GET request is an URL which has a query part after the character The query has parameters separated with sign The parameters are given with name and value separated with sign Here is an example http www example com myserver paraml valuel param2 value2 GeoServer supports both WMS 1 1 1 and 1 0 3 standards In GetMap request the srs parameter from 1 1 1 in 1 0 3 is changed to crs The axis ordering from longitude latitude or x y in 1 1 1 in 1 0 3 is changed to latitude longitude or y x In GetFeatureInfo request the x y parameters from 1 1 1 in 1 0 3 is changed to 1 j GetCapabilities This operation is used to get information about what operations and services are offered by a server The GetCapabilities parameters are 6 GeoServer User Manual Styling section http docs geoserver org stable en user styling index html 19 XMLmind XSL FO Converter WMS WES Server Request parameter Wanastoryoptons SERVICE WMS Service type REQUEST GetCapabiliies Request name FORMAT MIME type Output format of service metadata UPDATESEQUENCE stning Sequence number or str
19. ormats You can choose the Common Formats OpenLayers KML GML or Select one from the list 17 XMLmind XSL FO Converter WMS WES Server Select one Select one WMS AtomPub GIF GeoRSS JPEG KML compressed KML plain OpenLayers PDF PNG SYG Tiff S CSY GML2 GML2 GZIP GML3 GeoJSON Shapefile 3 3 3 3 3 Grouping layers Creating a group from layers is easy GeoServer calculate the bounds and provides options to add layers from any stores and declare the order of them Layer group Edit the contents of a layer groups Mame hungary layer _group Bounds Min lin Y Plaz A lax Y f b 114 se 743 2 901 hs 586 EP56 4326 Find EPSG was 84 Generate Bounda Ed Add Layer Layers lt Awi D places m i 4 AWD railways m i lt SQW Do wakterwaws ra I AWD natural m Styling can be done with the default style or by selecting an alternate style The output with default styles 18 XMLmind XSL FO Converter WMS WES Server Styling in GeoServer is based on Styled Layer Descriptor SLD OGC specification An SLD file can be created using the GeoServer built in editor which provides a validation also To get more information about styling see AWD Module 5 or read the User Manual 4 3 4 Web Map Service A Web Map Service WMS produces maps of spatially referenced data dynamically from geographic information WMS produced maps are generally rendered in PNG GIF JPEG SVG and WebCGM f
20. page of GeoServer B S aie y T Q r Winne Oo amp C A Oikeat AEn E S ater rvate ensima Renenter me aim Welcome I Mme Gec erver toros To The zent opg ama PI Server Canab twi Demers p 7 vi The Golera fetes true Vrn 20 3 Fo more rra bee Cortat rhe Layer Prewerw strevit ato wut A ws JN GeoServer is installed in Tomcat webapps directory For example on Windows the path looks like this C Program Files Apache Software Foundation Tomcat 7 0 webapps geoserver To log in the administrative area the default settings are e username admin e password geoserver 2 2 3 2 2 Data Directory The data directory stores all configurations including data sources services metadata and more The data directory path is geoserver data On Windows the full path looks like this C Program Files Apache Software Foundation Tomcat 7 0 webapps geoserver data The GeoServer data directory has the following structure e global xml contains general service settings and contact information e logging xml sets the logging parameters e wms xml contains WMS service metadata and settings e wfs xml contains WFS service metadata and settings e wcs xml contains WCS service metadata and settings e data used to store shp files and raster files e demo contains files for demonstrating sample requests e gwc store the cached data 5 XMLmind XSL FO Converter WMS WES Server layergroups contai
21. rg standards wms GeoServer User Manual Web Map Service http docs geoserver org stable en user services wms index html 10 OGC GML standard http www opengeospatial org standards gml 23 XMLmind XSL FO Converter WMS WES Server The result is an XML document GetFeature To get the geospatial data we can use the GetFeature request http localhost 8080 geoserver wfs service WFS amp version 1 1 0 amp request GetFeatureg typeName AWD railways The result is a GML document Read more about WES in the specification document or on the related pages of GeoServer User Manual To study some example requests open your server Demos page and select Demo requests link Bibliography GeoServer GeoServer User Manual 2011 http docs geoserver org stable en user Scott D GIS for Web developers Adding Where to Your Web Applications The Pragmatic Programmers LLC 2007 1 OGC WES standard http www opengeospatial org standards wfs 12 GeoServer User Manual Web Feature Service http docs geoserver org stable en user services wfs index html 24 XMLmind XSL FO Converter
22. tration interface of GeoServer including data management possibilities e added some layers to the server e demonstrated the geospatial data serving according to WMS and WES 2 3 2 About GeoServer GeoServer allow users to share and edit geospatial data using several types of data sources and serving maps in a standard way Being a community driven project GeoServer is developed tested and supported by a diverse group of individuals and organizations from around the world GeoServer functions as the reference implementation of the Open Geospatial Consortium WFS WMS standards and the WCS Web Coverage Service specification 2 1 3 2 1 Installing GeoServer There are some ways to install GeoServer on an operating system We will install it as a Web archive WAR a standalone servlet inside a servlet container As a servlet container web server we will use Apache Tomcat which is an open source tool developed by the Apache Software Foundation Tomcat requires Java Runtime Environment you can download it from here http www oracle com technetwork java javase downloads index html 2 1 1 3 2 1 1 Installing Apache Tomcat On Windows Download the 32 bit 64 bit Windows Service Installer from http tomcat apache org download 70 cgi Run the installer and select the Normal installation or the Custom one Manager is an important administrative tool to deploy applications Host manager is for manage virtual hosts OGC compliant softwares a
23. ver wmcy cenlecer 2 layers AWD natural amp styles polygon amp width 6006 height 400 GetFeaturelInfo The GetFeatureInfo operation is more information about features on the map images that were returned by previous Map requests The general use case for GetFeatureInfo is that a user sees the response of a Map request and chooses a point on that map for which to obtain more information dandaoryoptona Sau VERSION 1 3 0 Request version REQUEST Getf eatureinfo Partal copy of the Map request parameters that generated the map for which information ts desired QUERY_LAYERS layer_list INFO_FORMAT output_format M Return format of feature informadon MIME type FEATURE COUNT number o Number of features about which to return information i defauht 1 i pixel_ column M 1 coordinate in pixets of feature in Map CS EXCEP TIONS exception_format The format in which exceptions are to be reported by the WMS default XML Remember in WMS 1 1 1 there are x y instead of 1 and j parameters An example request Neto MocalmostescUs0 7 geoserver wns DEO e 12 45 744 22 901 48 5385 styles polygon amp format png amp 1 WMS Reflector http docs geoserver org stable en user tutorials wmsreflector html tutorials wmsreflector 22 XMLmind XSL FO Converter WMS WES Server Into prOnMar Eexe plains request GetFeatureInfo amp layers AWD natural amp queny layers AWD narrak width 6006
Download Pdf Manuals
Related Search
Related Contents
AudioSonic HF-1251 home audio set CS-ME7CB1P CS-ME10CB1P CS-ME12CB1P CS Video Wall Display User's Manual Oregon® serie 600 テキスト 平成23年5月号 No.1842A4版 24 ページ/4.5 MB PDF H8/3687用 Powermate PM0435252 Parts list MーTSUBーSHー Copyright © All rights reserved.
Failed to retrieve file