[gdal-dev] OgrSpatialReference scaling polg stereographic

2013-01-20 Thread Kees Kling
->SetProjParm(SRS_PP_SCALE_FACTOR,scale); but doesn't seems to work. If I do it with a mercator projection it works. What is wrong, do I need to use another param instead of SRS_PP_SCALE_FACTOR Regards Kees Kling ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Ogr and setSpatialFilter

2013-01-03 Thread Kees kling
On 01/03/2013 03:31 PM, Even Rouault wrote: That is not that easy, because it is embedded in in c++ applications. Meanwhile I reinstalled the old version and can go on with my work, but i think there is something wrong Checking with ogrinfo your.dataset -spat xmin ymin xmax ymax might be an easy

Re: [gdal-dev] Ogr and setSpatialFilter

2013-01-03 Thread Kees kling
On 01/03/2013 03:16 PM, Even Rouault wrote: I compiled both libs with geos support and the loader gives me libgeos_c.so.1 => /usr/lib/libgeos_c.so.1 (0x7fe171f78000) libgeos-3.2.2.so => /usr/lib/libgeos-3.2.2.so (0x7fe16f29f000) so that won't be the problem. hum, then you mu

Re: [gdal-dev] Ogr and setSpatialFilter

2013-01-03 Thread Kees kling
On 01/03/2013 03:06 PM, Even Rouault wrote: Selon Kees kling : Hi, last week I upgraded my ubuntu and also the gdal library. I was using version libgdal.so.1.15.0, now I compiled and installed version libgdal.so.1.16.2. In my application i'm using OGRLayer SetSpatialFilter and it was wo

[gdal-dev] Ogr and setSpatialFilter

2013-01-03 Thread Kees kling
Count returns 0 so nothing is plotted. Is there a change in the function between these two versions? Thanks Kees Kling ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] projection issue with GDALCreateGenImgProjTransformer

2012-12-06 Thread Kees Kling
Trent On Wed, Dec 5, 2012 at 3:11 AM, Kees Kling <mailto:ckl...@upcmail.nl>> wrote: Hi all, I'm trying to reproject an image. source projection = `+proj=stere +lat_0=90.0 +lon_0=0.0 +lat_ts=60.0 +a=6378.388' I already used this projection in other parts of

[gdal-dev] projection issue with GDALCreateGenImgProjTransformer

2012-12-05 Thread Kees Kling
in the function GDALCreateGenImgProjTransformer, I'm getting the error: ERROR 1: Failed to import coordinate system `+proj=stere +lat_0=90.0 +lon_0=0.0 +lat_ts=60.0 +a=6378.388' What am I doing wrong Regards Kees Kling ___ gdal-

[gdal-dev] convert one band data in rgba

2012-11-16 Thread Kees Kling
*)mysqlData.data.c_str(),mysqlData.columns,mysqlData.rows, GDT_Byte,1, NULL, 0, 0,0); From here on I'm stuck. How do I go on to convert this data to a in memory GDALDataset with 4 channels (R,G,B,A) Thanks Kees Kling ___ gdal

Re: [gdal-dev] Swapped axes

2012-07-28 Thread Kees Kling
Soory Guys, I already found the mistake. Somewhere on the line I mixed up my coordinates and now it is working OK Regards Kees Kling On 07/27/2012 01:01 PM, Kees Kling wrote: Hi, I'm trying to draw maps from shape data. For coordinate transformation I use as destination

[gdal-dev] Swapped axes

2012-07-27 Thread Kees Kling
ot;,OAO_East,"Northing",OAO_North); but this doesn't show any effect Regards Kees Kling ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev