creating contour map/lines
amalayer
Global Mapper User
how can i create a contour map without dem data (so i cant just click generate contours)... all i have is a topo map.. (see attached)
contour_sample.jpg
i can download it from an online imagery but i want to learn how to create contours... it looks complicated but im interested how..can someone please teach.. thanks a lot..
contour_sample.jpg
i can download it from an online imagery but i want to learn how to create contours... it looks complicated but im interested how..can someone please teach.. thanks a lot..
Comments
-
mmm I don't think you can. As GM is concerned, these lines are just an image and they do not have any elevation info in them. It could just as well be the picture of a girl and you asking GM to create some contours...
You can draft lines over them, if you have the patience and export these as a contour file in another format.
Or download ASTER/SRTM data and create the contours of them.
or maybe wright a script that will read the color intensity (green vs brown) and assign lines where it sees a brown pixel?
-
Great answer yianni, I have never thought of the colour intensity option. Good stuff
-
glad you like it. I am not very good at writing scripts. started having a go but haven''t devoted enough time on this yet.
if it works it will be really good i think. I wonder if they can implement it on GM as well as a function. I guess it will create points along the contours and then it is ever so easy to create a line out of them.
same thing could be used to define any feature of a map come to think of it. lakes, land mass etc. Though the less color variations the better it will be. i.e. it will be easier on an admiralty chart than a sat. image.
i am sure there is more to it and it might not be very straightforward but hey ho. could be an interesting challenge.
y -
I would certainly like to know, afraid complex script writing is beyond me though.
-
Gentlemen,
My experience with GM has been that the only practical (though tedious) way to get digital contours from a raster image of a topographic map is to manually digitize (trace) them. As Yianni stated so well, it's really only a picture of a map, even if it's georeferenced. The problems associated with getting a final product by image extraction are just not worth the effort compared to digitizing. At the very least, when you zoom way in, you will see that the contour lines themselves are not discreet brown pixels, but instead, they transition into the color surrounding them. Even with scripting, I would not recommend using time on trying to create an extraction process. If you really must have them from that source, just get busy tracing. GM has some functions that really help with that. Don't even waste time filtering or adjusting the image, the contours are easiest to see and follow on the map in it's original imaged form, that's why it was produced that way.
Best of luck,
Mark -
Thanks Mark, just saved me a lot of trial & error time. Cheers Phil
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website