Skip to content

Conversation

@BathoryPeter
Copy link

  • Z and M support for Geometries and all Adapters (where applicable)
  • EMPTY geometry support
  • complete centroid calculation, now using de facto standard weighted method
  • rewritten WKB and EWKB adapter, supporting bigEndian, Z and M coordinates and SRID
  • new TWKB adapter
  • new OSM adapter (not complete yet, but has a promising multipolygon converter)
  • reduced memory usage
  • improved performance in Geometries, eg. built-in geometry operations, array manipulations, constructors, etc.
  • improved type detection
  • improved and more consistent block-level PHPDoc documentation (not ready)
  • more strict OGR standard complaint geometry representation and operations, preserving Postgis compatibility

@teohhanhui
Copy link

teohhanhui commented Aug 1, 2016

@BathoryPeter Can you delete the unused tags and branches in your fork to speed up composer install? Thanks! :)

p/s: You have not enabled Issues on that repo.

…removed "class" from file names, moved geoPHP.inc to src/geoPHP.php
- Z and M support for Geometries and all Adapters (where applicable)
- EMPTY geometry support
- completed centroid calculation, now using de facto standard weighted method
- rewritten WKB and EWKB adapter, supporting bigEndian, Z and M coordinates and SRID
- reduced memory usage
- improved performance in Geometries, eg. built-in geometry operations, array manipulations, constructors, etc.
- improved type detection
- improved and more consistent block-level PHPDoc documentation (not ready)
- more strict OGR standard complaint geometry representation and operations, preserving Postgis compatibility
- new OSM adapter (not complete yet, but has a basic multipolygon converter)
…y geometry structures (like geometryReduce()) just builds the most appropriate geometry from the given array of geometries
- fixed a multi-geometry bug in buildGeometry()
- changed geoPHP::load() to use buildGeometry as a last step (instead of geometryReduce)
- added some more Earth constant
- Add abstract geometry types like Curve, Surface, MultiGeometry
- move common methods to abstract classes
- add static ::fromArray() method (only to Point and LineString yet)
- comment methods and classes
- use UnsupportedMethodException::geos() exceptions
- rewrite boundary() methods to follow the OGC standard
- implemented MultiPoint::isSimple()
- lot of minor bug fixes and improvements
- currently Point and LineString tests are complete (excluding geos fallbacks)
- added a phpunit.xml config, creating coverage report
- exclude old unit tests from the default config (they are obsolete, not real unit tests, should be rewritten)
(set tolerance in "equals" tests and skip tests where HHVM float precision isn't enough)
@BathoryPeter BathoryPeter mentioned this pull request May 15, 2017
@@ -1 +1,7 @@
/vendor
/tests/coverage/
composer.lock
Copy link

@DaxServer DaxServer May 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably include the lock file so that everyone forking and developing would have the same versions of package dependencies?

@ghost
Copy link

ghost commented Mar 11, 2020

Congratulations 🎉. DeepCode analyzed your code in 0.001 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

👉 View analysis in DeepCode’s Dashboard

Péter Báthory added 3 commits March 30, 2020 12:15
@BathoryPeter
Copy link
Author

Closing this, because my fork got too diverged in the past years.
If anybody is interested in a maintained fork, please take a look at https://github.com/funiq/geoPHP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants