[Geoserver-users] Read and Display complex GML?

We have a need to display the output of GeoServer using App-Schema - that is GML with properties whose value is complex content (i.e. another GML feature or XSD complex data type), does anyone know of an existing opensource tool that can do this or give me an estimate of how hard it would be to add this to UDig?

cheers

Ian


Ian Turton

Ian,

while uDig is moving to locationtech the developer mailing list has moved as well, please subscribe here : https://www.locationtech.org/mailman/listinfo/udig-dev

However, yesterday I stumbled about a similar question : http://lists.refractions.net/pipermail/udig-devel/2011-November/020905.html

Maybe it helps a bit:

  • no support at the moment
  • but possibility to extent easily

Cheers,

  • Frank
···

2013/10/18 Ian Turton <ijturton@anonymised.com>

We have a need to display the output of GeoServer using App-Schema - that is GML with properties whose value is complex content (i.e. another GML feature or XSD complex data type), does anyone know of an existing opensource tool that can do this or give me an estimate of how hard it would be to add this to UDig?

cheers

Ian


Ian Turton


User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

On Fri, Oct 18, 2013 at 12:10 PM, Ian Turton <ijturton@anonymised.com> wrote:

We have a need to display the output of GeoServer using App-Schema - that
is GML with properties whose value is complex content (i.e. another GML
feature or XSD complex data type), does anyone know of an existing
opensource tool that can do this or give me an estimate of how hard it
would be to add this to UDig?

Hmm... the GeoTools XSD modules can generated complex GML, but cannot
parse it as far as I know.
So you'd have to fix them, then wire up them into the WFS client, or fix
them, and then build
a store that can read GML from disk.

Cheers
Andrea

--

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

-----Original Message-----
From: Ian Turton [mailto:ijturton@…84…]
Sent: 18 October 2013 11:11
To: User-friendly Desktop Internet GIS; geoserver-users
Subject: [Geoserver-users] Read and Display complex GML?

We have a need to display the output of GeoServer using App-Schema -
that is GML with properties whose value is complex content (i.e.
another GML feature or XSD complex data type), does anyone know of an
existing opensource tool that can do

I've just started experimenting with The WFS2.0 Client for QGIS http://plugins.qgis.org/plugins/wfsclient/. I've tried on one GeoServer app-schema WFS and it seems to be able to plot the polygons on a map (there is only one geometry property so no complications there) and I can use the identify features tool to display _some_ of the complex properties as a list of simple values with a concatenated path for the property name like below:
...
gml_id mf.11161
label always
value http://resource.geosciml.org/classifier/cgi/valuequalifier/always
observationMethod|Category|label Compilation
observationMethod|Category|value http://resource.geosciml.org/classifier/cgi/mappedfeatureobservationmethod/compilation
positionalAccuracy|Quantity|value 1000
Integer 625000
description KELLAWAYS FORMATION AND OXFORD CLAY FORMATION (UNDIFFERENTIATED)
specification|GeologicUnit|observationMethod|Category|extension|Category|label always
specification|GeologicUnit|observationMethod|Category|extension|Category|value http://resource.geosciml.org/classifier/cgi/valuequalifier/always
specification|GeologicUnit|observationMethod|Category|label Data from single published description
specification|GeologicUnit|observationMethod|Category|value http://resource.geosciml.org/classifier/cgi/featureobservationmethod/data_from_single_published_description
purpose typicalNorm
specification|GeologicUnit|relatedFeature|GeologicHistory|relatedFeature|GeologicEvent|purpose typicalNorm
specification|GeologicUnit|relatedFeature|GeologicHistory|relatedFeature|GeologicEvent|eventEnvironment|Category|extension|Category|label always
specification|GeologicUnit|relatedFeature|GeologicHistory|relatedFeature|GeologicEvent|eventEnvironment|Category|extension|Category|value http://resource.geosciml.org/classifier/cgi/valuequalifier/always
specification|GeologicUnit|relatedFeature|GeologicHistory|relatedFeature|GeologicEvent|eventEnvironment|Category|label Marine setting
specification|GeologicUnit|relatedFeature|GeologicHistory|relatedFeature|GeologicEvent|eventEnvironment|Category|value http://resource.geosciml.org/classifier/cgi/eventenvironment/0090
specification|GeologicUnit|composition|CompositionPart|material|RockMaterial|purpose (3:typicalNorm,typicalNorm,typicalNorm)
specification|GeologicUnit|composition|CompositionPart|proportion|GSML_QuantityRange|value (3:50.0 95.0,5.0 50.0,5.0 50.0)
lowerValue (3:50,5,5)
upperValue (3:95,50,50)

1 to many sub-properties get prefixed with a count and then each value is listed. I haven't got a filter to work with it. So it isn't great but works "a bit"...

Marcus Sen

This message (and any attachments) is for the recipient only. NERC is subject to the Freedom of Information Act 2000 and the contents of this email and any reply you make may be disclosed by NERC unless it is exempt from release under the Act. Any material supplied to NERC may be stored in an electronic records management system.