Re: [GRASS-user] r.fillnulls error
Salvatore wrote: > I'm trying to use r.fillnulls for a DTM generated importing > srtm data , but it does' t work. This is the message: > > r.fillnulls --overwrite input=14@PERMANENT output=14_int > > Locating and isolating NULL areas... > syntax error, unexpected '@', expecting ')' > Parse error r.mapcalc is unhappy because the map name isn't quoted internally and it can't decide if the map name is a number or a name. I think the same would happen if you had a "-" in the map name. If you don't include the @mapset part it still runs, but the result is no good as isnull(14) is always false if it thinks 14 is a number. quick work-around: rename the map to add a letter before the "14". this bug is hopefully fixed in devbr6 with r48227, after testing it should be backported to 6.4svn. I am not sure if "$input" needs to be quoted or not in the trunk python version: #creating 0/1 map: grass.mapcalc("$tmp1 = if(isnull($input),1,null())", tmp1 = tmp1, input = input) ? Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] g.extension not working
Hamish: > >what version of ubuntu? 32 or 64 bit? > > I installed 6.4.1 and grass-dev for ubuntu 32 bit did g.extension then work? which version of ubuntu? 10.04/lucid? 11.04/natty? Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] g.extension not working
> Edgar wrote: > > I don't understand the instruction for compiling > > at http://grass.osgeo.org/wiki/Compile_and_Install#Addons Hamish: > can you be more specific about what bits are confusing? > sometimes that is hard to see without fresh eyes, and it > would be good if we could improve it for future readers. Edgar: > I would like to install GRASS addons for Windows, and since > g.extension does not work, I would like to know how to > compile the addons. But I don't understand the instructions. > Or how to do it with Ubuntu. >Hamish wrote: >on ubuntu, make sure you are up to date by installing the 6.4.1 >package from UbuntuGIS's PPA, and be sure you install the >"grass-dev" package too, as it includes bits needed to make >g.extension work. >what version of ubuntu? 32 or 64 bit? I installed 6.4.1 and grass-dev for ubuntu 32 bit Edgar ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] v.proj
On Fri, 2011-09-09 at 05:49 -0700, adm wrote: > Hi everyone, > > I'm using QGIS 1.7.0 and GRASS as a plug-in. > > I want to use v.proj to reproject vector files from another location. > > However when I open the location (B) where my reprojected vector file must > be safed, I can't choose my input vector file because it is in location (A). > Also when I open the (unprojected) vector file in location B, I can't select > the file. Or when I open location A, I can choose the input vector file, but > there is an error that I can't use 2 equal locations. > > How does this work? I have tried several options, but they don't want to > work. > Yes, the interface for the v.proj module doesn't work. Can I suggest you try the v.proj command from the GRASS shell? (at the top of the Modules Tree). You should be in the target location. Start the gRASS shell, and type in: v.proj input= map- location= output= > Thank you. > > Kind regards, > > Annelies > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/v-proj-tp6775859p6775859.html > Sent from the Grass - Users mailing list archive at Nabble.com. > ___ > grass-user mailing list > grass-user@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/grass-user > > This mail was received via Mail-SeCure System. > > ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] r.fillnulls error
Hi, I'm trying to use r.fillnulls for a DTM generated importing srtm data , but it does' t work. This is the message: r.fillnulls --overwrite input=14@PERMANENT output=14_int Locating and isolating NULL areas... syntax error, unexpected '@', expecting ')' Parse error ERROR: Raster map not found ERROR: /Applications/GRASS-6.4.app/Contents/MacOS/scripts/r.fillnulls abandoned. Removing temporary map, restoring user mask if needed: Removing raster Raster map not found nothing removed Removing raster Raster map not found nothing removed Removing raster Raster map not found nothing removed Removing raster Raster map not found nothing removed raster not found (Fri Sep 9 19:08:00 2011) Command finished (0 sec) ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: Using non-ASCII characters in Legend display
On 09/09/11 09:58, António Rocha wrote: Hi Martin I know where to set the font and the encoding. What I was asking is a combination of Font and Encoding that allows me to Display those characters in the legend and in Map Display window? iso-8859-1 or UTF8 should do the trick in terms of encodings. Most of the fonts, except for the original basic grass fonts can handle accents, e.g. Vera, Bitstream, DejaVu, ... Moritz ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: areas with islands and v.generalize
Am 09.09.2011 16:06, schrieb Georg Kaspar: > problem solved by running v.extrude -d on the results. An by that i mean v.extract... sorry ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: v.proj
Am 09.09.2011 14:48, schrieb adm: > I want to use v.proj to reproject vector files from another location. you need to specify the location of origin: v.proj in=file location=locationA mapset=name_of_mapset_in_locationA out=file best regards, Georg ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] Re: areas with islands and v.generalize
Am 09.09.2011 15:44, schrieb Georg Kaspar: > no difference. though i noticed that v.generalize does not get stuck a > 62% when using the snakes algorithm - it just takes a long time to run. > The result is nearly perfect though islands are still converted to > polygons... problem solved by running v.extrude -d on the results. Thank's Hamish, i found the hint in another post of yours ;) ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] areas with islands and v.generalize
Am 09.09.2011 15:04, schrieb Hamish: > Georg wrote: >> i'm trying to use v.generalize to smoothen polygon areas >> generated by r.to.vect. >> >> when using >> >> v.generalize in=cold out=cold_smooth method=douglas >> type=area thresh=0.1 >> >> the result remains the same as the input geometry. > > try running v.build.polylines first. no difference. though i noticed that v.generalize does not get stuck a 62% when using the snakes algorithm - it just takes a long time to run. The result is nearly perfect though islands are still converted to polygons... signature.asc Description: OpenPGP digital signature ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] areas with islands and v.generalize
Georg wrote: > i'm trying to use v.generalize to smoothen polygon areas > generated by r.to.vect. > > when using > > v.generalize in=cold out=cold_smooth method=douglas > type=area thresh=0.1 > > the result remains the same as the input geometry. try running v.build.polylines first. Hamish ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] v.proj
Hi everyone, I'm using QGIS 1.7.0 and GRASS as a plug-in. I want to use v.proj to reproject vector files from another location. However when I open the location (B) where my reprojected vector file must be safed, I can't choose my input vector file because it is in location (A). Also when I open the (unprojected) vector file in location B, I can't select the file. Or when I open location A, I can choose the input vector file, but there is an error that I can't use 2 equal locations. How does this work? I have tried several options, but they don't want to work. Thank you. Kind regards, Annelies -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/v-proj-tp6775859p6775859.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] v.proj
Hi everyone, I'm using QGIS 1.7.0 and GRASS as a plug-in. I want to use v.proj to reproject vector files from another location. However when I open the location (B) where my reprojected vector file must be safed, I can't choose my input vector file because it is in location (A). Also when I open the (unprojected) vector file in location B, I can't select the file. Or when I open location A, I can choose the input vector file, but there is an error that I can't use 2 equal locations. How does this work? I have tried several options, but they don't want to work. Thank you. Kind regards, Annelies -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/v-proj-tp6775855p6775855.html Sent from the Grass - Users mailing list archive at Nabble.com. ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] areas with islands and v.generalize
Hi everyone, i'm trying to use v.generalize to smoothen polygon areas generated by r.to.vect. when using v.generalize in=cold out=cold_smooth method=douglas type=area thresh=0.1 the result remains the same as the input geometry. Leaving out "type=area" leads to smoothened results though islands become polygons. v.generalize in=cold out=cold_smooth method=snakes stops at 62%... any ideas how to solve this problem? thanks & best regards, Georg ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Re: Using non-ASCII characters in Legend display
Hi Martin I know where to set the font and the encoding. What I was asking is a combination of Font and Encoding that allows me to Display those characters in the legend and in Map Display window? Thanks Antonio Martin Landa wrote: 2011/9/5 António Rocha : Does anyone knows a GRASS_FONT and GRASS_ENCODING configuration tyhat allows to display non-ascii characters in Map Display Windows legend (e.g. ááéã) GUI Settings -> Map Display -> Font settings -> Default font for GRASS displays Martin __ Information from ESET NOD32 Antivirus, version of virus signature database 6448 (20110908) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user