Hi,
How can i store _packed attributes which is having multiple attributes packed by AttributejSonPacker?
Can i store that _packed attribute as BLOB type attribute in File Geodatabase?
Thanks in advance.
Hi,
How can i store _packed attributes which is having multiple attributes packed by AttributejSonPacker?
Can i store that _packed attribute as BLOB type attribute in File Geodatabase?
Thanks in advance.
Since JSON is text, the easiest is just to store it in a text attribute.
You can store a maximum of 2,147,483,647 characters in a text attribute in a File Geodatabase, which I guess should be more than enough.
Since JSON is text, the easiest is just to store it in a text attribute.
You can store a maximum of 2,147,483,647 characters in a text attribute in a File Geodatabase, which I guess should be more than enough.
How can i unpacked those attributes and use that as attr1, attr2, attr3 packed in _packed?
Since JSON is text, the easiest is just to store it in a text attribute.
You can store a maximum of 2,147,483,647 characters in a text attribute in a File Geodatabase, which I guess should be more than enough.
Python Exception <ValueError>: end is out of bounds
Error encountered while calling function `unpackAttributes'
f_21(PythonFactory): PythonFactory failed to process feature
Python Exception <ValueError>: end is out of bounds
Error encountered while calling function `unpackAttributes'
f_21(PythonFactory): PythonFactory failed to process feature
Here's a small workspace that demonstrates reading and writing JSON-packed attributes to a text attribute in a file geodatabase.
Disable either one of the bookmarks to test either reading or writing to the fgdb (don't leave both enabled).