~ubuntu-branches/debian/sid/gdal/sid

« back to all changes in this revision

Viewing changes to ogr/ogr_apitut.dox

  • Committer: Package Import Robot
  • Author(s): Francesco Paolo Lovergine
  • Date: 2012-05-07 15:04:42 UTC
  • mfrom: (5.5.16 experimental)
  • Revision ID: package-import@ubuntu.com-20120507150442-2eks97loeh6rq005
Tags: 1.9.0-1
* Ready for sid, starting transition.
* All symfiles updated to latest builds.
* Added dh_numpy call in debian/rules to depend on numpy ABI.
* Policy bumped to 3.9.3, no changes required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
 
396
396
lyr.ResetReading()
397
397
 
398
 
feat = lyr.GetNextFeature()
399
 
while feat is not None:
 
398
for feat in lyr:
400
399
 
401
400
    feat_defn = lyr.GetLayerDefn()
402
401
    for i in range(feat_defn.GetFieldCount()):
419
418
    else:
420
419
        print "no point geometry\n"
421
420
 
422
 
    feat = lyr.GetNextFeature()
423
 
 
424
 
ds.Destroy()
 
421
ds = None
425
422
\endcode
426
423
 
427
424
\section ogr_apitut_write Writing To OGR
886
883
    linestring = raw_input()
887
884
    linelist = string.split(linestring)
888
885
 
889
 
 
890
 
ds.Destroy()
 
886
ds = None
891
887
\endcode
892
888
 
893
889
*/