[gdal-dev] OGR features list - python bindings

Nicol Hermann gdal at geoworld.de
Sun May 16 09:45:56 PDT 2021


Hallo,

Am Sonntag, den 16.05.2021, 10:25 -0600 schrieb David Strip:
> On 5/16/2021 9:44 AM, Nicol Hermann wrote: 
> > Hello,
> > 
> > 
> > No, but the execution terminates after that.
> > This is the function call followed by a simple print statement
> > which
> > does not get printed 
> > 
> > featureList = generateRecordFormSplit( ogr, dblayer, dblayerDefn,
> > '12345' )
> > print( featureList )
> > 
> > 
> > Thanks
> > Nicol
> > 
> > 
>  As Even has pointed out, this is the output of the print statement,
> though it appears to be truncated - the closing "]" is missing (and
> possibly more as well). 
> To convince yourself that the function has indeed returned try
> something like 
>     print ("Function has returned")
> If you want to see the actual features in a recognizable way, you
> will need to iterate through the featureList and print some property
> of each feature that has a human-readable representation. 

done and solved.
Thanks for your help!

Nicol





More information about the gdal-dev mailing list