Fix error if data type is None

This commit is contained in:
xbgmsharp
2023-04-23 11:04:59 +02:00
parent 578ca925db
commit f2c68c82d8

View File

@@ -394,6 +394,9 @@ AS $geojson_py$
import json
parsed = json.loads(original)
output = []
#plpy.notice(parsed)
# [None, None]
if None not in parsed:
for idx, x in enumerate(parsed):
#plpy.notice(idx, x)
for feature in x: