fix polgyon polygon typo

This commit is contained in:
Alessio Cimarelli 2023-07-17 10:11:57 +02:00
parent 2e56182a7f
commit 42c549274f
No known key found for this signature in database
GPG Key ID: 10C45B69C1CBC579
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class PlaceLookup
($this->bIncludePolygonAsSVG ? 1 : 0);
if ($iWantedTypes > CONST_PolygonOutput_MaximumTypes) {
if (CONST_PolygonOutput_MaximumTypes) {
userError('Select only '.CONST_PolygonOutput_MaximumTypes.' polgyon output option');
userError('Select only '.CONST_PolygonOutput_MaximumTypes.' polygon output option');
} else {
userError('Polygon output is disabled');
}

View File

@ -250,7 +250,7 @@ class ASGIAdaptor(abc.ABC):
numgeoms += 1
if numgeoms > self.config().get_int('POLYGON_OUTPUT_MAX_TYPES'):
self.raise_error('Too many polgyon output options selected.')
self.raise_error('Too many polygon output options selected.')
return {'address_details': True,
'geometry_simplification': self.get_float('polygon_threshold', 0.0),