#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
-------------------------+---------------------------------
Reporter: stjo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.2.1
Component: Python | Version: svn-releasebranch72
Keywords: r.in.srtm | CPU: Unspecified
Platform: All |
-------------------------+---------------------------------
I developed an enhancement for r.in.srtm to import SRTM water bodies in
the .raw format and .raw.zip format, e.g. from https://dds.cr.usgs.gov/srtm/version2_1/SWBD/
Internally, it uses r.in.bin and is activated by the flag 'w' for 'water'.
Maybe someone can check my changes and take a look if my python coding
Style is ok.
---------- Forwarded message ----------
From: GRASS GIS <trac@osgeo.org>
Date: 10 February 2017 at 17:17
Subject: Re: [GRASS GIS] #3246: r.in.srtm: patch to support SRTM water
bodies import (SWBD)
To:
#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
--------------------------+---------------------------------
Reporter: stjo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.2.1
Component: Python | Version: svn-releasebranch72
Resolution: | Keywords: r.in.srtm
CPU: Unspecified | Platform: All
--------------------------+---------------------------------
#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
--------------------------+---------------------------------
Reporter: stjo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.4.1
Component: Python | Version: svn-releasebranch72
Resolution: | Keywords: r.in.srtm
CPU: Unspecified | Platform: All
--------------------------+---------------------------------
Comment (by lucadelu):
GDAL doesn't support this format by default, reading a little bit more
about the data it seems that is is only the line coast and they also
provide shapefile for this dataset https://lta.cr.usgs.gov/srtm_water_body_dataset
I think the shapefile is more useful than raster, if you really need
raster you can rasterize the vector.
#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
--------------------------+---------------------------------
Reporter: stjo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.4.1
Component: Python | Version: svn-releasebranch72
Resolution: | Keywords: r.in.srtm
CPU: Unspecified | Platform: All
--------------------------+---------------------------------
Comment (by neteler):
Replying to [comment:8 lucadelu]:
> I think the shapefile is more useful than raster, if you really need
raster you can rasterize the vector.
I think the idea is that their raster mask precisely matches what was used
in the processing chain. to reach that with self-rasterized vector maps
may lead to slightly different results.
#3246: r.in.srtm: patch to support SRTM water bodies import (SWBD)
--------------------------+---------------------------------
Reporter: stjo | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.4.2
Component: Python | Version: svn-releasebranch72
Resolution: | Keywords: r.in.srtm
CPU: Unspecified | Platform: All
--------------------------+---------------------------------
Comment (by neteler):
Replying to [comment:10 lucadelu]:
> In [changeset:"72569" 72569]:
> {{{
> #!CommitTicketReference repository="" revision="72569"
> r.in.srtm: added support to SRTM SWBD, see #3246
> }}}