<div dir="ltr"><div>Good morning,</div><div><br></div><div>I've been working on a simple script to load GeoJSON into PostGIS.  I'm encountering an error that has me scratching my head, it seems that unicode strings cannot be used with the feature.SetField() function in Python.  Is that really true?</div><div><br></div><div>I've tested this by re-writing the variable inline from my test record and can confirm that when it is type <str> it works, and when it is type <unicode> it fails with the following error.</div><div><br></div><div> <i>NotImplementedError: Wrong number of arguments for overloaded function 'Feature_SetField'.</i></div><div><br></div><div>I foind an old ticket that talks about this, <a href="https://trac.osgeo.org/gdal/ticket/4608">https://trac.osgeo.org/gdal/ticket/4608</a>, but I'm not having any luck getting this to work.</div><div><br></div><div>My GDAL version info is GDAL 1.11.0, released 2014/04/16.</div><div><br></div><div>To reiterate, I'm simply parsing a field from a UTF-8 encoded JSON record and trying to push it into PostGIS.</div><div><br></div><div>Thank you for your time.</div><div><br></div><div>Roger</div></div>