GDAL: gdallocationinfo of CGIAR mosaic elevation data The Next CEO of Stack OverflowCGIAR SRTM...

Sending manuscript to multiple publishers

Why didn't Khan get resurrected in the Genesis Explosion?

Why do airplanes bank sharply to the right after air-to-air refueling?

Received an invoice from my ex-employer billing me for training; how to handle?

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

What happens if you roll doubles 3 times then land on "Go to jail?"

Why am I allowed to create multiple unique pointers from a single object?

WOW air has ceased operation, can I get my tickets refunded?

How do I make a variable always equal to the result of some calculations?

How to count occurrences of text in a file?

Why does the UK parliament need a vote on the political declaration?

What is "(CFMCC)" on an ILS approach chart?

Complex fractions

Bold, vivid family

Can we say or write : "No, it'sn't"?

If/When UK leaves the EU, can a future goverment conduct a referendum to join the EU?

Is there an analogue of projective spaces for proper schemes?

Would a galaxy be visible from outside, but nearby?

Has this building technique been used in an official set?

What benefits would be gained by using human laborers instead of drones in deep sea mining?

How to safely derail a train during transit?

Why do we use the plural of movies in this phrase "We went to the movies last night."?

Make solar eclipses exceedingly rare, but still have new moons

Inappropriate reference requests from Journal reviewers



GDAL: gdallocationinfo of CGIAR mosaic elevation data



The Next CEO of Stack OverflowCGIAR SRTM to xyz using GRASS GIS, with samplingTilecache positions my gdal_translated map 20km south of where I want itUnderstanding the Map Tile creation propertiesVSIMalloc3() and UnifiedSrcDensity mask errors when running gdal_warp in OSGEO4w shellHow can I fix badly specified geographic coordinate system with units in arc-seconds?how to georeference my png using gdalProblem with Converting XY Coordinates to LatLonCan gdalwarp reproject from ESPG:4326 (WGS84) to UTM?Clipping raster takes forever in QGISTransforming Lambert Conformal Conic to EPSG:3857Resampling two raster files












0















I have downloaded tiles from http://srtm.csi.cgiar.org/srtmdata/



http://srtm.csi.cgiar.org/srtmdata/ and unpacked the *.zip files into a directory. Then I ran, as has been suggested here: CGIAR SRTM to xyz using GRASS GIS, with sampling, the commands



#create mosaik (optionally reproject on the fly with -t_srs)
gdalwarp *.tif mosaik.tif
gdalbuildvrt srtm.vft mosaic.tif


After this, I can see the following:



Driver: VRT/Virtual Raster
Files: srtm.vft
mosaic.tif
Size is 48001, 24001
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-10.000416206603404,55.000417150924136)
Pixel Size = (0.000833333333333,-0.000833333333333)
Corner Coordinates:
Upper Left ( -10.0004162, 55.0004172) ( 10d 0' 1.50"W, 55d 0' 1.50"N)
Lower Left ( -10.0004162, 34.9995838) ( 10d 0' 1.50"W, 34d59'58.50"N)
Upper Right ( 30.0004171, 55.0004172) ( 30d 0' 1.50"E, 55d 0' 1.50"N)
Lower Right ( 30.0004171, 34.9995838) ( 30d 0' 1.50"E, 34d59'58.50"N)
Center ( 10.0000005, 45.0000005) ( 10d 0' 0.00"E, 45d 0' 0.00"N)
Band 1 Block=128x128 Type=Int16, ColorInterp=Gray
NoData Value=-32768


when running gdalinfo srtm.vft.
Now, when I try to "query" the data, such as e.g.
gdallocationinfo srtm.vft <your x coord> <your y coord>,
with "appropriate" coordinates x and y, I get stuff like



Report:
Location: (0P,18000L)
Band 1:
<LocationInfo><File>mosaic.tif</File></LocationInfo>
Value: -32768


I tried different switches for gdallocationinfo, such as -wgs84 etc.,
to no avail.



My goal, as described in the related SE-question above, is to
have a file with x,y,z, where x,y is a "locus" in the selected area,
and z is the elevation of that locus. I also would like to sample the data
such that any two pairs of coordinates specify locations that are "sufficiently" apart (say, 300-500 km), but that is another story.










share|improve this question



























    0















    I have downloaded tiles from http://srtm.csi.cgiar.org/srtmdata/



    http://srtm.csi.cgiar.org/srtmdata/ and unpacked the *.zip files into a directory. Then I ran, as has been suggested here: CGIAR SRTM to xyz using GRASS GIS, with sampling, the commands



    #create mosaik (optionally reproject on the fly with -t_srs)
    gdalwarp *.tif mosaik.tif
    gdalbuildvrt srtm.vft mosaic.tif


    After this, I can see the following:



    Driver: VRT/Virtual Raster
    Files: srtm.vft
    mosaic.tif
    Size is 48001, 24001
    Coordinate System is:
    GEOGCS["WGS 84",
    DATUM["WGS_1984",
    SPHEROID["WGS 84",6378137,298.257223563,
    AUTHORITY["EPSG","7030"]],
    AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0],
    UNIT["degree",0.0174532925199433],
    AUTHORITY["EPSG","4326"]]
    Origin = (-10.000416206603404,55.000417150924136)
    Pixel Size = (0.000833333333333,-0.000833333333333)
    Corner Coordinates:
    Upper Left ( -10.0004162, 55.0004172) ( 10d 0' 1.50"W, 55d 0' 1.50"N)
    Lower Left ( -10.0004162, 34.9995838) ( 10d 0' 1.50"W, 34d59'58.50"N)
    Upper Right ( 30.0004171, 55.0004172) ( 30d 0' 1.50"E, 55d 0' 1.50"N)
    Lower Right ( 30.0004171, 34.9995838) ( 30d 0' 1.50"E, 34d59'58.50"N)
    Center ( 10.0000005, 45.0000005) ( 10d 0' 0.00"E, 45d 0' 0.00"N)
    Band 1 Block=128x128 Type=Int16, ColorInterp=Gray
    NoData Value=-32768


    when running gdalinfo srtm.vft.
    Now, when I try to "query" the data, such as e.g.
    gdallocationinfo srtm.vft <your x coord> <your y coord>,
    with "appropriate" coordinates x and y, I get stuff like



    Report:
    Location: (0P,18000L)
    Band 1:
    <LocationInfo><File>mosaic.tif</File></LocationInfo>
    Value: -32768


    I tried different switches for gdallocationinfo, such as -wgs84 etc.,
    to no avail.



    My goal, as described in the related SE-question above, is to
    have a file with x,y,z, where x,y is a "locus" in the selected area,
    and z is the elevation of that locus. I also would like to sample the data
    such that any two pairs of coordinates specify locations that are "sufficiently" apart (say, 300-500 km), but that is another story.










    share|improve this question

























      0












      0








      0








      I have downloaded tiles from http://srtm.csi.cgiar.org/srtmdata/



      http://srtm.csi.cgiar.org/srtmdata/ and unpacked the *.zip files into a directory. Then I ran, as has been suggested here: CGIAR SRTM to xyz using GRASS GIS, with sampling, the commands



      #create mosaik (optionally reproject on the fly with -t_srs)
      gdalwarp *.tif mosaik.tif
      gdalbuildvrt srtm.vft mosaic.tif


      After this, I can see the following:



      Driver: VRT/Virtual Raster
      Files: srtm.vft
      mosaic.tif
      Size is 48001, 24001
      Coordinate System is:
      GEOGCS["WGS 84",
      DATUM["WGS_1984",
      SPHEROID["WGS 84",6378137,298.257223563,
      AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
      PRIMEM["Greenwich",0],
      UNIT["degree",0.0174532925199433],
      AUTHORITY["EPSG","4326"]]
      Origin = (-10.000416206603404,55.000417150924136)
      Pixel Size = (0.000833333333333,-0.000833333333333)
      Corner Coordinates:
      Upper Left ( -10.0004162, 55.0004172) ( 10d 0' 1.50"W, 55d 0' 1.50"N)
      Lower Left ( -10.0004162, 34.9995838) ( 10d 0' 1.50"W, 34d59'58.50"N)
      Upper Right ( 30.0004171, 55.0004172) ( 30d 0' 1.50"E, 55d 0' 1.50"N)
      Lower Right ( 30.0004171, 34.9995838) ( 30d 0' 1.50"E, 34d59'58.50"N)
      Center ( 10.0000005, 45.0000005) ( 10d 0' 0.00"E, 45d 0' 0.00"N)
      Band 1 Block=128x128 Type=Int16, ColorInterp=Gray
      NoData Value=-32768


      when running gdalinfo srtm.vft.
      Now, when I try to "query" the data, such as e.g.
      gdallocationinfo srtm.vft <your x coord> <your y coord>,
      with "appropriate" coordinates x and y, I get stuff like



      Report:
      Location: (0P,18000L)
      Band 1:
      <LocationInfo><File>mosaic.tif</File></LocationInfo>
      Value: -32768


      I tried different switches for gdallocationinfo, such as -wgs84 etc.,
      to no avail.



      My goal, as described in the related SE-question above, is to
      have a file with x,y,z, where x,y is a "locus" in the selected area,
      and z is the elevation of that locus. I also would like to sample the data
      such that any two pairs of coordinates specify locations that are "sufficiently" apart (say, 300-500 km), but that is another story.










      share|improve this question














      I have downloaded tiles from http://srtm.csi.cgiar.org/srtmdata/



      http://srtm.csi.cgiar.org/srtmdata/ and unpacked the *.zip files into a directory. Then I ran, as has been suggested here: CGIAR SRTM to xyz using GRASS GIS, with sampling, the commands



      #create mosaik (optionally reproject on the fly with -t_srs)
      gdalwarp *.tif mosaik.tif
      gdalbuildvrt srtm.vft mosaic.tif


      After this, I can see the following:



      Driver: VRT/Virtual Raster
      Files: srtm.vft
      mosaic.tif
      Size is 48001, 24001
      Coordinate System is:
      GEOGCS["WGS 84",
      DATUM["WGS_1984",
      SPHEROID["WGS 84",6378137,298.257223563,
      AUTHORITY["EPSG","7030"]],
      AUTHORITY["EPSG","6326"]],
      PRIMEM["Greenwich",0],
      UNIT["degree",0.0174532925199433],
      AUTHORITY["EPSG","4326"]]
      Origin = (-10.000416206603404,55.000417150924136)
      Pixel Size = (0.000833333333333,-0.000833333333333)
      Corner Coordinates:
      Upper Left ( -10.0004162, 55.0004172) ( 10d 0' 1.50"W, 55d 0' 1.50"N)
      Lower Left ( -10.0004162, 34.9995838) ( 10d 0' 1.50"W, 34d59'58.50"N)
      Upper Right ( 30.0004171, 55.0004172) ( 30d 0' 1.50"E, 55d 0' 1.50"N)
      Lower Right ( 30.0004171, 34.9995838) ( 30d 0' 1.50"E, 34d59'58.50"N)
      Center ( 10.0000005, 45.0000005) ( 10d 0' 0.00"E, 45d 0' 0.00"N)
      Band 1 Block=128x128 Type=Int16, ColorInterp=Gray
      NoData Value=-32768


      when running gdalinfo srtm.vft.
      Now, when I try to "query" the data, such as e.g.
      gdallocationinfo srtm.vft <your x coord> <your y coord>,
      with "appropriate" coordinates x and y, I get stuff like



      Report:
      Location: (0P,18000L)
      Band 1:
      <LocationInfo><File>mosaic.tif</File></LocationInfo>
      Value: -32768


      I tried different switches for gdallocationinfo, such as -wgs84 etc.,
      to no avail.



      My goal, as described in the related SE-question above, is to
      have a file with x,y,z, where x,y is a "locus" in the selected area,
      and z is the elevation of that locus. I also would like to sample the data
      such that any two pairs of coordinates specify locations that are "sufficiently" apart (say, 300-500 km), but that is another story.







      gdal dem






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 19 mins ago









      IlonpilaajaIlonpilaaja

      1053




      1053






















          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%2f317213%2fgdal-gdallocationinfo-of-cgiar-mosaic-elevation-data%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%2f317213%2fgdal-gdallocationinfo-of-cgiar-mosaic-elevation-data%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

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

          Meter-Bus Содержание Параметры шины | Стандартизация |...