diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2024-06-22 01:26:21 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2024-06-22 01:27:04 +0200 |
commit | 8c73990de91e22021e28ea29c0be6819f5d09eac (patch) | |
tree | cb15e52bbb5526446650d324e0f5c38383fa524b /webmap-download-mrr.py | |
parent | 58ec5a4544f55c53921bd553633733d153910e7a (diff) |
webmap-import: Don't crash when trying to insert a feature without geometry.
Cf. for instance
$ ogrinfo ./LST.vbk_projekteringsomraden.shp -sql "SELECT * FROM \"LST.vbk_projekteringsomraden\" WHERE OMRID = '1452-V-008'"
[…]
Layer name: LST.vbk_projekteringsomraden
Geometry: Polygon
Feature Count: 1
Extent: (-907106.000000, 727.000000) - (914131.738200, 7573766.311200)
Layer SRS WKT:
PROJCRS["SWEREF99 TM",
[…]
OGRFeature(LST.vbk_projekteringsomraden):2043
OMRID (String) = 1452-V-008
PROJNAMN (String) = Grimsås Äspås
ANTALVERK (Integer64) = 0
AntalejXY (Integer64) = (null)
CALPROD (Real) = 0.000000000000000
PBYGGSTART (String) = (null)
PDRIFT (String) = (null)
Andringsan (String) = (null)
UnderByggn (String) = (null)
ORGNAMN (String) = Kraftö AB
ORGNR (String) = 556708-7456
EJAKTUELL (String) = Yes
KOMNAMN (String) = Tranemo
LANSNAMN (String) = Västra Götalands l
EL_NAMN (String) = (null)
Raderat (String) = No
ArendeStat (String) = (null)
Diffstat (limited to 'webmap-download-mrr.py')
0 files changed, 0 insertions, 0 deletions