cat-cfs / twobilliontoolkit

This repo stands as a singular place for all the tools that will be developed for the processing of 2 Billion Trees data and information
MIT License
1 stars 0 forks source link

Illegal Argument Exception in KML File #40

Closed AnthonyRodway closed 4 months ago

AnthonyRodway commented 5 months ago

The below image shows a log of an error occurred while trying to process a kml file. Something to look into.

image

AnthonyRodway commented 4 months ago

After trying to find some stuff about this error, I found a post https://gis.stackexchange.com/questions/447578/geosexception-illegalargumentexception-point-array-must-contain-0-or-1-elemen explaining that it could have something to do with geopandas not being able to read linestrings built on less than 3 coordinate points.

I checked the kml and everything seems to be completely fine looking, the lines all contain at least two points to make the line and have 3 coordinate points (z being 0 because it is clamped)

AnthonyRodway commented 4 months ago

User expected to manually process this data that will work with Spatial Transformer.