List of available polygons for id = 1204369

params ▾ timestamp NPoints Length WKT GeoJSON poly Image
0 2024-07-10 14:22:24.378860 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
Mon Jul 22 07:55:53 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>