Skip to content

Semantic segmentation test sites that are all one category #1855

Answered by AdeelH
NoaMillsUSDA-ARS asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I think I have figured it out:

Your GeoJSON file has two "issues":

  1. Each feature has a "crs" property which gets converted into a GeoDataframe column when passed to geopandas, which confuses it and results in the ValueError: The truth value of a Series is ambiguous error.
    • Fix: remove this property from your features. I cal also make it so that RV deletes any such "crs" keys.
  2. The second issue is not present in the file you shared, but presumably in the file that generated the LinearRing error. Based on the stack trace, that GeoJSON has geometries that have "holes". This is not really a problem in itself, but you are running into the error because of a bug in RV. That part of RV is…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@NoaMillsUSDA-ARS
Comment options

@AdeelH
Comment options

@AdeelH
Comment options

Answer selected by NoaMillsUSDA-ARS
@AdeelH
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants