List of available polygons for id = 457973

params ▾ timestamp NPoints Length WKT GeoJSON poly Image
0 2023-11-06 18:21:27.407395 None None WKT GeoJSON poly image

Generate a simplified polygon

X, Y, Z are parameters for the following postgis equation. The default values are chosen according to the size of the original geometry to give a slighty bigger geometry, without too many nodes.

Note that: --> -->
 
 
TypeError
Python 3.9.2: /usr/bin/python3
Thu Mar 28 20:52:43 2024

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

 /data/project/polygons/polygons-generation/website/index.py in <module>
    276 show("</ul>")
    277 
=>  278 if geom_length >= 10:
    279     rec_x = 0.04
    280     rec_y = 0.01
geom_length = None

TypeError: '>=' not supported between instances of 'NoneType' and 'int'
      args = ("'>=' not supported between instances of 'NoneType' and 'int'",)
      with_traceback = <built-in method with_traceback of TypeError object>