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”), it successfully loaded.
julia> GeoTables.load(“xxx.shp”)
ERROR: UndefVarError: load not defined
Stacktrace:
[1] getproperty(x::Module, f::Symbol)
@ Base ./Base.jl:31
[2] top-level scope
@ REPL[26]:1
Does anyone have an idea why my GeoTables cannot find the “load” method?
I am using conda environment to install Julia and the following are the versions:
julia version 1.9.3
“GeoTables” => v"1.9.0"
“GeoIO” => v"1.2.0"
Why do you think GeoTables should have a load method? Are there any docs mentioning this? I don’t really know the ecosystem (@juliohm will probably chime in with a better answer), but as far as I can tell GeoTables is a package to work with geo data in a Tables.jl compatible manner, not one for reading/writing data (which is probably what GeoIO is for)?
Thank you Nils for helping. We refactored the entire software stack recently and moved functions to their correct modules. GeoIO.jl is the module for loading and saving geotables from disk.
Please check the “Geospatial Data Science with Julia” book for more information on how the project is structured nowadays: