Remove transformation in mapdetails_road of Road.geometry
This commit is contained in:
parent
e5b48f8ffd
commit
4417263019
|
@ -35,7 +35,7 @@ async def mapdetails_road(req):
|
||||||
if not (1 <= radius <= 1000):
|
if not (1 <= radius <= 1000):
|
||||||
raise InvalidUsage("`radius` parameter must be between 1 and 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(
|
point = func.ST_Transform(
|
||||||
func.ST_GeomFromGeoJSON(
|
func.ST_GeomFromGeoJSON(
|
||||||
json.dumps(
|
json.dumps(
|
||||||
|
|
Loading…
Reference in a new issue