Lines Matching defs:coordinates
106 $geometry = $this->$method($obj->coordinates);
112 * @param array $coordinates Array of coordinates
115 private function arrayToPoint($coordinates)
117 switch (count($coordinates)) {
119 return new Point($coordinates[0], $coordinates[1]);
122 return new Point($coordinates[0], $coordinates[1], $coordinates[2]);
125 return new Point($coordinates[0], $coordinates[1], $coordinates[2], $coordinates[3]);
236 * The geometry should have geographical coordinates since CRS support has been removed from from geoJSON specification (RFC 7946)
281 'coordinates' => $geometry->isEmpty() ? [] : $geometry->asArray()
287 'coordinates' => $geometry->isEmpty() ? [] : $geometry->asArray()