Skip to content
/ geophp Public
forked from pdeffendol/geophp

A PHP library that is intended to hold and process GIS data conforming to the OGC Simple Features for SQL specification. Forked as 'fragility/geophp' package was not available.

Notifications You must be signed in to change notification settings

h-sn/geophp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GeoPHP is a library that is intended to hold and process GIS data conforming
to the OGC Simple Features for SQL specification.  For information see 
http://www.opengis.org/docs/99-049.pdf.  Data in this format is used by the
PostGIS extension to PostgreSQL and the Spatial Extensions for MySQL.  This
library is mainly intended to act as a data container, and does not include
advanced processing capabilities such as projections and relationships.

Supported Data Types
--------------------

 * Point
 * Line string
 * Polygon
 * Geometry collection
 * Multi-point
 * Multi-line string
 * Multi-polygon

Data in 2d, 3dz, 3dm, and 4d are supported.

Input Formats
-------------

 * EWKB/WKB
 * HexEWKB (default output of PostGIS)
 * EWKT/WKT
  
Output Formats
--------------

 * EWKB
 * WKB
 * HexEWKB
 * EWKT
 * WKT
 
TODO
----

  
Acknowledgements
----------------

Thanks to the GeoRuby library and its creators for ideas and insight into
data formats.

PostGIS was used to generate test data.

About

A PHP library that is intended to hold and process GIS data conforming to the OGC Simple Features for SQL specification. Forked as 'fragility/geophp' package was not available.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%