Jump to content

 
Photo

Can someone make DEM from these given X,Y,Z data?

- - - - -

  • Please log in to reply
13 replies to this topic

#1
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

Could someone please make a DEM for me from this data given. It's not that large data hope it won't take long for you people. I'm running some 2D simulation on ISIS and need to use the DEM regarding this data given. I don't have any experience on this. By the way, the data in the .txt are only the ground elevation which means Z.
Best regards

Attached Files


Edited by Anand, 16 February 2012 - 12:04 AM.


#2
frax

frax

    Hall of Fame

  • Associate Admin
  • PipPipPipPipPipPipPip
  • 2,320 posts
  • Gender:Male
  • Location:Stockholm, Sweden
  • Interests:music, hiking, friends, nature, photography, traveling. and maps!
  • Sweden

You have to specify what data format the resulting DEM should be (can help if you tell us what software you will be using).
Hugo Ahlenius
Nordpil - custom maps and GIS
http://nordpil.com/
Twitter

#3
pete.wells

pete.wells

    Newbie

  • Validated Member
  • Pip
  • 5 posts
  • United Kingdom

You have to specify what data format the resulting DEM should be (can help if you tell us what software you will be using).


At a guess, it looks like (s)he's using ISIS 2D (please correct me if I'm wrong). Grids would need to be in ASCII grid format with a .asc file extension.

Are the points already regularly spaced (on a grid) or sparsely spaced (requiring interpolation)?

Pete

#4
gregsd

gregsd

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 169 posts
  • Gender:Male
  • Location:Surrey, England.
  • Interests:Cycling, mostly off-road (MTB) riding.
  • United Kingdom

How would you go about creating the DEM? Looking at the text file, it just contains regulary spaced z-values, but there's no coordinate information or grid cell size.

Greg.


Greg Driver

GIS Analyst
MapInfo User...!

#5
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

It is regularly spaced in both x and y axis and I'm using ISIS 2D software, grids need to be in ASCII grid format with a .asc file extension.

#6
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

You have to specify what data format the resulting DEM should be (can help if you tell us what software you will be using).

DEM needs to be with a .asc file extension and I'm using ISIS 2D software by Halcrow.
Thank you

#7
pete.wells

pete.wells

    Newbie

  • Validated Member
  • Pip
  • 5 posts
  • United Kingdom

Hi Anand,

The file itself looks like an ASCII grid already but missing the header of the file which describes the lower-left corner coordinates, cell size etc. What software wrote the file?

If you know the cell-size and the position (x&y) of the lower-left corner of the DEM, you can write the header yourself.

Pete

#8
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

Hi Anand,

The file itself looks like an ASCII grid already but missing the header of the file which describes the lower-left corner coordinates, cell size etc. What software wrote the file?

If you know the cell-size and the position (x&y) of the lower-left corner of the DEM, you can write the header yourself.

Pete

I'm not sure on what software it was written. Because my lecturer gave me this. I will contact him and let you know.

#9
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

These documents might be useful to get you know about this topography.

Attached Files



#10
Hans van der Maarel

Hans van der Maarel

    CartoTalk Editor-in-Chief

  • Admin
  • PipPipPipPipPipPipPip
  • 3,898 posts
  • Gender:Male
  • Location:The Netherlands
  • Interests:Cartography, GIS, history, popular science, music.
  • Netherlands

I'm not sure on what software it was written. Because my lecturer gave me this. I will contact him and let you know.


Eh... surely you're not asking us to do your class assignments?
Hans van der Maarel - Cartotalk Editor
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics

#11
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

I'm not sure on what software it was written. Because my lecturer gave me this. I will contact him and let you know.


Eh... surely you're not asking us to do your class assignments?

It's not an assignment by the way. I just need to use this topography.

#12
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

Distance between the points are 1000m on each X,Y direction.

#13
pete.wells

pete.wells

    Newbie

  • Validated Member
  • Pip
  • 5 posts
  • United Kingdom

Distance between the points are 1000m on each X,Y direction.


OK... so we have a cell size now. This will be all you'll need to model the area in ISIS 2D, however, the results that ISIS 2D will not be properly georeferenced (as you do not know where the bottom-left corner of the grid is located).

This page: http://en.wikipedia.org/wiki/Esri_grid should show you how to write the header.

You may also need to convert the spaces between values to a single space (probably best done with a simple python script).

Bear in mind that ISIS 2D will do a nearest neighbour sampling of the DEM to populate its grid cells. This means (unless you're going to do something fancy with the data) that you'll have to use a computational cell size similar to that of your DEM (1km). If you use a smaller dx in ISIS 2D, you will end up with cells near the transitions between DEM cells with potentially large changes in z across a few computational cells which will (most likely) cause ISIS 2D to become unstable.

Hope that helps.

Kind regards,

Pete

#14
Anand

Anand

    Contributor

  • Validated Member
  • PipPip
  • 15 posts
  • United Kingdom

Distance between the points are 1000m on each X,Y direction.


OK... so we have a cell size now. This will be all you'll need to model the area in ISIS 2D, however, the results that ISIS 2D will not be properly georeferenced (as you do not know where the bottom-left corner of the grid is located).

This page: http://en.wikipedia.org/wiki/Esri_grid should show you how to write the header.

You may also need to convert the spaces between values to a single space (probably best done with a simple python script).

Bear in mind that ISIS 2D will do a nearest neighbour sampling of the DEM to populate its grid cells. This means (unless you're going to do something fancy with the data) that you'll have to use a computational cell size similar to that of your DEM (1km). If you use a smaller dx in ISIS 2D, you will end up with cells near the transitions between DEM cells with potentially large changes in z across a few computational cells which will (most likely) cause ISIS 2D to become unstable.

Hope that helps.

Kind regards,

Pete

Cheers mate!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->