@@ -115,58 +115,58 @@ public function testPoint2d()
115
115
{
116
116
$ point = Literal::point2d (1 , 2 );
117
117
118
- $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "crs " => new StringLiteral ("cartesian " ), " srid " => new Decimal ( 7203 ) ])), $ point );
118
+ $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "crs " => new StringLiteral ("cartesian " )])), $ point );
119
119
120
120
$ point = Literal::point2d (
121
121
new Decimal (1 ),
122
122
new Decimal (2 )
123
123
);
124
124
125
- $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "crs " => new StringLiteral ("cartesian " ), " srid " => new Decimal ( 7203 ) ])), $ point );
125
+ $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "crs " => new StringLiteral ("cartesian " )])), $ point );
126
126
}
127
127
128
128
public function testPoint3d ()
129
129
{
130
130
$ point = Literal::point3d (1 , 2 , 3 );
131
131
132
- $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "z " => new Decimal (3 ), "crs " => new StringLiteral ("cartesian-3D " ), " srid " => new Decimal ( 9157 ) ])), $ point );
132
+ $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "z " => new Decimal (3 ), "crs " => new StringLiteral ("cartesian-3D " )])), $ point );
133
133
134
134
$ point = Literal::point3d (
135
135
new Decimal (1 ),
136
136
new Decimal (2 ),
137
137
new Decimal (3 )
138
138
);
139
139
140
- $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "z " => new Decimal (3 ), "crs " => new StringLiteral ("cartesian-3D " ), " srid " => new Decimal ( 9157 ) ])), $ point );
140
+ $ this ->assertEquals (new Point (new PropertyMap (["x " => new Decimal (1 ), "y " => new Decimal (2 ), "z " => new Decimal (3 ), "crs " => new StringLiteral ("cartesian-3D " )])), $ point );
141
141
}
142
142
143
143
public function testPoint2dWGS84 ()
144
144
{
145
145
$ point = Literal::point2dWGS84 (1 , 2 );
146
146
147
- $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "crs " => new StringLiteral ("WGS-84 " ), " srid " => new Decimal ( 4326 ) ])), $ point );
147
+ $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "crs " => new StringLiteral ("WGS-84 " )])), $ point );
148
148
149
149
$ point = Literal::point2dWGS84 (
150
150
new Decimal (1 ),
151
151
new Decimal (2 )
152
152
);
153
153
154
- $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "crs " => new StringLiteral ("WGS-84 " ), " srid " => new Decimal ( 4326 ) ])), $ point );
154
+ $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "crs " => new StringLiteral ("WGS-84 " )])), $ point );
155
155
}
156
156
157
157
public function testPoint3dWGS84 ()
158
158
{
159
159
$ point = Literal::point3dWGS84 (1 , 2 , 3 );
160
160
161
- $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "height " => new Decimal (3 ), "crs " => new StringLiteral ("WGS-84-3D " ), " srid " => new Decimal ( 4979 ) ])), $ point );
161
+ $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "height " => new Decimal (3 ), "crs " => new StringLiteral ("WGS-84-3D " )])), $ point );
162
162
163
163
$ point = Literal::point3dWGS84 (
164
164
new Decimal (1 ),
165
165
new Decimal (2 ),
166
166
new Decimal (3 )
167
167
);
168
168
169
- $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "height " => new Decimal (3 ), "crs " => new StringLiteral ("WGS-84-3D " ), " srid " => new Decimal ( 4979 ) ])), $ point );
169
+ $ this ->assertEquals (new Point (new PropertyMap (["longitude " => new Decimal (1 ), "latitude " => new Decimal (2 ), "height " => new Decimal (3 ), "crs " => new StringLiteral ("WGS-84-3D " )])), $ point );
170
170
}
171
171
172
172
public function testDate ()
0 commit comments