[gdal-dev] Recommendation for what vector format to use?

2009-04-15 Thread Roger André
Hi All, I'm about to implement a new workflow that uses gdal_rasterize and it dawned on me that A) I wasn't limited to using shapefiles, and B) that it would be a heck of alot more convenient to use a binary data format that stored all the information in a single file. Is there such a thing? Do

[gdal-dev] New OGR_GEOM_AREA special field

2009-04-15 Thread Daniel Morissette
Hi GDAL Dev's, I'd like to use a OGR SQL statement to filter features from a shapefile based on their area. e.g. keep only the large lakes in a water layer for instance. A simple way to allow this would be to add a new OGR_GEOM_AREA special field on OGRFeatures that calls the OGRSurface::get

Re: [gdal-dev] How to make my GDAL code faster?

2009-04-15 Thread Nicolas DEGARNE
Hy, Thanks for your help Frank,it's allowed me to improve my program from 200s to 14s that's show a great progress. I didn't understand what is "rolling mean" could you please explain me? An other question, is it possible to make multithread process? thanks a lot for your help Best regards, N

Re: [gdal-dev] How to make my GDAL code faster?

2009-04-15 Thread Frank Warmerdam
Nicolas DEGARNE wrote: I read on help and /gdal.h/ File Reference that it could exist faster way so I have some ideas like : Merging the code to c++ Using Read/Write block Use Tile/Block to accelerate the process Use the Warpprocess to c

Re: [gdal-dev] ogr2ogr and extents

2009-04-15 Thread Frank Warmerdam
Vincent Honnet wrote: Hi, I am very new in this mailing list and I hope I don't ask for something already posted. If so, please excuse me. I look a bit in the archive for my problem but found nothing relevant. I want to tile my shapefiles with fixed extents in order to raster them to tif fil

[gdal-dev] How to make my GDAL code faster?

2009-04-15 Thread Nicolas DEGARNE
Hello, Just to introduce, I am a student in internship in French Guyana.I'm French and I have not wrote in English thing's for a wile so sorry for my bad English. I'm a beginning in GDAL in c (for the moment) with Ubuntu I am trying to make a program extracting target from pictures in tif(geoti

[gdal-dev] ogr2ogr and extents

2009-04-15 Thread Vincent Honnet
Hi, I am very new in this mailing list and I hope I don't ask for something already posted. If so, please excuse me. I look a bit in the archive for my problem but found nothing relevant. I want to tile my shapefiles with fixed extents in order to raster them to tif files and then to do some