Skip to content

Commit e5223bf

Browse files
author
Jon West
committed
Merging changes
2 parents 04a6024 + a7f15b6 commit e5223bf

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## composer.json
44
"require": {
55
...
6-
"slavenin/doctrine2-spatial": "dev-master"
6+
"ddproxy/doctrine2-spatial": "dev-master"
77

88
You will also have to change the version requirement of doctrine to at least 2.1:
99

@@ -49,4 +49,4 @@ Example:
4949
protected $minGeomExpr = 2;
5050
/*max params count*/
5151
protected $maxGeomExpr = 2;
52-
}
52+
}

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,16 @@
22

33
Doctrine2 multi-platform support for spatial types and functions. Currently MySQL and PostgreSQL with PostGIS are supported. Could potentially add support for other platforms if an interest is expressed.
44

5-
This package is a refactor/continuation of my [doctrine2-mysql-spatial](https://github.com/djlambert/doctrine2-mysql-spatial) package.
5+
This package is a refactor/continuation of djlamberts [doctrine2-spatial](https://github.com/djlambert/doctrine2-spatial) package.
6+
7+
# Symfony2 Install
8+
9+
## composer.json
10+
"require": {
11+
...
12+
"ddproxy/doctrine2-spatial": "dev-master"
13+
14+
# Package details
615

716
## Types
817
The following SQL/OpenGIS types have been implemented as PHP objects and accompanying Doctrine types:

lib/CrEOF/Spatial/ORM/Query/AST/Functions/PostgreSql/STMakeEnvelope.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class STMakeEnvelope extends AbstractSpatialDQLFunction
3939

4040
protected $functionName = 'ST_MakeEnvelope';
4141

42-
protected $minGeomExpr = 5;
42+
protected $minGeomExpr = 4;
4343

4444
protected $maxGeomExpr = 5;
4545
}

0 commit comments

Comments
 (0)