[GRASS-user] Reading 'ecw'-files

Markus Neteler neteler at osgeo.org
Wed Oct 15 03:10:39 EDT 2008


On Tue, Oct 14, 2008 at 6:05 PM, Joop Goedbloed <jlgoedbloed at hetnet.nl> wrote:
> Hello Usersgroup
>
> Have a mapset of vectorfiles with a square of 1000x1000 m in a location
> There is also en set of 'ecw' files on dvd-rom with a square of 450x450m
> to read the ecw-files in grass and mapping them with the vevtos-files of
> 1000x1000m I wrote scripts
> to do this job.
>
> Here is an example of the script:
>
> #!/usr/bin/sh
> r.in.gdal -o 'input=/media/Luchtfoto'\''s Ven/207900_367650_75_2007.ecw' \
> output=207900_367650_75_2007 --overwrite
> r.in.gdal -o 'input=/media/Luchtfoto'\''s Ven/207900_368100_75_2007.ecw' \
> output=207900_368100_75_2007 --overwrite
> r.in.gdal -o 'input=/media/Luchtfoto'\''s Ven/207900_368550_75_2007.ecw' \
> output=207900_368550_75_2007 --overwrite
> r.in.gdal -o 'input=/media/Luchtfoto'\''s Ven/208350_368550_75_2007.ecw' \
> output=208350_368550_75_2007 --overwrite
> g.region vect=gbknH02 at venlo

here you are missing
g.region vect=gbknH02 at venlo align=207900_367650_75_2007.red

...
> this scrip works fine but the resulting map is very poor resollusion
> is ther any way making a better quality map (Higher resolution)

You need to set to the resolution of the raster map as well. Otherwise
it takes the previously set resolution.

Markus


More information about the grass-user mailing list