Commit Graph

  • 92b7a42552 Add rdp.c in config.w32 master Jean-Baptiste Nahan 2025-07-01 12:10:44 +02:00
  • 6cd0365f9f Go with 0.3.3 Derick Rethans 2025-06-19 13:32:10 +01:00
  • 5b207e2400 Factor RDP algorithm out into its own file(s) Derick Rethans 2024-03-11 09:48:10 +00:00
  • 8d496baacc Added support for PIE James Titcumb 2025-06-19 14:27:08 +02:00
  • 2f9bae6658 Merge pull request #31 from remicollet/patch-1 Derick Rethans 2024-10-03 15:04:23 +01:00
  • 46ac9391b3 Relax for aarch64 Remi Collet 2024-09-25 15:31:57 +02:00
  • bbe86d2621 Merge pull request #30 from php-geospatial/interpolate-line-tests Derick Rethans 2024-03-05 15:34:32 +00:00
  • f299589ddd Add tests and documentation for 'interpolate_linestring' Derick Rethans 2024-03-05 15:22:56 +00:00
  • 44028ca6c9 Only care about PHP 8 Derick Rethans 2024-03-05 15:26:37 +00:00
  • 0e64038c19 The 'interpolate_polygon' function never did such a thing Derick Rethans 2024-03-05 14:33:15 +00:00
  • fec19b184a Update .gitignore Derick Rethans 2024-02-13 14:06:30 +00:00
  • ca4cd10e2e Use stubs for function definitions Derick Rethans 2024-02-13 14:03:18 +00:00
  • 409630e9c4 Convert zpp to ZEND_PARSE_PARAMETERS for rdp_simplify Derick Rethans 2024-02-13 13:30:42 +00:00
  • d3f3ab0a83 Go with 0.3.2 Derick Rethans 2022-08-11 14:33:13 +01:00
  • 1a04a011d2 Fix arginfo Derick Rethans 2022-08-11 14:32:15 +01:00
  • c6db5d5b5a Go with 0.3.1 Derick Rethans 2021-01-28 13:22:47 +00:00
  • ff036da7d5 Merge pull request #29 from php-geospatial/github-actions Derick Rethans 2021-01-28 13:21:12 +00:00
  • 5b635c0d0f Added GHA Derick Rethans 2021-01-28 11:58:19 +00:00
  • 518bfc1a53 Add support for PHP 8/Drop support for PHP 5 Derick Rethans 2021-01-28 11:48:35 +00:00
  • 8460c5b53e Don't put code in header files Derick Rethans 2019-03-12 14:30:23 +00:00
  • 8c666c0c83 Add PHP 7.3 to Travis tests Derick Rethans 2019-01-08 12:03:05 +00:00
  • 6f70cc258d Back to -dev Derick Rethans 2019-01-08 11:38:57 +00:00
  • 5e1d4b2083 Go with 0.2.1 Derick Rethans 2019-01-08 11:37:40 +00:00
  • 0692cea174 Added rdp_simplify() test. Derick Rethans 2019-01-08 11:32:01 +00:00
  • 4565404714 Fixed #26: Initial Bearing Calculation Error Derick Rethans 2019-01-08 11:31:08 +00:00
  • 977afbc3d8 Remove radius, as it did not do anything Derick Rethans 2018-05-10 15:18:47 +01:00
  • b6d963b93c Merge pull request #23 from emirb/geohash_encode_negative_precision Derick Rethans 2018-01-26 11:06:40 +00:00
  • 1c24b0b20a Fix possible integer overflow in memory allocation with negative precision in geohash_encode Emir Beganovic 2018-01-26 12:02:17 +01:00
  • e3731868a4 Fixed issue #22: Compile failure with PHP 5.6 on Windows using VC11 Derick Rethans 2018-01-02 10:55:18 +00:00
  • 51710ed4ac Back to -dev Derick Rethans 2017-12-29 12:11:18 +00:00
  • 3e36c70e74 Go with 0.2.0. Derick Rethans 2017-12-29 12:10:29 +00:00
  • fa1844ba97 Merged pull request #20 Derick Rethans 2017-12-29 12:03:55 +00:00
  • 5fbedfdc60 Coding standards, and a new test Derick Rethans 2017-12-29 12:01:35 +00:00
  • 6bd4087dfc Add Geo Hashing functions geohash_encode and geohash_decode. Emir Beganovic 2017-10-10 22:44:18 +02:00
  • c03c43a97e Merged pull request #19 Derick Rethans 2017-10-05 22:59:37 +01:00
  • 9e76ecdf69 Add badges Emir Beganovic 2017-10-03 21:00:05 +02:00
  • 57410445a2 Add Travis tests Emir Beganovic 2017-10-03 20:52:57 +02:00
  • d93e22bbac Merged pull request #18 Derick Rethans 2016-12-15 11:44:06 +00:00
  • 2ed17b239e Fixed issue #14: License consistency Derick Rethans 2016-12-15 11:43:25 +00:00
  • 78d9ba2e27 Merged pull request #17 Derick Rethans 2016-12-15 11:40:17 +00:00
  • 81c16b4331 Fixed issue #16: Segfault on rdp_simplify for GeoJSON Derick Rethans 2016-12-15 11:39:45 +00:00
  • 821928e550 Back to -dev Derick Rethans 2015-12-04 19:07:12 +00:00
  • 27547d489d Fixed up config.m4 and config.w32 files, and added a package.xml file Derick Rethans 2015-12-04 19:05:26 +00:00
  • 19dc0d0c27 Added documentation for a few more functions Derick Rethans 2015-12-04 18:53:45 +00:00
  • a91fab2805 Reformat README to reStructuredText format, and fix spelling mistakes Derick Rethans 2015-12-04 18:33:57 +00:00
  • e555a315e8 Rename README to README.rst Derick Rethans 2015-12-04 18:33:27 +00:00
  • db0af386df Added rebuild script for 32bit compiles. Derick Rethans 2015-12-04 18:29:36 +00:00
  • f67de40f98 Update license headers Derick Rethans 2015-12-04 18:29:29 +00:00
  • 38697687e0 Make extension work in ZTS mode Derick Rethans 2015-12-04 18:27:23 +00:00
  • 4eb5e51010 Fixed wrong type check for arrays Derick Rethans 2015-12-04 18:27:03 +00:00
  • 0bfda8cf5a Make extension compile and work with PHP 7 Derick Rethans 2015-12-04 18:26:30 +00:00
  • 8c45446f92 Fixed test case result Derick Rethans 2015-12-04 18:22:53 +00:00
  • 6980d9b938 Fixed argument hints, as per https://github.com/php-geospatial/geospatial/pull/11 Derick Rethans 2014-10-06 20:53:46 +01:00
  • 79280772ec Fix test Nathaniel McHugh 2013-12-12 17:38:05 +00:00
  • 67834e44b5 Add README Nathaniel McHugh 2013-12-12 17:25:13 +00:00
  • b02ac6e3ee Added interpolation for linestrings and polygon. Derick Rethans 2014-10-03 23:33:51 +01:00
  • 31fe8f4c15 We can't have one in km, and one in meters. Use the SI unit "meter" everywhere. Derick Rethans 2014-02-19 16:01:18 +00:00
  • 9e484dd3b5 Added KSP coordinates, and rename test. Derick Rethans 2014-02-19 09:13:30 +00:00
  • c9481fd394 Added the initial_bearing() function. Derick Rethans 2014-01-14 17:00:43 +00:00
  • 68e10cbc60 Fixed tests and arginfo. Derick Rethans 2014-01-14 17:00:24 +00:00
  • 41ec239aff Merged pull request #8 Derick Rethans 2013-11-30 17:25:58 +00:00
  • ccb575ce98 GeoJsonify the vincenty function. Derick Rethans 2013-11-30 17:22:09 +00:00
  • db780b4cc9 Merge branch 'master' of github.com:php-geospatial/geospatial Derick Rethans 2013-11-29 16:34:29 +00:00
  • 23a7d69c85 Merged pull request #7 Derick Rethans 2013-11-29 16:33:47 +00:00
  • 85209cb930 General formatting changes and license headers. Derick Rethans 2013-11-29 16:26:26 +00:00
  • 34f73a5768 Use geojson for in- and output coordinate pairs Derick Rethans 2013-11-29 16:17:21 +00:00
  • 7f7322b8d1 Fixed uninitialised variables in case the ellipsoids weren't set. Derick Rethans 2013-11-29 15:42:24 +00:00
  • 976ebccb94 Merge pull request #6 from natmchugh/vincenty Michael Maclean 2013-10-30 10:11:22 -07:00
  • be482c431f remove merge flags Nathaniel McHugh 2013-10-24 17:36:34 +01:00
  • b1f4132b95 Merge branch 'master' of git://github.com/php-geospatial/geospatial into vincenty Nathaniel McHugh 2013-10-04 23:46:05 +01:00
  • 53918a081d Merge pull request #5 from derickr/rdp Derick Rethans 2013-09-17 03:05:26 -07:00
  • 01d68a7a76 Added a Ramer-Douglas-Peucker line/polygon simplification algorithm. Derick Rethans 2013-09-17 11:04:13 +01:00
  • c628cbebda add vincenty function Nathaniel McHugh 2013-09-01 23:10:18 +01:00
  • 528eaa9526 remove unnecessary breaks Nathaniel McHugh 2013-08-29 22:43:35 +01:00
  • b7f429277f Merge branch 'master' of github.com:php-geospatial/geospatial Derick Rethans 2013-08-16 15:21:12 +01:00
  • 5ce87c6be9 Added the fraction_along_gc_line() function. Derick Rethans 2013-08-16 14:32:01 +01:00
  • 801eaecbd7 Move radius conversion out of the helper function, so we can use it for other things too. Derick Rethans 2013-08-16 14:31:29 +01:00
  • 214fa8d3ce Removed useless file. Derick Rethans 2013-08-16 13:43:05 +01:00
  • 8f631d4e19 Move to-rad conversion in the call, so that we can reuse each C-function. Derick Rethans 2013-08-12 18:35:21 +01:00
  • d585b9dd03 Fixed comment. Derick Rethans 2013-07-27 12:34:11 +01:00
  • 55c5c6b738 Added my rebuild script to speed things up. Derick Rethans 2013-07-27 12:31:36 +01:00
  • 7f85f9db63 Split out into a C function and use normal naming for variables. Derick Rethans 2013-07-27 12:31:15 +01:00
  • 191d1651dd Merge pull request #4 from natmchugh/fix_precision Michael Maclean 2013-01-04 05:23:16 -08:00
  • 7557728882 round off some floats that caluculate differently on 32 bit Nathaniel McHugh 2013-01-03 09:44:25 +00:00
  • 84dc192c14 Merge pull request #3 from natmchugh/helmert_transformation Michael Maclean 2013-01-02 15:19:44 -08:00
  • 51e609ce8a * fix spacing in copyright notice * add test for decimal minutes * add test on prime meridian based on this photo http://upload.wikimedia.org/wikipedia/commons/a/a1/Garmin_GPS_at_Greenwich_Observatory.jpg Nathaniel McHugh 2012-11-21 12:26:38 +00:00
  • 9d42be2f7a * spaces to tabs * more comments Nathaniel McHugh 2012-11-09 12:51:17 +00:00
  • ebeb425ed4 clean up names and prototypes Nathaniel McHugh 2012-11-07 22:52:03 +00:00
  • 49b3e9ccb6 add 2 new functions to convert co-ord formats Nathaniel McHugh 2012-11-03 10:45:57 +00:00
  • 1340ae890d * move constants into structure and allow reverse helmert Nathaniel McHugh 2012-10-19 12:51:57 +01:00
  • 14d61d5c70 * better set up of constants * more tests Nathaniel McHugh 2012-10-18 11:55:15 +01:00
  • 51c5910267 * apparently - height is correct Nathaniel McHugh 2012-10-14 14:54:12 +01:00
  • b156736659 * trasform polar to cartesian co-ords * transform caresian to polar co-ords * clean up code of helmert a lot * by combining output can transform between datums * -1 error with height * next step is to move these php functuons to C functions and create convert datum PHP function and wrappers Nathaniel McHugh 2012-10-14 14:42:26 +01:00
  • 2b54166ae2 * converts from polar to cartesian based on Airy 1830 * converts from cartesian to polar based on Airy 1830 * need to handle different ellipsoids Nathaniel McHugh 2012-10-11 12:50:55 +01:00
  • 8677e05bdf first draft at a helmert transformation Nathaniel McHugh 2012-10-09 22:27:38 +01:00
  • 768f82dab8 Merge pull request #1 from derickr/adding-arginfo Michael Maclean 2012-10-06 08:57:06 -07:00
  • b172396bff Use a fixed precision for the tests. Derick Rethans 2012-10-06 16:52:02 +01:00
  • a50db7c666 Fixed arginfo and added prototype. Derick Rethans 2012-10-06 16:51:20 +01:00
  • c21867203b Added polar-separation test, which checks the optional radius parameter to the haversin function. Marcus Deglos 2012-10-05 15:07:03 -07:00
  • 62e02208e5 Corrected code-documentation with values for earth radii. Marcus Deglos 2012-10-05 14:58:01 -07:00