[gdal-dev] requesting tiles without using xml file (c++)

2012-03-17 Thread len0001
i have been able to request a specific tile with my xml through gdal lib; but is there is another way of requesting the tiles from a web server without using xml ? i wanna do it directly through my c++ code; i will appreciate any directions or examples; thanks in advance; -- View this message

[gdal-dev] gdal_translate: invalid tile byte error

2012-03-17 Thread Andrea Peri
>Andrea, > >Sometimes the libtiff, the TIFF library used by GDAL does not work properly >when creating files with compressed overview tiles if you are not using a >very recent version of libtiff. Is it possible you are using a GDAL built >with libtiff 3.9.x instead of the internal libtiff or libti

Re: [gdal-dev] gdal_translate: invalid tile byte error

2012-03-17 Thread Frank Warmerdam
On 12-03-17 01:15 PM, Andrea Peri wrote: Hi, I'm try-ing to create a set of tiff tiled with internal overviews from some geotiffs, using this call: gdal_translate -ot Byte -of GTiff -co TILED=YES -co TFW=YES -co COPY_SRC_OVERVIEWS=YES -co TIFF_USE_OVR=TRUE -co PROFILE=BASELINE -co TFW=YES input.

[gdal-dev] gdal_translate: invalid tile byte error

2012-03-17 Thread Andrea Peri
Hi, I'm try-ing to create a set of tiff tiled with internal overviews from some geotiffs, using this call: gdal_translate -ot Byte -of GTiff -co TILED=YES -co TFW=YES -co COPY_SRC_OVERVIEWS=YES -co TIFF_USE_OVR=TRUE -co PROFILE=BASELINE -co TFW=YES input.tif output.tif meanwhile it run , it repor

Re: [gdal-dev] Performance problems

2012-03-17 Thread Ari Jolma
On 03/17/2012 01:58 PM, Even Rouault wrote: Le samedi 17 mars 2012 08:41:20, Ari Jolma a écrit : Folks, This is a broader question, but maybe somebody can help. I've set up a simple WFS based on GDAL with Perl bindings. The service loads a dataset from PostGIS copies it into a GML dataset in me

[gdal-dev] Re: Using gdalwarp to effectively trim an image

2012-03-17 Thread drshinnick
The problem seems to have been related to the presence of a .prj file with the .shp file. using the command gdalwarp -cutline .\shp -cl allROIs -cwhere "Item = 1642" .\1642\1642.bmp .\1642.tif seems to fail to compute cutline bounding box when there is a .prj file present for the .shp and the ta

Re: [gdal-dev] Performance problems

2012-03-17 Thread Even Rouault
Le samedi 17 mars 2012 08:41:20, Ari Jolma a écrit : > Folks, > > This is a broader question, but maybe somebody can help. I've set up a > simple WFS based on GDAL with Perl bindings. The service loads a dataset > from PostGIS copies it into a GML dataset in memory and serves it from > there. Ins

Re: [gdal-dev] Performance problems

2012-03-17 Thread Mark Overmeer
* Ari Jolma (ari.jo...@gmail.com) [120317 07:41]: > This is a broader question, but maybe somebody can help. > ... Thus, when 10 students all > made requests at the same time, all memory was used (apache logs > have "Out of memory!" - I'm not sure where this comes

[gdal-dev] Performance problems

2012-03-17 Thread Ari Jolma
Folks, This is a broader question, but maybe somebody can help. I've set up a simple WFS based on GDAL with Perl bindings. The service loads a dataset from PostGIS copies it into a GML dataset in memory and serves it from there. Nice clean solution and works well. Then I tried to use it in a