[GRASS-user] Export to Geotiff and produce tfw file
Dear all, I have a question regarding the export to geotiff using r.out.gdal: how can I generate an auxilliary tfw file with the TIFF file? Thank you regards, Luisa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Export to Geotiff and produce tfw file
Hi Luis, You should also include `createopt=TFW=YES` in your r.out.gdal command. best regards, Daniel On Wed, Nov 6, 2013 at 10:00 AM, Luisa Peña luisapena1...@gmail.com wrote: Dear all, I have a question regarding the export to geotiff using r.out.gdal: how can I generate an auxilliary tfw file with the TIFF file? Thank you regards, Luisa ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Weighted kernel density- How to?
Dear all, Hopefully someone of you can help me: I need to run a kernel density function as distance weighted function that uses a given attribute. Locations are given as points and the weight is given in a column. As far as I see, this is not possible with v.kernel (Manual: LIMITATIONS The module only considers the presence of points, but not (yet) any attribute values.). But some presentations speak of 3D-kernel functions, e.g. http://geomatica.como.polimi.it/corsi/geog_info_system/introGRASS.pdf Searching the web I saw the following solution using R: http://lists.osgeo.org/pipermail/grass-user/2010-April/055668.html, but would prefer to keep the solution inside the GRASS workspace. Is there an addon I don't know of? Or does anybody have an alternative approach? Thanks, Patrick Schirmer ___ IVT, ETH Zürich ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Landcover change
Luisa, [Please keep discussions on the list] On 06/11/13 13:15, Luisa Peña wrote: Just one question: I have used r.cross and it has produced a raster layer which allocates a value (e.g. 1 to 1 | 1; value 2 to 1 | 4) but when I export it this ID information will not be kept . Is there any solution to keep this information there? You've already asked the same question two years ago ;-): http://lists.osgeo.org/pipermail/grass-user/2011-July/061271.html I don't think the answer has fundamentally changed. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] How to remove small closed lines
Hi, I would like to know how to remove automatically small circles (closed lines, not area). I've tried with v.clean and v.generalize but I just get to remove line which are not closed. Regards Lucien ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Exporting a map into JPEG or PNG- get black image
Use the PNG driver: export GRASS_TRUECOLOR=TRUE d.mon start=PNG d.rast {mapname} d.vect {mapname} d.mon stop=PNG Then you'll have a map.png file on the current directory, and you can use imagemagic 'convert' utility to get a *.jpg convert map.png {mapname}.jpg Regards 2013/11/5 António Rocha antonio.ro...@deimos.com.pt Dear all, I have a Raster layer with colors and values 1 till 8 and null values. I want to export as JPEG using r.out.gdal but I get a totally black image. Any tips on how to solve this? Regards, Antonio ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- *César Augusto Ramírez Franco* Laboratorio de Sistemas Complejos Naturales Escuela de Geociencias Facultad de Ciencias Universidad Nacional de Colombia - Sede Medellín Teléfono: (57-4) 430 9369 - 301 389 5607 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Landcover change
Dear Morritz Sorruy for sending the email to you and for not remembering this .. Neverthless, if I open in other GIS software it will not automatically recognize the classes right? Luisa 2013/11/6 Moritz Lennert mlenn...@club.worldonline.be Luisa, [Please keep discussions on the list] On 06/11/13 13:15, Luisa Peña wrote: Just one question: I have used r.cross and it has produced a raster layer which allocates a value (e.g. 1 to 1 | 1; value 2 to 1 | 4) but when I export it this ID information will not be kept . Is there any solution to keep this information there? You've already asked the same question two years ago ;-): http://lists.osgeo.org/pipermail/grass-user/2011-July/061271.html I don't think the answer has fundamentally changed. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] How to remove small closed lines
Title: Signature electronique Hi, maybe you can identify your closed lines with v.to.db command and the coordinate of the start point and the end point v.to.db map=mylines option=end type=line col=coordEnd v.to.db map=mylines option=start type=line col=coordStart and tests if the coordinates of the startNode and the EndNode are equals, the line is closed and you can tag your lines . And use after the v.extract command to extract only the lines which are not closed. Hope it can be helpful Michael Le 06/11/2013 16:25, grass-user-requ...@lists.osgeo.org a crit: Date: Wed, 6 Nov 2013 12:59:29 + From: BLANDENIER Lucien lucien.blanden...@unine.ch To: "grass-user@lists.osgeo.org" grass-user@lists.osgeo.org Subject: [GRASS-user] How to remove small closed lines Message-ID: 84f1ddbd03d55944aa4e63a2fe5eade5530ab...@mail-mbx-05.unine.ch Content-Type: text/plain; charset="iso-8859-1" Hi, I would like to know how to remove automatically small circles (closed lines, not area). I've tried with v.clean and v.generalize but I just get to remove line which are not closed. Regards Lucien -- Michael Rabotin Ingnieur d'Etude SIG / GIS Engineer michael.rabo...@supagro.inra.fr UMR LISAH - Centre de Montpellier Tl. : +33 (0)4 99 61 23 85 Mobile : +33 (0)6 76 45 46 83 Fax : +33 (0)4 67 63 26 14 Bat 24 - 2 place Pierre Viala 34060 Montpellier cedex 2 France www.inra.fr www.openfluid-project.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] How to remove small closed lines
In fact I need to remove some of the closed line according to their length. Normally v.clean is able to remove small line with a threshold but it is not working for closed lines... I was wondering if there is an easy way to do this. Or maybe is there a possibility to cut the closed lines regards De : Rabotin Michael [rabo...@supagro.inra.fr] Envoyé : mercredi 6 novembre 2013 16:54 À : grass-user@lists.osgeo.org Cc : BLANDENIER Lucien Objet : Re: [GRASS-user] How to remove small closed lines Hi, maybe you can identify your closed lines with v.to.db command and the coordinate of the start point and the end point v.to.db map=mylines option=end type=line col=coordEnd v.to.db map=mylines option=start type=line col=coordStart and tests if the coordinates of the startNode and the EndNode are equals, the line is closed and you can tag your lines . And use after the v.extract command to extract only the lines which are not closed. Hope it can be helpful Michael Le 06/11/2013 16:25, grass-user-requ...@lists.osgeo.orgmailto:grass-user-requ...@lists.osgeo.org a écrit : Date: Wed, 6 Nov 2013 12:59:29 + From: BLANDENIER Lucien lucien.blanden...@unine.chmailto:lucien.blanden...@unine.ch To: grass-user@lists.osgeo.orgmailto:grass-user@lists.osgeo.org grass-user@lists.osgeo.orgmailto:grass-user@lists.osgeo.org Subject: [GRASS-user] How to remove small closed lines Message-ID: 84f1ddbd03d55944aa4e63a2fe5eade5530ab...@mail-mbx-05.unine.chmailto:84f1ddbd03d55944aa4e63a2fe5eade5530ab...@mail-mbx-05.unine.ch Content-Type: text/plain; charset=iso-8859-1 Hi, I would like to know how to remove automatically small circles (closed lines, not area). I've tried with v.clean and v.generalize but I just get to remove line which are not closed. Regards Lucien -- [INRA]http://www.inra.fr Michael Rabotin Ingénieur d'Etude SIG / GIS Engineer michael.rabo...@supagro.inra.frmailto:# UMR LISAH - Centre de Montpellier Tèl. : +33 (0)4 99 61 23 85 Mobile : +33 (0)6 76 45 46 83 Fax : +33 (0)4 67 63 26 14 Bat 24 - 2 place Pierre Viala 34060 Montpellier cedex 2 France www.inra.frhttp://www.inra.fr www.openfluid-project.orghttp://www.openfluid-project.org inline: logo-INRA2012.gif___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] How to remove small closed lines
Title: Signature electronique So when you have identified in your lines map which lines are closed or not (with the coordinates equality), you can compute the length of all the lines and remove the closed ones which are under the threshold you want with v.extract. You can have two columns in your line map, one which identify if the line is closed or not and one whith the length. And you can used the v.extract command with where="coltag="closed" AND collengthxxx" Mick Le 06/11/2013 17:23, BLANDENIER Lucien a crit: In fact I need to remove some of the closed line according to their length. Normally v.clean is able to remove small line with a threshold but it is not working for closed lines... I was wondering if there is an easy way to do this. Or maybe is there a possibility to cut the "closed" lines regards De : Rabotin Michael [rabo...@supagro.inra.fr] Envoy : mercredi 6 novembre 2013 16:54 : grass-user@lists.osgeo.org Cc : BLANDENIER Lucien Objet : Re: [GRASS-user] How to remove small closed lines Hi, maybe you can identify your closed lines with v.to.db command and the coordinate of the start point and the end point v.to.db map=mylines option=end type=line col=coordEnd v.to.db map=mylines option=start type=line col=coordStart and tests if the coordinates of the startNode and the EndNode are equals, the line is closed and you can tag your lines . And use after the v.extract command to extract only the lines which are not closed. Hope it can be helpful Michael Le 06/11/2013 16:25, grass-user-requ...@lists.osgeo.orgmailto:grass-user-requ...@lists.osgeo.org a crit : Date: Wed, 6 Nov 2013 12:59:29 + From: BLANDENIER Lucien lucien.blanden...@unine.chmailto:lucien.blanden...@unine.ch To: "grass-user@lists.osgeo.org"mailto:grass-user@lists.osgeo.org grass-user@lists.osgeo.orgmailto:grass-user@lists.osgeo.org Subject: [GRASS-user] How to remove small closed lines Message-ID: 84f1ddbd03d55944aa4e63a2fe5eade5530ab...@mail-mbx-05.unine.chmailto:84f1ddbd03d55944aa4e63a2fe5eade5530ab...@mail-mbx-05.unine.ch Content-Type: text/plain; charset="iso-8859-1" Hi, I would like to know how to remove automatically small circles (closed lines, not area). I've tried with v.clean and v.generalize but I just get to remove line which are not closed. Regards Lucien -- [INRA]http://www.inra.fr Michael Rabotin Ingnieur d'Etude SIG / GIS Engineer michael.rabo...@supagro.inra.frmailto:# UMR LISAH - Centre de Montpellier Tl. : +33 (0)4 99 61 23 85 Mobile : +33 (0)6 76 45 46 83 Fax : +33 (0)4 67 63 26 14 Bat 24 - 2 place Pierre Viala 34060 Montpellier cedex 2 France www.inra.frhttp://www.inra.fr www.openfluid-project.orghttp://www.openfluid-project.org -- Michael Rabotin Ingnieur d'Etude SIG / GIS Engineer michael.rabo...@supagro.inra.fr UMR LISAH - Centre de Montpellier Tl. : +33 (0)4 99 61 23 85 Mobile : +33 (0)6 76 45 46 83 Fax : +33 (0)4 67 63 26 14 Bat 24 - 2 place Pierre Viala 34060 Montpellier cedex 2 France www.inra.fr www.openfluid-project.org ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Openness Calculation
Rebecca, The module I was thinking of is r.param.scale; where are you finding r.geomorphons? I can't find it. Tom On Tuesday, November 5, 2013, Rebecca Bennett wrote: Thank you everyone for your suggestions and links to further papers (and apologies for the multiple original posts - I think my computer must have been having a moment) r.geomorphons looks like just the ticket - time to experiment! Best wishes, Rebecca On Monday, 4 November 2013, 21:01, Helmut Kudrnovsky hel...@web.dejavascript:_e({}, 'cvml', 'hel...@web.de'); wrote: Rebecca Bennett wrote Dear GRASS users, I have recently been made aware of the positive and negative openness vizualisations (Yokoyama et al 2002 http://www.asprs.org/a/publications/pers/2002journal/march/2002_mar_257-265.pdf ) and would like to try to compute them in GRASS to help identify micro relief. Though I suspect that this has already been done, I can't find a heads up other than this paper (which claims to have creates the web service based on GRASS here http://geobrain.laits.gmu.edu/grassweb/manuals/raster/openness.html) http://www.lpi.usra.edu/science/stepinskiWebPage/pdfFiles/geoinformaticsConf2009.pdf Just a note that although similar in it's aim of highlighting microtopography, this is not quite the same as the r.horizon calculation (image attached for clarification). All the best, Rebecca ___ grass-user mailing list grass-user@.osgeo javascript:_e({}, 'cvml', 'grass-user@.osgeo'); http://lists.osgeo.org/mailman/listinfo/grass-user Openness.png (109K) lt; http://osgeo-org.1560.x6.nabble.com/attachment/5087322/0/Openness.png%3E at http://sil.uc.edu/downloads.htmlsee T.F. Stepinski, and J. Jasiewicz (2011) Geomorphons - A New Approach to Classification of Landforms, in: T. Hengl, I. S. Evans, J. P. Wilson, M. Gould (Eds.), Geomorphometry 2011, pp. 109-112. paper. Watch a video of an actual presentation of this paper at the Geomorphometry 2011 conference. there is a nice video that shows their work is based upon Yokoyama et al 2002. - best regards Helmut -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Openness-Calculation-tp5087322p5087347.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org javascript:_e({}, 'cvml', 'grass-user@lists.osgeo.org'); http://lists.osgeo.org/mailman/listinfo/grass-user -- Thomas E Adams, III 718 McBurney Drive Lebanon, OH 45036 1 (513) 739-9512 (cell) ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Exporting a map into JPEG or PNG- get black image
Hi, I'm using r.out.png in GRASS 7 in it works well at least for values 0-255. It also exports NULLs as transparent pixels which is great. If you still have an issues with r.out.gdal you may want to consider providing some small sample of your data and/or report this as a bug. Vaclav On Wed, Nov 6, 2013 at 8:42 AM, Cesar Augusto Ramírez Franco caesar...@gmail.com wrote: Use the PNG driver: export GRASS_TRUECOLOR=TRUE d.mon start=PNG d.rast {mapname} d.vect {mapname} d.mon stop=PNG Then you'll have a map.png file on the current directory, and you can use imagemagic 'convert' utility to get a *.jpg convert map.png {mapname}.jpg Regards 2013/11/5 António Rocha antonio.ro...@deimos.com.pt Dear all, I have a Raster layer with colors and values 1 till 8 and null values. I want to export as JPEG using r.out.gdal but I get a totally black image. Any tips on how to solve this? Regards, Antonio ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user -- *César Augusto Ramírez Franco* Laboratorio de Sistemas Complejos Naturales Escuela de Geociencias Facultad de Ciencias Universidad Nacional de Colombia - Sede Medellín Teléfono: (57-4) 430 9369 - 301 389 5607 ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Landcover change
On 06/11/13 16:25, Luisa Peña wrote: Dear Morritz Sorruy for sending the email to you and for not remembering this .. Neverthless, if I open in other GIS software it will not automatically recognize the classes right? It will recognize the numeric classes, but not the text labels attached to the classes. You have to export those with r.category. Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user