You are here

static function geoPHP::geometryList in geoPHP 8

Same name and namespace in other branches
  1. 7 geoPHP/geoPHP.inc \geoPHP::geometryList()
3 calls to geoPHP::geometryList()
KML::geomFromXML in geoPHP/lib/adapters/KML.class.php
KML::parseGeometryCollection in geoPHP/lib/adapters/KML.class.php
WKT::read in geoPHP/lib/adapters/WKT.class.php
Read WKT string into geometry objects

File

geoPHP/geoPHP.inc, line 108

Class

geoPHP

Code

static function geometryList() {
  return array(
    'point' => 'Point',
    'linestring' => 'LineString',
    'polygon' => 'Polygon',
    'multipoint' => 'MultiPoint',
    'multilinestring' => 'MultiLineString',
    'multipolygon' => 'MultiPolygon',
    'geometrycollection' => 'GeometryCollection',
  );
}