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

ValueError: Can't cast from structure to non-structure #61

Open
lime-n opened this issue Oct 4, 2021 · 0 comments
Open

ValueError: Can't cast from structure to non-structure #61

lime-n opened this issue Oct 4, 2021 · 0 comments

Comments

@lime-n
Copy link

lime-n commented Oct 4, 2021

I'm trying to convert a set of coordinates but I get the following error:

Can't cast from structure to non-structure, except if the structure only has a single field.

Here's an example of my code:

test = ((29.976858, -90.410561), (29.971119, -90.407745), (29.950888, -90.076546), (47.252495, -122.439644), (47.272591, -122.47448), (47.646713, -122.347435), (47.657841, -122.350327), (47.615028, -122.319855), (47.650452, -122.35051), (47.651093, -122.347435))

results = rg.search(test)
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