Cartaro

Geospatial CMS

Documentation

Provide Geo Web Services

The tight integration of Cartaro with GeoServer allows you to publish your geospatial data in a multitude of data formats and web services. As soon as content types with geospatial data fields have been created, you will be able to add layers to your GeoServer through Cartaro. Creating your own GeoServer styles (SLD format) allows for visual customization of GeoServer layers.

Creating new Geoserver layers from Cartaro

Based on the geodata in Drupal, we can create now GeoServer layers that will be provided via WMS or WFS.

Go to Structure → GeoServer from the menu bar to visit the GeoServer configuration page. Select Layers and click Add to add your new layer. Type a layer title and description.

Add_new_layer_name

Select PostGIS Field as Layer type and your spatially-enabled content type as Source. If you have created a Geoserver style though Structure → GeoServer, it would be selectable here.

Add_new_layer_postgis

Within the OpenLayers section, is it possible to have this layer automatically available in the layer list of the OpenLayers module. It can be requested to GeoServer from the Openlayers client inside Drupal through WFS, tiled WMS or untiled WMS protocols.

Add_new_layer_OL

In the layer specifics section there is the actual layer definition that will be created from GeoServer as a view performed over the Drupal database. This view can be modified to fit your needs. The rules defined at the end of the view definition allows WFS-T operations over the layer.

Add_new_layer_view

Finish configuration by clicking on Save.

See the documentation of the GeoServer module and GeoServer itself for details.


« Back to Documentation index