Changes between Version 1 and Version 2 of HowToViewSpatialIndexUsingGeoServerWMS
- Timestamp:
- 09/14/09 02:51:09 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToViewSpatialIndexUsingGeoServerWMS
v1 v2 1 1 '''Note:''' Warning: Using this, all metadata record's bounding box will be visible to all. Spatial index contains all metadata record and the WMS will not take care of filtering bounding box according to privileges. 2 2 3 == How-to browse your GeoNetwork spatial index using WMS in GeoServer ? ==4 === Create a link between spatial index directory to GeoServer data directory ===3 == How-to browse your GeoNetwork spatial index using WMS in !GeoServer ? == 4 === Create a link between spatial index directory to !GeoServer data directory === 5 5 {{{ 6 6 cd trunk/data/geoserver_data/data … … 8 8 }}} 9 9 10 === Configure GeoServer to deploy the spatial index shapefile === 10 Note: Here maybe there could be lock issue on the Shapefile if both !GeoNetwork and !GeoServer open the file (not tested). 11 A better option could be to make a copy of the files on a regular basis. 11 12 13 === Configure !GeoServer to deploy the spatial index Shapefile === 14 15 [[Image(1-datastore.png)]] 16 17 [[Image(2-set-shapefile.png)]] 18 19 [[Image(3-feature-type.png)]] 12 20 13 21 … … 59 67 }}} 60 68 61 === Access the WMS using a WMS client (eg. OpenLayers, GoogleEarth) ====69 === Access the WMS using a WMS client (eg. !OpenLayers, !GoogleEarth) ==== 62 70 ==== OpenLayers ==== 71 [[Image(4-openlayers.png)]] 63 72 64 ==== Google Earth ====65 You could use [http://docs.geoserver.org/1.7.x/en/user/google-earth/index.html GeoServer KML templating system] in order to style your KML. On issue will be that only the metadata record ID (internal GeoNetwork identifier) is available.66 73 74 ==== !GoogleEarth ==== 75 You could use [http://docs.geoserver.org/1.7.x/en/user/google-earth/index.html GeoServer KML templating system] in order to style your KML. On issue will be that only the metadata record ID (internal !GeoNetwork identifier) is available. 76 77 78 [[Image(4-googleearth.png)]] 67 79 68 80 KML Demo template: … … 83 95 === Comments === 84 96 * Another option at least for KML output is to create a searcher which output KML (Done in geocat.ch sandbox on top of a CSW searcher). 85 97 * In order to retrieve more information from the shapefile using TOS could be an option to create a more complete shapefile with metadata title, change date, ... 98 (TODO : point this how-to)