[GRASS-dev] [GRASS GIS] #3505: Opening a workspace file

GRASS GIS trac at osgeo.org
Wed Feb 28 12:21:25 PST 2018


#3505: Opening a workspace file
--------------------------+-------------------------
  Reporter:  clerici      |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  major        |  Milestone:  7.4.1
 Component:  wxGUI        |    Version:  7.4.0
Resolution:               |   Keywords:  wingrass
       CPU:  Unspecified  |   Platform:  MSWindows 8
--------------------------+-------------------------

Comment (by hellik):

 Replying to [comment:5 martinl]:
 > Replying to [comment:2 hellik]:
 >
 > > and confirmed. moving/deleting layers isn't possible.
 >
 > It's not possible to move/delete layers only from open workspace or also
 after adding few layers into new workspace?
 >
 > No traceback in Console?
 >
 > Reporter claims that this bug is not included in GRASS 7.2.2. It's
 strange, there is the same wxPython version, and apparently it's only
 Windows related.

 workflow:

 {{{
 d.rast map=elevation at PERMANENT
 d.vect map=streams at PERMANENT color=blue fill_color=blue width=1
 d.vect map=firestations at PERMANENT width=1 icon=extra/target size=15
 }}}

 {{{
 save workspace as g74.gxw
 }}}

 {{{
 <?xml version="1.0" encoding="cp1252"?>
 <!DOCTYPE gxw SYSTEM "grass-gxw.dtd">
 <gxw>
     <layer_manager dim="1,1,525,600">
     </layer_manager>
     <display name="Display 1" render="1" mode="0" showCompExtent="0"
 alignExtent="1" constrainRes="0" showStatusbar="1" showToolbars="1"
 dim="526,1,825,600"
 extent="630000.000000,215000.000000,645000.000000,228500.000000,0.000000,1.000000"
 tbres="1.000000" viewMode="2d" >
         <layer type="vector" name="firestations at PERMANENT" checked="1"
 opacity="1.000000">
             <selected />
             <task name="d.vect">
                 <parameter name="size">
                     <value>15</value>
                 </parameter>
                 <parameter name="map">
                     <value>firestations at PERMANENT</value>
                 </parameter>
                 <parameter name="icon">
                     <value>extra/target</value>
                 </parameter>
                 <parameter name="width">
                     <value>1</value>
                 </parameter>
             </task>
         </layer>
         <layer type="vector" name="streams at PERMANENT" checked="1"
 opacity="1.000000">
             <task name="d.vect">
                 <parameter name="color">
                     <value>blue</value>
                 </parameter>
                 <parameter name="map">
                     <value>streams at PERMANENT</value>
                 </parameter>
                 <parameter name="fill_color">
                     <value>blue</value>
                 </parameter>
                 <parameter name="width">
                     <value>1</value>
                 </parameter>
             </task>
         </layer>
         <layer type="raster" name="elevation at PERMANENT" checked="1"
 opacity="1.000000">
             <task name="d.rast">
                 <parameter name="map">
                     <value>elevation at PERMANENT</value>
                 </parameter>
             </task>
         </layer>
     </display>
 </gxw>
 }}}

 closing winGRASS7.4.0 session, then re-opening winGRASS7.4.0

 opening workspace g74.gxw

 => not possible to move/delete layers from open workspace

 then add a new layer

 {{{
 d.vect map=bridges at PERMANENT width=1 icon=extra/bridge size=15
 }}}

 => not possible to move/delete layers from open workspace **and** not
 possible to move/delete new added layer.

 no traceback in console

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3505#comment:6>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list