|
70 | 70 | multipolygon_json = GeoJSON.read(multipolygon_str) |
71 | 71 | multipolygon_hole_json = GeoJSON.read(multipolygon_hole_str) |
72 | 72 |
|
73 | | - point_gb = GeoInterface.convert(Point, point_json) |
74 | | - point_3d_gb = GeoInterface.convert(Point, point_3d_json) |
75 | | - linestring_gb = GeoInterface.convert(LineString, linestring_json) |
76 | | - polygon_gb = GeoInterface.convert(Polygon, polygon_json) |
77 | | - polygon_hole_gb = GeoInterface.convert(Polygon, polygon_hole_json) |
78 | | - multipoint_gb = GeoInterface.convert(MultiPoint, multipoint_json) |
79 | | - multilinestring_gb = GeoInterface.convert(MultiLineString, multilinestring_json) |
80 | | - multipolygon_gb = GeoInterface.convert(MultiPolygon, multipolygon_json) |
81 | | - multipolygon_hole_gb = GeoInterface.convert(MultiPolygon, multipolygon_hole_json) |
| 73 | + point_gb = GeoInterface.convert(GeometryBasics, point_json) |
| 74 | + point_3d_gb = GeoInterface.convert(GeometryBasics, point_3d_json) |
| 75 | + linestring_gb = GeoInterface.convert(GeometryBasics, linestring_json) |
| 76 | + polygon_gb = GeoInterface.convert(GeometryBasics, polygon_json) |
| 77 | + polygon_hole_gb = GeoInterface.convert(GeometryBasics, polygon_hole_json) |
| 78 | + multipoint_gb = GeoInterface.convert(GeometryBasics, multipoint_json) |
| 79 | + multilinestring_gb = GeoInterface.convert(GeometryBasics, multilinestring_json) |
| 80 | + multipolygon_gb = GeoInterface.convert(GeometryBasics, multipolygon_json) |
| 81 | + multipolygon_hole_gb = GeoInterface.convert(GeometryBasics, multipolygon_hole_json) |
82 | 82 |
|
83 | 83 | @test point_gb === Point{2, Float64}(30.1, 10.1) |
84 | 84 | @test point_3d_gb === Point{3, Float64}(30.1, 10.1, 5.1) |
|
0 commit comments