Jump to content

 
Photo

Extracting contour lines

- - - - -

  • Please log in to reply
4 replies to this topic

#1
Mapper_Mac

Mapper_Mac

    Contributor

  • Validated Member
  • PipPip
  • 16 posts
  • Gender:Male
  • Location:Carlsbad, CA
  • United States

Hey everybody,

I am trying to extract just the 20 meter contour lines from a 10 meter contour line file in ArcMap. Does anyone know a "select by attributes" equation that would work for this?

#2
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,310 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

I don't know of a quick equation that would work - however I do remember an ArcUser a few years ago that had an article on Creating Cool Contours and there was also a sample dataset that had a lookup table (cont_sel.dbf) containing binaries to filter for different contour intervals.

I think that is the way to go, unless you want to create a new contour file with different intervals.

co-cartographic creator of boringmaps.com


#3
peanut

peanut

    Master Contributor

  • Validated Member
  • PipPipPipPip
  • 138 posts
  • Location:Austin, TX
  • United States

It is amazing how often modulo division comes in handy!

If your data is in SDE this will work better. See the following link:

http://gis.napa.ca.g...ontour_help.asp

Rich

#4
Matthew Hampton

Matthew Hampton

    Hall of Fame

  • Moderator
  • PipPipPipPipPipPipPip
  • 1,310 posts
  • Gender:Male
  • Location:Portland, Oregon
  • Interests:Playing in the mountains and rivers.
  • United States

That is indeed handy Rich! Thanks for the post and for the new term (modulo).

I would've thought that term was referencing some lyrics in a popular Styx song. :blink:

co-cartographic creator of boringmaps.com


#5
Mapper_Mac

Mapper_Mac

    Contributor

  • Validated Member
  • PipPip
  • 16 posts
  • Gender:Male
  • Location:Carlsbad, CA
  • United States

Thanks! That works really well.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

-->