Skip to content

Cannot create region maps (transform not defined) #6

Description

@euronion

When running createmaps(<region>) I run into the following warning and error. No map is created to the GlobalEnergyGIS/output/ directory:

julia> createmaps("Europe8")
WARNING: both DataFrames and GeoMakie export "transform"; uses of it in module GlobalEnergyGIS must be qualified
Mapping colors to regions (avoid same color in adjacent regions)...

Projecting coordinates (Mollweide)...

Finding interregional transmission lines...

Onshore map...
...constructing map...
[ Info: Makie/AbstractPlotting is caching fonts, this may take a while. Needed only on first run!
...drawing transmission lines...
ERROR: UndefVarError: transform not defined
Stacktrace:
 [1] createmap(::String, ::Array{Int16,2}, ::Array{Symbol,1}, ::Array{Float64,1}, ::StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}, ::Array{ColorTypes.RGB{Float64},1}, ::Proj4.Projection, ::Proj4.Projection, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Float64,2}, ::Array{Bool,2}, ::Array{Bool,2}; lines::Bool, labels::Bool, resolutionscale::Int64, textscale::Int64, legend::Bool) at /home/<home>/.julia/packages/GlobalEnergyGIS/gFPzK/src/mapping.jl:35
 [2] createmaps(::String; scenarioyear::String, lines::Bool, labels::Bool, resolutionscale::Int64, textscale::Int64, randseed::Int64) at /home/<home>/.julia/packages/GlobalEnergyGIS/gFPzK/src/mapping.jl:95
 [3] createmaps(::String) at /home/<home>/.julia/packages/GlobalEnergyGIS/gFPzK/src/mapping.jl:67
 [4] top-level scope at REPL[17]:1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions