Re: [gdal-dev] Problem when resizing main frame in Windows 7.

2012-08-28 Thread Ramiro Gonzalez
Sorry. 2012/8/28 Chaitanya kumar CH > Ramiro, > > This is not the mailing list for wx. > > On Tue, Aug 28, 2012 at 11:12 PM, Ramiro Gonzalez < > ramirogonza...@suremptec.com.ar> wrote: > >> Hi, >> >> I use wx 2.8.12 in a multiplatform application, I

[gdal-dev] Problem when resizing main frame in Windows 7.

2012-08-28 Thread Ramiro Gonzalez
Hi, I use wx 2.8.12 in a multiplatform application, I have been having a problem with the layout when I resize the main Frame, but '''only happens in Windows 7'''. I couldn't find the source of the problem, so I was hoping someone could help me with it. My application have several wxPanels compo

[gdal-dev] tool to create/edit srs wkts

2012-08-01 Thread Ramiro Gonzalez
Hi I’m building a tool to create/edit projected srs, geographic srs, datums and spheroids and save them as WKTs. I’m already using ‘ogr/SpatialReference’. Then I’d like to use the new WKTs with gdal/ogr. Here are some questions: * Image/vector drivers construct WKT from information in the

[gdal-dev] Using GetCapabilities to configure wms

2011-12-27 Thread Ramiro Gonzalez
Hi, I'd like to configure wms services using a simplified interface. GetCapabilities gives me the extent of the image using minX, minY, maxX and maxY values. Gdal wms driver requires UpperLeft and LowerRight coordinates. In EPSG:4326 UpperLeft=(minX, maxY) and LowerRight=(maxX, minY), but I can't

Re: [gdal-dev] get GCP from noaa L1b

2011-06-17 Thread Ramiro Gonzalez
Hi, Function ProcessRecordHeaders in "formats/l1b/l1bdataset.cpp" subsamples the GCPs of the l1b image, but the points are unordered an not equidistant. I attached to TCK 2403 a patch that modifies this behaviour. I tested the image attached to the ticket and seems to work ok(no error produced).

[gdal-dev] get GCP from noaa L1b

2011-06-15 Thread Ramiro Gonzalez
Hi, I’m using gdal c++ API. I’d like to implement an algorithm to georeference noaa L1b images(of Argentine in particular). The number of GCPs returned by the L1b driver are not enough to use triangulation(midcourse solution until a better algorithm can be implemented). Searching gdal-dev mailing

Re: [gdal-dev] overwrite shapefile

2011-05-26 Thread Ramiro Gonzalez
ac.osgeo.org/gdal/newticket > > On Wed, May 25, 2011 at 12:20 AM, Ramiro Gonzalez < > ramirogonza...@suremptec.com.ar> wrote: > >> hello >> >> I want to overwrite a shapefile using ogr(c++). If the dbf file in the >> destination shapefile is already open by an

[gdal-dev] overwrite shapefile

2011-05-24 Thread Ramiro Gonzalez
hello I want to overwrite a shapefile using ogr(c++). If the dbf file in the destination shapefile is already open by anather program(exel), the operation fails in the middle and only the shp and shx files are updated. How could I check, using OGR, if the dbf(or any other file in the shapefile) is

[gdal-dev] OGRLayer::SetFeature fails with out of date OGRFeature

2010-04-27 Thread Ramiro Gonzalez
My application uses OGR to edit ESRI Shapefiles. If I follow this steps: 1_ Create a feature(OGRFeature::CreateFeature) using the feature definition from an existing layer(layerA) 2_ Add a field (OGRLayer::CreateField) to layerA 3_ Try to save the feature (OGRLayer::SetFeature) in layerA I recei

Re: [gdal-dev] Area of hourglass shaped polygon

2010-03-25 Thread Ramiro Gonzalez
shes, > > Peter > > > Chris 'Xenon' Hanson wrote: > >> On 3/18/2010 10:20 AM, Ramiro Gonzalez wrote: >> >>> I use gdal to calculate the area of polygons drawn by a user over a map. >>> The points are added to the polygon in same order the use

[gdal-dev] Area of hourglass shaped polygon

2010-03-18 Thread Ramiro Gonzalez
I use gdal to calculate the area of polygons drawn by a user over a map. The points are added to the polygon in same order the user selects them. An hourglass shaped polygon can be created adding 4 points like a 'z'. When the polygon has the shape of an hourglass, the measure returned by get_Area(

[gdal-dev] Check if a vector is open by other application

2010-01-11 Thread Ramiro Gonzalez
Hello I am using OGR to open "ESRI Shapefiles" and show the content of the .dbf file. If the file is already open by other application(ie: Excel) and I ask for the number of fields: int fieldcount = layer->GetLayerDefn()->GetFieldCount(); I get 'fieldcount == 0'. I`d like to know if there i