Closed csaf4370 closed 10 years ago
Hi,
the problem seems to be that no geometry has bee written in the first model. You probably saw an error
ERROR 1: sqlite3_step() failed:
testcontainer.GEOMETRY violates Geometry constraint [geom-type or SRID not allowed] (19)
ERROR 1: COMMIT transaction failed: cannot commit - no transaction is active
The problem is the line
point.AddPoint(0,0)
change it to
point.SetPoint_2D(0, 1, 1)
this should work (at my system it does)
The first error
ERROR 1: Failed to lookup UOM CODE 0
stems form an unset EPSG code (coordinate system). I still need to implement that in the save file and GUI (see #247)
Thanks now it's working fine with COMPONENT as well as with NODE with setting the geometry.
Hi,
I tried different things but i couldn't get a simple Python module running. Maybe the problem is on my end, but i share the code here, also as a reference. I also get the following error when executing dynamind:
I made 2 modules one writing and one reading.
This is the writing module and here is the reading one:
could you please point me in the right direction or create a simple python module. Thanks a lot.