geo
geo copied to clipboard
GIS geometry library for PHP
Hi, Context : POSTGIS function - PHP7.4 - Wood cutting project I've noticed when I call this function that way : $distance = $existingCut->getGISForme()->distance($new_cut->getGISForme() ); or that whay : $distance...
Implement `: static` return types once this is solved: https://github.com/vimeo/psalm/issues/8057
Allow for area to be calculated across GeometryCollections. Adding an area() method that returns the aggregate area of all surface geometries in the collection. Returns 0 if no surface geometries...
 Hello, This is my first project in Geometry. I'm used to develop and search for PHP libraries but WKT, WKB, Geometry Calculation is quiet new for me. I'm not...
## Code ```php
This should make the development of the library much much easier. There will be no need to install any services locally. This can also potentially simplify the CI configuration. Only...
I found myself using these functions extensively. They seem to be quite commonly used to me, that's why I wonder whether they can be included into the library.
Hi. I found one problem when switching between different databases. My code: ```php GeometryEngineRegistry::set(new PDOEngine($pdo)); $cs = CoordinateSystem::xy(4326); $polygon = new Polygon($cs, ...[ new LineString($cs, ...[ new Point($cs, 0, 0),...
According to [RFC 7946](https://tools.ietf.org/html/rfc7946#appendix-A.7), GeoJSON supports the `GeometryCollection` type as well. As such: - `GeoJSONReader` should be able to read `GeometryCollection` - `GeoJSONWriter` should export `GeometryCollection` objects as such, and...
I'd like to introduce support for calculations on the spheroid on both PostGIS and SpatiaLite. This would solve #24, and probably give some hints on how to solve #23 in...