[GRASS-dev] How to get data from a location where the user does not own any mapset?

Radim Blazek radim.blazek at gmail.com
Tue Sep 29 23:42:31 PDT 2015


On Tue, Sep 29, 2015 at 10:56 PM, Moritz Lennert
<mlennert at club.worldonline.be> wrote:
>>>> Perfect, that is what I need. Why GRASS_SKIP_MAPSET_OWNER_CHECK should
>>>> not be set by programs for read only access?
>>>
>>> If you only need to read a mapset, you shouldn't need to make it the
>>> current mapset, nor should you try.
>>
>> The mapset I need to read from does not have to be current, but one
>> mapset must be current and G_gisinit() checks if user is owner of
>> current mapset. If the user is not owner of any mapset in the
>> location, what can be set as current mapset?
>
> Can't you just create a temporary mapset and erase it at the end ?

The user does not have necessarily write access for the location.

Radim


More information about the grass-dev mailing list