Converting contour lines to polygons
#1
Posted 02 March 2006 - 11:38 PM
Learning about this tool prompted me to make this map for wikipedia. I made it by coloring the output of OMC and adding labels manually in Illustrator.
Since then, I've gathered some knowlegde on GIS and and I figured a similar result (for other countries) can be achieved by more time effiecient means. I've discovered that the VMAP0 dataset contains all the information I need, but I just can't seem to find a simple way of turning the contour lines contained in VMAP into the 'contour polygons' (similar to what you see in my illustrator map).
What I tried and sort of works:
* turning the elevation data in VMAP (contour lines and spot heights) into a TIN, and displaying the TIN in categories. Great results, but quite time consuming.
* Displaying DEM data (etopo30) in categories. Great results, but no vector output.
My question: is there an easy way of turning contour lines (or other elevation data) into polygons that can be filled in?
#2
Posted 03 March 2006 - 01:58 AM
My question: is there an easy way of turning contour lines (or other elevation data) into polygons that can be filled in?
If you can get them into Illustrator, you can do the following:
- Place a rectangle around them so you don't have any loose ends
- Select the contour lines and the rectangle and use the Split tool on the Pathfinder pallette (bottom row, leftmost one iirc)
- Ungroup everything
- You now have areas that you can fill in using the standard Illustrator way.
Hope this helps.
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#3
Posted 03 March 2006 - 08:47 AM
I'm not sure why you wouldn't just use a a hypsometric color image from a DEM though? I can't image that file size would be enough of a justification?
#4
Posted 03 March 2006 - 10:57 AM
@Hans van der Maarel
Great idea, although not quite what I was looking for. This would have definately worked better than the method I used, but what i would realy like is a softwaretool that does all this for me.
@Alpine mapping guild
The option in Manifold sounds pretty much like what I'm looking for, although I would prefer using the contourlines contained in the VMAP0 data as input rather than a DEM. Do you know if this is possible as well?
I've since also figured out how to make a vectorized, categorized height map from a DEM with a trial version of arcmap. But since the full Arcgis package is not exactly free, I now have a new question:
Do you know of any open source or free to use software that is capable of turning a DEM or other elevation data (like a set of contour lines) into a vectorized, colorized hypsometric map?
#5
Posted 03 March 2006 - 11:27 AM
but you did not answer my question as to why you want to use a vector version for the hyspo, sounds like extra work. Why not just use a screen resolutionDEM created image.
#6
Posted 03 March 2006 - 12:08 PM
but you did not answer my question as to why you want to use a vector version for the hyspo, sounds like extra work. Why not just use a screen resolutionDEM created image.
In order to minimize aliasing, I prefer to work with vectors. I think the increase in quality (especially visible at low resolutions) is worth the extra work.
I'll have a look at Microdem and Saga. Thanks for the tip.
#7
Posted 03 March 2006 - 11:03 PM
I see your point. In the case of hypsometric maps with a continuous color range and at a scale similar to or smaller than that of my Spain map (which is indeed typical of the future 'end products' I had in mind) , I agree that a raster would suffice. Also, I've abandoned the idea of using the contour lines contained in the DCW data, using SRTM data is indeed a much better option. However, I'm not convinced that aliasing will not be an issue if I were to use discrete color bands. I'll make some samples of both raster and vectorized hypsometric maps to compare and I'll post the results of the comparison.
#8
Posted 04 March 2006 - 06:36 AM
I'll make some samples of both raster and vectorized hypsometric maps to compare and I'll post the results of the comparison.
I will too!
#9
Posted 05 March 2006 - 08:23 PM
The option in Manifold sounds pretty much like what I'm looking for, although I would prefer using the contourlines contained in the VMAP0 data as input rather than a DEM. Do you know if this is possible as well?
You can created "Bounded Areas" using the Transform Toolbar - but you'll have to close off the lines - using the drawing tools, or Join Lines, and maybe some topology problems etc. - for incompletely bounded regions, and you'll have to be careful with the Transfer Rules to correctly copy the attributes. It's possible it will all work in one or two steps, depending on the data.
There's was some detailed discussion about achieving this in Manifold a few years ago, I'd have to (re-)try an example to point out exactly what transfer rules work.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account
Netherlands
Back to top

United States
Australia








