GEOSGeometry error creating polygon

1.2k views Asked by At

I'm trying to create a polygon from coords but throws the next error:

Error encountered checking Geometry returned from GEOS C function "GEOSWKTReader_read_r".

its not works

poly = GEOSGeometry('POLYGON((4.8371311 4.8371311, 4.8371311 4.8371311, 4.6857419 4.6857419, 4.6857419 4.6857419))')

but it works

poly = GEOSGeometry('POLYGON((4 4, 4 4, 4 4, 4 4))')

¿Some idea?

1

There are 1 answers

1
cristian camilo cedeño gallego On BEST ANSWER

In this case the problem was that the polygon was incomplete