Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometry creation tutorial #151

Merged
merged 28 commits into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f01a8a4
Add the basic geometry creation tutorial prototyped on Slack
asinghvi17 Jun 10, 2024
0502f38
Correct grammar
asinghvi17 Jun 10, 2024
da8553d
Move explanations into `src/explanations`
asinghvi17 Jun 10, 2024
780b3d9
Better documentation for `isclockwise`
asinghvi17 Jun 10, 2024
5e32901
Add the tutorial to the visible docs
asinghvi17 Jun 10, 2024
cbce111
a few minor update
alex-s-gardner Jun 10, 2024
3d9c5aa
Fix doc build errors
asinghvi17 Jun 10, 2024
030fb2f
remove `crs` from points, add note, remove display
alex-s-gardner Jun 11, 2024
4f99beb
Minor format changes for CRS description
asinghvi17 Jun 12, 2024
6e6ed31
Use Vitepress features to showcase multiple methods
asinghvi17 Jun 12, 2024
1fc30a9
add additional crs example
alex-s-gardner Jun 12, 2024
27ec5c3
Fix syntax (mismatched `=`)
asinghvi17 Jun 12, 2024
674df10
Try to fix again
asinghvi17 Jun 12, 2024
6eb5b64
Plug GeoDataFrames for weird and wonderful data formats
asinghvi17 Jun 12, 2024
24a3a29
Stop theme leakage
asinghvi17 Jun 12, 2024
33f7bd4
Add some packages' master versions
asinghvi17 Jun 12, 2024
62f5af6
Update CI.yml
asinghvi17 Jun 12, 2024
13e5b25
Update CI.yml
asinghvi17 Jun 12, 2024
9656d10
changes for readability
alex-s-gardner Jun 12, 2024
a7ef4a4
Remove tabs, minor fixes
asinghvi17 Jun 12, 2024
34eab8c
Fix parsing for the clockwise math
asinghvi17 Jun 13, 2024
66f8903
Add descriptions of how to write geometry
asinghvi17 Jun 13, 2024
84924ec
Add some comments about Natural Earth and GeoMakie
asinghvi17 Jun 13, 2024
a8b6ec8
tutorial outline and major reorganization of CRS
alex-s-gardner Jun 13, 2024
a4602a9
Update docs/src/tutorials/creating_geometry.md
asinghvi17 Jun 14, 2024
848d390
moved outline to top
alex-s-gardner Jun 14, 2024
936f59b
Hack around the long-print issue using DisplayAs
asinghvi17 Jun 14, 2024
b670d4f
Add headings and link the table of contents
asinghvi17 Jun 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,11 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- uses: julia-actions/julia-buildpkg@v1
- name: Build and add versions
run: julia --project=docs -e 'using Pkg; Pkg.add([PackageSpec(path = "."), PackageSpec(name = "GeoMakie", rev = "master"), PackageSpec(name = "DimensionalData", rev = "main"), PackageSpec(name = "Rasters", rev = "la/compacts")])'
- uses: julia-actions/julia-docdeploy@v1
with:
install-package: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/benchmark_plots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ end
function plot_trials(
gp::Makie.GridPosition,
results;
theme = merge(deepcopy(Makie.CURRENT_DEFAULT_THEME), MakieThemes.bbc()),
theme = MakieThemes.bbc(),
legend_position = Makie.automatic, #(1, 1, TopRight()),
legend_orientation = :horizontal,
legend_halign = 1.0,
Expand Down
9 changes: 8 additions & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,23 @@ CoordinateTransformations = "150eb455-5306-5404-9cee-2592286d6298"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
DisplayAs = "0b91fe84-8a4c-11e9-3e1d-67c38462b6d6"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
DocumenterVitepress = "4710194d-e776-4893-9690-8d956a29c365"
DoubleFloats = "497a8b3b-efae-58df-a0af-a86822472b78"
Downloads = "f43a241f-c20a-4ad4-852c-f6b1247861c6"
ExactPredicates = "429591f6-91af-11e9-00e2-59fbe8cec110"
FlexiJoins = "e37f2e79-19fa-4eb7-8510-b63b51fe0a37"
GADM = "a8dd9ffe-31dc-4cf5-a379-ea69100a8233"
ExactPredicates = "429591f6-91af-11e9-00e2-59fbe8cec110"
GeoDataFrames = "62cb38b5-d8d2-4862-a48e-6a340996859f"
GeoDatasets = "ddc7317b-88db-5cb5-a849-8449e5df04f9"
GeoFormatTypes = "68eda718-8dee-11e9-39e7-89f7f65f511f"
GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
GeoInterfaceMakie = "0edc0954-3250-4c18-859d-ec71c1660c08"
GeoJSON = "61d90e0f-e114-555e-ac52-39dfb47a3ef9"
GeoMakie = "db073c08-6b98-4ee5-b6a4-5efafb3259c6"
GeoParquet = "e99870d8-ce00-4fdd-aeee-e09192881159"
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
GeometryOps = "3251bfac-6a57-4b6d-aa61-ac1fef2975ab"
LibGEOS = "a90b1aa1-3769-5649-ba7e-abc5a9d163eb"
Expand All @@ -34,3 +40,4 @@ Proj = "c94c279d-25a6-4763-9509-64d165bea63e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Shapefile = "8e980c4a-a4fe-5da2-b3a7-4b4b0353a2f4"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Weave = "44d3d7a6-8a23-5bf8-98c5-b353f8df5ec9"
5 changes: 3 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ makedocs(;
"Introduction" => "introduction.md",
"API Reference" => "api.md",
"Tutorials" => [
"Creating Geometry" => "tutorials/creating_geometry.md",
"Spatial Joins" => "tutorials/spatial_joins.md",
],
"Explanations" => [
"Paradigms" => "paradigms.md",
"Peculiarities" => "peculiarities.md",
"Paradigms" => "explanations/paradigms.md",
"Peculiarities" => "explanations/peculiarities.md",
],
"Source code" => literate_pages,
],
Expand Down
Empty file added docs/src/explanations/crs.md
Empty file.
File renamed without changes.
File renamed without changes.
Empty file.
Loading
Loading