[GRASS-user] Issues with 8.0.dev

Micha Silver tsvibar at gmail.com
Fri Sep 24 02:32:01 PDT 2021


Hi Rich:


On 9/24/21 12:17 AM, Rich Shepard wrote:
> Today I pulled changes from the main branch, configured, built, and
> installed the latest source from the 8.0.dev source.
>
> When I start grass I see what I believe is the build number:
> Welcome to GRASS GIS 8.0.dev (63fca9fb2)
>
> There are some issues that did not occur before.
>
> For example, I reprojected a vector map from one location to another, but
> put it in the wrong mapset on the new location. I copied it from one 
> mapset


What do you mean by "put it in the wrong mapset"? You can't put the 
output of v.proj or r.proj into anything but the current mapset. If you 
tried to set the output name with a '/' then that's the source of the 
problem.


Another point caught my eye in an earlier post. You mentioned the need 
to reproject some data twice. I can't imagine any workflow where that 
would be necessary. Suppose you got some data in three different 
coordinate systems, projA, projB and projC. And you chose to do all your 
work in projC. Then:

  * You create three locations, let's call them tmp_loc_A, tmp_loc_B and
    working_loc_C.
  * Start grass in tmp_loc_A: grass <gisdbase>/tmp_loc_A/PERMANENT
  *   and import the data that is in that CRS. Probably r.external and
    v.external would be OK to save disk space.
  * Switch to tmp_loc_B and get the data that is in that CRS:g.mapset
    loc=tmp_loc_B map=PERMANENT then r.external, v.external as needed
  * Switch to working_loc_C, g.mapset loc=working_loc_C map=PERMANENT
  * and reproject all vector and raster maps from each of tmp_loc_A and
    tmp_loc_B: v.proj loc=tmp_loc_A map=PERMANENT input=vector_1; r.proj
    loc=tmp_loc_A map=PERMANENT input=raster_1, etc. etc...Same for
    tmp_loc_B
  * Now you can blow away both tmp_loc_A and tmp_loc_B

HTH,

Micha


> to the other but when I try to remove it from the wrong mapset 
> (g.mapset -p
> shows features) I get an error:
>> g.remove -f type=vect name=channel_contour_lines 
> Removing vector <channel_contour_lines>
> WARNING: Illegal filename <features/>. Character </> not allowed.
> WARNING: Illegal filename <features/>. Character </> not allowed.
> ERROR: Vector map <channel_contour_lines> not found in current mapset
>> g.list type=vect
> WARNING: Illegal filename <features/>. Character </> not allowed.
> channel_contour_lines
> the_property
>
> Thoughts?
>
> Rich
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/grass-user

-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918



More information about the grass-user mailing list