# Geo

**URL:** https://discourse.julialang.org/c/domain/geo/18.md?page=2

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 3

---

## [How to convert a point from a given 2D crs to another one](https://discourse.julialang.org/t/how-to-convert-a-point-from-a-given-2d-crs-to-another-one/114549)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 6\
**Last updated:** [May 22, 2024, 9:49am UTC](https://discourse.julialang.org/t/how-to-convert-a-point-from-a-given-2d-crs-to-another-one/114549 "2024-05-22T09:49:27Z")

</div>

I thought it would be easy, but I can’t find a way to programmatically convert (and extract the X,Y values) a 2D point from a given well known reference point to another one. For example, I have a point in “EPSG:4326”, …

---

## [3D terrain graph with colour (as 4th dimension of dataset)](https://discourse.julialang.org/t/3d-terrain-graph-with-colour-as-4th-dimension-of-dataset/112178)

<div class="topic-metadata">

**Author:** [@Qmot](https://discourse.julialang.org/u/Qmot)\
**Replies:** 4\
**Last updated:** [March 27, 2024, 7:54pm UTC](https://discourse.julialang.org/t/3d-terrain-graph-with-colour-as-4th-dimension-of-dataset/112178 "2024-03-27T19:54:43Z")

</div>

Hello, Relatively new to Julia and enjoying it a lot! However, I would like to display data that has 4 dimensions, x, y, z (terrain) with a color that is independent of z. For context I’m trying to display geophysics on…

---

## [TrueColor raster satellite image](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401)

<div class="topic-metadata">

**Author:** [@haffner](https://discourse.julialang.org/u/haffner)\
**Replies:** 19\
**Last updated:** [March 11, 2024, 10:56am UTC](https://discourse.julialang.org/t/truecolor-raster-satellite-image/111401 "2024-03-11T10:56:34Z")

</div>

I’m trying to compose a TrueColor image from three raster channels a VIIRS granule stored in a netCDF4 file. I’d like to do this in pure Julia but haven’t figured it out yet. I can read the data using NCDatasets.jl, bu…

---

## [How to find a snapped point to a line string from a given point?](https://discourse.julialang.org/t/how-to-find-a-snapped-point-to-a-line-string-from-a-given-point/111169)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 1\
**Last updated:** [March 5, 2024, 12:51am UTC](https://discourse.julialang.org/t/how-to-find-a-snapped-point-to-a-line-string-from-a-given-point/111169 "2024-03-05T00:51:29Z")

</div>

I have a line string as follows, consisting of a few points (longitude/latitude) coordinates in Paris. The task is to find the snapped point to the given line and a point line\_string = \[ \[ 145.0296835, -37.80…

---

## [Seasonal plot is not smooth -- where am I going wrong?](https://discourse.julialang.org/t/seasonal-plot-is-not-smooth-where-am-i-going-wrong/111042)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 0\
**Last updated:** [March 2, 2024, 6:09am UTC](https://discourse.julialang.org/t/seasonal-plot-is-not-smooth-where-am-i-going-wrong/111042 "2024-03-02T06:09:56Z")

</div>

Howdy friends, I am attempting to plot the seasonal variability within the GPS data so that, in the future, I am able to have a de-trended/residual plot of GPS positions. Shown here is only the vertical component of a …

---

## [Extracting coordinates from Shape File](https://discourse.julialang.org/t/extracting-coordinates-from-shape-file/67799)

<div class="topic-metadata">

**Author:** [@Dieter](https://discourse.julialang.org/u/Dieter)\
**Replies:** 8\
**Last updated:** [February 28, 2024, 12:54pm UTC](https://discourse.julialang.org/t/extracting-coordinates-from-shape-file/67799 "2024-02-28T12:54:05Z")

</div>

Hi Community I tried to read in a Shape File with Austrian Boarders typing julia\> A=Shapefile.Table(Path\_Shapefile) Shapefile.Table{Union{Missing, Shapefile.Polygon}} with 1 rows and the following 16 columns: geometry…

---

## [Export GeoTable to common GIS format and CRS projection](https://discourse.julialang.org/t/export-geotable-to-common-gis-format-and-crs-projection/88408)

<div class="topic-metadata">

**Author:** [@ErickChacon](https://discourse.julialang.org/u/ErickChacon)\
**Replies:** 16\
**Last updated:** [February 28, 2024, 12:53pm UTC](https://discourse.julialang.org/t/export-geotable-to-common-gis-format-and-crs-projection/88408 "2024-02-28T12:53:30Z")

</div>

I love working with Meshes.jl and GeoTables.jl. I would like to be able to export a GeoTable object to a standard GIS format (e.g. shapfile, gpkg, so on) so my collaborators can handle the results of my analysis. What…

---

## [Accessing x, y values in a geopackage](https://discourse.julialang.org/t/accessing-x-y-values-in-a-geopackage/103196)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 18\
**Last updated:** [February 28, 2024, 12:50pm UTC](https://discourse.julialang.org/t/accessing-x-y-values-in-a-geopackage/103196 "2024-02-28T12:50:59Z")

</div>

Basic question: I can load a geopackage with: using GeoTables table = GeoTables.load("myfile.gpkg") Now how do I access the x, y values in the table?

---

## [Extracting projection from grib files](https://discourse.julialang.org/t/extracting-projection-from-grib-files/109818)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 4\
**Last updated:** [February 13, 2024, 8:01pm UTC](https://discourse.julialang.org/t/extracting-projection-from-grib-files/109818 "2024-02-13T20:01:09Z")

</div>

Any recommendation on how to get the projection from grib files and to robustly create a proj string?

---

## [Ongoing maintenance and support for DelaunayTriangulation.jl](https://discourse.julialang.org/t/ongoing-maintenance-and-support-for-delaunaytriangulation-jl/109635)

<div class="topic-metadata">

**Author:** [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Replies:** 11\
**Last updated:** [February 11, 2024, 3:26pm UTC](https://discourse.julialang.org/t/ongoing-maintenance-and-support-for-delaunaytriangulation-jl/109635 "2024-02-11T15:26:14Z")

</div>

In the what aspects is Julia weak in thread, the topic of ongoing support for DelaunayTriangulation.jl was raised and prompted a good amount of subsequent discussion: We will probably pull this into SciML. I still need…

---

## [Converting UK National Grid to Lat Lon and vice versa](https://discourse.julialang.org/t/converting-uk-national-grid-to-lat-lon-and-vice-versa/109628)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 17\
**Last updated:** [February 5, 2024, 9:59am UTC](https://discourse.julialang.org/t/converting-uk-national-grid-to-lat-lon-and-vice-versa/109628 "2024-02-05T09:59:43Z")

</div>

Just getting started on what I expect to be a long learning curve with maps (no prior experience). I have a UK postcode picked more or less at random: BT3 9DT. Google tells me this has the following properties: Latitu…

---

## [How can I read a GDAL dataset from an io stream?](https://discourse.julialang.org/t/how-can-i-read-a-gdal-dataset-from-an-io-stream/109679)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 2\
**Last updated:** [February 4, 2024, 12:14pm UTC](https://discourse.julialang.org/t/how-can-i-read-a-gdal-dataset-from-an-io-stream/109679 "2024-02-04T12:14:37Z")

</div>

Hi! I’m wondering how I can read a gdal dataset that comes in the form of some io stream. Imagine you iterate over a tar file of tifs via TarIterator. For each tif there is an io stream containing the raw dataset data as…

---

## [Call for submissions: Advances in Geostatistical Learning](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 2\
**Last updated:** [January 22, 2024, 2:55pm UTC](https://discourse.julialang.org/t/call-for-submissions-advances-in-geostatistical-learning/105947 "2024-01-22T14:55:39Z")

</div>

Me, @ErickChacon and other colleagues outside the Julia community are co-editing a special issue in the journal Frontiers in Applied Mathematics and Statistics. If you are doing research in geospatial machine learning, c…

---

## [Axis tick label position in GeoMakie](https://discourse.julialang.org/t/axis-tick-label-position-in-geomakie/106588)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 1\
**Last updated:** [January 15, 2024, 4:51pm UTC](https://discourse.julialang.org/t/axis-tick-label-position-in-geomakie/106588 "2024-01-15T16:51:48Z")

</div>

I am currently trying out GeoMakie. I have an issue with axis tick labels appearing on the axis or inside the figure. Is there an a simple way to simply shift all x position of y ticks and all y position of x tick or do…

---

## [New fresh talks on GeoStats.jl](https://discourse.julialang.org/t/new-fresh-talks-on-geostats-jl/108593)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [January 10, 2024, 12:23am UTC](https://discourse.julialang.org/t/new-fresh-talks-on-geostats-jl/108593 "2024-01-10T00:23:50Z")

</div>

---

## [Set spatial reference system to a geodataframe and plot it](https://discourse.julialang.org/t/set-spatial-reference-system-to-a-geodataframe-and-plot-it/108086)

<div class="topic-metadata">

**Author:** [@anjelinejeline](https://discourse.julialang.org/u/anjelinejeline)\
**Replies:** 8\
**Last updated:** [December 29, 2023, 6:11pm UTC](https://discourse.julialang.org/t/set-spatial-reference-system-to-a-geodataframe-and-plot-it/108086 "2023-12-29T18:11:48Z")

</div>

Hello, I am trying to create a geotable from a csv and plot it along with a shapefile, However I am not able to to set the right spatial reference system as I am getting a method error when using the setspatialref! fun…

---

## [Spatial Kernel in Julia](https://discourse.julialang.org/t/spatial-kernel-in-julia/107707)

<div class="topic-metadata">

**Author:** [@anjelinejeline](https://discourse.julialang.org/u/anjelinejeline)\
**Replies:** 28\
**Last updated:** [December 21, 2023, 1:07pm UTC](https://discourse.julialang.org/t/spatial-kernel-in-julia/107707 "2023-12-21T13:07:17Z")

</div>

Hi, I am really new to Julia, I would like to compute a spatial kernel with a resolution of 1000x1000 metres and then save the results as a raster file (“+proj=moll +lon\_0=0 +x\_0=0 +y\_0=0”). I gave it a try with the …

---

## [ERROR: LoadError: UndefVarError: \`StatelessTableTransform\` not defined](https://discourse.julialang.org/t/error-loaderror-undefvarerror-statelesstabletransform-not-defined/107130)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 2\
**Last updated:** [December 4, 2023, 9:17pm UTC](https://discourse.julialang.org/t/error-loaderror-undefvarerror-statelesstabletransform-not-defined/107130 "2023-12-04T21:17:21Z")

</div>

I’m trying to use GeoStats.jl, but I keep hitting this error. Any tips? julia\> using GeoStatsBase \[ Info: Precompiling GeoStatsBase \[323cb8eb-fbf6-51c0-afd0-f8fba70507b2\] WARNING: could not import TableTransforms.Statel…

---

## [How to clip a raster with a polygon](https://discourse.julialang.org/t/how-to-clip-a-raster-with-a-polygon/105883)

<div class="topic-metadata">

**Author:** [@WillHWThompson](https://discourse.julialang.org/u/WillHWThompson)\
**Replies:** 3\
**Last updated:** [November 7, 2023, 8:21am UTC](https://discourse.julialang.org/t/how-to-clip-a-raster-with-a-polygon/105883 "2023-11-07T08:21:58Z")

</div>

Hi all. I have a julia GIS problem that I can’t seem to solve. I have been using Rasters.jl to load rasterized GIS data into julia. This implements a Raster data structure where latitude and longitude points are associa…

---

## [Loading vector data to Gridspace in Agents.jl](https://discourse.julialang.org/t/loading-vector-data-to-gridspace-in-agents-jl/106459)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 2\
**Last updated:** [November 20, 2023, 1:13pm UTC](https://discourse.julialang.org/t/loading-vector-data-to-gridspace-in-agents-jl/106459 "2023-11-20T13:13:58Z")

</div>

Hi, I am wondering whether there is a way in Agents.jl to load vector data (using perhaps .shpfile) to something like Grid space. Or is this possbile with open street map space? For context, what I am trying to do is m…

---

## [Trouble with gmtread (gdalinfo failed)](https://discourse.julialang.org/t/trouble-with-gmtread-gdalinfo-failed/106330)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [November 16, 2023, 7:46pm UTC](https://discourse.julialang.org/t/trouble-with-gmtread-gdalinfo-failed/106330 "2023-11-16T19:46:34Z")

</div>

I’m trying to get acquainted with the GMT.jl package, and I’m following the wonderful tutorial here: Plot Landsat 8 images Unfortunately, the very first step fails! julia\> Ir = gmtread("/vsicurl/http://landsat-pds.s3.a…

---

## [How to calculate distance between two points along the LineString provided](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 11:11pm UTC](https://discourse.julialang.org/t/how-to-calculate-distance-between-two-points-along-the-linestring-provided/106023 "2023-11-12T23:11:11Z")

</div>

I have a line string and two points with me. I need to understand how to calculate the distance between two points along the provided line string. Also, note that in some cases, the provided points can be the same as the…

---

## [Is Leaflet.jl still maintained?](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 4\
**Last updated:** [November 12, 2023, 8:42am UTC](https://discourse.julialang.org/t/is-leaflet-jl-still-maintained/106104 "2023-11-12T08:42:40Z")

</div>

The last release was in July 2022, and the maintainers seem to have been working on Tyler.jl and other efforts. I’m curious what the best way to create interactive maps is, these days.

---

## [How to determine if a point given is within a line (two points)](https://discourse.julialang.org/t/how-to-determine-if-a-point-given-is-within-a-line-two-points/105896)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 12\
**Last updated:** [November 8, 2023, 5:41pm UTC](https://discourse.julialang.org/t/how-to-determine-if-a-point-given-is-within-a-line-two-points/105896 "2023-11-08T17:41:27Z")

</div>

I have got a line with two points and a single point. I need to check whether the single point is between the line (i.e. between the two points) given, including the two points given. How do I do that using Julia. …

---

## [How to calculate the nearest point on a line to a given point](https://discourse.julialang.org/t/how-to-calculate-the-nearest-point-on-a-line-to-a-given-point/105743)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 16\
**Last updated:** [November 7, 2023, 11:45am UTC](https://discourse.julialang.org/t/how-to-calculate-the-nearest-point-on-a-line-to-a-given-point/105743 "2023-11-07T11:45:59Z")

</div>

I’ve a line string that has long/lat coordinates as follows: \[ \[ 146.54294815408372, -36.04985956921628 \], \[ 146.5457684472937, -36.049249881…

---

## [GeoTables: "UndefVarError: \`load\` not defined" but can load with GeoIO](https://discourse.julialang.org/t/geotables-undefvarerror-load-not-defined-but-can-load-with-geoio/105221)

<div class="topic-metadata">

**Author:** [@Funsway](https://discourse.julialang.org/u/Funsway)\
**Replies:** 4\
**Last updated:** [October 23, 2023, 12:27am UTC](https://discourse.julialang.org/t/geotables-undefvarerror-load-not-defined-but-can-load-with-geoio/105221 "2023-10-23T00:27:07Z")

</div>

Hi all, I am new to Julia and is working on a project that uses the GeoTables packages. However, it gave me the “UndefVarError: load not defined” when GeoTables.load(“xxx.shp”), but, if I do, GeoIO.load(“xxx.shp”), i…

---

## [A native Julia package for satellite images?](https://discourse.julialang.org/t/a-native-julia-package-for-satellite-images/44689)

<div class="topic-metadata">

**Author:** [@mihalybaci](https://discourse.julialang.org/u/mihalybaci)\
**Replies:** 20\
**Last updated:** [September 5, 2023, 8:44pm UTC](https://discourse.julialang.org/t/a-native-julia-package-for-satellite-images/44689 "2023-09-05T20:44:54Z")

</div>

I use satellite data from a few sources (NASA- Landsat, etc., ESA - Sentinel1/2, etc.), and I know that there are a few ways to handle this in Julia (like GeoArrays.jl ArchGDAL.jl). But are there any thoughts to developi…

---

## [How to convert a Rasters.Raster{UInt8,2} to a Raster{Float32,2}?](https://discourse.julialang.org/t/how-to-convert-a-rasters-raster-uint8-2-to-a-raster-float32-2/103322)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [August 29, 2023, 6:27pm UTC](https://discourse.julialang.org/t/how-to-convert-a-rasters-raster-uint8-2-to-a-raster-float32-2/103322 "2023-08-29T18:27:05Z")

</div>

Hello, as from the title, how can I convert a Rasters.Raster{UInt8,2} to a Raster{Float32,2} ? I have tried with convert(Raster{Float64,2},myraster) but this method is not defined…

---

## [Pydeck julia binding](https://discourse.julialang.org/t/pydeck-julia-binding/89507)

<div class="topic-metadata">

**Author:** [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Replies:** 1\
**Last updated:** [August 23, 2023, 8:26pm UTC](https://discourse.julialang.org/t/pydeck-julia-binding/89507 "2023-08-23T20:26:54Z")

</div>

I’m unable to set up the PyCall binding to pydeck shown here tutorial Basically yarn bootstrap exits with an error Command failed with exit code 1 trying to build pydeck/julia-pycall-binding branch. I’ve cloned the rep…

---

## [RemoteS example Aqua orbits fails](https://discourse.julialang.org/t/remotes-example-aqua-orbits-fails/102844)

<div class="topic-metadata">

**Author:** [@jaksaa](https://discourse.julialang.org/u/jaksaa)\
**Replies:** 3\
**Last updated:** [August 18, 2023, 12:25pm UTC](https://discourse.julialang.org/t/remotes-example-aqua-orbits-fails/102844 "2023-08-18T12:25:05Z")

</div>

From this thread A native Julia package for satellite images? - #20 by joa-quim If better to be in the above thread please move. Have version: Julia Version 1.9.2 \[5752ebe1\] GMT v1.3.1 \[26020ff4\] RemoteS v1.0.0 \[6a…

[Previous page](https://discourse.julialang.org/c/domain/geo/18.md?page=1)

[Next page](https://discourse.julialang.org/c/domain/geo/18.md?page=3)
