Opened 11 years ago

Closed 11 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: master
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 11 years ago.
Wilson-MarGeo-2007.pdf (1.4 MB ) - added by nclay 11 years ago.
TRI pg 11
st_tri.xml (1.8 KB ) - added by nclay 11 years ago.
st_tri.2.xml (1.8 KB ) - added by nclay 11 years ago.
rt_st_tri.sql (1.8 KB ) - added by nclay 11 years ago.
rt_st_tri_expected (651 bytes ) - added by nclay 11 years ago.

Download all attachments as: .zip

Change History (14)

by nclay, 11 years ago

Attachment: st_tri.sql added

comment:1 by Bborie Park, 11 years ago

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 by robe, 11 years ago

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

by nclay, 11 years ago

Attachment: Wilson-MarGeo-2007.pdf added

TRI pg 11

comment:4 by Bborie Park, 11 years ago

Milestone: PostGIS 2.1.0PostGIS Future

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

by nclay, 11 years ago

Attachment: st_tri.xml added

comment:5 by nclay, 11 years ago

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

Thanks,

Nathan

by nclay, 11 years ago

Attachment: st_tri.2.xml added

by nclay, 11 years ago

Attachment: rt_st_tri.sql added

by nclay, 11 years ago

Attachment: rt_st_tri_expected added

comment:6 by nclay, 11 years ago

I've added the regression tests.

comment:7 by Bborie Park, 11 years ago

Milestone: PostGIS FuturePostGIS 2.1.0

comment:8 by Bborie Park, 11 years ago

Keywords: history added
Resolution: fixed
Status: newclosed

Added in r11380

Note: See TracTickets for help on using tickets.