On Tue, Sep 29, 2015 at 10:56 PM, Moritz Lennert
<[email protected]> 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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to