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

fix error message #187

Merged
merged 1 commit into from
Oct 10, 2023
Merged

fix error message #187

merged 1 commit into from
Oct 10, 2023

Conversation

alex-s-gardner
Copy link
Contributor

I've changed of to typeof and assigned the second input a variable name tr... this should fix the following issue:

ERROR: UndefVarError: `of` not defined
Stacktrace:
 [1] convert(t::Type{GeometryCollection}, ::GeoInterface.GeometryCollectionTrait, geom::Shapefile.Handle{Union{Missing, Shapefile.Polygon}}; context::Nothing)
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:164
 [2] convert(t::Type{GeometryCollection}, ::GeoInterface.GeometryCollectionTrait, geom::Shapefile.Handle{Union{Missing, Shapefile.Polygon}})
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:158
 [3] to_geos(trait::GeoInterface.GeometryCollectionTrait, geom::Shapefile.Handle{Union{Missing, Shapefile.Polygon}})
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:278
 [4] to_geos(geom::Shapefile.Handle{Union{Missing, Shapefile.Polygon}})
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:277
 [5] within(::Point, ::Shapefile.Handle{Union{Missing, Shapefile.Polygon}}; kw::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:337
 [6] within(::Point, ::Shapefile.Handle{Union{Missing, Shapefile.Polygon}})
   @ LibGEOS ~/.julia/packages/LibGEOS/8fzeY/src/geo_interface.jl:337

@evetion evetion merged commit ff928ea into master Oct 10, 2023
11 checks passed
@evetion evetion deleted the fix_error_message branch October 10, 2023 06:39
@evetion
Copy link
Member

evetion commented Oct 10, 2023

Thanks! 👍🏻

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

Successfully merging this pull request may close these issues.

2 participants