Commit 02ed28c8 authored by Rick Gruber-Riemer's avatar Rick Gruber-Riemer

Migrating coordinates.py to utilities

parent e684cd89
......@@ -65,10 +65,9 @@ from typing import List
import building_lib
import cluster
import coordinates
import prepare_textures
import numpy as np
import parameters
import prepare_textures
import shapely.geometry as shgm
import shapely.geos as shgs
import stg_io2
......@@ -76,7 +75,7 @@ import tools
import troubleshoot
import utils.utilities as util
import utils.vec2d as v
from utils import osmparser, calc_tile
from utils import osmparser, calc_tile, coordinates
buildings = [] # -- master list, holds all buildings
OUR_MAGIC = "osm2city" # Used in e.g. stg files to mark edits by osm2city
......
......@@ -13,11 +13,10 @@ import os
import sys
import xml.sax
import coordinates
import parameters
import stg_io2
import tools
from utils import osmparser, vec2d
from utils import osmparser, vec2d, coordinates
OUR_MAGIC = "osm2nature" # Used in e.g. stg files to mark edits by osm2nature.py
......
......@@ -13,7 +13,6 @@ import os
from random import randint
import ac3d
import coordinates
import numpy as np
import parameters
import shapely.geometry as shg
......@@ -23,7 +22,7 @@ from cluster import Clusters
from objectlist import ObjectList
from shapely.geometry.base import CAP_STYLE, JOIN_STYLE
from shapely.geometry.linestring import LineString
from utils import osmparser
from utils import osmparser, coordinates
from utils.vec2d import Vec2d
OUR_MAGIC = "osm2piers" # Used in e.g. stg files to mark edits by osm2Piers
......
......@@ -15,12 +15,11 @@ import shapely.geometry as shg
import ac3d
from cluster import Clusters
import coordinates
from objectlist import ObjectList
import parameters
import stg_io2
import tools
from utils import osmparser
from utils import osmparser, coordinates
from utils.vec2d import Vec2d
......
......@@ -25,13 +25,12 @@ import sys
import unittest
import xml.sax
import coordinates
import parameters
import roads
import shapely.geometry as shg
import stg_io2
import tools
from utils import osmparser, vec2d
from utils import osmparser, vec2d, coordinates
OUR_MAGIC = "osm2pylon" # Used in e.g. stg files to mark edits by osm2pylon
......
......@@ -87,7 +87,6 @@ import random
import textwrap
import ac3d
import coordinates
import graph
import linear
import linear_bridge
......@@ -103,7 +102,7 @@ import tools
import troubleshoot
import utils.utilities as util
from cluster import Clusters
from utils import osmparser
from utils import osmparser, coordinates
from utils.vec2d import Vec2d
OUR_MAGIC = "osm2roads" # Used in e.g. stg files to mark our edits
......
......@@ -21,13 +21,12 @@ import textwrap
import time
import batch_processing.fg_telnet as telnet
import coordinates
import matplotlib.pyplot as plt
import numpy as np
import parameters
import utils.utilities as util
import utils.vec2d as ve
from utils import calc_tile
from utils import calc_tile, coordinates
from utils.utilities import Stats
stats = None
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment