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

Error after using OpenStreetMap #86

Open
hmwesigwa opened this issue Feb 17, 2017 · 2 comments
Open

Error after using OpenStreetMap #86

hmwesigwa opened this issue Feb 17, 2017 · 2 comments

Comments

@hmwesigwa
Copy link

Hello,

After I do

using OpenStreetMap

I get the following error and cannot properly use the functions defined. Please let me know how I can fix this. Thanks!

WARNING: Method definition (::Type{Graphs.KeyVertex})(Int64, #K<:Any) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:12 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:16.
WARNING: Method definition (::Type{Graphs.Edge})(Int64, #V<:Any, #V<:Any) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:54 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:60.
WARNING: Method definition (::Type{Graphs.ExEdge})(Int64, #V<:Any, #V<:Any, Base.Dict{String, Any}) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:72 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:83.
WARNING: Method definition (::Type{Graphs.TargetIterator})(#G<:Graphs.AbstractGraph, #EList<:Any) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:123 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:127.
WARNING: Method definition (::Type{Graphs.SourceIterator})(#G<:Graphs.AbstractGraph, #EList<:Any) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:141 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:145.
WARNING: Method definition edge_property_requirement(Graphs.AbstractEdgePropertyInspector{#T<:Any}, Graphs.AbstractGraph{#V<:Any, E<:Any}) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:164 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/common.jl:179.
WARNING: Method definition vertex_index(#V<:Union{Graphs.ExVertex, Graphs.KeyVertex}, Graphs.GenericGraph{#V<:Union{Graphs.ExVertex, Graphs.KeyVertex}, E<:Any, VList<:Any, EList<:Any, IncList<:Any}) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/graph.jl:65 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/graph.jl:67.
WARNING: Method definition (::Type{Graphs.GDistanceVisitor})(#G<:Graphs.AbstractGraph, #DMap<:Any) in module Graphs at /home/hushiji/.julia/v0.5/Graphs/src/breadth_first_visit.jl:107 overwritten at /home/hushiji/.julia/v0.5/Graphs/src/breadth_first_visit.jl:111.
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
WARNING: Base.UTF8String is deprecated, use String instead.
  likely near /home/hushiji/.julia/v0.5/OpenStreetMap/src/parseMap.jl:5
ERROR: LoadError: LoadError: UndefVarError: Bounds not defined
 in include_from_node1(::String) at ./loading.jl:488 (repeats 2 times)
 in eval(::Module, ::Any) at ./boot.jl:234
 in require(::Symbol) at ./loading.jl:415
while loading /home/hushiji/.julia/v0.5/OpenStreetMap/src/crop.jl, in expression starting on line 6
while loading /home/hushiji/.julia/v0.5/OpenStreetMap/src/OpenStreetMap.jl, in expression starting on line 38
@SzymiB
Copy link

SzymiB commented Jun 11, 2017

I am having the same issue. This package would actually help me a lot if I could get it to work. I would appreciate any hints how that might be resolved! Thank you in advance!

@samridler
Copy link

samridler commented Oct 7, 2017

I had the same problem, fixed it by pinning Geodesy package to version 0.0.1, which seems to be the only version with the Bounds type.
Run the command: Pkg.pin("Geodesy", v"0.0.1")
There are also three instances of Union(LLA, ENU) (with/without the space) in bounds.jl which may need to be changed to Union{LLA, ENU}, in your Geodesy source folder.

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

3 participants