diff --git a/composer.json b/composer.json index c979c181..9aa9b0ad 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "creof/doctrine2-spatial", + "name": "rleal/doctrine2-spatial", "type": "library", "description": "Doctrine2 multi-platform support for spatial types and functions", "keywords": ["orm", "dbal", "database", "postgresql", "mysql", "opengis", "postgis", "gis", "spatial", "geometry", "geography"], @@ -11,7 +11,7 @@ ], "license": "MIT", "require": { - "doctrine/orm": ">=2.1" + "doctrine/orm": ">=2.4" }, "require-dev": { "doctrine/common": ">=2.1", diff --git a/lib/CrEOF/Spatial/ORM/Query/AST/Functions/PostgreSql/STDistanceSphere.php b/lib/CrEOF/Spatial/ORM/Query/AST/Functions/PostgreSql/STDistanceSphere.php new file mode 100644 index 00000000..1483758d --- /dev/null +++ b/lib/CrEOF/Spatial/ORM/Query/AST/Functions/PostgreSql/STDistanceSphere.php @@ -0,0 +1,37 @@ + - + @@ -39,6 +39,6 @@ - +