Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create region maps (transform not defined) #6

Open
euronion opened this issue May 12, 2020 · 0 comments
Open

Cannot create region maps (transform not defined) #6

euronion opened this issue May 12, 2020 · 0 comments

Comments

@euronion
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant