[GRASS-user] convert + ghostscript
hi all, I belive the last ghostscript update caused convert ot braek. I get a generic "Abort" error while trying to convert eps to png files. Massi ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Read only mapsets
On Fri, Apr 26, 2019 at 3:59 PM Moritz Lennert wrote: > > On 26/04/19 11:53, Panagiotis Mavrogiorgos wrote: > > Hello everyone, > > > > I was wondering, is there a way to enforce a Mapset to be read-only? I > > guess that this can always be enforced on the Filesystem level with > > something like this: > > > > find . -type f -exec chmod a-w {} \; > > > > > > but then again some file might need to be writable afterall (sqlite.db?) > > > > So is there a way to e.g. open specific maps in read-only mode? > > Normally, you can only write in a mapset if you are the owner of that > mapset, so you could create a mapset owned by a "readonly" user/group. Moreover, within a GRASS session, i.e. with GRASS tools, all mapsets but the current mapset are readonly, that is, you can read data from other mapsets but not modify them, even if the current user is also the owner of other mapsets. Markus M > > Moritz > ___ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] create basins of similar area
Hi Martin, On Fri, Apr 26, 2019 at 3:35 PM Martin Landa wrote: > Hi, > > čt 25. 4. 2019 v 20:14 odesílatel Ken Mankoff napsal: > > Maybe make basins with threshold an order of magnitude smaller. Then > merge small areas to get your 4-5 km2 areas. Still not totally sure how > this makes sense hydrologically. > > right, it doesn't make sense probably from hydrologic point of view. > Let me explain reasoning. My colleagues are working on developing > distributed event-based model for surface and subsurface runoff and > erosion. We are working on experimental version which enables > computation parallelization. In initial phase AOI is split into tiles. > Instead of regular grid of tiles a basin-based tiles are used. This is > reason why basins (defining tiles) should be of similar area size. > Martin > > I understand this is case study involves a vast area and editing basins manually (merging adjacent basins) is out of the question, isn't it? If this is the case, I would propose to prototype a procedure based on similar geomorphological characteristics to determine the 'optimal' threshold for clusters, being optimal the threshold that gives you the desired (range of) basin size. Just thinking out loud here. The threshold is the cutoff of upslope area draining in the outlet cell. For a fixed threshold values, you will obtain basins that are similar in size in areas that have similar geomorphological characteristics, e.g. slope. I would cluster areas with similar range of slope values and calibrate a suitable threshold that gives the desired basin area for each cluster. This looks like a lot of prototyping work, however, if you make a first run with a tentative threshold value, display the resulting basins and visually compare with slope map you should get a rough idea of what to do with the slope ranges already. Hope this helps, -- Margherita Di Leo ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] create basins of similar area
Hi, Not to hijack this threadbut Actually what Martin is asking for would be useful for us in geochemical mineral exploration. Having GRASS create 4-5km2 (or whatever size range) basins/catchments automatically would be useful to create tentative stream sediment sample locations. I prefer to create my stream sediment sample locations based upon catchment size much more than the traditional & often miss used stream order method. There is my two cents. Phil On Fri, Apr 26, 2019 at 7:35 AM Martin Landa wrote: > Hi, > > čt 25. 4. 2019 v 20:14 odesílatel Ken Mankoff napsal: > > Maybe make basins with threshold an order of magnitude smaller. Then > merge small areas to get your 4-5 km2 areas. Still not totally sure how > this makes sense hydrologically. > > right, it doesn't make sense probably from hydrologic point of view. > Let me explain reasoning. My colleagues are working on developing > distributed event-based model for surface and subsurface runoff and > erosion. We are working on experimental version which enables > computation parallelization. In initial phase AOI is split into tiles. > Instead of regular grid of tiles a basin-based tiles are used. This is > reason why basins (defining tiles) should be of similar area size. > Martin > > -- > Martin Landa > http://geo.fsv.cvut.cz/gwiki/Landa > http://gismentors.cz/mentors/landa > ___ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Read only mapsets
On 26/04/19 11:53, Panagiotis Mavrogiorgos wrote: Hello everyone, I was wondering, is there a way to enforce a Mapset to be read-only? I guess that this can always be enforced on the Filesystem level with something like this: find . -type f -exec chmod a-w {} \; but then again some file might need to be writable afterall (sqlite.db?) So is there a way to e.g. open specific maps in read-only mode? Normally, you can only write in a mapset if you are the owner of that mapset, so you could create a mapset owned by a "readonly" user/group. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] create basins of similar area
Hi, čt 25. 4. 2019 v 20:14 odesílatel Ken Mankoff napsal: > Maybe make basins with threshold an order of magnitude smaller. Then merge > small areas to get your 4-5 km2 areas. Still not totally sure how this makes > sense hydrologically. right, it doesn't make sense probably from hydrologic point of view. Let me explain reasoning. My colleagues are working on developing distributed event-based model for surface and subsurface runoff and erosion. We are working on experimental version which enables computation parallelization. In initial phase AOI is split into tiles. Instead of regular grid of tiles a basin-based tiles are used. This is reason why basins (defining tiles) should be of similar area size. Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Read only mapsets
On Fri, Apr 26, 2019 at 2:24 PM Daniel Victoria wrote: > You could use the PERMANENT mapset for this purpose. Also, the AFAIK > mapsets are writable by the directory owner. So you could use the > filesystem setting to achieve what you want to do. > > There is a more detailed explanation here > https://grasswiki.osgeo.org/wiki/Location_and_Mapsets > > Cheers > Thank you, Nevertheless, as far as I can tell, the PERMANENT mapset is "readonly" just by convention. There are no guarantees, that the map will not be changed during the session. P. ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Read only mapsets
You could use the PERMANENT mapset for this purpose. Also, the AFAIK mapsets are writable by the directory owner. So you could use the filesystem setting to achieve what you want to do. There is a more detailed explanation here https://grasswiki.osgeo.org/wiki/Location_and_Mapsets Cheers On Fri, Apr 26, 2019 at 6:53 AM Panagiotis Mavrogiorgos wrote: > Hello everyone, > > I was wondering, is there a way to enforce a Mapset to be read-only? I > guess that this can always be enforced on the Filesystem level with > something like this: > > find . -type f -exec chmod a-w {} \; > > > but then again some file might need to be writable afterall (sqlite.db?) > > So is there a way to e.g. open specific maps in read-only mode? > > all the best, > Panos > ___ > grass-user mailing list > grass-user@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Read only mapsets
Hello everyone, I was wondering, is there a way to enforce a Mapset to be read-only? I guess that this can always be enforced on the Filesystem level with something like this: find . -type f -exec chmod a-w {} \; but then again some file might need to be writable afterall (sqlite.db?) So is there a way to e.g. open specific maps in read-only mode? all the best, Panos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user