Change Tuple(F64, F64) to Point in Polygon definition

This commit is contained in:
DoomzD 2020-05-05 18:36:50 +03:00
parent 0850d63d52
commit d6b57ff32f

View File

@ -66,7 +66,7 @@ void registerDataTypeDomainGeo(DataTypeFactory & factory) {
factory.registerSimpleDataTypeCustom("Polygon", []
{
return std::make_pair(DataTypeFactory::instance().get("Array(Array(Tuple(Float64, Float64)))"),
return std::make_pair(DataTypeFactory::instance().get("Array(Array(Point))"),
std::make_unique<DataTypeCustomDesc>(std::make_unique<DataTypeCustomFixedName>("Polygon"), std::make_unique<DataTypeCustomPolygonSerialization>()));
});
}