[gdal-dev] translate polygon shape file

2013-03-11 Thread Murat Beyhan
Hi friends, I have a polygon shape file which is including district of the city It is latitude longitude data. And I try to transform it into UTM data Is it possible to do using gdal. I have googled it some but I could not find appropriate way to do. The example of the data as follows. Thanks

Re: [gdal-dev] translate polygon shape file

2013-03-11 Thread Jukka Rahkonen
Murat Beyhan muratbeyhan28 at gmail.com writes: Hi friends,I have a polygon shape file which is including district of the cityIt is latitude longitude data. And I try to transform it into UTM data Is it possible to do using gdal. Read http://www.gdal.org/ogr2ogr.html and you will make it.

[gdal-dev] Applying colour/contrast corrections to geotiffs

2013-03-11 Thread Paul Norman
I am generating a geotiff from a WMS source. I can do so from either PNG requests or JPEG requests. The PNG requests have better contrast but are 4x-5x as slow. I would like to compare the PNG and JPEG request results for a representative area and develop a contrast correction which I can apply

Re: [gdal-dev] Applying colour/contrast corrections to geotiffs

2013-03-11 Thread Even Rouault
Le lundi 11 mars 2013 18:55:55, Paul Norman a écrit : I am generating a geotiff from a WMS source. I can do so from either PNG requests or JPEG requests. The PNG requests have better contrast but are 4x-5x as slow. I would like to compare the PNG and JPEG request results for a

[gdal-dev] A few questions for a new user.

2013-03-11 Thread Nick
Hello all, I am using the Java bindings on a Windows 7 machine. I am trying to do my first conversion of a file based on the API Tutorial and the sample java files. 1) How does gdal.Open() convert the ingested data into a Dataset object? I've looked at the Javadocs and API listed, but I cannot

[gdal-dev] Gdal Asynchronous IO

2013-03-11 Thread Allen Kempe
In Rfc 24: GDAL Progressive Data Support it says that the metadata for a driver will specify metadata item DCAP_ASYNCIO as yes if the driver supports asynchronous IO. So, code like this should retrieve this option: const char* s_asyncio = drv-GetMetadataItem(DCAP_ASYNCIO); However, I have been

Re: [gdal-dev] Gdal Asynchronous IO

2013-03-11 Thread Even Rouault
Le lundi 11 mars 2013 21:21:50, Allen Kempe a écrit : In Rfc 24: GDAL Progressive Data Support it says that the metadata for a driver will specify metadata item DCAP_ASYNCIO as yes if the driver supports asynchronous IO. So, code like this should retrieve this option: const char* s_asyncio =

Re: [gdal-dev] Applying colour/contrast corrections to geotiffs

2013-03-11 Thread Paul Norman
From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Monday, March 11, 2013 12:13 PM Subject: Re: [gdal-dev] Applying colour/contrast corrections to geotiffs Le lundi 11 mars 2013 18:55:55, Paul Norman a écrit : I doubt that any correction/transformation can recover the lost

Re: [gdal-dev] Applying colour/contrast corrections to geotiffs

2013-03-11 Thread Even Rouault
Is there a way to verify if it is using this optimization? $ gdal_translate byte.jpg byte.tif -co compress=jpeg --debug GTiff -q GTiff: Using special copy mode from a JPEG dataset GTiff: Setting JPEGCOLORMODE_RGB I'm not actually feeding it a JPEG in the command line at any point, but the WMS

Re: [gdal-dev] Applying colour/contrast corrections to geotiffs

2013-03-11 Thread Paul Norman
From: Even Rouault [mailto:even.roua...@mines-paris.org] Sent: Monday, March 11, 2013 1:55 PM Subject: Re: [gdal-dev] Applying colour/contrast corrections to geotiffs If you run nearblack to go from one JPEG in TIFF to another JPEG in TIFF, does it use this optimization for the RGB bands?