- fixed some possible issues due of changes in version 2.0 of Shapely
- removed the import * statement from most of the app
This commit is contained in:
26
appTool.py
26
appTool.py
@@ -6,34 +6,12 @@
|
||||
# MIT Licence #
|
||||
# ########################################################## ##
|
||||
|
||||
from shapely.geometry import Polygon, LineString, box, MultiPolygon, MultiPoint, MultiLineString, LinearRing, Point, \
|
||||
shape, base
|
||||
from shapely.strtree import STRtree
|
||||
from shapely.ops import unary_union, nearest_points, linemerge, snap
|
||||
from shapely.affinity import translate, scale, skew, rotate
|
||||
|
||||
from appGUI.GUIElements import *
|
||||
|
||||
from copy import copy, deepcopy
|
||||
import math
|
||||
|
||||
import numpy as np
|
||||
from numpy import Inf
|
||||
|
||||
import simplejson as json
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import time
|
||||
import platform
|
||||
from collections.abc import Iterable
|
||||
import traceback
|
||||
from datetime import datetime
|
||||
from PyQt6 import QtGui, QtWidgets, QtCore
|
||||
from shapely.geometry import Polygon, LineString
|
||||
|
||||
import gettext
|
||||
import appTranslation as fcTranslate
|
||||
import builtins
|
||||
import logging
|
||||
|
||||
fcTranslate.apply_language('strings')
|
||||
if '_' not in builtins.__dict__:
|
||||
|
||||
Reference in New Issue
Block a user