# Practical Spatial Analysis Packages in Julia

**URL:** <https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177>\
**Category:** New to Julia\
**Tags:** geostatistics\
**Created:** [December 16, 2021, 12:45am UTC](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177 "2021-12-16T00:45:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YummyPampers2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yummypampers2/32/27328_2.png) [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Post date:** [December 16, 2021, 12:45am UTC](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177/1 "2021-12-16T00:45:13Z")

</div>

Hello Watchers:

I have found a listing of geospatial packages,  
[here](https://github.com/svaksha/Julia.jl/blob/master/Earth-Science.md)

I am attempting to achieve two top level actions:

1. Convert addresses to LAT/LON within Julia
2. Display specified values via color-shading  
against a cluster (region) of the LAT/LON points.

- This region can be a province, township, district  
or some similar designation.

Where can I focus my efforts in this pursuit?

Thank you,

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [December 16, 2021, 4:53am UTC](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177/2 "2021-12-16T04:53:52Z")

</div>

For 1 there’s [JuliaHub](https://juliahub.com/ui/Packages/GoogleMaps/pQo6g/0.1.0) although that hasn’t been updated in a while - ultimately its just a simple API call though so the source should be easy enough to modify to get working.

---

<div class="post-metadata">

**Author:** ![Klaas\_Pauly](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/klaas_pauly/32/14819_2.png) [@Klaas\_Pauly](https://discourse.julialang.org/u/Klaas_Pauly)\
**Post date:** [December 16, 2021, 8:46am UTC](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177/3 "2021-12-16T08:46:52Z")

</div>

1. There exist many (RESTful) API services that allow you to do both forward and reverse geocoding, also non-Google. For instance, for R&D purposes there’s the [OpenStreetMap Nominatim API](https://operations.osmfoundation.org/policies/nominatim/) and the [Nominatim wiki](https://wiki.openstreetmap.org/wiki/Nominatim#Alternatives_.2F_Third-party_providers) also lists alternatives and third parties, but if you browse the internet for “open geocoding API” or similar you will find many such services (some based on Nominatim, some on others), most of which will be free below a certain reasonable number of requests per time unit, and will require you to have a paid subscription for higher request counts. These APIs can be used from Julia with [HTTP.jl](https://github.com/JuliaWeb/HTTP.jl) and [JSON.jl](https://github.com/JuliaIO/JSON.jl).

2. I’m not sure I understand your plotting requirements, but for geospatial plotting in general have a look at [GMT.jl](https://github.com/GenericMappingTools/GMT.jl) and [GeoMakie.jl](https://github.com/JuliaPlots/GeoMakie.jl). From what I understand though, it seems to me that you would also want to take a look at the ecosystem around [GeoStats.jl and Meshes.jl, with visualization recipes towards Makie](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028/4).

---

<div class="post-metadata">

**Author:** ![YummyPampers2](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yummypampers2/32/27328_2.png) [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Post date:** [December 17, 2021, 2:44pm UTC](https://discourse.julialang.org/t/practical-spatial-analysis-packages-in-julia/73177/4 "2021-12-17T14:44:27Z")

</div>

@Klaas_Pauly Thank you for sharing this!

I was making a display similar to:

![image](https://global.discourse-cdn.com/julialang/original/3X/1/7/17dd62d30969b48d75e06b2cd278ea875bbcd8cb.png)

Where I can highlight certain regions based  
on some criteria and then annotate these  
areas with some data or text labels within  
something like a card. I do not know if it can  
be done using ArcGis Online, but so far it  
does not seem so. Also, that platform is  
clunky – I thought Julia could streamline my  
efforts.

From your pointer, I have since made a little  
progress in a thread to Dr. H [HERE](https://discourse.julialang.org/t/best-way-of-handling-shapefiles-in-makie/71028/12)
