What projection is this geoTIF and how do I convert it?












1















I am working with viewing weather data online and the website I use (University of Oklahoma) provides a link to the data displayed as a geoTIF, for research purposes. This is a direct link to the geoTIF that I am requesting help with.



I am trying to use the image in a Mapbox map, but there seems to be an issue with projection. I use GDAL tools (though I am a novice) and I can't even figure out what projection it is in to start with. When I use gdalinfo, I get the following result :



Warning 1: RowsPerStrip not defined ... assuming all one strip.
Raster dataset parameters:
Projection:
RasterCount: 1
RasterSize (7000,3500)
Using driver GeoTIFF
Image Structure Metadata:
0: COMPRESSION=DEFLATE
1: INTERLEAVE=BAND

Corner Coordinates:
Upper Left (-130, 55)
Lower Left (-130, 20)
Upper Right (-60, 55)
Lower Right (-60, 20)
Center (-95, 37.5)

Coordinate System is:

Band 1 :
DataType: Float32
ColorInterpretation: Gray
Description:
Size (7000,3500)
BlockSize (7000,3500)
NoDataValue: -999
Offset: 0
Scale: 1


I have been converting other geoTIF files for Mapbox use with the following command successfully :



gdalwarp -t_srs EPSG:3857 example.tif example-projected.tif


... The above code always works except with the file I am needing help with. I am very new with GDAL and though I have been trying it is difficult for me. What am I not doing right and how would I do this the correct way?










share|improve this question



























    1















    I am working with viewing weather data online and the website I use (University of Oklahoma) provides a link to the data displayed as a geoTIF, for research purposes. This is a direct link to the geoTIF that I am requesting help with.



    I am trying to use the image in a Mapbox map, but there seems to be an issue with projection. I use GDAL tools (though I am a novice) and I can't even figure out what projection it is in to start with. When I use gdalinfo, I get the following result :



    Warning 1: RowsPerStrip not defined ... assuming all one strip.
    Raster dataset parameters:
    Projection:
    RasterCount: 1
    RasterSize (7000,3500)
    Using driver GeoTIFF
    Image Structure Metadata:
    0: COMPRESSION=DEFLATE
    1: INTERLEAVE=BAND

    Corner Coordinates:
    Upper Left (-130, 55)
    Lower Left (-130, 20)
    Upper Right (-60, 55)
    Lower Right (-60, 20)
    Center (-95, 37.5)

    Coordinate System is:

    Band 1 :
    DataType: Float32
    ColorInterpretation: Gray
    Description:
    Size (7000,3500)
    BlockSize (7000,3500)
    NoDataValue: -999
    Offset: 0
    Scale: 1


    I have been converting other geoTIF files for Mapbox use with the following command successfully :



    gdalwarp -t_srs EPSG:3857 example.tif example-projected.tif


    ... The above code always works except with the file I am needing help with. I am very new with GDAL and though I have been trying it is difficult for me. What am I not doing right and how would I do this the correct way?










    share|improve this question

























      1












      1








      1








      I am working with viewing weather data online and the website I use (University of Oklahoma) provides a link to the data displayed as a geoTIF, for research purposes. This is a direct link to the geoTIF that I am requesting help with.



      I am trying to use the image in a Mapbox map, but there seems to be an issue with projection. I use GDAL tools (though I am a novice) and I can't even figure out what projection it is in to start with. When I use gdalinfo, I get the following result :



      Warning 1: RowsPerStrip not defined ... assuming all one strip.
      Raster dataset parameters:
      Projection:
      RasterCount: 1
      RasterSize (7000,3500)
      Using driver GeoTIFF
      Image Structure Metadata:
      0: COMPRESSION=DEFLATE
      1: INTERLEAVE=BAND

      Corner Coordinates:
      Upper Left (-130, 55)
      Lower Left (-130, 20)
      Upper Right (-60, 55)
      Lower Right (-60, 20)
      Center (-95, 37.5)

      Coordinate System is:

      Band 1 :
      DataType: Float32
      ColorInterpretation: Gray
      Description:
      Size (7000,3500)
      BlockSize (7000,3500)
      NoDataValue: -999
      Offset: 0
      Scale: 1


      I have been converting other geoTIF files for Mapbox use with the following command successfully :



      gdalwarp -t_srs EPSG:3857 example.tif example-projected.tif


      ... The above code always works except with the file I am needing help with. I am very new with GDAL and though I have been trying it is difficult for me. What am I not doing right and how would I do this the correct way?










      share|improve this question














      I am working with viewing weather data online and the website I use (University of Oklahoma) provides a link to the data displayed as a geoTIF, for research purposes. This is a direct link to the geoTIF that I am requesting help with.



      I am trying to use the image in a Mapbox map, but there seems to be an issue with projection. I use GDAL tools (though I am a novice) and I can't even figure out what projection it is in to start with. When I use gdalinfo, I get the following result :



      Warning 1: RowsPerStrip not defined ... assuming all one strip.
      Raster dataset parameters:
      Projection:
      RasterCount: 1
      RasterSize (7000,3500)
      Using driver GeoTIFF
      Image Structure Metadata:
      0: COMPRESSION=DEFLATE
      1: INTERLEAVE=BAND

      Corner Coordinates:
      Upper Left (-130, 55)
      Lower Left (-130, 20)
      Upper Right (-60, 55)
      Lower Right (-60, 20)
      Center (-95, 37.5)

      Coordinate System is:

      Band 1 :
      DataType: Float32
      ColorInterpretation: Gray
      Description:
      Size (7000,3500)
      BlockSize (7000,3500)
      NoDataValue: -999
      Offset: 0
      Scale: 1


      I have been converting other geoTIF files for Mapbox use with the following command successfully :



      gdalwarp -t_srs EPSG:3857 example.tif example-projected.tif


      ... The above code always works except with the file I am needing help with. I am very new with GDAL and though I have been trying it is difficult for me. What am I not doing right and how would I do this the correct way?







      mapbox geospatial gdal mapbox-gl-js geotiff






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 16 '18 at 3:56









      David David

      73115




      73115
























          1 Answer
          1






          active

          oldest

          votes


















          1














          Your geotiff has no embedded coordinate system associated although the corners are obviously geographic coordinates (unprojected). WGS84 is my guess.



          My suggestion is defining a source coordinate system in your command [-s_srs srs_def] and see the result,



          -s_srs EPSG:4326



          If that doesn't work you'd better ask OU. They should know better.






          share|improve this answer


























          • Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

            – David
            Nov 16 '18 at 5:42











          • It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

            – David
            Nov 16 '18 at 6:45











          • For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

            – David
            Nov 16 '18 at 7:35











          • Well, that is odd. I will just wait on that email.

            – David
            Nov 16 '18 at 8:03












          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fstackoverflow.com%2fquestions%2f53331213%2fwhat-projection-is-this-geotif-and-how-do-i-convert-it%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          Your geotiff has no embedded coordinate system associated although the corners are obviously geographic coordinates (unprojected). WGS84 is my guess.



          My suggestion is defining a source coordinate system in your command [-s_srs srs_def] and see the result,



          -s_srs EPSG:4326



          If that doesn't work you'd better ask OU. They should know better.






          share|improve this answer


























          • Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

            – David
            Nov 16 '18 at 5:42











          • It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

            – David
            Nov 16 '18 at 6:45











          • For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

            – David
            Nov 16 '18 at 7:35











          • Well, that is odd. I will just wait on that email.

            – David
            Nov 16 '18 at 8:03
















          1














          Your geotiff has no embedded coordinate system associated although the corners are obviously geographic coordinates (unprojected). WGS84 is my guess.



          My suggestion is defining a source coordinate system in your command [-s_srs srs_def] and see the result,



          -s_srs EPSG:4326



          If that doesn't work you'd better ask OU. They should know better.






          share|improve this answer


























          • Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

            – David
            Nov 16 '18 at 5:42











          • It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

            – David
            Nov 16 '18 at 6:45











          • For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

            – David
            Nov 16 '18 at 7:35











          • Well, that is odd. I will just wait on that email.

            – David
            Nov 16 '18 at 8:03














          1












          1








          1







          Your geotiff has no embedded coordinate system associated although the corners are obviously geographic coordinates (unprojected). WGS84 is my guess.



          My suggestion is defining a source coordinate system in your command [-s_srs srs_def] and see the result,



          -s_srs EPSG:4326



          If that doesn't work you'd better ask OU. They should know better.






          share|improve this answer















          Your geotiff has no embedded coordinate system associated although the corners are obviously geographic coordinates (unprojected). WGS84 is my guess.



          My suggestion is defining a source coordinate system in your command [-s_srs srs_def] and see the result,



          -s_srs EPSG:4326



          If that doesn't work you'd better ask OU. They should know better.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 16 '18 at 8:33

























          answered Nov 16 '18 at 4:27









          lusitanicalusitanica

          703312




          703312













          • Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

            – David
            Nov 16 '18 at 5:42











          • It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

            – David
            Nov 16 '18 at 6:45











          • For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

            – David
            Nov 16 '18 at 7:35











          • Well, that is odd. I will just wait on that email.

            – David
            Nov 16 '18 at 8:03



















          • Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

            – David
            Nov 16 '18 at 5:42











          • It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

            – David
            Nov 16 '18 at 6:45











          • For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

            – David
            Nov 16 '18 at 7:35











          • Well, that is odd. I will just wait on that email.

            – David
            Nov 16 '18 at 8:03

















          Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

          – David
          Nov 16 '18 at 5:42





          Would this command be something like you're telling me to do? I am trying to learn alot of things and this has been a weakness. Here is the code : "gdalwarp -s_srs EPSG:4326 -t_srs EPSG:3857 example.tif example-projected.tif" - it does not work that way. I just don't know enough about coordinate systems. When I upload the TIF to geotiff.io, their system projects it properly.

          – David
          Nov 16 '18 at 5:42













          It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

          – David
          Nov 16 '18 at 6:45





          It is not an overwrite issue, so I went ahead and emailed OU. It's a shame this is not working yet. I will see what they say, if they email back.

          – David
          Nov 16 '18 at 6:45













          For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

          – David
          Nov 16 '18 at 7:35





          For what it's worth, I downloaded the source code for their project and opened up a c++ source code file that deals with projecting the image from the data. I found "PROJECTION_LAEA", which looking online is the Lambert azimuthal equal-area projection. Might this help?

          – David
          Nov 16 '18 at 7:35













          Well, that is odd. I will just wait on that email.

          – David
          Nov 16 '18 at 8:03





          Well, that is odd. I will just wait on that email.

          – David
          Nov 16 '18 at 8:03




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • 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%2fstackoverflow.com%2fquestions%2f53331213%2fwhat-projection-is-this-geotif-and-how-do-i-convert-it%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

          Florida Star v. B. J. F.

          Danny Elfman

          Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues