[GRASS-user] National Elevation Data

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Kurt Springs

I believe that it is the aux file, but it could be the adf file I
don't remember. Normally they have w*************.adf or aux and I
think it is the last file in the list. I suspect you can find this on
the internet or the archives. I probably asked this same question
some months ago.
HTH

Stephen

On Fri, Apr 2, 2010 at 5:19 PM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

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

--
Stephen Sefick

Let's not spend our time and resources thinking about things that are
so little or so large that all they really do for us is puff us up and
make us feel like gods. We are mammals, and have not exhausted the
annoying little problems of being mammals.

                -K. Mullis

Kurt wrote:

I downloaded a National Elevation Dataset layer from the
USGS. I haven't any idea of how to import it as a
raster layer. Its got several types of files:
.dir, .dat, .nit, .aux, .adf, as well as some esri metadata
files (.dbf, .prj, .shp, shx). Can anyone tell me
which file is the one I want to try to import as a raster
file?

http://www.gdal.org/frmt_various.html#AIG

try pointing at the parent directory, or failing that the .adf
within it.

Hamish

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

I have found that the NED zips do this on OSX. So instead I change the download options to a tarball. Simpler than try to reconstruct the folder structure.

On Apr 3, 2010, at 2:01 PM, Kurt Springs wrote:

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

Hi Kurt,

I concur with William. Part of my workflow on the seamless server is to always go into the options and make any downloads tgz's. Otherwise, you get a mess that is a challenge to untangle.

This requires a few extra mouse clicks, but it makes a big difference in the end.

Good luck,
John

On Apr 3, 2010, at 12:15 PM, William Kyngesburye wrote:

I have found that the NED zips do this on OSX. So instead I change the download options to a tarball. Simpler than try to reconstruct the folder structure.

On Apr 3, 2010, at 2:01 PM, Kurt Springs wrote:

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

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

How do you set up the site to download tarball instead of .zip. I tried but it does not give me the option to download tarball.

Kurt
On Apr 3, 2010, at 3:15 PM, William Kyngesburye wrote:

I have found that the NED zips do this on OSX. So instead I change the download options to a tarball. Simpler than try to reconstruct the folder structure.

On Apr 3, 2010, at 2:01 PM, Kurt Springs wrote:

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

When you select an area, and you are at the Request Summary page, click Modify Data Request. There you can select the Archive Format for each dataset.

I don't know if there is a way to change this *before* selecting areas.

On Apr 4, 2010, at 2:59 PM, Kurt Springs wrote:

How do you set up the site to download tarball instead of .zip. I tried but it does not give me the option to download tarball.

Kurt
On Apr 3, 2010, at 3:15 PM, William Kyngesburye wrote:

I have found that the NED zips do this on OSX. So instead I change the download options to a tarball. Simpler than try to reconstruct the folder structure.

On Apr 3, 2010, at 2:01 PM, Kurt Springs wrote:

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war

Okay that worked. Thanks a lot William and John and all who offered suggestions.

BTW, I just wanted to let people know that I completed my requirements for the Ph.D. at University at Buffalo. So, thanks too to all who gave me advice during the struggle.

Kurt
On Apr 4, 2010, at 4:12 PM, William Kyngesburye wrote:

When you select an area, and you are at the Request Summary page, click Modify Data Request. There you can select the Archive Format for each dataset.

I don't know if there is a way to change this *before* selecting areas.

On Apr 4, 2010, at 2:59 PM, Kurt Springs wrote:

How do you set up the site to download tarball instead of .zip. I tried but it does not give me the option to download tarball.

Kurt
On Apr 3, 2010, at 3:15 PM, William Kyngesburye wrote:

I have found that the NED zips do this on OSX. So instead I change the download options to a tarball. Simpler than try to reconstruct the folder structure.

On Apr 3, 2010, at 2:01 PM, Kurt Springs wrote:

I am using the Mac OS X Version. I downloaded the file NED_85826542\ned_85826542\w001001.adf. I tried changing the name to w001001.adf and got the same error.

Kurt
On Apr 3, 2010, at 3:13 AM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 2:47 AM, Kurt Springs <ferret_bard@mac.com> wrote:

I tried that and got:

r.in.gdal -e {input=/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf} output=dem
ERROR 4: `/Users/kurtsprings/grassdata/NED_85826542/NED_85826542\ned_85826542\w001001.adf' not recognised as a supported file format.

I see switched \ and /. Looks like windows...?

Which winGRASS version do you use (too old?)?

Markus

Also, I tried changing the name so that the file itself was just w001001.adf and got the same thing.

Kurt
On Apr 2, 2010, at 8:35 PM, Markus Neteler wrote:

On Sat, Apr 3, 2010 at 1:19 AM, Kurt Springs <ferret_bard@mac.com> wrote:

Hi Folks,

I downloaded a National Elevation Dataset layer from the USGS. I haven't any idea of how to import it as a raster layer. Its got several types of files: .dir, .dat, .nit, .aux, .adf, as well as some esri metadata files (.dbf, .prj, .shp, shx). Can anyone tell me which file is the one I want to try to import as a raster file?

Not sure, would this help?
http://grass.osgeo.org/wiki/HOWTO_import_USGS_elevation_data

Markus

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Theory of the Universe

There is a theory which states that if ever anyone discovers exactly what the universe is for and why it is here, it will instantly disappear and be replaced by something even more bizarrely inexplicable. There is another theory which states that this has already happened.

-Hitchhiker's Guide to the Galaxy 2nd season intro

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

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"We are at war with them. Neither in hatred nor revenge and with no particular pleasure I shall kill every ___ I can until the war is over. That is my duty."

"Don't you even hate 'em?"

"What good would it do if I did? If all the many millions of people of the allied nations devoted an entire year exclusively to hating the ____ it wouldn't kill one ___ nor shorten the war one day."

<Ha, ha> "And it might give 'em all stomach ulcers."

- Tarzan, on war