Re: [GRASS-user] rasters loaded with r.external miss a colour table?

2012-02-24 Thread Hamish
Paolo wrote: Sorry I was unclear: importing the map results in an automatically nicely coloured map, whereas r.external results in a greyscale. Markus N wrote: Probably r.external is presetting instead a grey-scale color table? yes, it is doing that, see main.c line ~ 340. if gdal

Re: [GRASS-user] Buffered categories

2012-02-24 Thread Hamish
Richard wrote: rather than the 47 categories I need (because there are 47 distinct areas in the buffer. So: how do I reassign the cats so there are 47 instead of 1 in the buffer? # get rid of the old v.category type=centroid op=del # create some new sequential ones v.category type=centroid

Re: [GRASS-user] rasters loaded with r.external miss a colour table?

2012-02-24 Thread Markus Neteler
On Fri, Feb 24, 2012 at 9:24 AM, Hamish hamis...@yahoo.com wrote: Paolo wrote: Sorry I was unclear: importing the map results in an automatically nicely coloured map, whereas r.external results in a greyscale. Markus N wrote: Probably r.external is presetting instead a grey-scale color

Re: [GRASS-user] rasters loaded with r.external miss a colour table?

2012-02-24 Thread Paolo Cavallini
Il 24/02/2012 09:24, Hamish ha scritto: yes, it is doing that, see main.c line ~ 340. if gdal supplies a color table it uses it, otherwise r.external checks if the map is type GDT_Byte and if so applies the grey255 rules. Or, if some other data type applies G_make_grey_scale_colors() based on

Re: [GRASS-user] Buffered categories

2012-02-24 Thread Richard Chirgwin
headdesk Thanks! The handling of overlapping areas is the reason I keep recompiling the older version of v.buffer as v.oldbuffer. This lets me use the old debug flag to prevent it from cleaning the areas, which I can then turn into discrete areas instead of having them combined by the newer

Re: [GRASS-user] rasters loaded with r.external miss a colour table?

2012-02-24 Thread Glynn Clements
Hamish wrote: if gdal supplies a color table it uses it, otherwise r.external checks if the map is type GDT_Byte and if so applies the grey255 rules. Or, if some other data type applies G_make_grey_scale_colors() based on the range. I would suggest that this be changed to not create any

Re: [GRASS-user] GRASS-6.4.2 dependencies

2012-02-24 Thread Stuart Edwards
Deleting and reinstalling took care of the problem - Thanks for all your work keeping this sorted ! Stu On Feb 23, 2012, at 7:46 PM, William Kyngesburye wrote: For some reason FreeType lately has been bumping the library version on minor updates. 2.4.6 is ver 14 and 2.4.4 is ver 13. The

[GRASS-user] r.clump misses clumps?

2012-02-24 Thread Paolo Cavallini
Hi all. Just ran r.clump, no options, and it obviously misses some areas (those at the bottom). It only finds 932 areas in my case, 1038 in other machines. Could someone check if it's a general phenomenon, before opening a ticket? Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc

Re: [GRASS-user] r.clump misses clumps?

2012-02-24 Thread Paolo Cavallini
Hi all. Just ran r.clump, no options, and it obviously misses some areas (those at the bottom). It only finds 932 areas in my case, 1038 in other machines. Could someone check if it's a general phenomenon, before opening a ticket? Thanks. Explained: the areas are there, it's just the color

[GRASS-user] Re: Problem with i.cluster

2012-02-24 Thread Eliette
Hi everyone, I could solve this problem like this: First: read the rows and columns of your raster map using r.info. Appropiate sample intervals are obtained by dividing that number by 100. For example, if you have: Rows: 7603

Re: [GRASS-user] r.clump misses clumps?

2012-02-24 Thread Paolo Cavallini
It seems to me a minor bug, right? All the best. Ticket created (#1598). Thanks. -- Paolo Cavallini See: http://www.faunalia.it/pc ___ grass-user mailing list grass-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] how to install gstat with grass 6 support?

2012-02-24 Thread Vishal Mehta
Markus, i do have the grass6_dev package. is that different from grass-dev? FYI these are the messages i get after *./configure --with-grass6=/usr/local/grass-6.5.svn* checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes

Re: [GRASS-user] Buffered categories

2012-02-24 Thread Richard Chirgwin
As always, thanks to everyone for helping fix even simple errors! Richard On 24/02/12 7:30 PM, Hamish wrote: Richard wrote: rather than the 47 categories I need (because there are 47 distinct areas in the buffer. So: how do I reassign the cats so there are 47 instead of 1 in the buffer? #

[GRASS-user] GRASS 6.4.2

2012-02-24 Thread Elvin Birth
I downloaded and installed wxPython2.8-osx-unicode-2.8.12.1-universal-py2.6.dmg and then GRASS-6.4.2stable.pk.. on my MacBook Air with OS 10.6.8. When I try to open GRASS-6.4.2.app (paper, pencil, ruler and brush icon) I get a very brief flash of the familiar icon, grass in a diamond, but nothing

Re: [GRASS-user] GRASS 6.4.2

2012-02-24 Thread Stuart Edwards
Check out: http://www.kyngchaos.com/software/grass for the definitive word on installing GRASS on OS X - there are a number of dependencies that must be installed and these are all provided for easy installation. Stu On Feb 24, 2012, at 4:56 PM, Elvin Birth wrote: I downloaded and

Re: [GRASS-user] GRASS 6.4.2

2012-02-24 Thread William Kyngesburye
That looks like Michael Barton's package. We both use the same base frameworks. And we both bundle wxPython in the application so there is no need to download and install that (it will be ignored by GRASS). The invalid context error should be harmless. Certainly make sure the frameworks are

[GRASS-user] Re: grass-user Digest, Vol 70, Issue 51

2012-02-24 Thread Michael Barton
If you downloaded these from my site, take a look at the readme text file in the folder where you got the files. It lists the frameworks I used for compiling them. IMPORTANT: I just updated GRASS 6.4.3svn and GRASS 7 this afternoon, recompiling the newest releases with William's newest

[GRASS-user] How to create polygon from two selected contour line

2012-02-24 Thread SWAPAN GHOSH
Hello Grassuser, Anybody can please help me To create polygon from two selected contour line using grass comand.. Thanks Regards, Swapan Ghosh ___ grass-user mailing list grass-user@lists.osgeo.org

Re: [GRASS-user] How to create polygon from two selected contour line

2012-02-24 Thread Paolo Cavallini
Il 25/02/2012 08:45, SWAPAN GHOSH ha scritto: Hello Grassuser, Anybody can please help me To create polygon from two selected contour line using grass comand.. I'm afraid I can't - I tried recently, no joy. Good luck, if you succeed please let us know. All the best. -- Paolo