We are trying to implement a service which takes a line geometry as its input and calculates elevation profile along that line from dem data (img format).

How could we achieve this using postgis or arcgis stack?

closed as too broad by PolyGeo Aug 17 '16 at 7:49

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Please decide whether you are trying to do this using PostGIS or ArcGIS and then, rather than just describing what you want to do in a single sentence, can you tell us precisely what you have tried and where you are stuck, please? – PolyGeo Aug 17 '16 at 7:50
  • Sounds like a job for Add Surface Information (3d) resources.arcgis.com/en/help/main/10.2/index.html#//…, be sure to densify the line first - two point lines will work but the result isn't very useful, without any code I cannot advise on how to implement this. The word 'service' seems to indicate you want this to happen on a web page, but again without any code I can't be sure. – Michael Stimson Aug 18 '16 at 0:20