<div dir="ltr">Hi list,<div>I am working with the LVBAG driver, for which I am truly grateful, by the way, in C++.</div><div>I have a problem with OFTStringList and the corresponding function GetAsStringList() and/or the cast operator(s) to std::vector<std::string></div><div>In my code they produce an empty result.</div><div>switch (oField.GetType())<br></div><div>{</div><div>...</div><div>break;</div><div>case OFTStringList:<br>                                                        {<br>                                                             const std::string asString{ oField.GetAsString() };<br>                                                           cout << "Field type: " << oField.GetType() << ", string representation of StringList: " << asString << endl;<br>                                                                const std::vector<std::string> asList{ oField };<br>                                                                cout << "Vector length string list: " << asList.size() << endl;<br></div><div>}</div><div>break;</div><div>...</div><div>}</div><div>produces</div><div>(single item list)</div><div>Field type: 5, string representation of StringList: (1:NL.IMBAG.Pand.0518100000310601)<br>Vector length string list: 0</div><div>(2 item list)<br>Field type: 5, string representation of StringList: (2:woonfunctie,kantoorfunctie)<br>Vector length string list: 0<br></div><div>and similar when I use oField.GetAsStringList() or any other variant using reference etc.</div><div>The library I use is gdal-303-1928-x64-core.msi obtained from gisinternals supportsite.</div><div><br></div><div>I can parse the stringlist type, the strings will in this case not contain comma's, but I appreciate a pointer</div><div>to achieving this without additional bother.</div><div>Thanks in advance,</div><div>Jan</div><div><br></div></div>