Re: [gdal-dev] Losing access to dataset variables. Am I doing something really dumb?

2014-08-12 Thread Jorge Arevalo
to work with poRDS->pszAttribute and poRDS->pszAttribute2, but > > // fails because they are NULL. Why?? > > } > > > > Weirdest thing is the rest of cuestom attributes of my > PostGISRasterDataset > > class are accessible. And, of course, the poRDS pointer

[gdal-dev] Losing access to dataset variables. Am I doing something really dumb?

2014-08-11 Thread Jorge Arevalo
tes. Looks like they're freed at some point (or I'm doing something really wrong from the point of view of C++, and I deserve a severe punishment for that). Any clues? Best regards, -- Jorge Arevalo http://about.me/jorgeas80 ___ gdal

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-08 Thread Jorge Arevalo
Hello, On Fri, Aug 8, 2014 at 10:40 AM, Even Rouault wrote: > Le vendredi 08 août 2014 10:26:27, Jorge Arevalo a écrit : > > On Thu, Aug 7, 2014 at 10:28 PM, Even Rouault < > even.roua...@spatialys.com> > > > > wrote: > > > Le jeudi 07 août 2014 22:26:

Re: [gdal-dev] GSoC 2014 Weekly Report 11 : GDAL PostGIS Raster driver

2014-08-08 Thread Jorge Arevalo
o.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/pg/ogrpgdat > > > asource.cpp ) > > > . It contains everything you need. You could/should actually reuse it > > > directly > > > in PostgisRaster. > > > > > > -- > > > Spatialys - Geospati

[gdal-dev] Error with VagrantFile due to postgis-gdal dependency

2014-07-08 Thread Jorge Arevalo
he same problem? Best regards, -- Jorge Arevalo Freelance developer http://about.me/jorgeas80 [1] http://trac.osgeo.org/gdal/wiki/Vagrant [2] https://dl.dropboxusercontent.com/u/6599273/errors/gdal/vagrant_gdal_error.log ___ gdal-dev mailin

Re: [gdal-dev] Recommended strategy to handle MIF file with a few big multipolygons

2014-03-16 Thread Jorge Arevalo
I've tried with ogr2ogr have the same >> problems: I have to wait hours, and after that, I just get a SHP of >> 100 Bytes. So, I kill the process. >> >> Should I be more patient? Or is there any smarter approach to handle >> this kind of file? >> >&

[gdal-dev] Recommended strategy to handle MIF file with a few big multipolygons

2014-03-10 Thread Jorge Arevalo
" All the clip operations I've tried with ogr2ogr have the same problems: I have to wait hours, and after that, I just get a SHP of 100 Bytes. So, I kill the process. Should I be more patient? Or is there any smarter approach to handle this kind of file? Best regards,

Re: [gdal-dev] CartoDB driver fail because drop sequence sentence fails

2014-03-10 Thread Jorge Arevalo
Hello, On Thu, Mar 6, 2014 at 8:05 PM, Even Rouault wrote: > Le jeudi 06 mars 2014 18:45:50, Jorge Arevalo a écrit : >> Hello, >> >> I'm trying to create a new table in CartoDB using the GDAL CartoDB >> driver and Python bindings. I'm getting a HTTP 400

[gdal-dev] CartoDB driver fail because drop sequence sentence fails

2014-03-06 Thread Jorge Arevalo
aving this problem. BTW, the tables created via SQL API don't appear in the CartoDB dashboard, but this is a known issue ( https://github.com/CartoDB/cartodb/issues/115) Best regards, -- Jorge Arevalo Freelance developer http://about.me/jorgeas80 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] [PostGis-raster] Unnecessary Extent SQL query on GetCoverage request

2013-05-21 Thread Jorge Arevalo
ame port=portnumber dbname='dbname' user='username' > password='passwd' schema='schema' table='gridcoverage_cdsm75' mode='2'" > PROJECTION > "init=epsg:4617" > END > END > > Thanks, > >

Re: [gdal-dev] Anyone interested in mentoring my project?

2013-05-02 Thread Jorge Arevalo
( > http://trac.osgeo.org/gdal/wiki/SummerOfCode). So, is anyone interested > in mentoring it? > > Best regards, > > -- > Jorge Arevalo > Freelance developer > > http://www.krop.com/jorgearevalo > http://about.me/jorgeas80 > > Enviado con Sparrow (http://www.

[gdal-dev] Merging 3 1-band GeoTIFFs in 1 3-band GeoTIFF

2013-01-15 Thread Jorge Arevalo
input data at all. Any clues? Thanks in advance -- Jorge Arevalo Freelance developer http://www.krop.com/jorgearevalo http://about.me/jorgeas80 ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Modifying a raster pixel by pixel with GDAL

2012-12-13 Thread Jorge Arevalo
Thanks for the response and the wise advice, Even. I'll do it in that way. On Thu, Dec 13, 2012 at 8:06 PM, Even Rouault wrote: > Le jeudi 13 décembre 2012 19:58:50, Jorge Arevalo a écrit : >> Hello, >> >> I want to modify every single pixel of a 1 band GeoTiff fi

[gdal-dev] Modifying a raster pixel by pixel with GDAL

2012-12-13 Thread Jorge Arevalo
er/smarter approach? Many thanks in advance, -- Jorge Arevalo http://www.krop.com/jorgearevalo ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Implementing overview support apart from the default support

2012-10-17 Thread Jorge Arevalo
r tables? (Just reading support, so far) Many thanks in advance, -- Jorge Arevalo http://www.krop.com/jorgearevalo ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] What should I expect?

2012-08-10 Thread Jorge Arevalo
he gsd x value is negative the image is an > east to west image. Normally a north up image will have a positive gsd x > and a negative gsd y. > > Marty > > -Original Message- > From: gdal-dev-boun...@lists.osgeo.org > [mailto:gdal-dev-boun...@lists.osgeo.org] On Behal

[gdal-dev] What should I expect?

2012-08-10 Thread Jorge Arevalo
inates are interpreted as image pixels, instead of map units. - Any other situation (corrupt file?, other?) I know this value is almost always negative. For example, in case of UTM coordinate system. But, how common is to have a positive value for Y coordinate? Many thanks in advance -- Jorge Ar

[gdal-dev] Motion: Commit rights for David Zwarg accepted

2012-03-20 Thread Jorge Arevalo
Hello, After the voting phase, the motion has been passed. David Zwarg has been accepted as official commiter, and he has adhered to the commiter guidelines. So, welcome David :-) Best regards, -- Jorge Arevalo http://www.libregis.org ___ gdal-dev

[gdal-dev] Motion:Commit rights for David Zwarg

2012-03-13 Thread Jorge Arevalo
trac. His company also develops some Open Source geoprocessing platforms, like GeoTrellis: https://github.com/azavea/geotrellis I think he's doing an excellent job with the PostGIS Raster driver. So, he has my complete support +1 -- Jorge Arevalo http://www.libregi

Re: Re: [gdal-dev] create a png file

2010-04-08 Thread Jorge Arevalo
Hello, On Wed, Apr 7, 2010 at 5:09 AM, weixj2003ld wrote: > Thk u for your reply. > I read the tuorail.but I think that will not satisfy my need. > I want to create a .png file,and it only contains height data and not > contains metadata, a coordinate system, a georeferencing transform, size of >

Re: [gdal-dev] Checking on Goolge Summer of Code GDAL Project

2010-03-26 Thread Jorge Arevalo
On Thu, Mar 25, 2010 at 5:58 PM, Frank Warmerdam wrote: > Sunburned Surveyor wrote: >> >> Hey Guys. >> >> I'm trying to help Wolf administer the OSGeo Summer of Code effort >> this year. He mentioned GDAL expressed some interest in participating >> this year. Does GDAL have any students yet? Are t

Re: [gdal-dev] Polygonize: are these steps the right ones?

2010-03-12 Thread Jorge Arevalo
On Fri, Mar 12, 2010 at 1:54 PM, Ari Jolma wrote: > I should have sent this to the list and not just Jorge. Anyway, the problem > is solved. > > Jorge Arevalo kirjoitti: >> >> The problem is that the MEM-based layer doesn't have fields. So, if I >> use "0&q

[gdal-dev] Polygonize: are these steps the right ones?

2010-03-11 Thread Jorge Arevalo
Hi, I'm using GDALPolygonize to polygonize a dataset with one band created using MEM driver: memdataset = GDALCreate(GDALGetDriverByName("MEM"),"", width, height, 0, GDT_Byte, NULL); GDALAddBand(memdataset, nPixelType, apszOptions); // in apszOptions[0] there are the band data Then, I create a M

Re: [gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-08 Thread Jorge Arevalo
On Mon, Mar 8, 2010 at 5:42 PM, Pierre Racine wrote: > > >4.- Add default geotransform to GDAL empty dataset: {0.0, 1.0, 0.0, 0.0, > >0.0,1.0 }; (I can't get > >geotransform from WKT Raster Band) > > Why? You can get all the parameters with (in order): > rt_raster_get_x_offset(), rt_raster_get_p

[gdal-dev] [WKTRaster] WKT Raster band to GDAL band

2010-03-05 Thread Jorge Arevalo
Hello, I've created a WKTRasterBand-to-GDALRasterBand conversor, in the frame of WKT Raster project. I'm not sure if the results are correct. You can get the code from here https://svn.osgeo.org/postgis/spike/wktraster/rt_core/rt_api.c, but basically, the steps are: 1.- Register GDAL/OGR drivers

Re: [gdal-dev] Storing Gdal datasets in Postgis

2010-03-01 Thread Jorge Arevalo
On Fri, Feb 26, 2010 at 2:51 PM, Ricardo Cezar Bonfim Rodrigues < rikardoce...@msn.com> wrote: > Hi, > > I'm using Gdal to load dted files and get max elevations of a region, but I > have constraints concerning speed. Inspite of loading geotifs generated from > dted has reduced a lot the processi