i have used the gdal libraries through fwtools in my .NET application, and
now i am giong to prepare the setup of my applaction. But in the code i set
the environmental variable from fwtools path. That means should i have to
install fwtools in the client system, if so please tell me the way to
pre
i have used the gdal libraries through fwtools in my .NET application, and
now i am giong to prepare the setup of my applaction. But in the code i set
the environmental variable from fwtools path. That means should i have to
install fwtools in the client system, if so please tell me the way to
pre
I have a projected image and i want to read the pixel value along with its
lat/long values for each pixel .
I know how to read the pixel value and i dont know to read its lat/long
value
Thanks
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/how-to-get-th
I want to access shape files using GDAL, and i have a shape file and raster
image. then how to clip the shape file which covers that rasterhow to do
this.
Thank you
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/how-to-clip-the-shape-file-tp5451928p5451928.html
Thanks for ur help
I followed the complete procedure,in the PDF provided by JAY.L but after
installing all the appropriate bindings also i got an error..Here i attached
screen shot of the error message
Please give the suggestion to rectify this error...
Thnaks.
http://osgeo-org.18032
Thanks for your response.
I installed python 2.7(installation procedure in first slide), and download
gdal 32-1.6 files and extracted and placed in c drive(files in second
slide), then i set the envoronment variables(slide 3).Then when i wrote
simple one line code and run it. but i got the er
Thanks Mr.Chaitanya.. for ur reply...
I followed the procedure what the link provided by you, but after when i
used the simple code
from osgeo import gdal
in Python (ilde)
when i run this code i got the following exception.
"Traceback (most recent call last):
File "C:/Python
thanks for ur reply...
But i am not familier with python programming. Can u help me please is there
any possibility to calculate the zonal statistics using gdal in C#.
Please help me
thank you
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/how-to-creat
I want to use gdal libraries in python. Till now i don't have the programming
knowledge in python. But already i am working with gdal in visual studio
with C#. I installed gdal libraries along with FWTools 2.4.7,and python 2.7.
But i dont know how to integrate these gdal libraries in python.
and
i have a land use land cover image, i need to create a 1000 * 1000 m
grid(shape file format) over the image and i have to calculate the area of
the each class in each grid how to do this..And i attach a file here
visualization of my problem, Please help me how to do this.
http://osgeo-org.
in my application i need to create multiple images with large size using C#.
while creating multiple files first three images created successfully after
that i got the following exception.
ContextSwitchDeadLock was detecteed
The CLR has been unable to transition from COM context 0x204d28 to CO
Here i am using C# library for GDal, when i reading the YllCorner value using
GeoTranform method i got that Yll corner value wrong.
Eg: yllcorner 1648000 ..>original
yllcorner 1747000 ...>Gdal
Why, this much difference i got..
--
View this message in context:
ht
I have an image(LULC classified) which is composed of 1,2,3,4,5,6,7,8 pixel
values. when i open the proper image in ArcMap or Mapwindow it displays the
image in some colors(here in eight colors). Is it possible to set the colors
manually for each pixel.
Help me...
I required it
--
View this mes
i want to know how to read the color value of particular pixel. and
previously i used the following code to read the color table.but now it
throws null reference exception.why?. My objective is to prepare the Rater
legend control based on pixel values.
Gdal.AllRegister();
Dataset d
The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception
details:
System.TypeInitializationException: The type initializer for
'SWIGExceptionHelper' threw an exception. ---> System.DllNotFoundException:
Unable to load DLL 'gdal_wrap': The specified procedure could not be found.
i installed fwtols2.4.7 previously.That time i worked with gdal with out any
problem but now when i work with gdal it throws the following
exception.why. how to fix this.
The type initializer for 'OSGeo.GDAL.GdalPINVOKE' threw an exception.
This is the way i used.
[DllImport("kernel32
My image having pixel values between 0 to 8(classified image). The following
code is used to read the colors of the image. Here i want know the pixel
value of the specific color.
Band band = ds.GetRasterBand(1);
ColorTable ct = band.GetRasterColorTable();
for
i need to create a image file. Here i have brightness values of each pixel in
a table. by using these values, how can i create an image file.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/how-to-new-image-file-or-how-to-send-data-into-the-dataset-tp5120971p5120971.html
I am using the following code to read pixel values. It read only one pixel
value..how to read entire row..
generally this code is used to read 0th column 1st row and return pixel
value into buffer.
code:
Band band = ds.GetRasterBand(1);
double[] buffer = new double[ds.RasterXSize];
band
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
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
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.
__
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
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-
Hai,
Jason thanks for your reply
Createcopy method works fine.When i am using create copy method at that
instance only a file is created in the specified path. But the format of the
file is different what i want and another thing is how to get the metadata
information from the source dataset
When i am using the fillowing code i got theerror:Unknown base item type
: 4
DataSet ds=GDal.Open(".\File1.IMG",Access.GA_ReadOnly);
why this error ocuurs.
thank you.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Unknown-base-item-type-4-error-occ
yeah..
I saw that utility in the fwtools\bin folder.
But it gives some error,when i added the reference to my C# project.
Actually i need to do this task programatically. This class is available in
any other dll
can u tell me please.
thank you
--
View this message in context:
http://osg
Thanks agian...
Already i downloaded Fwtools and installed.
I read the link u gave me.
Which class i have to instantaite to call gdal_translate()
and from which dll i have to take the reference.
can u tell me please.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble
Thanks for ur reply.
I don't know how to use GDal_translate.Can u explain me how to do this
thank u...
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Hoe-to-convert-ERDAS-imagine-img-files-to-ARC-info-ASCII-files-viceversa-tp5068801p5069012.html
Sent from the GDAL -
Hai ,
I am very new to use this GDAL libraries. I feel very difficulty to work
with this libraries particulaly using C#.Because very less documentation is
available for C#.Can any body help me how to convert ERDAS imagine(.img)
files to ARC info ASCII files and ASCII files to .Img files. If anybo
30 matches
Mail list logo