Closed ifarah closed 5 years ago
this would be great if you could address asap if you have time, then we can run results for a Thursday deadline. Thx!
Working on this now
do you have a sample of this data readily available?
fixed
Hey Irene,
I'm experiencing the same error (lat [90,-90]) with my project,
how did you fix this issue? This would be great if you share. Thanks!
Hi, Could you check if you're using projected coordinates that are out of the [-90;90] range instead of lat-lon? Thanks, Julia
https://spatial-data-science-conference.com/
From: palanicres100 notifications@github.com Sent: Saturday, February 27, 2021 7:12 PM To: GeoDaCenter/spatial_access spatial_access@noreply.github.com Cc: Julia Koschinsky jkoschinsky@uchicago.edu; Comment comment@noreply.github.com Subject: Re: [GeoDaCenter/spatial_access] ValueError: Latitude must be in the [-90; 90] range. (#56)
Hey Irene,
I'm experiencing the same error (lat [90,-90]) with my project,
how did you fix this issue? This would be great if you share. Thanks!
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/GeoDaCenter/spatial_access/issues/56#issuecomment-787214426, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADILY76JNLBGQL3AS62MMLTTBGKARANCNFSM4HH3IRAA.
Hello Logan, I believe the code is throwing this error for latitudes, reading from the longitude column. (see error below) I specified latitudes as coord_y and longitude as coord_x. coord_x is indeed ranging [-91,90], but coord_y is ranging [36,40]
I'm also copying and pasting the error just in case it's easier for you.
INFO:spatial_access.p2p:Total number of rows in the dataset: 119 /usr/local/lib/python3.6/site-packages/geopy/point.py:81: UserWarning: Latitude normalization has been prohibited in the newer versions of geopy, because the normalized value happened to be on a different pole, which is probably not what was meant. If you pass coordinates as positional args, please make sure that the order is (latitude, longitude) or (y, x) in Cartesian terms. UserWarning)
ValueError Traceback (most recent call last)