Skip to main content
Question

WFS No Geometry coming through

  • September 29, 2017
  • 4 replies
  • 160 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

4 replies

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

 

 


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • September 29, 2017
gisgeek wrote:
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
  • 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
  • September 29, 2017
juanchuchow wrote:

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

 

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings