Re: [gdal-dev] GeomTransform in VRT-file

2013-07-04 Thread Even Rouault
Le jeudi 04 juillet 2013 18:12:32, Jan Hartmann a écrit : > I'm struggling with the order of the Geotransform section in a vrt file. > I would like to rotate an image, and computed the six parameters for the > affine transformation. I can transform points exactly, using the > following formula: >

Re: [gdal-dev] ogr2ogr fail: crtExitProcess

2013-07-04 Thread Even Rouault
Le jeudi 04 juillet 2013 22:05:26, Hilda Villegas a écrit : > Thanks for your response. Yes, I'm using gdal 10.0 > > Attached is the ENC that I'm using. Hum, your ogr2ogr command line works for me with different GDAL builds, including the one available at http://www.gisinternals.com/sdk/Package

Re: [gdal-dev] hillshading to vector

2013-07-04 Thread Roger Veciana i Rovira
Hi Etienne, I have uploaded an other version that works without matplotlib, although I prefer the other, which is cleaner. But the new one is a better option if using matplotlib is a problem. Anyway, changing gdal_contour is much more work. Creating polygons instead of lines using the correct way

Re: [gdal-dev] GeomTransform in VRT-file

2013-07-04 Thread Dmitriy Baryshnikov
Hi Jan, Do you mean this : http://www.gdal.org/gdal_datamodel.html (Affine GeoTransform srection) or this http://www.gdal.org/gdal_tutorial.html (Getting Dataset Information section)? Also, see this: http://www.gdal.org/classVRTDataset.html#a1531325b71e290b90c8d9cc88bce6c2b Best regards,

Re: [gdal-dev] ogr2ogr fail: crtExitProcess

2013-07-04 Thread Even Rouault
Le jeudi 04 juillet 2013 20:48:37, Hilda Villegas a écrit : > Hello, > > I'm using the ogr2ogr.exe to convert ENC files to shapefiles, the program > extract the object from the ENC and creates the shapefile successfully, > but it fails before finish. > > These are the parameters: > > ogr2ogr.exe

Re: [gdal-dev] hillshading to vector

2013-07-04 Thread Etienne Tourigny
On Thu, Jul 4, 2013 at 3:58 AM, Carlo A. Bertelli (Charta s.r.l.) < berte...@charta.acme.com> wrote: > Thanks a lot, Roger, it worked like a charm, just fiddling a little with > parameters and than run it in python. > It's really magic, I struggled with this question for two days before > writing

[gdal-dev] ogr2ogr fail: crtExitProcess

2013-07-04 Thread Hilda Villegas
Hello, I'm using the ogr2ogr.exe to convert ENC files to shapefiles, the program extract the object from the ENC and creates the shapefile successfully, but it fails before finish. These are the parameters: ogr2ogr.exe -skipfailures C:\temp\ogr2ogr_test\Shapefiles\US5CA71M\aRESARE.shp -nlt po

[gdal-dev] GeomTransform in VRT-file

2013-07-04 Thread Jan Hartmann
I'm struggling with the order of the Geotransform section in a vrt file. I would like to rotate an image, and computed the six parameters for the affine transformation. I can transform points exactly, using the following formula: x2 = a.x1 + b.y1 + c y2 = d.x1 + e.y1 + f Can anyone tell me wh