Extracting specific pixel values of an SRTM DEM from a line drawn over it in Google Earth Engine The 2019 Stack Overflow Developer Survey Results Are InCreate Cross Section in Google Earth EngineGoogle earth Engine: extract specific values returned by frequencyHistogram()Nearest Neighbour Pixel Value Google Earth EngineExtracting pixel values by points and converting to table in Google Earth Engine?Extract seasonality and trend values for each time in a MODIS time seriesImport shapefile with attributes, extract values of Image in Google Earth Engine, then export results with attributesHow can I estimate a Least Cost Path in Google Earth Engine?Standard deviation for percentiles interval in Google Earth EngineExtracting color values from polygons drawn in Google Earth Engine?Extracting pixel time series from Google Earth EngineExport pixel neighborhood in Google Earth Engine

What information about me do stores get via my credit card?

Is it ok to offer lower paid work as a trial period before negotiating for a full-time job?

Button changing its text & action. Good or terrible?

Correct punctuation for showing a character's confusion

How to support a colleague who finds meetings extremely tiring?

How do I free up internal storage if I don't have any apps downloaded?

Can I have a signal generator on while it's not connected?

I am an eight letter word. What am I?

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

How did passengers keep warm on sail ships?

Can withdrawing asylum be illegal?

Why didn't the Event Horizon Telescope team mention Sagittarius A*?

What is the motivation for a law requiring 2 parties to consent for recording a conversation

What is preventing me from simply constructing a hash that's lower than the current target?

Falsification in Math vs Science

Time travel alters history but people keep saying nothing's changed

How do you keep chess fun when your opponent constantly beats you?

What is the meaning of Triage in Cybersec world?

Finding the area between two curves with Integrate

Worn-tile Scrabble

What is this sharp, curved notch on my knife for?

Keeping a retro style to sci-fi spaceships?

Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?

The phrase "to the numbers born"?



Extracting specific pixel values of an SRTM DEM from a line drawn over it in Google Earth Engine



The 2019 Stack Overflow Developer Survey Results Are InCreate Cross Section in Google Earth EngineGoogle earth Engine: extract specific values returned by frequencyHistogram()Nearest Neighbour Pixel Value Google Earth EngineExtracting pixel values by points and converting to table in Google Earth Engine?Extract seasonality and trend values for each time in a MODIS time seriesImport shapefile with attributes, extract values of Image in Google Earth Engine, then export results with attributesHow can I estimate a Least Cost Path in Google Earth Engine?Standard deviation for percentiles interval in Google Earth EngineExtracting color values from polygons drawn in Google Earth Engine?Extracting pixel time series from Google Earth EngineExport pixel neighborhood in Google Earth Engine



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am trying to draw an elevation profile of a road in Google Earth Engine. What I want is that I give a line to GEE and it gives me a plot of the underlying/intersecting pixel values.



I know GEE provides reducers to aggregate data but by point or a polygon in the form of mean, median, mode etc. Reducer do not allow you to get the raw pixel values from the image.



Does any one know about a method to extract specific raw pixel values from a raster based upon the line drawn over it.



What I am specifically trying to achieve is somewhat mimicking the Google Earth's Show Elevation profile functionality. enter image description here










share|improve this question






















  • gis.stackexchange.com/questions/316666/…. This should get you started

    – Kuik
    Apr 6 at 9:17

















0















I am trying to draw an elevation profile of a road in Google Earth Engine. What I want is that I give a line to GEE and it gives me a plot of the underlying/intersecting pixel values.



I know GEE provides reducers to aggregate data but by point or a polygon in the form of mean, median, mode etc. Reducer do not allow you to get the raw pixel values from the image.



Does any one know about a method to extract specific raw pixel values from a raster based upon the line drawn over it.



What I am specifically trying to achieve is somewhat mimicking the Google Earth's Show Elevation profile functionality. enter image description here










share|improve this question






















  • gis.stackexchange.com/questions/316666/…. This should get you started

    – Kuik
    Apr 6 at 9:17













0












0








0








I am trying to draw an elevation profile of a road in Google Earth Engine. What I want is that I give a line to GEE and it gives me a plot of the underlying/intersecting pixel values.



I know GEE provides reducers to aggregate data but by point or a polygon in the form of mean, median, mode etc. Reducer do not allow you to get the raw pixel values from the image.



Does any one know about a method to extract specific raw pixel values from a raster based upon the line drawn over it.



What I am specifically trying to achieve is somewhat mimicking the Google Earth's Show Elevation profile functionality. enter image description here










share|improve this question














I am trying to draw an elevation profile of a road in Google Earth Engine. What I want is that I give a line to GEE and it gives me a plot of the underlying/intersecting pixel values.



I know GEE provides reducers to aggregate data but by point or a polygon in the form of mean, median, mode etc. Reducer do not allow you to get the raw pixel values from the image.



Does any one know about a method to extract specific raw pixel values from a raster based upon the line drawn over it.



What I am specifically trying to achieve is somewhat mimicking the Google Earth's Show Elevation profile functionality. enter image description here







google-earth-engine






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 6 at 7:34









DigitalPatwariDigitalPatwari

266




266












  • gis.stackexchange.com/questions/316666/…. This should get you started

    – Kuik
    Apr 6 at 9:17

















  • gis.stackexchange.com/questions/316666/…. This should get you started

    – Kuik
    Apr 6 at 9:17
















gis.stackexchange.com/questions/316666/…. This should get you started

– Kuik
Apr 6 at 9:17





gis.stackexchange.com/questions/316666/…. This should get you started

– Kuik
Apr 6 at 9:17










0






active

oldest

votes












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317965%2fextracting-specific-pixel-values-of-an-srtm-dem-from-a-line-drawn-over-it-in-goo%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes















draft saved

draft discarded
















































Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid …


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317965%2fextracting-specific-pixel-values-of-an-srtm-dem-from-a-line-drawn-over-it-in-goo%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Magento 1.9 observer on only new product added ( no updated product )Admin Create New Order ObserverObserver checkout_cart_product_add_after get product quantity in cartHow can I differentiate between product creation and saving existing products?How to get the original price Product SaveBeforeMagento Observer for Admin Sales order Address updateHow do i get quantity in a product_save_after event observer magento2?Using observer event to get updated customer infoSave product observer - detect availabilityEvent not triggered when new product added in admin : Magento 2magento 1.9 observer on quantity product change

Does an object always see its latest internal state irrespective of thread? The 2019 Stack Overflow Developer Survey Results Are InDoes a finally block always get executed in Java?Java: serial thread confinement questionJava difference between fixed threadpool and scheduled threadpoolJackrabbit and concurrent modificationHow to stop a Runnable scheduled for repeated execution after a certain number of executionsMultiple threads accessing inner classHow can a loop be completed by two thread? say loop from count=1 to count=4 by ist thread and count =5 to 8 by 2nd thread?If I keep a reference to a Runnable, when does the Thread it ran on get released?How to stop a schedule ScheduledExecutorServiceHow to implement a singleThreadedScheduledExcecutor in wildfly

What CSS properties can the br tag have?Will whitespace or wrap be ignored between two block elements in HTML?Set cellpadding and cellspacing in CSS?Change an HTML5 input's placeholder color with CSSIs this possible in p tag without using span or anything new in html tag?jQuery + Regex to change CSS of first couple of Wordscentering an image while text covers both canvas (left and right)Position button material designsubmit button doesn't work with html codejavascript summary my checked inputHow can I create this effect on a slider?Changing JQuery to affect colour of button, not background?