I want to extract contour from scanned map, but that map is scattered very much, so it is impossible to extract automatically.

So I make line shapefile and try to use tracing tool

enter image description here

but I cannot do that because my map is just image.

How can I use tracing tool for my map?

  • No answer to your question, I agree with @ahmadhanb. But give Vextractor a try. It is a low cost standalone vectorization software with many options to deal with low quality imagery. And one of the very best features is its ability to be used in batch mode. You can export results as shapefile. If it fulfills your needs I consider to post this as elaborated answer. – Detlev Dec 4 '17 at 5:48
  • If you choose to manually digitize the contours from the scanned map, you may find the Freehand Editing plugin helpful. It allows you to draw a curve freehand instead of clicking or tapping for each vertex. – csk Dec 15 '17 at 19:47

The AutoTrace is a plugin for QGIS that allows users to digitize new features based on vertices from existing features. It essentially allows you to trace existing features. You cannot use it to trace an image directly, it use to with existing vector layer to make polygons contiguous.

The only way to trace contour from an image is to do it manually by creating new line feature and start digitizing which I know it is time consuming, but it is more accurate and faster than trying to convert raster to vector automatically and then cleaning that vector layer.

Another option is to use a DEM and extract contour from the DEM but it depends on the scale that you are looking for. If contour image covering detailed area (large scale), then only digitizing is the option. However, if you are working with small scale, you can use DEM to extract contour from it.


ArcGIS offers this option - just Google "ArcScan toolbar" and you will learn about it. An equivalent option for QGIS has not been created to date as far as I know.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.