Hi All,
I have a raster image of 2200x1000 pixels. I know three bits of
information about the geoposition of the raster:
1. The upper left hand corner's lat and long of the image.
2. The pixel size in meters. The pixels are square
3. The rotation of the image relative to the upper left hand corne
Le mercredi 24 octobre 2012 17:19:45, António Rocha a écrit :
> Greetings
>
> I have a raster image and a shapefile polygon and I wanted to crop the
> raster for just to have valid pixels inside the polygon. I have used
> crop_to_cutline but here is a problem:
> It produces a raster map but pixels
Le jeudi 25 octobre 2012 09:33:38, Ernest Menville a écrit :
> But is it not the main purpose of gdaltransform to transform a lot of
> points into another coordinate system? How can I do that, if it is not
> possible to save the output coordinates into a text file? (...without
> copy&paste in the c
Katrin,
Do you know where you valid pixels are in the image? If so, gdal_translate
with -srcwin would work:
kyle@ubuntu:~$ gdal_translate -srcwin xoff yoff 60 100 in.tif out.tif
where xoff, yoff are the number of pixels from the image origin that your
valid region begins(pixels, lines). See
htt
Hello
No I don't know where my valid pixels are.
Any alternative?
2012/10/25 Kyle Shannon
> Katrin,
> Do you know where you valid pixels are in the image? If so,
> gdal_translate with -srcwin would work:
>
> kyle@ubuntu:~$ gdal_translate -srcwin xoff yoff 60 100 in.tif out.tif
>
> where xoff, y
Hi
Sorry Joaquim but I'm really trying to find a solution based on GDAL.
Thanks
Antonio
I have a close functionality in Mirone but it was developed mainly for
grids, though it works also with images. With a grid/image loaded,
load the polygon too. Next right-click on the polygon line and select
I have a close functionality in Mirone but it was developed mainly for
grids, though it works also with images.
With a grid/image loaded, load the polygon too. Next right-click on the
polygon line and select
ROI Crop Tools -> Crop Image (or any of the other related options)
and it's do
Greetings
I have a Geotif with only one Layer with a size of 6000x5000 but from which
I only have a square of 60x100 with bvalid pixels. the remaining are
NOdata. The problem is that this Geotiff is a big file 90MB and without
these NoData values I would have a much smaller raster.
How can I genera
Hi all,
I am trying to use the OSGeo.GDAL.Gdal.RasterizeLayer() from GDAL 1.9.2 and it
seems to require some SWIGTYPE parameters, which I don't know what to do with:
OSGeo.GDAL.Gdal.RasterizeLayer(
OSGeo.GDAL.Dataset dataset,
int bands,
OSGeo.GDAL.SWIGTYPE_p_int band_list,
OSGeo.
Hi ,
I am trying to load a S57 dataset to my map control using GDAL.
I have diff types of layers i.e
Polygon, Point, Line and multipoint
Here I want to show polygon in the base and points and lines on top of it my
code is as follows
if (layerType == "POLYGON")
{
Hi
I have exacly the same problem. It is resampling to the extent of the
polygon instead of croping just the pixels inside the polygon and using the
pixel frame of the original image. How can this be fixed?
Regards
Luis Lisboa
- ORIGINAL MESSAGE--
Greeting
But is it not the main purpose of gdaltransform to transform a lot of
points into another coordinate system? How can I do that, if it is not
possible to save the output coordinates into a text file? (...without
copy&paste in the command line, what is just feasible for a small number of
points)
Ern
12 matches
Mail list logo