Re: [gdal-dev] Re: how to get the each pixel value from the dataset

2010-05-19 Thread Kyle Shannon
As I am not familiar with .net, i assume it is similar to c++. You can find the info under "Reading Raster Data" on this page: http://www.gdal.org/gdal_tutorial.html . kss On Wed, May 19, 2010 at 10:02 PM, mail2vajram wrote: > > Thanks mr.Frank > > > I am using .NET API.My query is > > When

[gdal-dev] Re: how to get the each pixel value from the dataset

2010-05-19 Thread mail2vajram
Thanks mr.Frank I am using .NET API.My query is When we assign a TIFF image to DATASET, then we get RASTERXSIZE and RASTERYSIZE. Here i am trying to GET each pixel value(brightness value) using two for loops.But i don't know which method is used to get this values. Thank you.. -- View

Re: [GRASS-dev] Re: [gdal-dev] gdaldem hillshade directions / GRASS r.shaded.relief

2010-05-19 Thread Even Rouault
Hamish, I've taken some time to experiment a bit with GRASS and GRASS behaviour is correct of course, so sorry for the noise. I've finally identified why gdaldem (and initially Matt's hillshade utility) got it wrong. GRASS r.mapcalc atan(x,y) function has its parameters reversed in comparison

[gdal-dev] DBF unicode problem

2010-05-19 Thread William Kyngesburye
I tried viewing a unicode shapefile created from GDAL in ArcGIS and it didn't work. After some poking around I found out about the LDID value in the DBF header and the .cpg file that Arc uses. I see that GDAL sets the LDID to some value - is this supposed to be UTF-8, or something else? I cou

Re: [gdal-dev] Modify virtual file attributes

2010-05-19 Thread Frank Warmerdam
Luca Fasano wrote: Hi list, I'm encountering some problems using Python Gdal API to modify *virtual* file attributes. In fact if I change the "Description" and "CategoryNames" attributes of a virtual band with the Python API, the Python object is updated correctly, but *not* the virtual file tha

Re: [gdal-dev] how to get the each pixel value from the dataset

2010-05-19 Thread Frank Warmerdam
mail2vajram wrote: how to get the each pixel value from the dataset. And another requirement is how to get the values of ( ncols nrows cellsize xllcorner yllcorner nodata_value ) Vajram, You don't really provide much background information. Are you planning to do this from C/

Re: [gdal-dev] coordinate transformation with java library

2010-05-19 Thread ahmet temiz
hello Thank you Ivan for your quick response I am using Ubuntu Linux. I need to know geographic coordinate values of a point which is in UTM projection. transformation something like UTM -> geographic coordinate (32636 -> 4326) Which JTS library do it ? ( I have already been using it ) tha

Re: [gdal-dev] coordinate transformation with java library

2010-05-19 Thread Frank Warmerdam
Ivan Lucena wrote: Other alternative? Geotools [2] or JTS Topology Suite [3] maybe, depending what you need, just coordinate transformation, data conversion, what kind of data, etc. Regards, [1] http://trac.osgeo.org/osgeo4w/ [2] http://geotools.org/ [3] http://www.vividsolutions.com/jts/jtsh

Re: [gdal-dev] coordinate transformation with java library

2010-05-19 Thread Ivan Lucena
Ahmet, Here is one example that you can find on GDAL source tree /swig/java/apps: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/gdaltransformer.java What OS are you using? You can get the library from OSGeo4W [1] for Windows is that is the case. Other alternative? Geotools [2]

[gdal-dev] coordinate transformation with java library

2010-05-19 Thread ahmet temiz
hello I need to do coordinate transformation in my java application from UTM to geographic coordinates. Does gdal have any jar library that can do this transformation ? if there is whare can I find it ? What might be the other alternatives ? regards Ahmet Temiz Turkey ___

RE: [gdal-dev] Re: Hoe to convert ERDAS imagine(.img) files to ARC info ASCII files viceversa

2010-05-19 Thread Jason Roberts
Sorry, I meant to say "I looked at the ASCII files you mentioned" not "I looked at the IMG files you mentioned". Sorry for any confusion. Jason -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Jason Roberts Sent: Wednesday, M

RE: [gdal-dev] Re: Hoe to convert ERDAS imagine(.img) files to ARC info ASCII files viceversa

2010-05-19 Thread Jason Roberts
I'm not sure what you mean by getting the metadata information from the source dataset to the destination dataset. If you are referring to the metadata that ArcGIS maintains, such as all of the FGDC metadata it keeps in an XML file, I suspect that GDAL does not recognize that metadata. That metadat

Re: [gdal-dev] Re: conversion from one format to another is very slow

2010-05-19 Thread SriRam . PrasadBhasker
hi. as far as i know GDAL is much robust & Quicker. i have converted Tiff to Ascii using Gdal 1.6.2 & found the performance excellent Gdal converted in 3 minutes and ArcGIS took around 7 to 8 minutes for the same task.. Trust you are using the latest Build of 1.7.2.. cheers Bhasker

[gdal-dev] Re: conversion from one format to another is very slow

2010-05-19 Thread mail2vajram
yeah, i did the same task with ARCGIS it took only 2 minutes only but the output of the two datasets(gdal,ARCGIS) are same. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/conversion-from-one-format-to-another-is-very-slow-tp5073787p5074562.html Sent from the GDAL - De

Re: [gdal-dev] Re: conversion from one format to another is very slow

2010-05-19 Thread Ari Jolma
mail2vajram wrote: I t will take nearly 25 minutes to convert 250 mb of tiff image to ASCII Thank u. Compared to how much in ArcGIS with the same computer? And what are the results if you do first ArcGIS and then GDAL? The order may be important. Are all programs and files local? Ar

[gdal-dev] Re: conversion from one format to another is very slow

2010-05-19 Thread mail2vajram
I t will take nearly 25 minutes to convert 250 mb of tiff image to ASCII Thank u. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/conversion-from-one-format-to-another-is-very-slow-tp5073787p5074491.html Sent from the GDAL - Dev mailing list archive at Nabble.com. __

[gdal-dev] Modify virtual file attributes

2010-05-19 Thread Luca Fasano
Hi list, I'm encountering some problems using Python Gdal API to modify *virtual* file attributes. In fact if I change the "Description" and "CategoryNames" attributes of a virtual band with the Python API, the Python object is updated correctly, but *not* the virtual file that mantains old values

[gdal-dev] how to get the each pixel value from the dataset

2010-05-19 Thread mail2vajram
how to get the each pixel value from the dataset. And another requirement is how to get the values of ( ncols nrows cellsize xllcorner yllcorner nodata_value ) from the dataset.,,, Thank you... -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/how

Re: [gdal-dev] conversion from one format to another is very slow

2010-05-19 Thread Iván Sánchez Ortega
El 19/05/2010 9:24, mail2vajram escribió: when i convert data from one format to another (ex: GEoTIff to ASCII)it took more time compared to conversion in ARCGIS. How much? -- Iván Sánchez Ortega ___ gdal-dev mailing list gdal-dev@lists.osgeo.org ht

[gdal-dev] conversion from one format to another is very slow

2010-05-19 Thread mail2vajram
when i convert data from one format to another (ex: GEoTIff to ASCII)it took more time compared to conversion in ARCGIS.WHy..Is there any logic to reduce the time Thank you. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/conversion-from-one-format-