[postgis-users] Elevation Profiles

Brent Wood pcreso at pcreso.com
Mon Nov 29 15:58:36 PST 2004



> 
> How do other programs perform this function? Is GMT the way to go?  I
> looked into it and since I am generating new trail segments from user
> input all the time, GMT doesn't seem like a workable solution. Looping
> through the vertices seems like more work than it should be.  

If your elevation contours can be turned into a GMT grid file (DEM) then using
grdtrack with the XY coord sequence will give you the profile. Possibly ask on
teh GMT list for help on this.

Also, GRASS can be used to generate profiles, but that may be using a cannon to
swat flies :-)

Brent Wood



More information about the postgis-users mailing list