[gdal-dev] Optional Arguments in Function

2010-01-11 Thread Matthew Denno
Hello, I have a question about writing a function which uses OGR and I am hoping someone can point me in the right direction. I am trying to write a function that takes a few OGRFeatures as arguments. However I want one of them to be optional. I was hoping to do something like the following but

Re: [gdal-dev] Hangs on OGRLayer ResetReading

2009-12-19 Thread Matthew Denno
gt; > Do OGR command line utilities work on your shapefile ? For example, ogrinfo > ? > > Best regards, > > Even > > Matthew Denno a écrit : >> >> Hi, >> >> I was wondering if someone could help me out.  I have been working on >> a little piece

[gdal-dev] Hangs on OGRLayer ResetReading

2009-12-19 Thread Matthew Denno
Hi, I was wondering if someone could help me out.  I have been working on a little piece of code here and seems to be stuck.  The piece is very close to one of the examples on the website so I would think that it would be right...maybe I have missed something simple.  Anyway below is the code.  It

Re: [gdal-dev] Multipoint Iterator

2009-12-11 Thread Matthew Denno
Even, Thank you for your quick reply. I will give it a try when I get home. Matt On Fri, Dec 11, 2009 at 4:36 PM, Even Rouault wrote: > Matthew Denno a écrit : > > A multipoint geometry is a geometry collection, so you can use > OGRGeometry::getGeometryRef(iSubGeom). > > See

[gdal-dev] Multipoint Iterator

2009-12-11 Thread Matthew Denno
Hello list, Could someone tell me how to iterate over the points in a multipoint feature? I have searched through the mailing list and have looked through the documentation but can't seem to find it. I was expecting there to be a "nextPart" or iterator or something, but I don't see anything, am