11/19/2022 0 Comments Kml to wkt converter online$multipoint_points = $multipoint->getComponents() $multipoint = geoPHP::load($json, 'json') Print("This polygon has an area of ".$area." and a centroid with X=".$centX." and Y=".$centY) Get a useful "core-set" of geometry operations that work in all environments, and an "extended-set"of operationsįor environments that have GEOS installed. With GEOS you get theįull-set of openGIS functions in PHP like Union, IsWithin, Touches etc. When GEOS is installed, geoPHP also becomesįully compliant with the OpenGIS® Implementation Standard for Geographic information. Increase when GEOS is installed on the server. GeoPHP also helpfully wraps the GEOS php extension so that applications can get a transparent performance It works with all Simple-Feature geometries (Point, LineString, Polygon, Geometr圜ollection etc.)Īnd can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, It is written entirely in PHP andĬan therefore run on shared hosts. GeoPHP is a open-source native PHP library for doing geometry operations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |