Digitizing contours and adding Z-values
#1
Posted 07 August 2006 - 02:43 PM
At this time I'm using Vextractor, which is really nice program where vectorization is no problem, exporting to needed format is also no problem but the bad thing for me is the process of setting elevation of contours. I have to click on each contour to assign the Z-value. It's a slavery to make a small 10x10km mountain area. And I need to work up much larger area :-(
What I'm looking for is an application, which can evaluate many contour lines by only two mouse clicks. You simply draw a line across 20 contours, you set the start (200 meters above sea) and step (5 meters) and thous contours will get elevation 200, 205, 210, ... 395 meters. This could be from 10 to 30 times faster than the way the Vextractor and many other programs does it.
I've spend many hours on google to find nothing at the end. Yes, there was one program with desired functionality, but it did not work on my PC (I think it was R2V demo or trial of something like that).
Thanks in advance for any help.
(I'm new here and Search function seems not to work for me today, so sorry if my problem was mentioned here before)
#2
Posted 08 August 2006 - 12:50 AM
As far as I know there's nothing available that can automatically assign z-values to the contour lines. I also can't see an easy solution for this, but I'll try to see what I can come up with if I have some time today or tomorrow.
Red Geographics
Email: hans@redgeographics.com / Twitter: @redgeographics
#3
Posted 08 August 2006 - 01:42 AM
#4
Posted 08 August 2006 - 02:52 AM
Only Z data are in separate image in form of dots and numbers.does the images contain any z information? In that case I would bring them into a raster GIS (like ArcInfo GRID) and create raster datasets out of them, that can then be exported to polygons/lines.
I'm vectorizing this type of image (this is only 150x150 meters, I work with 10240x10240 meters area)

And I have second image opened in image viewer as an elevation reference for me when I'm working on the first image.

Here's what I was talking about in the first post. You set start value, step value, 2 clicks to make a line and 24 contours are done.
#5
Posted 08 August 2006 - 03:52 AM
http://www.ablesw.com/r2v/contour.html
#6
Posted 08 August 2006 - 04:22 AM
#7
Posted 08 August 2006 - 05:43 AM
boring - yeah, it really iswow, that seems like some really boring work... Are you sure you will be able to capture everything when it is steep and the vectors are close to each other? That definately looks like something that is rendered from vectors -- no way you can get access to the original vector data... ?
Those data for area of my interest are freely available for viewing on internet. I'm able to download them all, but only in image format. I can get original vector data but it's matter of hundreds $. My "project" is not commercial at this time, so I can't affort buying them.
Steep slopes are absolutely no problem, I can easily get those images in resolution 0.5m/px (or even better), contours difference is 5 meters and there's no terrain gradient over 80 degrees in my area.
to l.jegou:
yes, I guess R2V has necessary feature, I'll give it a try once again.
Anyhow: I have some small programming skills, so I'll try to make a simple application which may cooperate with Vextractor or 3dsmax and somehow ensure desired functionality.
#8
Posted 09 August 2006 - 07:31 AM
Which fileformats are you working in?
Pseudocode:
int baseheight = paramx;
int increment; = paramy;
int i = 1;
foreach (int k in heightArray ) {
increment = increment*i;
int height = baseheight + increment;
SetValue (height);
i++;
}Wherein the "params" would be handed over in the constructor; Of course you have to stream the data back into your file. Actually it could be more elegant to define an object called contourLine, which can be repeatedly called for a "setHeight" method. That would then read, change and stream the data back, as the loop moves from line to line. How that would look like would depend on the file format.
EDIT: If I can be of any more help, just say so. Free of charge of course :-)
#9
Posted 09 August 2006 - 12:47 PM
"You could do that with a script in Manifold" so I guess it can be done.
#10
Posted 09 August 2006 - 02:23 PM
"You could do that with a script in Manifold" so I guess it can be done.
You could do it in MapInfo if you had access to MapBasic. Happy to lend a hand if you need any help.
Greg.
Greg Driver
GIS Analyst
MapInfo User...!
#11
Posted 09 August 2006 - 02:45 PM
"You could do that with a script in Manifold" so I guess it can be done.
You could do it in MapInfo if you had access to MapBasic. Happy to lend a hand if you need any help.
Greg.
Should I add the now obligatory "You could do it in ESRI ArcGIS using Python"?
#12
Posted 09 August 2006 - 04:15 PM
Draw a line perpendicular to the series of contours. Indicate the starting elevation and the contour interval. Attribute every contour the line intersects based on the order the line intersects it and whether or not it already has an elevation attribute or not. I can imagine using a point spot elevation file to seed starting contours to automate it even more.
I am surprised no one has produced a small app. to do this yet.
On a related note the Manifold list never says no, always "yes with a script"...IMO that's about the equivalent unless the person suggesting a script either has one written or is offering to write one. It is quite an infuriating and useless suggestion.
On a postive note, for the lazy, or script challenged (I count myself amongst both groups) I have found that this is the kind of task that can be outsourced fairly affordably overseas and often packaged with the contour digitizing as well.
mg
#13
Posted 09 August 2006 - 05:48 PM
martin, your post has inspired me (for the time being... i too count myself in the lazy group) to research this within ArcMap. since i do have the coding experience.
#14
Posted 09 August 2006 - 06:42 PM
You only need to know:
- which contour lines
- their equidistance
- starting height
I am surprised no one has produced a small app. to do this yet.
Problems:
The routine would be different for every file format type. Providing for all major ones is quite some work, which most people want money for. Especially the Hexcoded and binary ones are hasslesome.
But for just one known type of file and one project, it?s no large effort.
#15
Posted 09 August 2006 - 10:13 PM
http://support.esri....contour tagging
http://www.cartage.o...uter/C/107.html
here is a site/program that mentions it, and compares itself to wintopo pro and r2v.
http://www.terrainmap.com/rm35.html
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users


Sign In
Create Account
Czech Republic
Back to top
Netherlands
Sweden
France
Germany
United States
United Kingdom









