X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/918fec73c6664f4c03de1210dc93f6004d2e90ab..7205491b8495e48c62b28373d1746e77d475582b:/nominatim/api/v1/server_glue.py diff --git a/nominatim/api/v1/server_glue.py b/nominatim/api/v1/server_glue.py index 70f7dc40..f08e8042 100644 --- a/nominatim/api/v1/server_glue.py +++ b/nominatim/api/v1/server_glue.py @@ -240,7 +240,7 @@ class ASGIAdaptor(abc.ABC): def parse_geometry_details(self, fmt: str) -> Dict[str, Any]: - """ Create details strucutre from the supplied geometry parameters. + """ Create details structure from the supplied geometry parameters. """ numgeoms = 0 output = napi.GeometryFormat.NONE @@ -531,7 +531,7 @@ async def deletable_endpoint(api: napi.NominatimAPIAsync, params: ASGIAdaptor) - async def polygons_endpoint(api: napi.NominatimAPIAsync, params: ASGIAdaptor) -> Any: """ Server glue for /polygons endpoint. This is a special endpoint that shows polygons that have changed - thier size but are kept in the Nominatim database with their + their size but are kept in the Nominatim database with their old area to minimize disruption. """ fmt = params.parse_format(RawDataList, 'json')