How To Represent Geospatial Data in SDMX 20181022
How To Represent Geospatial Data in SDMX 20181022
<gpl:GPL_CoordinateTuple>
<gpl:tuple srsName=" http://www.opengis.net/def/crs/EPSG/0/4326 " srsDimension=“3"> 0.42 -22.59 543.43 </gpl:tuple>
</gpl:GPL_CoordinateTuple>
• For each
disaggregation level,
the MGN contains:
• Code lists
• Polygons
Proposal to Represent
Geospatial Data in SDMX
Including Geographical Coordinates and
Areas at any Level (like Observation)
• To represent any geographical place we can add an attribute (Coordinates:
COORD) or a set of attributes (Latitude: LAT Longitude: LON [Height: H]
[Coordinates Reference System: CRS])
• We need to decide which would be the representation that we are going to use:
• ISO 6709
• GML
• KML
• A SDMX defined
• To represent any geographical area we can add an attribute (RefPolygon)
composed by a set of coordinates.
• We need to decide which would be the way we want to represent the polygon:
• GML
• KML
• A SDMX defined
Including Geographical Coordinates and
Areas at any Level
• Original:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC"
POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• ISO 6709 Single String:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" COORD=“+19.4319716-99.13342539+2250.0CRSWGS_84/” MEASURE="GP"
FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC" POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• Notes: Height and CRS would be optional. If CRS is not set then we would interpret that WGS84 is
being used
• ISO 6709 / ISO 19136/ GML:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" COORD=“19.431971 -99.13342539 89.44 2250.0”
SRS=“http://www.opengis.net/def/crs/EPSG/0/4326” MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC"
POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
Including Geographical Coordinates and
Areas at any Level
• Original:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC"
POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• KML 2.3 (A):
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" COORD=“19.4319716,-99.13342539,2250.0” MEASURE="GP"
FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC" POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• Notes: Altitude would be optional. KML defines WGS 84 (EPSG-4326) as the Coordinate Reference
System to be used
• KML 2.3 (B):
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" LATITUDE=“>19.4319716” LONGITUDE=“-99.13342539”
ALTITUDE=“2250.0” MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC" POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• Notes: Altitude would be optional. KML defines WGS 84 (EPSG-4326) as the Coordinate Reference
Including Geographical Coordinates and
Areas at any Level
• Original:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y"
UNIT="PC" POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• SDMX own set of attributes:
<OECD:Series SUBJECT="PRINTO01" LOCATION=“MEX" LAT=“19.4319716” LON=“-99.13342539”
H=“2250.0” CRS=“WGS_84” MEASURE="GP" FREQUENCY="A" TIME_FORMAT="P1Y" UNIT="PC"
POWERCODE="0">
<OECD:Obs TIME="2016" OBS_VALUE="1.42512554281149" />
<OECD:Obs TIME="2017" OBS_VALUE="1.1922746281357" />
</OECD:Series>
• Notes: H and CRS are optional. If CRS is not set then we would interpret that WGS84
is being used
Defining a Geographical Area by
a Polygon
• A geographical area can be represented by a Polygon of coordinates
• The polygon can be included as an attribute (GEO_POLYGON)
• We can represent it in different ways:
• In a GML tupleList Style: GEO_POLYGON=“45.256,-110.45 46.46,-109.48 43.84,-
109.86 45.8,-109. 2”
http://www.beta.inegi.org.mx/app/areasgeograficas/?ag=01#tabMCcollapse-Indicadores
National Statistical Directory of Business
Units (DENUE)
• Identification and
localization of 5’078,714
active business units in
Mexico
• Data from 2012,
permanently updated
• Selection of
establishments by size,
economical activity, and
geographical area
• Geographical space http://www.beta.inegi.org.mx/app/mapa/denue/
chose by the user
National Statistical Directory of
Business Units (DENUE)
http://www.beta.inegi.org.mx/app/mapa/denue/
National Inventory of Dwellings
(INV)
• Data of dwellings, population and
urban environment
• Information from the 2010 National
Census of Population and Dwelling
and the grown between 2010 and
2015
• Shares the DENUE platform
• Indicators contained:
• 12 of dwelling
• 7 of population
• 14 of urban environment (vial
infrastructure, equipment and services,
access and commerce in the public
National Inventory of Dwellings (INV)
http://www.beta.inegi.org.mx/app/mapa/INV/Defaul
t.aspx?ll=22.993165420735874,-108.9915234375&z=5
National Inventory of Dwellings (INV)
Discussion
Questions to Solve About Representing
Geospatial Data in SDMX
• Is it relevant to represent geographical information in SDMX?
• Which representation style may be used to represent geographical
coordinates in SDMX?
• Which representation style may be used to represent geographical areas
in SDMX?
• CL_AREA must be modified to associate geographical polygons or is it
better to create a new code list (CL_GEOAREA)?
• Who would be in charge of maintaining this code-list?
• Geographical information must be set as any regular dimension? Or, do
we need to include a new type of dimension (Geographical Dimension)
in SDMX?
• What else will we need to support this characteristics (modifications to
Conclusions
Space to fill with the conclusions…
Additional Questions or
Comments?
Contact:
[email protected]
[email protected]
References
• Encyclopedia Britannica (www.britannica.com)
• International Earth Rotation and Reference Systems Service
(www.iers.org)
• International Hydographic Organization (www.iho.int)
• International Union of Geodesy and Geophysics (www.iugg.org)
• ISO (www.iso.org)
• John A. Dutton E-Education Institute, PennState (www.e-
education.psu.edu)
• National Geographic (www.nationalgeographic.org)
• Open Geospatial Foundation (www.ogc.org)
• Open Source Geospatial Foundation (www.osgeo.org)
Some Known Names for Common
CRS
NGVD 29 Sea Level Datum 1929
OSGB36 Ordnance Survey Great Britain 1936
SK-42 Systema Koordinat 1942 goda
ED50 European Datum 1950
SAD69 South American Datum 1969
GRS 80 Geodetic Reference System 1980
ISO 6709 Geographic point coord. 1983
NAD 83 North American Datum 1983
WGS 84 World Geodetic System 1984
NAVD 88 N. American Vertical Datum 1988
ETRS89 European Terrestrial Ref. Sys. 1989
GCJ-02 Chinese obfuscated datum 2002
Geo URI Internet link to a point 2010
ITRF92-ITRF2014 International Terrestrial Reference System
SRID Spatial Reference System Identifier (SRID)
UTM Universal Transverse Mercator (UTM)