Skip to main content
Question

WFS No Geometry coming through

  • September 29, 2017
  • 4 replies
  • 213 views

gisgeek
Contributor
Forum|alt.badge.img+9

Hi I ran this yesterday and I got geometry and today no geometry. I can't figure out what is going on. I am trying to bring through a TLA boundary layer. Feature Type shows allowed goemetries as xml_area but when i run the inspector it just has a table and no geometry in this view. Not sure what is going on so hoping someone can help.

https://datafinder.stats.govt.nz/services;key=1cc31ed95b0f4fd8ac0f29950daf656d/wfs?service=WFS&request;=GetCapabilities

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

4 replies

gisgeek
Contributor
Forum|alt.badge.img+9
  • Author
  • Contributor
  • 28 replies
  • September 29, 2017
Ok all good geometry extractor resolved that problem

 

 


danilo_fme
Celebrity
Forum|alt.badge.img+51
  • Celebrity
  • 2077 replies
  • September 29, 2017
Ok all good geometry extractor resolved that problem

 

 

Hi @gisgeek, did you solved your problem with transformer GeometryExtractor?

 


juanchuchow
Safer
Forum|alt.badge.img+1
  • Safer
  • 12 replies
  • September 29, 2017

There seems to be a mismatch between the schema and the data on some layers, e.g., "layer-27777" is defined in the schema with a "GEOMETRY" element with type "gml:MultiSurfacePropertyType":

https://datafinder.stats.govt.nz:443/services;key=1cc31ed95b0f4fd8ac0f29950daf656d/wfs?SERVICE=WFS&VERSION;=1.1.0&REQUEST;=DescribeFeatureType&TYPENAME;=datafinder.stats.govt.nz%3Alayer-27777&NAMESPACE;=xmlns%28datafinder.stats.govt.nz%3Dhttp%3A%2F%2Fdatafinder.stats.govt.nz%29

The FME GML reader is generating rules to read a "gml:MultiSurface" geometry, but the actual data has a "gml:MultiPolygon" as the value for "GEOMETRY", therefore the GEOMETRY is not read.

The GML schema "says" that the "MultiSurfacePropertyType" has a "gml:MultiSurface".

So it seems that some layers in the WFS server are correct, no mismatch, and others are not.

Regards,

Juan


juanchuchow
Safer
Forum|alt.badge.img+1
  • Safer
  • 12 replies
  • September 29, 2017

There seems to be a mismatch between the schema and the data on some layers, e.g., "layer-27777" is defined in the schema with a "GEOMETRY" element with type "gml:MultiSurfacePropertyType":

https://datafinder.stats.govt.nz:443/services;key=1cc31ed95b0f4fd8ac0f29950daf656d/wfs?SERVICE=WFS&VERSION;=1.1.0&REQUEST;=DescribeFeatureType&TYPENAME;=datafinder.stats.govt.nz%3Alayer-27777&NAMESPACE;=xmlns%28datafinder.stats.govt.nz%3Dhttp%3A%2F%2Fdatafinder.stats.govt.nz%29

The FME GML reader is generating rules to read a "gml:MultiSurface" geometry, but the actual data has a "gml:MultiPolygon" as the value for "GEOMETRY", therefore the GEOMETRY is not read.

The GML schema "says" that the "MultiSurfacePropertyType" has a "gml:MultiSurface".

So it seems that some layers in the WFS server are correct, no mismatch, and others are not.

Regards,

Juan

Here is the link for the data features:

 

 

https://datafinder.stats.govt.nz:443/services;key=1cc31ed95b0f4fd8ac0f29950daf656d/wfs?SERVICE=WFS&VERSION;=1.1.0&REQUEST;=GetFeature&TYPENAME;=datafinder.stats.govt.nz%3Alayer-27777&NAMESPACE;=xmlns%28datafinder.stats.govt.nz%3Dhttp%3A%2F%2Fdatafinder.stats.govt.nz%29&MAXFEATURES;=30000