European Commission logo
INSPIRE Community Forum

Wrong value type of Geometry attribute in StatisticalGridCell

  • General

    The INSPIRE Community Forum is now part of the INSPIRE helpdesk system, based on GitHub (, so please start there any new discussions.

    The current platform will remain available in read only mode in its current form and URL address until 31/01/2021, then its content will be archived and then published in a different URL which will be announced when it becomes available.

While creating GML files and download services for a statistical grid in the Central Statistical Office of Poland we have encountered the following problem:

In the Statistical Units data model the geometry attribute of StatisticalGridCell is defined as GM_Polygon. See:

However according to ISO 19107 GM_Polygon is a specialization of the GM_SurfacePatch abstract type. ISO definitions state the following:

"A GM_Polygon is a surface patch that is defined by a set of boundary curves and an underlying
surface to which these curves adhere."

"GM_SurfacePatch defines a homogeneous portion of a GM_Surface"


Since GM_Polygon is not an independent type it cannot be used as value type for geometry of StatisticalGridCell. Therefore WFS using the current SU schema does not generate geometry for features.

To enable GML file creation and WFS publishing we modified the schema changing the Geometry attribute's value type to GM_Surface. I think this also should be modified in the Technical Guidelines for SU.

Statistics & Health

Statistics & Health

Join this group if you would like to share knowledge or ask questions regarding the INSPIRE implementation of Statistical Units [SU], Population Distribution (Demography) [PD] or Human Health and Safety [HH] data themes