[GRASS-user] reproject from lat/long to utm

HI,
thanx for any help. seems this should be a pretty straight forward thing to do, but am not having any success.
i am trying to reproject a raster from lat/long to utm.
i created a new location with a utm projection, then tried to use r.proj to reproject a raster from another location.

r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT

however, i get the following error:
Mapset [PERMANENT] in input location [/work/projects/Willamette] - not found

thanx for any assistance,
Janet

Try to include the full path of your location ([/work/projects/Willamette])

On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate <jsc.eco@gmail.com> wrote:

HI,
thanx for any help. seems this should be a pretty straight forward thing to
do, but am not having any success.
i am trying to reproject a raster from lat/long to utm.
i created a new location with a utm projection, then tried to use r.proj to
reproject a raster from another location.

r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT

however, i get the following error:
Mapset [PERMANENT] in input location [/work/projects/Willamette] - not found

thanx for any assistance,
Janet

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

I tried using the full path (i.e. the PERMANENT mapset lives within the /work/projects/Willamette location), but get the ‘not found’ error.
is there any other command i need to run prior to r.proj, or any additional options to include, or how to list the path other than the way i am?

the original data i imported was a dem from usgs national elevation dataset (ned) seamless data distribution system (sdds). i had to export it from ned as a geotiff to bring it into grass. i tried exporting the data from ned as an arcgrid and importing into grass with r.in.gdal, but was unable to bring it into grass.

so if anyone can tell me the steps to bringing ned seamless data into grass, then reprojecting to utm, i would be grateful. or at this point, just how to use r.proj to reproject to utm.
thanx, janet

On Tue, Dec 1, 2009 at 10:14 PM, maning sambale <emmanuel.sambale@gmail.com> wrote:

Try to include the full path of your location ([/work/projects/Willamette])

On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate <jsc.eco@gmail.com> wrote:

HI,
thanx for any help. seems this should be a pretty straight forward thing to
do, but am not having any success.
i am trying to reproject a raster from lat/long to utm.
i created a new location with a utm projection, then tried to use r.proj to
reproject a raster from another location.

r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT

however, i get the following error:
Mapset [PERMANENT] in input location [/work/projects/Willamette] - not found

thanx for any assistance,
Janet


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


cheers,
maning

“Freedom is still the most radical idea of all” -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/

On Wed, Dec 2, 2009 at 2:28 PM, Janet Choate <jsc.eco@gmail.com> wrote:

I tried using the full path (i.e. the PERMANENT mapset lives within the
/work/projects/Willamette location), but get the 'not found' error.
is there any other command i need to run prior to r.proj, or any additional
options to include, or how to list the path other than the way i am?

just to check from your lat/long mapset, run g.gisenv
It should show you the location, mapset and GRASS database.

This is what you use in r.proj parameters

the original data i imported was a dem from usgs national elevation dataset
(ned) seamless data distribution system (sdds). i had to export it from ned
as a geotiff to bring it into grass. i tried exporting the data from ned as
an arcgrid and importing into grass with r.in.gdal, but was unable to bring
it into grass.

so if anyone can tell me the steps to bringing ned seamless data into grass,
then reprojecting to utm, i would be grateful. or at this point, just how
to use r.proj to reproject to utm.
thanx, janet

On Tue, Dec 1, 2009 at 10:14 PM, maning sambale <emmanuel.sambale@gmail.com>
wrote:

Try to include the full path of your location
([/work/projects/Willamette])

On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate <jsc.eco@gmail.com> wrote:
> HI,
> thanx for any help. seems this should be a pretty straight forward
> thing to
> do, but am not having any success.
> i am trying to reproject a raster from lat/long to utm.
> i created a new location with a utm projection, then tried to use r.proj
> to
> reproject a raster from another location.
>
> r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT
>
> however, i get the following error:
> Mapset [PERMANENT] in input location [/work/projects/Willamette] - not
> found
>
> thanx for any assistance,
> Janet
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

try this:

r.proj input=dem dbase=/work/projects/ location=Willamette mapset=PERMANENT

On Wed, Dec 2, 2009 at 2:45 PM, maning sambale
<emmanuel.sambale@gmail.com> wrote:

On Wed, Dec 2, 2009 at 2:28 PM, Janet Choate <jsc.eco@gmail.com> wrote:

I tried using the full path (i.e. the PERMANENT mapset lives within the
/work/projects/Willamette location), but get the 'not found' error.
is there any other command i need to run prior to r.proj, or any additional
options to include, or how to list the path other than the way i am?

just to check from your lat/long mapset, run g.gisenv
It should show you the location, mapset and GRASS database.

This is what you use in r.proj parameters

the original data i imported was a dem from usgs national elevation dataset
(ned) seamless data distribution system (sdds). i had to export it from ned
as a geotiff to bring it into grass. i tried exporting the data from ned as
an arcgrid and importing into grass with r.in.gdal, but was unable to bring
it into grass.

so if anyone can tell me the steps to bringing ned seamless data into grass,
then reprojecting to utm, i would be grateful. or at this point, just how
to use r.proj to reproject to utm.
thanx, janet

On Tue, Dec 1, 2009 at 10:14 PM, maning sambale <emmanuel.sambale@gmail.com>
wrote:

Try to include the full path of your location
([/work/projects/Willamette])

On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate <jsc.eco@gmail.com> wrote:
> HI,
> thanx for any help. seems this should be a pretty straight forward
> thing to
> do, but am not having any success.
> i am trying to reproject a raster from lat/long to utm.
> i created a new location with a utm projection, then tried to use r.proj
> to
> reproject a raster from another location.
>
> r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT
>
> however, i get the following error:
> Mapset [PERMANENT] in input location [/work/projects/Willamette] - not
> found
>
> thanx for any assistance,
> Janet
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

--
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------

ok, getting somewhere!
however, now i’m getting the error ‘Input map is outside current region’, which must be due to how i set up the new location. when i set up the new location/mapset, for ‘define new location with…’
i chose ‘Projection values’
then gave a new location name=GRASSnew, mapset=PERMANENT, database=/work/projects

then specified the coordinate system for the new location as UTM,
datum nad83, datum tranformation Parameters chose option 6, zone 10, then on the define the default region page - left the default region as it was with N and E edge at 1, W and S edge at 0, and leaving Grid Resolution at 1, accepted this region, successfully created location and reentered grass.

then ran r.proj as you suggested, and appeared to be correct input, but got the input map is outside current region error.

any ideas?
thanx for all you help!

On Tue, Dec 1, 2009 at 10:50 PM, maning sambale <emmanuel.sambale@gmail.com> wrote:

try this:

r.proj input=dem dbase=/work/projects/ location=Willamette mapset=PERMANENT

On Wed, Dec 2, 2009 at 2:45 PM, maning sambale

<emmanuel.sambale@gmail.com> wrote:

On Wed, Dec 2, 2009 at 2:28 PM, Janet Choate <jsc.eco@gmail.com> wrote:

I tried using the full path (i.e. the PERMANENT mapset lives within the
/work/projects/Willamette location), but get the ‘not found’ error.
is there any other command i need to run prior to r.proj, or any additional
options to include, or how to list the path other than the way i am?

just to check from your lat/long mapset, run g.gisenv
It should show you the location, mapset and GRASS database.

This is what you use in r.proj parameters

the original data i imported was a dem from usgs national elevation dataset
(ned) seamless data distribution system (sdds). i had to export it from ned
as a geotiff to bring it into grass. i tried exporting the data from ned as
an arcgrid and importing into grass with r.in.gdal, but was unable to bring
it into grass.

so if anyone can tell me the steps to bringing ned seamless data into grass,
then reprojecting to utm, i would be grateful. or at this point, just how
to use r.proj to reproject to utm.
thanx, janet

On Tue, Dec 1, 2009 at 10:14 PM, maning sambale <emmanuel.sambale@gmail.com>
wrote:

Try to include the full path of your location
([/work/projects/Willamette])

On Wed, Dec 2, 2009 at 1:47 PM, Janet Choate <jsc.eco@gmail.com> wrote:

HI,
thanx for any help. seems this should be a pretty straight forward
thing to
do, but am not having any success.
i am trying to reproject a raster from lat/long to utm.
i created a new location with a utm projection, then tried to use r.proj
to
reproject a raster from another location.

r.proj input=dem location=/work/projects/Willamette mapset=PERMANENT

however, i get the following error:
Mapset [PERMANENT] in input location [/work/projects/Willamette] - not
found

thanx for any assistance,
Janet


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


cheers,
maning

“Freedom is still the most radical idea of all” -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/


cheers,
maning

“Freedom is still the most radical idea of all” -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/

cheers,
maning

“Freedom is still the most radical idea of all” -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/


grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user