Home > Uncategorized > Geoserver: Consume WFS service using Carmenta Engine

Geoserver: Consume WFS service using Carmenta Engine

In the previous post we used the Carmenta WMS layer to consume the layer we published from geoserver. WMS is a standard for loading images. This is simple but sometimes not good enough. Sometimes, we need the actual features from the dataset; can be for further processing or maybe to take advantage of visualization strength on the client side. In any case, this is what WFS promises to solve. Both Carmenta and Geoserver supports WFS as well so lets have a go.

Carmenta provides the OgcWfsDataSet that enables loading from a WFS service. The dataset will then act as a feature producer in the operator chain, just like any other dataset in Carmenta Engine.

geoserver-carmenta-config-wfs

We need to specify the url property along with the typeNames.

geoserver-carmenta-config-detail-wfs

The typeNames matches the layer name. We cannot use the group layer since that does not expose the WFS interface ?but we have to use one of the concrete layers. In my case I selected the lowest level of detail.

When we run this configuration in Carmenta explorer the result looks like below.

geoserver-carmenta-result-wfs

Not much different at the surface but we can use fiddler to take a look under the covers. Here is the list of requests.

geoserver-wfs-requestlist

And if we select one the details gives that it is not images that are sent over the wire, but structured geographical objects.

geoserver-wfs-requestdetail

Objects that then can be rendered or analyzed using the tools provided by Carmenta.

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: