[core] Coordinate is now GeometryCoordinate

Also introduced GeometryCoordinates (vector of GeometryCoordinate
items), to better cope with GeometryCollection.
This commit is contained in:
Bruno de Oliveira Abinader
2016-02-18 17:09:26 +02:00
parent 411a562061
commit f3fc87261c
22 changed files with 75 additions and 65 deletions

View File

@@ -51,7 +51,7 @@ std::unique_ptr<GeoJSONTile> convertTile(const mapbox::geojsonvt::Tile& tile) {
if (tile) {
std::vector<std::shared_ptr<const GeoJSONTileFeature>> features;
std::vector<Coordinate> line;
GeometryCoordinates line;
for (auto& feature : tile.features) {
const FeatureType featureType =