Skip to content

Commit

Permalink
Updates to isequal documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
natgeo-wong committed Oct 1, 2024
1 parent 6b72ea0 commit abc16ea
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions docs/src/tutorials/isequal.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ Now, suppose we have two different GeoRegions, we have constructed several diffe

```@example equivalence
using GeoRegions
using DelimitedFiles
using CairoMakie
download("https://raw.githubusercontent.com/natgeo-wong/GeoPlottingData/main/coastline_resl.txt","coast.cst")
coast = readdlm("coast.cst",comments=true)
clon = coast[:,1]
clat = coast[:,2]
nothing
```

## 1. Are two GeoRegions Equivalent
Expand Down Expand Up @@ -104,8 +96,8 @@ isgeo(geo_SEA)
The function `isgeoshape()` allows us to check if another GeoRegion in the project has an equivalent `shape`.

```@example equivalence
geo_tmp1 = PolyRegion("TST","GLB","",lon,lat)
isgeoshape("TST",path=pwd())
geo_tmp1 = PolyRegion("TST","GLB","",lon,lat) # lon,lat taken from above example
isgeoshape(geo_tmp1,path=pwd())
```

### 3.1 Checking if a `shape` defined by (lon,lat) is defined in an existing GeoRegion
Expand Down

0 comments on commit abc16ea

Please sign in to comment.