Skip to main content
Hi All,

One of our customers asked if it's possible to write GML 3.2 Simple Feature Profile level 2 (SF-2) in FME 2019 / 2020 and if not, is there another way and/or when will this be possible?
Kind regards,
Krien Guijt

Hi @krien​ ,

I believe this should be possible as long as they have an application schema file (.xsd) for GML 3.2 Simple Feature Profile level 2 (SF-2). You can define the application schema you want to use in the GML Writer Parameters. 2020-10-06_11-52-20

I spoke to one of our GML experts and they mentioned starting with the core GML writer is the best place to start as it's the most flexible. We have a GML SF0 profile R/W but that is just points, lines polygons and flat relational attribute structures. SF2 is more open in that it allows any type of attribute structure but still limits geometries to those listed in SF0 or SF1. So although there may not be a master SF2 schema, you will find schemas that comply with it based on how the SF2 is defined in the spec (as linked above).

 


Hi @krien​ ,

I believe this should be possible as long as they have an application schema file (.xsd) for GML 3.2 Simple Feature Profile level 2 (SF-2). You can define the application schema you want to use in the GML Writer Parameters. 2020-10-06_11-52-20

I spoke to one of our GML experts and they mentioned starting with the core GML writer is the best place to start as it's the most flexible. We have a GML SF0 profile R/W but that is just points, lines polygons and flat relational attribute structures. SF2 is more open in that it allows any type of attribute structure but still limits geometries to those listed in SF0 or SF1. So although there may not be a master SF2 schema, you will find schemas that comply with it based on how the SF2 is defined in the spec (as linked above).

 

Hi @chrisatsafe​ ,

 

Thanks for the answer Chris. This confirms my suggestion to the customer to use this as a workaround.

I also found the SF specs in https://www.geonovum.nl/geo-standaarden/geography-markup-language-gml/gml-simple-features-profile and Table 1 on page 3 the differences between SF-2, SF-1 and SF-0 it says the 'restriction of built-in-non-spatial property types' en is SF-2 voor 'restricted set of spatial property types', not for the spatial properties.

 

Kind regards,

Krien Guijt


Reply