[Qgis-user] creating contours with QGIS 2.0
Randal Hale
rjhale at northrivergeographic.com
Sun Dec 1 07:44:45 PST 2013
I have a couple of suggestions - I didn't use QGIS 1.7 a lot - my best
reference currently is 2.0.
1. You can add the csv to qgis and use the contour plugin from the
repositories - I'm not sure exactly how it works but you'll need a few
extra python libraries like numpy and matplotlib (and I think that is a
python library - but it will tell you upon installation).
2. Convert the csv to a shapefile and use the rasterize (vector to
raster tool) under Raster > Conversion. That would build a elevation
model (or surface) and from there you can generate contours. (To
generate a shapefile add the csv using the delimited text tool and then
right click the layer and "save as").
3. Be a manly man and use gdal and vrt files. I have never done this -
but it looks like fun and a good learning exercise. If I had a CSV file
I would attempt it - but the only thing I currently have is several
points in a straight line (your example).
I hope that points you to a closer direction for getting the contours.
Good Luck - we're all counting on you.
Randy
-----------------
Randal Hale, GISP
North River Geographic Systems, Inc
http://www.northrivergeographic.com
423.653.3611 rjhale at northrivergeographic.com
<mailto:rjhale at northrivergeographic.com>
twitter:rjhale
http://about.me/rjhale
On 11/30/2013 11:02 PM, Eyal Saiet wrote:
> Hello,
> I was able to create contour lines from a CSV file using QGIS 1.7,
> bust since I moved to 2.0 I am failing to acquire the skills I had
> with the earlier version.
> The topo data is a CSV, here is a sample:
> Depth_cm,UTM_East,UTM_North
> 55.27,405472.81,7613300.3
> 60.38,405474.03,7613300.3
> 63.63,405476.06,7613300.2
> 62.8,405478.1,7613300.1
> 58.47,405479.72,7613300
> 63.99,405480.94,7613300
> 65.28,405483.38,7613299.9
> 66.06,405485.01,7613299.8
> 64.82,405486.23,7613299.8
> 57.9,405488.67,7613299.7
>
> I am now trying to follow the documentation to create a contour line
> in link
> <http://www.qgis.org/en/docs/user_manual/grass_integration/grass_integration.html?highlight=contour>.
>
> At "In the list of tool categories double click /Raster ? Surface
> Management ? Generate vector contour lines"...
> /
> /I found "RASTER" at the top of the screen to the right of "Vector"
> and left to "Database" But there is no"///Surface Management" and
> therefore I am at a dead-end trying to follow the above instructions.
>
> //
> /Anotehr option after uploading the csv file was to go to
> /Raster-->Extraction-->Contour. This failed as well. By going through
> the path to the left I am prompt for a file input and it does not take
> loaded csv layer.
> /// /
>
> Really need your help
> --
> Eyal Saiet
> University of Alaska Fairbanks
> Fairbanks, AK 99775
> (907) 750 6555 (cell)
>
> ejsaiet at alaska.edu <mailto:Gregory.Walker at gi.alaska.edu>
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20131201/a17c5f46/attachment.html>
More information about the Qgis-user
mailing list