Remove transformation in mapdetails_road of Road.geometry

This commit is contained in:
Julian Golderer 2022-04-03 01:39:45 +02:00 committed by Paul Bienkowski
parent e5b48f8ffd
commit 4417263019

View file

@ -35,7 +35,7 @@ async def mapdetails_road(req):
if not (1 <= radius <= 1000):
raise InvalidUsage("`radius` parameter must be between 1 and 1000")
road_geometry = func.ST_Transform(Road.geometry, 3857)
road_geometry = Road.geometry
point = func.ST_Transform(
func.ST_GeomFromGeoJSON(
json.dumps(