Skip to content

Commit 5a4351c

Browse files
authored
Get rid of GeometryBasics (#315)
1 parent 3917c86 commit 5a4351c

File tree

5 files changed

+131
-220
lines changed

5 files changed

+131
-220
lines changed

Project.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ ExactPredicates = "429591f6-91af-11e9-00e2-59fbe8cec110"
1313
Extents = "411431e0-e8b7-467b-b5e0-f676ba4f2910"
1414
GeoFormatTypes = "68eda718-8dee-11e9-39e7-89f7f65f511f"
1515
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
16-
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
1716
GeometryOpsCore = "05efe853-fabf-41c8-927e-7063c8b9f013"
1817
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1918
SortTileRecursiveTree = "746ee33f-1797-42c2-866d-db2fce69d14d"
19+
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
2020
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
2121
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
2222

@@ -52,6 +52,7 @@ LibGEOS = "0.9.2"
5252
LinearAlgebra = "1"
5353
Proj = "1"
5454
SortTileRecursiveTree = "0.1"
55+
StaticArrays = "1"
5556
Statistics = "1"
5657
TGGeometry = "0.1"
5758
Tables = "1"
@@ -66,6 +67,7 @@ Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
6667
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
6768
FlexiJoins = "e37f2e79-19fa-4eb7-8510-b63b51fe0a37"
6869
GeoJSON = "61d90e0f-e114-555e-ac52-39dfb47a3ef9"
70+
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
6971
JLD2 = "033835bb-8acc-5ee8-8aae-3f567f8a3819"
7072
LibGEOS = "a90b1aa1-3769-5649-ba7e-abc5a9d163eb"
7173
NaturalEarth = "436b0209-26ab-4e65-94a9-6526d86fea76"
@@ -80,4 +82,4 @@ TGGeometry = "d7e755d2-3c95-4bcf-9b3c-79ab1a78647b"
8082
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
8183

8284
[targets]
83-
test = ["ArchGDAL", "CoordinateTransformations", "DataFrames", "Distributions", "DimensionalData", "Downloads", "FlexiJoins", "GeoJSON", "Proj", "JLD2", "LibGEOS", "Random", "Rasters", "NaturalEarth", "OffsetArrays", "Polylabel", "SafeTestsets", "Shapefile", "TGGeometry", "Test"]
85+
test = ["ArchGDAL", "CoordinateTransformations", "DataFrames", "Distributions", "DimensionalData", "Downloads", "FlexiJoins", "GeoJSON", "GeometryBasics", "Proj", "JLD2", "LibGEOS", "Random", "Rasters", "NaturalEarth", "OffsetArrays", "Polylabel", "SafeTestsets", "Shapefile", "TGGeometry", "Test"]

src/GeometryOps.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@ import GeometryOpsCore:
1919
export TraitTarget, Manifold, Planar, Spherical, Geodesic, apply, applyreduce, flatten, reconstruct, rebuild, unwrap
2020

2121
using GeoInterface
22-
using GeometryBasics
2322
using LinearAlgebra, Statistics
2423

2524
import Tables, DataAPI
26-
import GeometryBasics.StaticArrays
25+
import StaticArrays
2726
import DelaunayTriangulation # for convex hull and triangulation
2827
import ExactPredicates
2928
import Base.@kwdef
3029
import GeoInterface.Extents: Extents
3130

3231
const GI = GeoInterface
33-
const GB = GeometryBasics
3432

3533
const TuplePoint{T} = Tuple{T, T} where T <: AbstractFloat
3634
const Edge{T} = Tuple{TuplePoint{T},TuplePoint{T}} where T

0 commit comments

Comments
 (0)