creof / doctrine2-spatial

Doctrine2 multi-platform support for spatial types and functions.
MIT License
272 stars 174 forks source link

Fix #184 #185 and add support for && in postgis + few other small things #186

Closed yurtesen closed 6 years ago

yurtesen commented 6 years ago

…_pt. These functions does NOT exist in MySQL. Moved INSTALL.md to doc/configuration.md. Both contained redundant information. Added workaround functions geometry_overlaps, geography_overlaps to be able to use && operator in PostGIS.

Changed ArithmeticPrimary() to ArithmeticFactor() because most inputs may have negative/positive signs and ArithmeticPrimary() does not take this into consideration. See EBNF Arithmetic Expressions.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-16.7%) to 81.351% when pulling ace2dfffbd828444717d13ed3e7ccd7374dff44a on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-16.7%) to 81.351% when pulling ace2dfffbd828444717d13ed3e7ccd7374dff44a on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

yurtesen commented 6 years ago

I added toGeoJSON() function to abstract point... I only investigated Point type so if I ever use other types I can add them too. Unfortunately I am not good at adding tests. I hope somebody takes care of that part :)

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-22.6%) to 75.439% when pulling 5035fd3cf920b28d43018da7586a4ba189b5d081 on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-22.6%) to 75.439% when pulling 5035fd3cf920b28d43018da7586a4ba189b5d081 on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-22.6%) to 75.439% when pulling 5035fd3cf920b28d43018da7586a4ba189b5d081 on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-17.3%) to 80.697% when pulling 8caee4520a173e42e0855d9b765768cf7bd42693 on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-16.7%) to 81.351% when pulling 3702ff750523ee32e5347371b1a4877d9f535fcd on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-16.7%) to 81.351% when pulling 3702ff750523ee32e5347371b1a4877d9f535fcd on yurtesen:master into 58ea5fae1c1b450ee08d7dac25cd9e8f5e6fdebd on creof:master.