Opened 6 years ago

Closed 6 years ago

#2164 closed enhancement (fixed)

[raster] Add st_tri

Reported by: nclay Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.1.0
Component: raster Version: trunk
Keywords: history Cc:

Description

Add the ability to calculate Terrain Ruggedness Index for DEM rasters.

Attachments (6)

st_tri.sql (3.7 KB) - added by nclay 6 years ago.
Wilson-MarGeo-2007.pdf (1.4 MB) - added by nclay 6 years ago.
TRI pg 11
st_tri.xml (1.8 KB) - added by nclay 6 years ago.
st_tri.2.xml (1.8 KB) - added by nclay 6 years ago.
rt_st_tri.sql (1.8 KB) - added by nclay 6 years ago.
rt_st_tri_expected (651 bytes) - added by nclay 6 years ago.

Download all attachments as: .zip

Change History (14)

Changed 6 years ago by nclay

Attachment: st_tri.sql added

comment:1 Changed 6 years ago by Bborie Park

Summary: Add st_tri[raster] Add st_tri

Can I get some reference material describing TPI and TRI? That way appropriate regression tests can be created. I can't really consider committing this without a good understanding of the operations and verifying that the code is doing what it is saying it is doing.

comment:2 Changed 6 years ago by robe

We also need user documentation and it is technically your responsibility to provide regression tests as well but we'll help you :)

Please refer to patch submission guidelines section in wiki http://trac.osgeo.org/postgis/wiki/DevWikiMain

-- Which has these links (I admit we probably need to update those so if anything is unclear just let us know)

http://trac.osgeo.org/postgis/wiki/DevWikiDocNewFeature http://trac.osgeo.org/postgis/wiki/DevWikiPatch http://trac.osgeo.org/postgis/wiki/DevWikiPGRegress http://trac.osgeo.org/postgis/wiki/DevWikiCUnit

Changed 6 years ago by nclay

Attachment: Wilson-MarGeo-2007.pdf added

TRI pg 11

comment:4 Changed 6 years ago by Bborie Park

Milestone: PostGIS 2.1.0PostGIS Future

No regression tests or docs... punting to the future. Should also add roughness...

Changed 6 years ago by nclay

Attachment: st_tri.xml added

comment:5 Changed 6 years ago by nclay

Added docs, is there anything other than regression test that I need to do?

Thanks,

Nathan

Changed 6 years ago by nclay

Attachment: st_tri.2.xml added

Changed 6 years ago by nclay

Attachment: rt_st_tri.sql added

Changed 6 years ago by nclay

Attachment: rt_st_tri_expected added

comment:6 Changed 6 years ago by nclay

I've added the regression tests.

comment:7 Changed 6 years ago by Bborie Park

Milestone: PostGIS FuturePostGIS 2.1.0

comment:8 Changed 6 years ago by Bborie Park

Keywords: history added
Resolution: fixed
Status: newclosed

Added in r11380

Note: See TracTickets for help on using tickets.