Simple Features Explained

Simple Features (officially Simple Feature Access) is a set of standards that specify a common storage and access model of geographic features made of mostly two-dimensional geometries (point, line, polygon, multi-point, multi-line, etc.) used by geographic databases and geographic information systems.It is formalized by both the Open Geospatial Consortium (OGC) and the International Organization for Standardization (ISO).

The ISO 19125 standard comes in two parts. Part 1, ISO 19125-1 (SFA-CA for "common architecture"), defines a model for two-dimensional simple features, with linear interpolation between vertices, defined in a hierarchy of classes; this part also defines representation of geometry in text and binary forms. Part 2 of the standard, ISO 19125-2 (SFA-SQL), defines a "SQL/MM" language binding API for SQL under the prefix "SF_".[1] The open access OGC standards cover additionally APIs for CORBA and OLE/COM, although these have lagged behind the SQL one and are not standardized by ISO. There are also adaptations to other languages covered below.

The ISO/IEC 13249-3 SQL/MM Spatial extends the Simple Features data model, originally based on straight-line segments, adding circular interpolations (e.g. circular arcs) and other features like coordinate transformations and methods for validating geometries, as well as Geography Markup Language support.[1]

Details

Part 1

The geometries are associated with spatial reference systems. The standard also specifies attributes, methods and assertions with the geometries, in the object-oriented style. In general, a 2D geometry is simple if it contains no self-intersection. The specification defines DE-9IM spatial predicates and several spatial operators that can be used to generate new geometries from existing geometries.

Part 2

Part 2 is a SQL binding to Part 1, providing a translation of the interface to non-object-oriented environments. For example, instead of a someGeometryObject.isEmpty as in Part 1, SQL/MM uses a ST_IsEmpty(...) function in SQL.

Spatial

The spatial extension adds the datatypes "Circularstring", "CompoundCurve", "CurvePolygon", "PolyhedralSurface", the last of which is also included into the OGC standard. It also defines the SQL/MM versions of these types and operations on them.

Implementations

Direct implementations of Part 2 (SQL/MM) include:

Adaptations include:

GeoSPARQL is an OGC standard that is intended to allow geospatially-linked data representation and querying based on RDF and SPARQL by defining an ontology for geospatial reasoning supporting a small Simple Features (as well as DE-9IM and RCC8) RDFS/OWL vocabulary for GML and WKT literals.[15]

As of 2012, various NoSQL databases had very limited support for "anything more complex than a bounding box or proximity search".[16]

See also

External links

Standard documents

Notes and References

  1. Book: Wolfgang Kresse. David M. Danko. Springer Handbook of Geographic Information. limited. 2011. Springer. 978-3-540-72678-4. 81–83.
  2. Web site: MySQL 5.1 documentation on Spatial extensions. mysql.com. 2 April 2018.
  3. Web site: MySQL :: MySQL 5.6 Reference Manual :: 12.15.9 Functions That Test Spatial Relations Between Geometry Objects. dev.mysql.com. 2 April 2018.
  4. Web site: GeoSpatial - MonetDB . 4 March 2014.
  5. Book: Wolfgang Kresse. David M. Danko. Springer Handbook of Geographic Information. limited. 2011. Springer. 978-3-540-72678-4. 105–106.
  6. Web site: SpatiaLite: SpatiaLite. www.gaia-gis.it. 2 April 2018.
  7. Book: Ravikanth V. Kothuri. Euro Beinat. Albert Godfrind. Pro Oracle Spatial. 2004. Apress. 978-1-59059-383-7. 65.
  8. Book: Alastair Aitchison. Pro Spatial with SQL Server 2012. 2012. Apress. 978-1-4302-3491-3. 21–23.
  9. http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.infocenter.dc01964.1602/doc/html/saiq-standards-compatibility-spatial.html SAP Sybase IQ support for spatial data
  10. http://help.sap.com/saphelp_hanaplatform/helpdata/en/7a/2f4266787c1014a9b6ab6cf937f8ac/content.htm?frameset=/en/7a/2d11d7787c1014ac3a8663250814c2/frameset.htm&current_toc=/en/99/d10e4fdaaf41588480a43478e840d5/plain.htm&node_id=12 SAP HANA Spatial Reference: Supported Import and Export Formats for Spatial Data
  11. Web site: sf: Simple Features for R. Edzer. Pebesma. Roger. Bivand. Ian. Cook. Tim. Keitt. Michael. Sumner. Robin. Lovelace. Hadley. Wickham. Jeroen. Ooms. Etienne. Racine. 22 March 2018. 2 April 2018. R-Packages.
  12. Web site: FAQ: What is this OGR stuff?. www.gdal.org. 2 April 2018.
  13. Book: Shashi Shekhar. Hui Xiong. Encyclopedia of GIS. 2007. Springer. 978-0-387-30858-6. 235–236.
  14. Web site: geo_types - Rust . 2023-03-19 . docs.rs.
  15. Battle . Robert . Kolas . Dave . 2012 . Enabling the Geospatial Semantic Web with Parliament and GeoSPARQL . . 3 . 4 . 355–370 . . 10.3233/SW-2012-0065 . 21 November 2012.
  16. Web site: Penn State Geography 583: Geospatial System Analysis and Design. Databases. . Frank Hardisty . Fall 2012.