[gdal-dev] Issue when compiling gdal v2.1.2

2019-06-17 Thread Jorge Martin
Hello, I am trying to compile the gdal 2.1.2 and I have problems with the gcc. Do you know what gcc version is necessary to compile? Cheers, Jorge ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Issues installing gdal from source code

2019-06-06 Thread Jorge Martin
Andrew Bell () escribió: > > Perhaps I'm missing something, but I'm seeing no throw specifications on > my 2.1 source. I'm guessing you're finding header files from a version > that is different from the version you're trying to compile. I'd search > your

[gdal-dev] Issues installing gdal from source code

2019-06-05 Thread Jorge Martin
Hello, Trying to compile gdal 2.1.1 we are getting the following error: ./configure --with-libtiff=/opt/cots/tiff-4.0.0 --with-geotiff=/opt/cots/geotiff-1.4.0 --prefix=/opt/cots/gdal_v2 make (cd port; make) make[1]: Entering directory `/data2/mvit/gdal-2.1.1/port' ……. cpl_string.cpp: In

Re: [gdal-dev] Problems writing big tiff image with RasterIO function

2011-11-02 Thread Jorge Martin
, Oct 31, 2011 at 2:17 PM, Even Rouault > wrote: > > Selon Jorge Martin : > >>I am using RasterIO function to write tiff files. The problem > >> appears when the image size is aprox. 25000x25000 (500Mb), the last > lines > >> of the image are not correctly

[gdal-dev] Problems writing big tiff image with RasterIO function

2011-10-31 Thread Jorge Martin
Hello, I am using RasterIO function to write tiff files. The problem appears when the image size is aprox. 25000x25000 (500Mb), the last lines of the image are not correctly written. The last lines are written with 0 or 255 value. I have checked that if I only write a tiff file with the las

[gdal-dev] RPC computation

2011-09-12 Thread Jorge Martin
Hello, I have developed a program that compute the RPC of an input tif image. Now I want to validate this computation. Could you tell me how I can compute the RPCs of an input image using gdal? Best Regards, Jorge ___ gdal-dev mailing list gdal-de

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-25 Thread Jorge Martin
exit(0); } double *prueba; TIFFGetField(tiff, TIFFTAG_RPCCOEFFICIENT, &nCount, &prueba ); for(uint16 i =0 ; i< nCount ; i++) { cout << prueba[i] <GetMetadata(NULL); if(GDALExtractRPCInfo(Metadata, &sRPC)) { cout <&l

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-24 Thread Jorge Martin
, 2011/5/24 Frank Warmerdam > On 11-05-24 07:35 AM, Jorge Martin wrote: > >> Many thanks for your answers!!! >> >> Now I am developing a library that handles TIFF and geoTIFF, but I have >> noted >> that I need to include RPCCoefficientTag to the TIFF file. Searchin

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-24 Thread Jorge Martin
true? Is it posible to include this tag in a TIFF (not geoTIFF) file not using gdal library? Or I have to use geotiff? Best regards, Jorge 2011/5/17 Frank Warmerdam > On 11-05-17 07:54 AM, Jorge Martin wrote: > >> Hello Frank, >> >> >> I am reading libtiff manu

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-17 Thread Jorge Martin
Hello Frank, I am reading libtiff manual and it is possible to write different IFD (directories, I do not know the correct word) in the same tiff file using *TIFFWriteDirectory *function. Is it possible to use it in gdal library? Many thanks, Jorge 2011/5/17 Jorge Martin > Hello Fr

Re: [gdal-dev] TIFF with different KEYS_DS

2011-05-17 Thread Jorge Martin
Hello Frank, TIFF 6.0 specifications has a sub-section in page 16 which is called "Multiple Image per TIFF file" and there is only a description of this issue but anything about its implementation: "There may be more than one IFD in a TIFF file. Each IFD defines a subfile. One potential

[gdal-dev] TIFF with different KEYS_DS

2011-05-16 Thread Jorge Martin
Hello, I am interested in writing different Keys_DS in the same TIFF file using gdal library. I only know how to write one Key_DS but I do not know how to include more than one KEY_DS, and I know that TIFF standard allow it. Does anyone know how to implement it with gdal library? Many Tha

[gdal-dev] [gdal-users] Mapserver-OGR mysql and WFS Intersect

2011-04-05 Thread Jorge Martin
Hello, I Have been playing around with mapserver OGR setting a layer of points comming from two different sources, first a mysql spatial table, and then a postgis table, and I have seen that the WFS operation Intersect behaves weird when using mysql (it works ok with postgres). I am not sure if OG

[gdal-dev] transform input image to UTM

2011-02-23 Thread Jorge Martin
Hello, I want to project an input Lat/Long image into UTM. I need to do this automatic, so I have to do it in C++. I have found a source code to implement this issue. I have paste below the source code that I have used. I When this code is running, appears some times the followin error

[gdal-dev] Resampling using RPCs

2011-02-23 Thread Jorge Martin
Hello, I have to make a resampling from a source image in Lat/Long coordinates to UTM target image. If I take the GCPs of the source image in Lat/long the RPCs works very good, but if I get this points and tranform the to UTM (with the same zone of the target image) and compute the

[gdal-dev] Transform point from UTM to Lat/Long

2011-02-21 Thread Jorge Martin
, Jorge Martin ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Read and Write ArcGIS Bynary GRID

2011-02-07 Thread Jorge Martin
Hello, Using GDAL library is posible to read and write ArcGIS binary GRID files? Best Regards, Jorge ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Fwd: [gdal-dev] Create a shape file with polygons

2011-01-27 Thread Jorge Martin
Hello, I've tried to develope the program that create a shape file with polygons. But the GIS open the shp but there is nothing inside only the attributes, not the polygons. I have the code from Python but I do not know the problem. Here I paste the code: int write_shapefilePolygon() { const c

Re: [gdal-dev] Create a shape file with polygons

2011-01-19 Thread Jorge Martin
Hello Frank, I have made your change and it works, I can open the .shp with my GIS. Many thanks for your help. Best Regards, Jorge 2011/1/18 Frank Warmerdam > On 11-01-18 11:28 AM, Jorge Martin wrote: > >> OGRPolygon myPoligon; >> >> tmp = strtok (Line, ":&

Re: [gdal-dev] Create a shape file with polygons

2011-01-18 Thread Jorge Martin
Hello, I've tried to develope the program that create a shape file with polygons. But the GIS open the shp but there is nothing inside only the attributes, not the polygons. I have the code from Python but I do not know the problem. Here I paste the code: int write_shapefilePolygon() { const c

[gdal-dev] Create a shape file with polygons

2011-01-17 Thread Jorge Martin
Hi, I`m new developing software with GDAL and OGR libraries. I has used the code from the OGR web that read and write a shapefile (points). What I really want is to read and write shapefiles with polygons. There is any code that could help me to begin this program? Many Thanks, Jorge