As a bonus question (should probably be a different topic), any package that could plot those shapefiles with a base map (Google map, OSM etc.) would be great
It looks like you’re installing all your packages in the default environment - don’t do this, as it will likely lead to compat issues (as you see) between packages you don’t actually need at the same time, and you’re foregoing the reproducibility benefits of Julia’s lightweight environments and their associated Project and Manifest toml files.
So in short make a folder for the analysis you’re looking to do, activate an environment in that folder, and add the packages you need (in this case it looks like GeoDataFrames and GMT). if that still doesn’t work post the whole error here and we’ll see what we can do.
This is odd, why is the library string here empty? Is this using the latest GDAL.jl? Perhaps it’s good to file an issue at the GDAL.jl repo, with the output of ] st -m and your versioninfo().
Sorry if we confuse you with all the alternatives (I would get confused) but you can read your shapefile with
D = gmtread("pts.shp");
and get the data in a GMTdaset type. I would like one day to make an interface between this type and others mentioned above but so far I need data in that type to communicate with the GMT library.