From 85a9fbda6d74a709a375ff16a26c461dd2e94dd2 Mon Sep 17 00:00:00 2001 From: Taylor Smock Date: Wed, 16 Jun 2021 14:16:37 -0600 Subject: [PATCH] backend/services/mapillary_service: Fix lint issue Signed-off-by: Taylor Smock --- backend/services/mapillary_service.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/backend/services/mapillary_service.py b/backend/services/mapillary_service.py index e289018932..902676f015 100644 --- a/backend/services/mapillary_service.py +++ b/backend/services/mapillary_service.py @@ -1,17 +1,14 @@ import json import datetime import requests -import asyncio -from contextlib import closing -from concurrent.futures import ThreadPoolExecutor -from shapely.geometry import shape, mapping, LineString, Point +from shapely.geometry import shape, mapping, LineString from shapely.ops import linemerge import xml.etree.ElementTree as ET from backend.models.postgis.task import Task import os import math import mapbox_vector_tile -from typing import List, Optional, Any, Generator, Tuple, Set, Union +from typing import List, Optional, Any, Generator, Tuple, Set import geojson from flask import current_app from enum import IntFlag @@ -175,7 +172,6 @@ def set_geometry(self, geom): for coord in f["geometry"]["coordinates"]: tile_geom.append( { - "type": "Feature", "geometry": { "type": "LineString", "coordinates": coord,