Skip to content

Commit

Permalink
[sensorthings] Offer choices of non-polygon geometry types for multid…
Browse files Browse the repository at this point in the history
…atastreams

Fixes #59719
  • Loading branch information
nyalldawson committed Jan 31, 2025
1 parent 6bf6d04 commit d3880bf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/providers/sensorthings/qgssensorthingsutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,8 @@ Qgis::GeometryType QgsSensorThingsUtils::geometryTypeForEntity( Qgis::SensorThin

case Qgis::SensorThingsEntity::Location:
case Qgis::SensorThingsEntity::FeatureOfInterest:
return Qgis::GeometryType::Unknown;

case Qgis::SensorThingsEntity::MultiDatastream:
return Qgis::GeometryType::Polygon;
return Qgis::GeometryType::Unknown;
}
BUILTIN_UNREACHABLE
}
Expand Down

0 comments on commit d3880bf

Please sign in to comment.