funiq/geophp (packagist): Open-source native PHP library for doing geometry operations. Can read and write a wide variety of formats: (E)WKT, (E)WKB, TWKB, GeoJSON, KML, GPX, GeoRSS. Works with all Simple-Feature geometries (Point, LineString, Polygon...) and can be used to get centroids, bounding-boxes, area, etc.
Keywords: geometry|converter|gpx|gis|geojson|Polygon|kml|wkt|wkb|linestring|geoPHP|twkb