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