Simple Features Access

Simple Features Access

Simple Feature Access ist eine Spezifikation des Open Geospatial Consortium, welche eine allgemein gültige Architektur für geografische Daten und deren Geometrien definiert.
Die Spezifikation beschreibt einerseits die Speicherung und den Zugriff auf Geometrien und andererseits verschiedene räumliche Operatoren.

Inhaltsverzeichnis

Geometrie Klassenmodell

Folgende instanzierbare Klassen beinhaltet das Modell:

  • Punkte (Point)
  • Linien (LineString)
  • Polygone (Polygon)
  • Mehrere Punkte (MultiPoint)
  • Mehrere Linien (MultiLineString)
  • Mehrere Polygone (MultiPolygon)
  • Sammlung dieser Geometrien (GeometryCollection)

Sämtliche Geometrien leiten sich von der abstrakten Klasse Geometry ab.

Methoden auf Geometrieobjekte

Die Simple Feature Access Spezifikation unterscheidet drei verschiedene Gruppen von Methoden.
Die erste Gruppe stellt verschiedene grundlegende Methoden zur Verfügung wie z.B. die Abfrage des Geometrietyp (GeometryType), die Abfrage der Ausdehnung (Envelope) oder die Rückgabe der Geometrie als Text (AsText).

In der zweiten Gruppe werden Methoden zusammengefasst, welche räumliche Beziehungen zwischen geometrischen Objekten beschreiben. Zu diesen Methoden gehören z.B. ob Objekte gleich sind (Equals), sich schneiden (Intersects) oder sich berühren (Touches).
Die letzte Gruppe schließlich beinhaltet Methoden zur räumlichen Analyse wie z.B. Pufferzone (Buffer), Verschneidung (Intersection) oder Differenz (Difference).

Repräsentation der Geometrie

Ein weiterer Teil der Spezifikation umfasst die Repräsentation der Geometrie. Dazu gehören das sogenannte Well-known Text (WKT) bzw. das Well-known Binary (WKB) Format.

Well-known Text

Die Well-known Text Repräsentation wird vor allem dazu verwendet um die Geometrie alphanumerisch darstellen zu können. Beispiele für Well-known Text:

  • Punkt
Point(10 10)
  • Polygon mit einem äußeren Ring und einem inneren Ring
Polygon((0 0, 0 20, 20 20, 20 0, 0 0),(5 5, 5 15, 15 15, 15 5, 5 5))
  • Mehrfachpolygon
MultiPolygon(((0 0, 0 20, 20 20, 20 0, 0 0),(5 5, 5 15, 15 15, 15 5, 5 5)),((30 30, 30 40, 40 40, 40 30, 30 30)))

Well-known Binary

Die Well-known Binary Repräsentation ist eine übertragbare Repräsentation der Geometrien als eine kontinuierliche Byte-Datenkette. Als Datentypen verwendet WKB Integer ohne Vorzeichen aus einem bzw. vier Byte und Zahlen doppelter Genauigkeit aus acht Byte. Beispiel für Well-known Binary:

  • Punkt mit Koordinate 1,1
0101000000000000000000F03F000000000000F03F

Diese Datenkette bedeutet in Teile zerlegt folgendes:

01 : Byte Reihenfolge
01000000 : Geometrie Typ
000000000000F03F : X
000000000000F03F : Y 

Repräsentation von Koordinatensystemen

Simple Feature Access standardisiert ebenfalls die Repräsentation von Geodätischen Systemen mit geografischen, projizierten oder geozentrischen Koordinaten in einer alphanumerischen Form als Well-known Text. Beispiele für die Repräsentation von Koordinatensystemen:

  • UTM Zone 10 mit dem nordamerikanischen Datum NAD27
 PROJCS["UTM Zone 10, Northern Hemisphere",
   GEOGCS["clark66",
       DATUM["North_American_Datum_1927",
           SPHEROID["clark66",6378206.4,294.9786982]],
       PRIMEM["Greenwich",0],
       UNIT["degree",0.0174532925199433]],
   PROJECTION["Transverse_Mercator"],
   PARAMETER["latitude_of_origin",0],
   PARAMETER["central_meridian",-123],
   PARAMETER["scale_factor",0.9996],
   PARAMETER["false_easting",500000],
   PARAMETER["false_northing",0],
   UNIT["Meter",1]]
  • Geografisches Koordinatensystem WGS84
 GEOGCS["wgs84",
   DATUM["WGS_1984",
       SPHEROID["wgs84",6378137,298.257223563],
       TOWGS84[0.000,0.000,0.000]],
   PRIMEM["Greenwich",0],
   UNIT["degree",0.0174532925199433]]

Verwendung

Die Simple Feature Access Spezifikation hat in der Geoinformatik sowohl in Open Source Projekte wie auch in proprietären Programme eine weite Verbreitung.
Zwei bekannte, LGPL lizenzierte Programmbibliotheken sind die JTS Topology Suite und GEOS, wobei erstere in Java geschrieben ist und GEOS in C++. Eine Implementierung in dem Web-Framework Django ist durch GeoDjango realisiert. GeoDjango ist bereits in Django von Grund aus integriert.

Weblinks


Wikimedia Foundation.

Игры ⚽ Поможем написать курсовую

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Simple Mail Access Protocol — The Simple Mail Access Protocol (SMAP) is an application layer Internet protocol for accessing e mail stored on a server. It was introduced as part of the Courier suite, with the goal of creating a simpler and more capable alternative to… …   Wikipedia

  • Simple Network Management Protocol — (SNMP) forms part of the internet protocol suite as defined by the Internet Engineering Task Force (IETF). SNMP is used in network management systems to monitor network attached devices for conditions that warrant administrative attention. It… …   Wikipedia

  • Features new to Windows Vista — This article is part of a series on Windows Vista New features Overview Technical and core system Security and safety Networking technologies I/O technologies Management and administration Removed features …   Wikipedia

  • Features removed from Windows Vista — While Windows Vista contains many new features, a number of capabilities and certain programs that were a part of Windows XP are no longer present or changed, resulting in the removal of certain functionality. The following is a list of features… …   Wikipedia

  • Simple Mail Transfer Protocol — This article is about the Internet standard for electronic mail transmission. For the email delivery company, see SMTP (company). Internet protocol suite Application layer …   Wikipedia

  • Simple Machines Forum — Infobox Software name = Simple Machines Forum caption = Screenshot of a fresh SMF installation developer = [http://www.simplemachines.org/about/team.php The SMF Team] frequently updated = yes programming language = PHP genre = Forum software… …   Wikipedia

  • Features of the Opera web browser — This article is about the features of the Opera web browser. Contents 1 Usability and accessibility 1.1 Fit to Window 1.2 Page zooming 1.3 Voice control …   Wikipedia

  • Features of Mozilla Firefox — The features of Mozilla Firefox distinguish it from other web browsers such as Internet Explorer. It lacks many features found in other browsers, in an effort to combat interface bloat and to allow the browser to be shipped as a small, pared down …   Wikipedia

  • Simple Plan — This article is about the band. For the band s self titled album, see Simple Plan (album). For other uses, see A Simple Plan (disambiguation). Simple Plan Simple Plan in 2009. From left to right: Desrosiers, Lefebvre, Bouvier, Stinco, Comeau.… …   Wikipedia

  • Fortran language features — This is a comprehensive overview of features of the Fortran 95 language, the version supported by almost all existing Fortran compilers. Old features that have been superseded by new ones are not described few of those historic features are used… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”