Äï»∫������ådocutils.nodesîådocumentîìî)Åî}î(å	rawsourceîå�îåchildrenî]îh�åsectionîìî)Åî}î(hhh]î(h�åtitleîìî)Åî}î(håMetacat's Use of Geoserverîh]îh�åTextîìîåMetacat‚Äôs Use of GeoserverîÖîÅî}î(hhåparentîhhhåsourceîNålineîNubaå
attributesî}î(åidsî]îåclassesî]îånamesî]îådupnamesî]îåbackrefsî]îuåtagnameîhhhhhhå[/var/lib/jenkins/jobs/metacat_beta/workspace/metacat/docs/user/metacat/source/geoserver.rstîhKubh�å	paragraphîìî)Åî}î(hXé��GeoServer 2.0.2, an open source Web Mapping Service (WMS) written in Java, is
bundled with Metacat and can be used to render spatial data as web-deliverable
maps. Metacat uses OpenLayers (http://openlayers.org/) to provide a web-based
user interface for interacting with the generated maps. You can use any
WMS-compatible client (e.g., ArcGIS, QGIS, JUMP, UDig, OpenLayers, Mapbender,
Map Builder).îh]î(håºGeoServer 2.0.2, an open source Web Mapping Service (WMS) written in Java, is
bundled with Metacat and can be used to render spatial data as web-deliverable
maps. Metacat uses OpenLayers (îÖîÅî}î(håºGeoServer 2.0.2, an open source Web Mapping Service (WMS) written in Java, is
bundled with Metacat and can be used to render spatial data as web-deliverable
maps. Metacat uses OpenLayers (îhh-hhhNhNubh�å	referenceîìî)Åî}î(håhttp://openlayers.org/îh]îhåhttp://openlayers.org/îÖîÅî}î(hhhh8ubah}î(h]îh!]îh#]îh%]îh']îårefuriîh:uh)h6hh-ubhåº) to provide a web-based
user interface for interacting with the generated maps. You can use any
WMS-compatible client (e.g., ArcGIS, QGIS, JUMP, UDig, OpenLayers, Mapbender,
Map Builder).îÖîÅî}î(håº) to provide a web-based
user interface for interacting with the generated maps. You can use any
WMS-compatible client (e.g., ArcGIS, QGIS, JUMP, UDig, OpenLayers, Mapbender,
Map Builder).îhh-hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhhhhubh,)Åî}î(håÊIMPORTANT: Regardless of whether you plan on using the mapping functionality
you should, for security purposes, configure GeoServer so that it doesn't
use the default password. For instructions, please see
Geoserver Configuration.îh]îhåËIMPORTANT: Regardless of whether you plan on using the mapping functionality
you should, for security purposes, configure GeoServer so that it doesn’t
use the default password. For instructions, please see
Geoserver Configuration.îÖîÅî}î(hhThhRhhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhhhhubh�åfigureîìî)Åî}î(hhh]î(h�åimageîìî)Åî}î(hå€.. figure:: images/screenshots/image051.jpg
   :align: center

   A map generated by Metacat's GeoServer. Points and "bounding boxes"
   represent the geographic extent of datasets stored in the KNB Metacat repository.
îh]îh}î(h]îh!]îh#]îh%]îh']îåuriîåimages/screenshots/image051.jpgîå
candidatesî}îå*îhrsuh)hehhbhh*hKubh�åcaptionîìî)Åî}î(håïA map generated by Metacat's GeoServer. Points and "bounding boxes"
represent the geographic extent of datasets stored in the KNB Metacat repository.îh]îhåõA map generated by Metacat‚Äôs GeoServer. Points and ‚Äúbounding boxes‚Äù
represent the geographic extent of datasets stored in the KNB Metacat repository.îÖîÅî}î(hhzhhxubah}î(h]îh!]îh#]îh%]îh']îuh)hvhh*hKhhbubeh}î(h]îåid1îah!]îh#]îh%]îh']îåalignîåcenterîuh)h`hKhhhhhh*ubh,)Åî}î(håªGeoServer supports a wide variety of vector GIS data sources, which can be
styled using Styled Layer Descriptors (SLDs) and output as images (the default)
or raw vector data (GML or KML).îh]îhåªGeoServer supports a wide variety of vector GIS data sources, which can be
styled using Styled Layer Descriptors (SLDs) and output as images (the default)
or raw vector data (GML or KML).îÖîÅî}î(hhëhhèhhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhhhhubh,)Åî}î(hå@Currently, GeoServer can be used with the following limitations:îh]îhå@Currently, GeoServer can be used with the following limitations:îÖîÅî}î(hhühhùhhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhhhhubh�åbullet_listîìî)Åî}î(hhh]îh�å	list_itemîìî)Åî}î(hå©GeoServer will only map documents that are publicly available. This is
because the mapping server's support for permissions control is not as
fine-grained as Metacat's.
îh]îh,)Åî}î(hå®GeoServer will only map documents that are publicly available. This is
because the mapping server's support for permissions control is not as
fine-grained as Metacat's.îh]îhå¨GeoServer will only map documents that are publicly available. This is
because the mapping server’s support for permissions control is not as
fine-grained as Metacat‚Äôs.îÖîÅî}î(hh∏hh∂ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhh≤ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hh≠hhhh*hNubah}î(h]îh!]îh#]îh%]îh']îåbulletîhuuh)h´hh*hKhhhhubh,)Åî}î(hXO��Metacat developers plan to continue extending and improving Metacat's mapping
capabilities. If you are interested in contributing to those efforts, or if
you are interested in learning more about the architecture and future plans for
the mapping software, please contact the Metacat  development
team  (metacat-dev@ecoinformatics.org).îh]î(hX1��Metacat developers plan to continue extending and improving Metacat‚Äôs mapping
capabilities. If you are interested in contributing to those efforts, or if
you are interested in learning more about the architecture and future plans for
the mapping software, please contact the Metacat  development
team  (îÖîÅî}î(hX/��Metacat developers plan to continue extending and improving Metacat's mapping
capabilities. If you are interested in contributing to those efforts, or if
you are interested in learning more about the architecture and future plans for
the mapping software, please contact the Metacat  development
team  (îhh—hhhNhNubh7)Åî}î(håmetacat-dev@ecoinformatics.orgîh]îhåmetacat-dev@ecoinformatics.orgîÖîÅî}î(hhhh⁄ubah}î(h]îh!]îh#]îh%]îh']îårefuriîå%mailto:metacat-dev@ecoinformatics.orgîuh)h6hh—ubhå).îÖîÅî}î(hå).îhh—hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK hhhhubh
)Åî}î(hhh]î(h)Åî}î(håInstalling and Configuringîh]îhåInstalling and ConfiguringîÖîÅî}î(hh˙hh¯hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhhıhhhh*hK'ubh,)Åî}î(hX��The GeoServer webapp should be installed as a sibling of Metacat. If you do
NOT wish to run GeoServer, the deployment can be skipped, but any skins that
use maps will not render correctly. (NOTE: Geoserver recommends using a PermGen
space setting of at least 128MB.).îh]îhX��The GeoServer webapp should be installed as a sibling of Metacat. If you do
NOT wish to run GeoServer, the deployment can be skipped, but any skins that
use maps will not render correctly. (NOTE: Geoserver recommends using a PermGen
space setting of at least 128MB.).îÖîÅî}î(hj��hj��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK(hhıhhubh,)Åî}î(hXÊ��Metacat comes with a pre-configured data directory to be used by GeoServer.
This includes a world-countries base layer and a default configuration that
is already aware of Metacat's spatial cache. The Metacat configuration interface
is used to configure GeoServer to use this shared data directory. To further
configure GeoServer, use the Web-based configuration utility,
which is available at: http://your.server.com/<geoserver_context>
(e.g., http://knb.ecoinformatics.org/geoserver).îh]î(hXç��Metacat comes with a pre-configured data directory to be used by GeoServer.
This includes a world-countries base layer and a default configuration that
is already aware of Metacat’s spatial cache. The Metacat configuration interface
is used to configure GeoServer to use this shared data directory. To further
configure GeoServer, use the Web-based configuration utility,
which is available at: îÖîÅî}î(hXã��Metacat comes with a pre-configured data directory to be used by GeoServer.
This includes a world-countries base layer and a default configuration that
is already aware of Metacat's spatial cache. The Metacat configuration interface
is used to configure GeoServer to use this shared data directory. To further
configure GeoServer, use the Web-based configuration utility,
which is available at: îhj��hhhNhNubh7)Åî}î(håhttp://your.server.comîh]îhåhttp://your.server.comîÖîÅî}î(hhhj��ubah}î(h]îh!]îh#]îh%]îh']îårefuriîj��uh)h6hj��ubhå/<geoserver_context>
(e.g., îÖîÅî}î(hå/<geoserver_context>
(e.g., îhj��hhhNhNubh7)Åî}î(hå'http://knb.ecoinformatics.org/geoserverîh]îhå'http://knb.ecoinformatics.org/geoserverîÖîÅî}î(hhhj1��ubah}î(h]îh!]îh#]îh%]îh']îårefuriîj3��uh)h6hj��ubhå).îÖîÅî}î(hå).îhj��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK-hhıhhubh,)Åî}î(hå#Common configuration tasks include:îh]îhå#Common configuration tasks include:îÖîÅî}î(hjM��hjK��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK5hhıhhubh¨)Åî}î(hhh]î(h±)Åî}î(hå"Adding a Map to a Web Page or Skinîh]îh,)Åî}î(hj^��h]îhå"Adding a Map to a Web Page or SkinîÖîÅî}î(hj^��hj`��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK7hj\��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubh±)Åî}î(hå2Configuring the Size and Initial Extent of the Mapîh]îh,)Åî}î(hju��h]îhå2Configuring the Size and Initial Extent of the MapîÖîÅî}î(hju��hjw��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK8hjs��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubh±)Åî}î(hå4Configuring the Layout of the HTML Mapping Interfaceîh]îh,)Åî}î(hjå��h]îhå4Configuring the Layout of the HTML Mapping InterfaceîÖîÅî}î(hjå��hjé��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK9hjä��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubh±)Åî}î(hå/Configuring the "Select Location Drop-down Menuîh]îh,)Åî}î(hj£��h]îhå1Configuring the ‚ÄúSelect Location Drop-down MenuîÖîÅî}î(hj£��hj•��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK:hj°��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubh±)Åî}î(håOConfiguring the Visual Portrayal of Geospatial Data (e.g., symbology and color)îh]îh,)Åî}î(hj∫��h]îhåOConfiguring the Visual Portrayal of Geospatial Data (e.g., symbology and color)îÖîÅî}î(hj∫��hjº��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK;hj∏��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubh±)Åî}î(hå-Adding Other Spatial Datasets to the Web Map
îh]îh,)Åî}î(hå,Adding Other Spatial Datasets to the Web Mapîh]îhå,Adding Other Spatial Datasets to the Web MapîÖîÅî}î(hj’��hj”��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK<hjœ��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjY��hhhh*hNubeh}î(h]îh!]îh#]îh%]îh']îh–huuh)h´hh*hK7hhıhhubha)Åî}î(hhh]î(hf)Åî}î(hår.. figure:: images/screenshots/image053.png
   :align: center

   GeoServer's Web-based administrative interface.
îh]îh}î(h]îh!]îh#]îh%]îh']îåuriîåimages/screenshots/image053.pngîhs}îhuj˚��suh)hehjÌ��hh*hKAubhw)Åî}î(hå/GeoServer's Web-based administrative interface.îh]îhå1GeoServer‚Äôs Web-based administrative interface.îÖîÅî}î(hjˇ��hj˝��ubah}î(h]îh!]îh#]îh%]îh']îuh)hvhh*hKAhjÌ��ubeh}î(h]îåid2îah!]îh#]îh%]îh']îhçåcenterîuh)h`hKAhhıhhhh*ubh,)Åî}î(håGNote: Some configurations may need to be made to the XML files as well.îh]îhåGNote: Some configurations may need to be made to the XML files as well.îÖîÅî}î(hj��hj��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKChhıhhubh,)Åî}î(hXD��OpenLayers, which Metacat uses as the front-end for GeoServer's WMS service,
provides interface components or "widgets" (e.g., the map, a box zoom, layer
list, "Select Location" drop-down menu, scale bar, lat/long coordinates, and
a query form) that make it easy to deploy web-based mapping applications with
minimal coding.îh]îhXN��OpenLayers, which Metacat uses as the front-end for GeoServer‚Äôs WMS service,
provides interface components or “widgets” (e.g., the map, a box zoom, layer
list, “Select Location” drop-down menu, scale bar, lat/long coordinates, and
a query form) that make it easy to deploy web-based mapping applications with
minimal coding.îÖîÅî}î(hj#��hj!��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKEhhıhhubh,)Åî}î(hårOpenLayers has three main configuration files used to customize the map interface.
Default configurations are in::îh]îhåqOpenLayers has three main configuration files used to customize the map interface.
Default configurations are in:îÖîÅî}î(håqOpenLayers has three main configuration files used to customize the map interface.
Default configurations are in:îhj/��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKKhhıhhubh�å
literal_blockîìî)Åî}î(hå"$METACAT/lib/style/common/spatial/îh]îhå"$METACAT/lib/style/common/spatial/îÖîÅî}î(hhhj@��ubah}î(h]îh!]îh#]îh%]îh']îå	xml:spaceîåpreserveîuh)j>��hKNhhıhhhh*ubh�åtableîìî)Åî}î(hhh]îh�åtgroupîìî)Åî}î(hhh]î(h�åcolspecîìî)Åî}î(hhh]îh}î(h]îh!]îh#]îh%]îh']îåcolwidthîK"uh)jZ��hjW��ubj[��)Åî}î(hhh]îh}î(h]îh!]îh#]îh%]îh']îåcolwidthîKuh)jZ��hjW��ubj[��)Åî}î(hhh]îh}î(h]îh!]îh#]îh%]îh']îåcolwidthîK=uh)jZ��hjW��ubh�åtheadîìî)Åî}î(hhh]îh�årowîìî)Åî}î(hhh]î(h�åentryîìî)Åî}î(hhh]îh,)Åî}î(håDocumentîh]îhåDocumentîÖîÅî}î(hjã��hjâ��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKQhjÜ��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjÅ��ubjÖ��)Åî}î(hhh]îh,)Åî}î(håLocationîh]îhåLocationîÖîÅî}î(hj¢��hj†��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKQhjù��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjÅ��ubjÖ��)Åî}î(hhh]îh,)Åî}î(håDescriptionîh]îhåDescriptionîÖîÅî}î(hjπ��hj∑��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKQhj¥��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjÅ��ubeh}î(h]îh!]îh#]îh%]îh']îuh)j��hj|��ubah}î(h]îh!]îh#]îh%]îh']îuh)jz��hjW��ubh�åtbodyîìî)Åî}î(hhh]î(jÄ��)Åî}î(hhh]î(jÖ��)Åî}î(hhh]îh,)Åî}î(håThe named location fileîh]îhåThe named location fileîÖîÅî}î(hj‰��hj‚��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKShjfl��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj‹��ubjÖ��)Åî}î(hhh]îh,)Åî}î(hå
locations.jspîh]îhå
locations.jspîÖîÅî}î(hj˚��hj˘��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKShjˆ��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj‹��ubjÖ��)Åî}î(hhh]îh,)Åî}î(hå;The list of pre-defined locations (name and lat/lon bounds)îh]îhå;The list of pre-defined locations (name and lat/lon bounds)îÖîÅî}î(hj��hj��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKShj
��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj‹��ubeh}î(h]îh!]îh#]îh%]îh']îuh)j��hjŸ��ubjÄ��)Åî}î(hhh]î(jÖ��)Åî}î(hhh]îh,)Åî}î(håMain map rendering functionsîh]îhåMain map rendering functionsîÖîÅî}î(hj2��hj0��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKUhj-��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj*��ubjÖ��)Åî}î(hhh]îh,)Åî}î(håmaps.jsîh]îhåmaps.jsîÖîÅî}î(hjI��hjG��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKUhjD��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj*��ubjÖ��)Åî}î(hhh]îh,)Åî}î(hå+Defines the map, widgets and their behaviorîh]îhå+Defines the map, widgets and their behaviorîÖîÅî}î(hj`��hj^��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKUhj[��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hj*��ubeh}î(h]îh!]îh#]îh%]îh']îuh)j��hjŸ��ubjÄ��)Åî}î(hhh]î(jÖ��)Åî}î(hhh]îh,)Åî}î(hå The rendered map and page layoutîh]îhå The rendered map and page layoutîÖîÅî}î(hjÄ��hj~��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKWhj{��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjx��ubjÖ��)Åî}î(hhh]îh,)Åî}î(håmap.jspîh]îhåmap.jspîÖîÅî}î(hjó��hjï��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKWhjí��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjx��ubjÖ��)Åî}î(hhh]îh,)Åî}î(hå:Loads the map and controls the HTML layout of the widgets.îh]îhå:Loads the map and controls the HTML layout of the widgets.îÖîÅî}î(hjÆ��hj¨��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKWhj©��ubah}î(h]îh!]îh#]îh%]îh']îuh)jÑ��hjx��ubeh}î(h]îh!]îh#]îh%]îh']îuh)j��hjŸ��ubeh}î(h]îh!]îh#]îh%]îh']îuh)j◊��hjW��ubeh}î(h]îh!]îh#]îh%]îh']îåcolsîKuh)jU��hjR��ubah}î(h]îh!]îh#]îh%]îh']îuh)jP��hhıhhhh*hNubh,)Åî}î(hXã��NOTE: By default, the first time Metacat is restarted, it generates a
"spatial cache" containing geographic information about documents in its
repository. This default behavior is specified in lib/metacat.properties,
where the regenerateCacheOnRestart parameter is set to true. The information
in the spatial cache is stored in a GIS-compatible format (the ESRI Shapefile)
and consists of the document name and its geographic coverage. When documents
are inserted, deleted, and updated in the Metacat repository, Metacat
automatically syncs the spatial cache to reflect the changes. Because
generating the cache can take a considerable amount of time (several minutes
in the case of a few thousand documents), Metacat resets the
regenerateCacheOnRestart property to false after the spatial cache has been
generated. Note that if you upgrade or reinstall Metacat, the spatial cache
will be regenerated again.îh]îhXè��NOTE: By default, the first time Metacat is restarted, it generates a
“spatial cache” containing geographic information about documents in its
repository. This default behavior is specified in lib/metacat.properties,
where the regenerateCacheOnRestart parameter is set to true. The information
in the spatial cache is stored in a GIS-compatible format (the ESRI Shapefile)
and consists of the document name and its geographic coverage. When documents
are inserted, deleted, and updated in the Metacat repository, Metacat
automatically syncs the spatial cache to reflect the changes. Because
generating the cache can take a considerable amount of time (several minutes
in the case of a few thousand documents), Metacat resets the
regenerateCacheOnRestart property to false after the spatial cache has been
generated. Note that if you upgrade or reinstall Metacat, the spatial cache
will be regenerated again.îÖîÅî}î(hj€��hjŸ��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKZhhıhhubh
)Åî}î(hhh]î(h)Åî}î(hå"Adding a Map to a Web Page or Skinîh]îhå"Adding a Map to a Web Page or SkinîÖîÅî}î(hjÏ��hjÍ��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhjÁ��hhhh*hKiubh,)Åî}î(håNTo add a map to a Web page, simply include the map interface using an iframe::îh]îhåMTo add a map to a Web page, simply include the map interface using an iframe:îÖîÅî}î(håMTo add a map to a Web page, simply include the map interface using an iframe:îhj¯��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKjhjÁ��hhubj?��)Åî}î(hå~<iframe scrolling="no" frameborder="0" width="780" height="420"
        src="/metacat/style/common/spatial/map.jsp">
</iframe>îh]îhå~<iframe scrolling="no" frameborder="0" width="780" height="420"
        src="/metacat/style/common/spatial/map.jsp">
</iframe>îÖîÅî}î(hhhj��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hKlhjÁ��hhhh*ubh,)Åî}î(håÂThe map URL, ``/metacat/style/common/spatial/map.jsp``, is
the default map interface. If you plan to customize the map interface, copy
the map.jsp file into your skin's directory (either the default or
customized skin directory).îh]î(hå
The map URL, îÖîÅî}î(hå
The map URL, îhj��hhhNhNubh�åliteralîìî)Åî}î(hå)``/metacat/style/common/spatial/map.jsp``îh]îhå%/metacat/style/common/spatial/map.jspîÖîÅî}î(hhhj ��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj��ubhå±, is
the default map interface. If you plan to customize the map interface, copy
the map.jsp file into your skin’s directory (either the default or
customized skin directory).îÖîÅî}î(håØ, is
the default map interface. If you plan to customize the map interface, copy
the map.jsp file into your skin's directory (either the default or
customized skin directory).îhj��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKphjÁ��hhubj?��)Åî}î(hå@cp -r style/common/spatial/map.jsp /style/skins/<myskin>/spatialîh]îhå@cp -r style/common/spatial/map.jsp /style/skins/<myskin>/spatialîÖîÅî}î(hhhj9��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hKwhjÁ��hhhh*ubh,)Åî}î(håaYou can access the customized map with the URL: ``/metacat/style/skins/<myskin>/spatial/map.jsp``îh]î(hå0You can access the customized map with the URL: îÖîÅî}î(hå0You can access the customized map with the URL: îhjG��hhhNhNubj��)Åî}î(hå1``/metacat/style/skins/<myskin>/spatial/map.jsp``îh]îhå-/metacat/style/skins/<myskin>/spatial/map.jspîÖîÅî}î(hhhjP��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjG��ubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKyhjÁ��hhubeh}î(h]îå"adding-a-map-to-a-web-page-or-skinîah!]îh#]îå"adding a map to a web page or skinîah%]îh']îuh)h	hhıhhhh*hKiubh
)Åî}î(hhh]î(h)Åî}î(hå2Configuring the Size and Initial Extent of the Mapîh]îhå2Configuring the Size and Initial Extent of the MapîÖîÅî}î(hjq��hjo��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhjl��hhhh*hK|ubh,)Åî}î(hX!��Before you configure the size and initial extent of the map, make sure that you
have copied the map layout page into your skin's directory (See
:doc:`configuration` for directions). Once the file has been copied, you can
modify the map's initial extent in: ``${skin.dir}/spatial/map.jsp``.îh]î(håíBefore you configure the size and initial extent of the map, make sure that you
have copied the map layout page into your skin’s directory (See
îÖîÅî}î(håêBefore you configure the size and initial extent of the map, make sure that you
have copied the map layout page into your skin's directory (See
îhj}��hhhNhNubåsphinx.addnodesîåpending_xrefîìî)Åî}î(hå:doc:`configuration`îh]îh�åinlineîìî)Åî}î(hjã��h]îhå
configurationîÖîÅî}î(hhhjè��ubah}î(h]îh!]î(åxrefîåstdîåstd-docîeh#]îh%]îh']îuh)jç��hjâ��ubah}î(h]îh!]îh#]îh%]îh']îåreftypeîådocîå	refdomainîjö��årefexplicitîâå	reftargetîå
configurationîårefdocîå	geoserverîårefwarnîàuh)já��hh*hK}hj}��ubhå_ for directions). Once the file has been copied, you can
modify the map‚Äôs initial extent in: îÖîÅî}î(hå] for directions). Once the file has been copied, you can
modify the map's initial extent in: îhj}��hhhNhNubj��)Åî}î(hå``${skin.dir}/spatial/map.jsp``îh]îhå${skin.dir}/spatial/map.jspîÖîÅî}î(hhhj≥��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj}��ubhå.îÖîÅî}î(hå.îhj}��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK}hjl��hhubh,)Åî}î(håŸTo change the map's initial extent, edit the bounding box. The default is to
show the entire globe. The ``initMap()`` function should also be given the skin
name so that spatial search results can be correctly styled.îh]î(håjTo change the map‚Äôs initial extent, edit the bounding box. The default is to
show the entire globe. The îÖîÅî}î(håhTo change the map's initial extent, edit the bounding box. The default is to
show the entire globe. The îhjÃ��hhhNhNubj��)Åî}î(hå
``initMap()``îh]îhå	initMap()îÖîÅî}î(hhhj’��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjÃ��ubhåd function should also be given the skin
name so that spatial search results can be correctly styled.îÖîÅî}î(håd function should also be given the skin
name so that spatial search results can be correctly styled.îhjÃ��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKÇhjl��hhubj?��)Åî}î(håÛ<script type="text/javascript">
    function init() {
       var bounds = new OpenLayers.Bounds(-180,-90,180,90);
       // make the map for this skin
       initMap("<%=GEOSERVER_URL%>", "<%=SERVLET_URL%>", "default", bounds);
    }
</script>îh]îhåÛ<script type="text/javascript">
    function init() {
       var bounds = new OpenLayers.Bounds(-180,-90,180,90);
       // make the map for this skin
       initMap("<%=GEOSERVER_URL%>", "<%=SERVLET_URL%>", "default", bounds);
    }
</script>îÖîÅî}î(hhhjÓ��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hKàhjl��hhhh*ubh,)Åî}î(håpThe size (height/width) of the map can be controlled by the ``#map`` CSS entry
included in the ``map.jsp`` page.îh]î(hå<The size (height/width) of the map can be controlled by the îÖîÅî}î(hå<The size (height/width) of the map can be controlled by the îhj¸��hhhNhNubj��)Åî}î(hå``#map``îh]îhå#mapîÖîÅî}î(hhhj��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj¸��ubhå CSS entry
included in the îÖîÅî}î(hå CSS entry
included in the îhj¸��hhhNhNubj��)Åî}î(hå``map.jsp``îh]îhåmap.jspîÖîÅî}î(hhhj��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj¸��ubhå page.îÖîÅî}î(hå page.îhj¸��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKêhjl��hhubeh}î(h]îå2configuring-the-size-and-initial-extent-of-the-mapîah!]îh#]îå2configuring the size and initial extent of the mapîah%]îh']îuh)h	hhıhhhh*hK|ubh
)Åî}î(hhh]î(h)Åî}î(hå4Configuring the Layout of the HTML Mapping Interfaceîh]îhå4Configuring the Layout of the HTML Mapping InterfaceîÖîÅî}î(hj>��hj<��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhj9��hhhh*hKîubh,)Åî}î(håVThe size and initial extent of the map can be edited in : ${skin.dir}/spatial/map.jsp.îh]îhåVThe size and initial extent of the map can be edited in : ${skin.dir}/spatial/map.jsp.îÖîÅî}î(hjL��hjJ��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKïhj9��hhubh,)Åî}î(håóThe map.jsp is a simple container that can be included in other more complex
pages if desired. It contains the map, widgets and location dropdown list.îh]îhåóThe map.jsp is a simple container that can be included in other more complex
pages if desired. It contains the map, widgets and location dropdown list.îÖîÅî}î(hjZ��hjX��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKóhj9��hhubeh}î(h]îå4configuring-the-layout-of-the-html-mapping-interfaceîah!]îh#]îå4configuring the layout of the html mapping interfaceîah%]îh']îuh)h	hhıhhhh*hKîubh
)Åî}î(hhh]î(h)Åî}î(hå0Configuring the "Select Location" Drop-down Menuîh]îhå4Configuring the ‚ÄúSelect Location‚Äù Drop-down MenuîÖîÅî}î(hjs��hjq��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhjn��hhhh*hKõubh,)Åî}î(hX7��The locations that appear in the "Select Location" drop-down menu are specified
in the ``locations.jsp`` file. The locations.jsp can be copied from the common
spatial template into your skin directory. Each location is defined as an
HTML ``<option/>`` tag. Edit the value and label to edit or add new locations.îh]î(hå[The locations that appear in the ‚ÄúSelect Location‚Äù drop-down menu are specified
in the îÖîÅî}î(håWThe locations that appear in the "Select Location" drop-down menu are specified
in the îhj��hhhNhNubj��)Åî}î(hå``locations.jsp``îh]îhå
locations.jspîÖîÅî}î(hhhjà��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj��ubhåÜ file. The locations.jsp can be copied from the common
spatial template into your skin directory. Each location is defined as an
HTML îÖîÅî}î(håÜ file. The locations.jsp can be copied from the common
spatial template into your skin directory. Each location is defined as an
HTML îhj��hhhNhNubj��)Åî}î(hå
``<option/>``îh]îhå	<option/>îÖîÅî}î(hhhjõ��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj��ubhå< tag. Edit the value and label to edit or add new locations.îÖîÅî}î(hå< tag. Edit the value and label to edit or add new locations.îhj��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKúhjn��hhubj?��)Åî}î(håL<option value="-149.725,68.475 -149.3254,68.725"> Arctic LTER (ARC)</option>îh]îhåL<option value="-149.725,68.475 -149.3254,68.725"> Arctic LTER (ARC)</option>îÖîÅî}î(hhhj¥��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hK£hjn��hhhh*ubeh}î(h]îå.configuring-the-select-location-drop-down-menuîah!]îh#]îå0configuring the "select location" drop-down menuîah%]îh']îuh)h	hhıhhhh*hKõubh
)Åî}î(hhh]î(h)Åî}î(håOConfiguring the Visual Portrayal of Geospatial Data (e.g., symbology and color)îh]îhåOConfiguring the Visual Portrayal of Geospatial Data (e.g., symbology and color)îÖîÅî}î(hjœ��hjÕ��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhj ��hhhh*hK¶ubh,)Åî}î(hX��Geospatial data sets are styled through the use of Styled Layer Descriptors
(SLD). The default SLDs used for the data points and data bounding boxes are in
``/lib/spatial/geoserver/data/styles/`` and are named data_points_style.sld and
data_bounds_style.sld, respectively.îh]î(håúGeospatial data sets are styled through the use of Styled Layer Descriptors
(SLD). The default SLDs used for the data points and data bounding boxes are in
îÖîÅî}î(håúGeospatial data sets are styled through the use of Styled Layer Descriptors
(SLD). The default SLDs used for the data points and data bounding boxes are in
îhj€��hhhNhNubj��)Åî}î(hå'``/lib/spatial/geoserver/data/styles/``îh]îhå#/lib/spatial/geoserver/data/styles/îÖîÅî}î(hhhj‰��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj€��ubhåM and are named data_points_style.sld and
data_bounds_style.sld, respectively.îÖîÅî}î(håM and are named data_points_style.sld and
data_bounds_style.sld, respectively.îhj€��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKßhj ��hhubh,)Åî}î(håbYou can find a more detailed tutorial on using SLD with GeoServer in the GeoServer documentation::îh]îhåaYou can find a more detailed tutorial on using SLD with GeoServer in the GeoServer documentation:îÖîÅî}î(håaYou can find a more detailed tutorial on using SLD with GeoServer in the GeoServer documentation:îhj˝��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK¨hj ��hhubj?��)Åî}î(håhttp://docs.geoserver.org/îh]îhåhttp://docs.geoserver.org/îÖîÅî}î(hhhj��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hKÆhj ��hhhh*ubeh}î(h]îåKconfiguring-the-visual-portrayal-of-geospatial-data-e-g-symbology-and-colorîah!]îh#]îåOconfiguring the visual portrayal of geospatial data (e.g., symbology and color)îah%]îh']îuh)h	hhıhhhh*hK¶ubh
)Åî}î(hhh]î(h)Åî}î(hå,Adding Other Spatial Datasets to the Web Mapîh]îhå,Adding Other Spatial Datasets to the Web MapîÖîÅî}î(hj'��hj%��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhj"��hhhh*hK±ubh,)Åî}î(hX!��If you have vector GIS data sets, such as weather or topographical information,
on your server that you'd like to include in the interactive map, you must
first register the data set with GeoServer. After the data set has been
registered, you can add the layer to the map. You can also add spatial layers
that have been made publically available through WMS (There are hundreds of
spatial data sets available. Check out wms-sites.com for good catalog).
Instructions for adding publically available layers are included at the end
of this section.îh]îhX#��If you have vector GIS data sets, such as weather or topographical information,
on your server that you’d like to include in the interactive map, you must
first register the data set with GeoServer. After the data set has been
registered, you can add the layer to the map. You can also add spatial layers
that have been made publically available through WMS (There are hundreds of
spatial data sets available. Check out wms-sites.com for good catalog).
Instructions for adding publically available layers are included at the end
of this section.îÖîÅî}î(hj5��hj3��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK≤hj"��hhubh,)Åî}î(hå/To register the data set and add it to the map:îh]îhå/To register the data set and add it to the map:îÖîÅî}î(hjC��hjA��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKªhj"��hhubh�åenumerated_listîìî)Åî}î(hhh]î(h±)Åî}î(håöPoint your browser to ``http://your.server/geoserver``, log in to GeoServer,
and navigate to the "Data Stores" configuration page under ``Data > Stores``.îh]îh,)Åî}î(håöPoint your browser to ``http://your.server/geoserver``, log in to GeoServer,
and navigate to the "Data Stores" configuration page under ``Data > Stores``.îh]î(håPoint your browser to îÖîÅî}î(håPoint your browser to îhjX��ubj��)Åî}î(hå ``http://your.server/geoserver``îh]îhåhttp://your.server/geoserverîÖîÅî}î(hhhja��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjX��ubhåV, log in to GeoServer,
and navigate to the ‚ÄúData Stores‚Äù configuration page under îÖîÅî}î(håR, log in to GeoServer,
and navigate to the "Data Stores" configuration page under îhjX��ubj��)Åî}î(hå``Data > Stores``îh]îhå
Data > StoresîÖîÅî}î(hhhjt��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjX��ubhå.îÖîÅî}î(hj≈��hjX��ubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKΩhjT��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjQ��hhhh*hNubh±)Åî}î(håMCreate a new vector data source from a Shapefile in the "metacat" workspace.
îh]îh,)Åî}î(håLCreate a new vector data source from a Shapefile in the "metacat" workspace.îh]îhåPCreate a new vector data source from a Shapefile in the ‚Äúmetacat‚Äù workspace.îÖîÅî}î(hjò��hjñ��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKøhjí��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjQ��hhhh*hNubeh}î(h]îh!]îh#]îh%]îh']îåenumtypeîåarabicîåprefixîhåsuffixîj≈��uh)jO��hj"��hhhh*hKΩubha)Åî}î(hhh]î(hf)Åî}î(håê.. figure:: images/screenshots/image055.png
   :align: center

   Creating a new shapefile using GeoServers web-based administrative interface.
îh]îh}î(h]îh!]îh#]îh%]îh']îåuriîåimages/screenshots/image055.pngîhs}îhuj¬��suh)hehj¥��hh*hKƒubhw)Åî}î(håMCreating a new shapefile using GeoServers web-based administrative interface.îh]îhåMCreating a new shapefile using GeoServers web-based administrative interface.îÖîÅî}î(hj∆��hjƒ��ubah}î(h]îh!]îh#]îh%]îh']îuh)hvhh*hKƒhj¥��ubeh}î(h]îåid3îah!]îh#]îh%]îh']îhçåcenterîuh)h`hKƒhj"��hhhh*ubjP��)Åî}î(hhh]î(h±)Åî}î(hååThe Description, if specified, is mostly used internally to provide other
administrators with information about the DataStore. Click Submit.îh]îh,)Åî}î(hååThe Description, if specified, is mostly used internally to provide other
administrators with information about the DataStore. Click Submit.îh]îhååThe Description, if specified, is mostly used internally to provide other
administrators with information about the DataStore. Click Submit.îÖîÅî}î(hj„��hj·��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK∆hj›��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj⁄��hhhh*hNubh±)Åî}î(håkNavigate to the "Layers" configuration page under Data > Layers.
Add a new Layer from your new data source.îh]îh,)Åî}î(håkNavigate to the "Layers" configuration page under Data > Layers.
Add a new Layer from your new data source.îh]îhåoNavigate to the ‚ÄúLayers‚Äù configuration page under Data > Layers.
Add a new Layer from your new data source.îÖîÅî}î(hj˚��hj˘��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK»hjı��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj⁄��hhhh*hNubh±)Åî}î(hå›You should also define a spatial reference system (SRS) number for the new
layer. Most lat/long data is "4326". If your data is in another projection,
determine its spatial reference system using the help links provided.
îh]îh,)Åî}î(hå‹You should also define a spatial reference system (SRS) number for the new
layer. Most lat/long data is "4326". If your data is in another projection,
determine its spatial reference system using the help links provided.îh]îhå‡You should also define a spatial reference system (SRS) number for the new
layer. Most lat/long data is “4326”. If your data is in another projection,
determine its spatial reference system using the help links provided.îÖîÅî}î(hj��hj��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK hj
��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj⁄��hhhh*hNubeh}î(h]îh!]îh#]îh%]îh']îj∞��j±��j≤��hj≥��j≈��åstartîKuh)jO��hj"��hhhh*hK∆ubha)Åî}î(hhh]î(hf)Åî}î(håü.. figure:: images/screenshots/image057.png
   :align: center

   GeoServer's FeatureType configuration. The SRS settings discussed in step 5 are highlighted.
îh]îh}î(h]îh!]îh#]îh%]îh']îåuriîåimages/screenshots/image057.pngîhs}îhuj:��suh)hehj,��hh*hK—ubhw)Åî}î(hå\GeoServer's FeatureType configuration. The SRS settings discussed in step 5 are highlighted.îh]îhå^GeoServer‚Äôs FeatureType configuration. The SRS settings discussed in step 5 are highlighted.îÖîÅî}î(hj>��hj<��ubah}î(h]îh!]îh#]îh%]îh']îuh)hvhh*hK—hj,��ubeh}î(h]îåid4îah!]îh#]îh%]îh']îhçåcenterîuh)h`hK—hj"��hhhh*ubjP��)Åî}î(hhh]î(h±)Åî}î(hå«Style the layer using a style from the drop-down menu on the Publishing tab,
or create a new SLD to create a new style object and corresponding SLD
(this option provides more control over the style).îh]îh,)Åî}î(hå«Style the layer using a style from the drop-down menu on the Publishing tab,
or create a new SLD to create a new style object and corresponding SLD
(this option provides more control over the style).îh]îhå«Style the layer using a style from the drop-down menu on the Publishing tab,
or create a new SLD to create a new style object and corresponding SLD
(this option provides more control over the style).îÖîÅî}î(hj[��hjY��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK”hjU��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjR��hhhh*hNubh±)Åî}î(håFTry out the styled data set as a WMS layer using a the Layer Preview.
îh]îh,)Åî}î(håETry out the styled data set as a WMS layer using a the Layer Preview.îh]îhåETry out the styled data set as a WMS layer using a the Layer Preview.îÖîÅî}î(hjs��hjq��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK÷hjm��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hjR��hhhh*hNubeh}î(h]îh!]îh#]îh%]îh']îj∞��j±��j≤��hj≥��j≈��j+��Kuh)jO��hj"��hhhh*hK”ubha)Åî}î(hhh]î(hf)Åî}î(håó.. figure:: images/screenshots/image058.png
   :align: center

   GeoServer's Layer Preview allows you to see an OpenLayer rendering of the new layer.
îh]îh}î(h]îh!]îh#]îh%]îh']îåuriîåimages/screenshots/image058.pngîhs}îhujô��suh)hehjã��hh*hK€ubhw)Åî}î(håTGeoServer's Layer Preview allows you to see an OpenLayer rendering of the new layer.îh]îhåVGeoServer‚Äôs Layer Preview allows you to see an OpenLayer rendering of the new layer.îÖîÅî}î(hjù��hjõ��ubah}î(h]îh!]îh#]îh%]îh']îuh)hvhh*hK€hjã��ubeh}î(h]îåid5îah!]îh#]îh%]îh']îhçåcenterîuh)h`hK€hj"��hhhh*ubjP��)Åî}î(hhh]î(h±)Åî}î(håâCopy the default ``map.js`` file that assembles the map in OpenLayers
(``style/common/spatial/map.js``) to your skin's spatial directory.îh]îh,)Åî}î(håâCopy the default ``map.js`` file that assembles the map in OpenLayers
(``style/common/spatial/map.js``) to your skin's spatial directory.îh]î(håCopy the default îÖîÅî}î(håCopy the default îhj∏��ubj��)Åî}î(hå
``map.js``îh]îhåmap.jsîÖîÅî}î(hhhj¡��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj∏��ubhå, file that assembles the map in OpenLayers
(îÖîÅî}î(hå, file that assembles the map in OpenLayers
(îhj∏��ubj��)Åî}î(hå``style/common/spatial/map.js``îh]îhåstyle/common/spatial/map.jsîÖîÅî}î(hhhj‘��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hj∏��ubhå%) to your skin‚Äôs spatial directory.îÖîÅî}î(hå#) to your skin's spatial directory.îhj∏��ubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK›hj¥��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj±��hhhh*hNubh±)Åî}î(håfEdit the init() method to include your new layer in the map - either as an
overlay or as a base layer.îh]îh,)Åî}î(håfEdit the init() method to include your new layer in the map - either as an
overlay or as a base layer.îh]îhåfEdit the init() method to include your new layer in the map - either as an
overlay or as a base layer.îÖîÅî}î(hj˘��hj˜��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKflhjÛ��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj±��hhhh*hNubh±)Åî}î(hå^Point your browser to the map interface. Your new layer should appear with
the existing ones.
îh]îh,)Åî}î(hå]Point your browser to the map interface. Your new layer should appear with
the existing ones.îh]îhå]Point your browser to the map interface. Your new layer should appear with
the existing ones.îÖîÅî}î(hj��hj��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hK·hj��ubah}î(h]îh!]îh#]îh%]îh']îuh)h∞hj±��hhhh*hNubeh}î(h]îh!]îh#]îh%]îh']îj∞��j±��j≤��hj≥��j≈��j+��Kuh)jO��hj"��hhhh*hK›ubeh}î(h]îå,adding-other-spatial-datasets-to-the-web-mapîah!]îh#]îå,adding other spatial datasets to the web mapîah%]îh']îuh)h	hhıhhhh*hK±ubh
)Åî}î(hhh]î(h)Åî}î(håBAdding External Spatial Data Made Publically Available through WMSîh]îhåBAdding External Spatial Data Made Publically Available through WMSîÖîÅî}î(hj6��hj4��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhj1��hhhh*hKÂubh,)Åî}î(håÊThere are hundreds of sources of spatial data made publically available
through WMS (check out http://wms-sites.com for a good catalog). To add these
data sources to your map, add the layers in your skin's ``spatial/map.js`` file.îh]î(hå_There are hundreds of sources of spatial data made publically available
through WMS (check out îÖîÅî}î(hå_There are hundreds of sources of spatial data made publically available
through WMS (check out îhjB��hhhNhNubh7)Åî}î(håhttp://wms-sites.comîh]îhåhttp://wms-sites.comîÖîÅî}î(hhhjK��ubah}î(h]îh!]îh#]îh%]îh']îårefuriîjM��uh)h6hjB��ubhå] for a good catalog). To add these
data sources to your map, add the layers in your skin‚Äôs îÖîÅî}î(hå[ for a good catalog). To add these
data sources to your map, add the layers in your skin's îhjB��hhhNhNubj��)Åî}î(hå``spatial/map.js``îh]îhåspatial/map.jsîÖîÅî}î(hhhj_��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjB��ubhå file.îÖîÅî}î(hå file.îhjB��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKÊhj1��hhubeh}î(h]îåBadding-external-spatial-data-made-publically-available-through-wmsîah!]îh#]îåBadding external spatial data made publically available through wmsîah%]îh']îuh)h	hhıhhhh*hKÂubeh}î(h]îåinstalling-and-configuringîah!]îh#]îåinstalling and configuringîah%]îh']îuh)h	hhhhhh*hK'ubh
)Åî}î(hhh]î(h)Åî}î(håSpatial Queriesîh]îhåSpatial QueriesîÖîÅî}î(hjç��hjã��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)hhjà��hhhh*hKÎubh,)Åî}î(hå€To find out which documents in the Metacat repository lie in a specified
geographic region, query the spatial cache using Metacat's spatial_query action.
Metacat can perform any query supported by the WFS/WMS standards.îh]îhå›To find out which documents in the Metacat repository lie in a specified
geographic region, query the spatial cache using Metacat’s spatial_query action.
Metacat can perform any query supported by the WFS/WMS standards.îÖîÅî}î(hjõ��hjô��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKÏhjà��hhubh,)Åî}î(hå)An example of a spatial query string is::îh]îhå(An example of a spatial query string is:îÖîÅî}î(hå(An example of a spatial query string is:îhjß��hhhNhNubah}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKhjà��hhubj?��)Åî}î(håfhttp://localhost/metacat/metacat?action=spatial_query&xmin=-117.5&xmax=-64&ymin=3&ymax=46&skin=defaultîh]îhåfhttp://localhost/metacat/metacat?action=spatial_query&xmin=-117.5&xmax=-64&ymin=3&ymax=46&skin=defaultîÖîÅî}î(hhhj∂��ubah}î(h]îh!]îh#]îh%]îh']îjN��jO��uh)j>��hKÚhjà��hhhh*ubh,)Åî}î(hX��Where ``xmin``, ``xmax``, ``ymin`` and ``ymax`` represent the western, eastern,
southern and northern bounding coordinates (the "bounding box"), respectively.
The spatial query action returns all documents that overlap or that are
contained inside the specified spatial coordinates. The result set is returned
as HTML using the style of the specified skin (in this example, default).îh]î(håWhere îÖîÅî}î(håWhere îhjƒ��hhhNhNubj��)Åî}î(hå``xmin``îh]îhåxminîÖîÅî}î(hhhjÕ��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjƒ��ubhå, îÖîÅî}î(hå, îhjƒ��hhhNhNubj��)Åî}î(hå``xmax``îh]îhåxmaxîÖîÅî}î(hhhj‡��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjƒ��ubhå, îÖîÅî}î(hjfl��hjƒ��ubj��)Åî}î(hå``ymin``îh]îhåyminîÖîÅî}î(hhhjÚ��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjƒ��ubhå and îÖîÅî}î(hå and îhjƒ��hhhNhNubj��)Åî}î(hå``ymax``îh]îhåymaxîÖîÅî}î(hhhj	��ubah}î(h]îh!]îh#]îh%]îh']îuh)j��hjƒ��ubhXT�� represent the western, eastern,
southern and northern bounding coordinates (the “bounding box”), respectively.
The spatial query action returns all documents that overlap or that are
contained inside the specified spatial coordinates. The result set is returned
as HTML using the style of the specified skin (in this example, default).îÖîÅî}î(hXP�� represent the western, eastern,
southern and northern bounding coordinates (the "bounding box"), respectively.
The spatial query action returns all documents that overlap or that are
contained inside the specified spatial coordinates. The result set is returned
as HTML using the style of the specified skin (in this example, default).îhjƒ��hhhNhNubeh}î(h]îh!]îh#]îh%]îh']îuh)h+hh*hKÙhjà��hhubeh}î(h]îåspatial-queriesîah!]îh#]îåspatial queriesîah%]îh']îuh)h	hhhhhh*hKÎubeh}î(h]îåmetacat-s-use-of-geoserverîah!]îh#]îåmetacat's use of geoserverîah%]îh']îuh)h	hhhhhh*hKubah}î(h]îh!]îh#]îh%]îh']îåsourceîh*uh)håcurrent_sourceîNåcurrent_lineîNåsettingsîådocutils.frontendîåValuesîìî)Åî}î(hNå	generatorîNå	datestampîNåsource_linkîNå
source_urlîNå
toc_backlinksîjÑ��åfootnote_backlinksîKå
sectnum_xformîKåstrip_commentsîNåstrip_elements_with_classesîNå
strip_classesîNåreport_levelîKå
halt_levelîKåexit_status_levelîKådebugîNåwarning_streamîNå	tracebackîàåinput_encodingîå	utf-8-sigîåinput_encoding_error_handlerîåstrictîåoutput_encodingîåutf-8îåoutput_encoding_error_handlerîjP	��åerror_encodingîåUTF-8îåerror_encoding_error_handlerîåbackslashreplaceîå
language_codeîåenîårecord_dependenciesîNåconfigîNå	id_prefixîhåauto_id_prefixîåidîå
dump_settingsîNådump_internalsîNådump_transformsîNådump_pseudo_xmlîNåexpose_internalsîNåstrict_visitorîNå_disable_configîNå_sourceîh*å_destinationîNå
_config_filesî]îåpep_referencesîNåpep_base_urlîå https://www.python.org/dev/peps/îåpep_file_url_templateîåpep-%04dîårfc_referencesîNårfc_base_urlîåhttps://tools.ietf.org/html/îå	tab_widthîKåtrim_footnote_reference_spaceîâåfile_insertion_enabledîàåraw_enabledîKåsyntax_highlightîålongîåsmart_quotesîàåsmartquotes_localesîNåcharacter_level_inline_markupîâådoctitle_xformîâå
docinfo_xformîKåsectsubtitle_xformîâåembed_stylesheetîâåcloak_email_addressesîàåenvîNågettext_compactîàubåreporterîNåindirect_targetsî]îåsubstitution_defsî}îåsubstitution_namesî}îårefnamesî}îårefidsî}îånameidsî}î(j+	��j(	��jÖ��jÇ��ji��jf��j6��j3��jk��jh��j«��jƒ��j��j��j.��j+��j}��jz��j#	��j 	��uå	nametypesî}î(j+	��NjÖ��Nji��Nj6��Njk��Nj«��Nj��Nj.��Nj}��Nj#	��Nuh}î(j(	��hjÇ��hıjf��jÁ��j3��jl��jh��j9��jƒ��jn��j��j ��j+��j"��jz��j1��j 	��jà��hàhbj
��jÌ��j‘��j¥��jL��j,��j´��jã��uå
footnote_refsî}îå
citation_refsî}îå
autofootnotesî]îåautofootnote_refsî]îåsymbol_footnotesî]îåsymbol_footnote_refsî]îå	footnotesî]îå	citationsî]îåautofootnote_startîKåsymbol_footnote_startîK�åid_startîKåparse_messagesî]î(h�åsystem_messageîìî)Åî}î(hhh]îh,)Åî}î(hå:Enumerated list start value not ordinal-1: "3" (ordinal 3)îh]îhå>Enumerated list start value not ordinal-1: ‚Äú3‚Äù (ordinal 3)îÖîÅî}î(hhhj¨	��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hj©	��ubah}î(h]îh!]îh#]îh%]îh']îålevelîKåtypeîåINFOîåsourceîh*ålineîKuh)jß	��hj"��hhhh*hK∆ubj®	��)Åî}î(hhh]îh,)Åî}î(hå:Enumerated list start value not ordinal-1: "6" (ordinal 6)îh]îhå>Enumerated list start value not ordinal-1: ‚Äú6‚Äù (ordinal 6)îÖîÅî}î(hhhj»	��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hj≈	��ubah}î(h]îh!]îh#]îh%]îh']îålevelîKåtypeîj¬	��åsourceîh*ålineîKuh)jß	��hj"��hhhh*hK”ubj®	��)Åî}î(hhh]îh,)Åî}î(hå:Enumerated list start value not ordinal-1: "8" (ordinal 8)îh]îhå>Enumerated list start value not ordinal-1: ‚Äú8‚Äù (ordinal 8)îÖîÅî}î(hhhj„	��ubah}î(h]îh!]îh#]îh%]îh']îuh)h+hj‡	��ubah}î(h]îh!]îh#]îh%]îh']îålevelîKåtypeîj¬	��åsourceîh*ålineîKuh)jß	��hj"��hhhh*hK›ubeåtransform_messagesî]îåtransformerîNå
decorationîNhhub.