瀏覽代碼

wxGUI: call it comp region, avoid confusion with display region, add -l flag, show in Module tree

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70359 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras 8 年之前
父節點
當前提交
b4f5bbf8e5
共有 3 個文件被更改,包括 13 次插入5 次删除
  1. 1 0
      gui/wxpython/xml/module_tree.xml
  2. 3 2
      gui/wxpython/xml/toolboxes.xml
  3. 9 3
      gui/wxpython/xml/wxgui_items.xml

+ 1 - 0
gui/wxpython/xml/module_tree.xml

@@ -5,6 +5,7 @@
   <items>
     <subtoolbox name="ImportExportLink"/>
     <subtoolbox name="ManageMaps"/>
+    <subtoolbox name="Region"/>
     <subtoolbox name="Raster"/>
     <subtoolbox name="Vector"/>
     <subtoolbox name="Imagery"/>

+ 3 - 2
gui/wxpython/xml/toolboxes.xml

@@ -531,9 +531,10 @@
     </items>
   </toolbox>
   <toolbox name="Region">
-    <label>Region</label>
+    <label>Computational region</label>
     <items>
-      <wxgui-item name="DisplayRegion"/>
+      <wxgui-item name="ShowRegion"/>
+      <wxgui-item name="ShowRegionLL"/>
       <module-item name="g.region">
         <label>Set region</label>
       </module-item>

+ 9 - 3
gui/wxpython/xml/wxgui_items.xml

@@ -248,10 +248,16 @@
     <description>Defines vector output format utilizing OGR library.</description>
     <keywords>vector,export,output,external,OGR,PostGIS</keywords>
   </wxgui-item>
-  <wxgui-item name="DisplayRegion">
-    <label>Display region</label>
+  <wxgui-item name="ShowRegion">
+    <label>Show current region</label>
     <command>g.region -p</command>
-    <description>Manages the boundary definitions for the geographic region.</description>
+    <description>Shows the extent and resolution of the computational region.</description>
+    <keywords>general,settings</keywords>
+  </wxgui-item>
+  <wxgui-item name="ShowRegionLL">
+    <label>Show region using latitude and longitude</label>
+    <command>g.region -pl</command>
+    <description>Shows the extent and resolution of the computational region.</description>
     <keywords>general,settings</keywords>
   </wxgui-item>
   <wxgui-item name="MapsetAccess">