소스 검색

r.reclass.area manual: update examples (trac https://trac.osgeo.org/grass/ticket/2802)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@66869 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Neteler 9 년 전
부모
커밋
67a322009d
1개의 변경된 파일10개의 추가작업 그리고 5개의 파일을 삭제
  1. 10 5
      scripts/r.reclass.area/r.reclass.area.html

+ 10 - 5
scripts/r.reclass.area/r.reclass.area.html

@@ -14,17 +14,22 @@ is filtered for large areas (removing smaller areas from the map):
 <div class="code"><pre>
 g.region raster=zipcodes -p
 r.report zipcodes unit=h
-# extract only areas &gt; 2000 ha, NULL otherwise:
-r.reclass.area input=zipcodes output=zipcodes_larger2000ha greater=2000
+
+# extract only areas greater than 2000 ha, NULL otherwise:
+r.reclass.area input=zipcodes output=zipcodes_larger2000ha \
+               mode=greater value=2000
+
+r.report zipcodes_larger2000ha unit=h
 </pre></div>
 
 In this example, the ZIP code map in the North Carolina sample dataset location
-is filtered for smaller  areas which are substituted with the value of the respective
+is filtered for smaller areas which are substituted with the value of the respective
 adjacent area with largest shared boundary:
 
 <div class="code"><pre>
-# reclass removing area minor of 1000 ha
-r.reclass.area input=zipcodes output=zipcodes_rmarea1000 lesser=1000 method=rmarea
+# reclass by substitutional removing of areas minor of 1000 ha
+r.reclass.area input=zipcodes output=zipcodes_minor1000ha \
+               mode=lesser value=1000 method=rmarea
 </pre></div>
 
 <h2>SEE ALSO</h2>