Re: [GRASS-user] Creating raster of geographic coordinates

2011-03-02 Thread razmjooeis
Do your cells contain some other information (i.e. the variable you want to create raster for) apart from lat and long? What format is your lat/long file? text or some sort of a vector? Do you want to directly convert the values to cells with raster values or having some interpolation and TINs?

Re: [GRASS-user] programing with GRASS libraries

2011-02-23 Thread razmjooeis
I guess you will be more likely to get an answer if you post it to grass-dev mailing list. Cheers Sab hello I'm using GRASS-6.4.0RC6 . I want to add GRASS libraries in Eclipse and write program with C using functions of these GRASS libraries. I don't khnow How I can do it then compiling and

Re: [GRASS-user] Raster import into GRASS via shell - unwanted spatially masked

2011-02-08 Thread razmjooeis
Do you use r.in.gdal -e? Maybe you just need to change the color profile? Cheers Sab Hello, I have been writing a shell script to import lots of data into my GRASS project. Since a while when importing new data, the data is imported as if I had used one of my masks, although I have not set a

[GRASS-user] hotspot or heat map in GRASS

2011-02-04 Thread razmjooeis
Dear all Does anyone have a tutorial or an example of how to create heatmaps or hotspots based on point density in GRASS. I tried to use v.kernel but not sure what some of the parameters mean? v.neighbor is straight forward but the output map is very coarse. Cheers Sab

[GRASS-user] when was the first release of Grass 64 bit?

2011-02-02 Thread razmjooeis
I am reading through http://en.wikipedia.org/wiki/Manifold_System It claims: Release 7.00 was issued in May 2006 and followed up by Release 7x in the next three months. 7x was released in two flavors: 32-bit and 64-bit. Manifold 7x was the first ever 64-bit GIS application in the industry. Does

Re: [GRASS-user] when was the first release of Grass 64 bit?

2011-02-02 Thread razmjooeis
Excellent...that's fixed for them! Cheers Sab On Wed, Feb 2, 2011 at 5:40 PM, razmjoo...@faunalia.co.uk wrote: I am reading through http://en.wikipedia.org/wiki/Manifold_System It claims: Release 7.00 was issued in May 2006 and followed up by Release 7x in the next three months. 7x was

Re: [GRASS-user] when was the first release of Grass 64 bit?

2011-02-02 Thread razmjooeis
I totally agree with you, but the point is the statement is bold without any extra information. It was a bit more of a marketing! It can be re-written as: In comparison with ESRI and Mapinfo, Manifold was the first Windows OS GIS software to release 64 bit version. Cheers Sab I don't think

Re: [GRASS-user] Colour problems using r.patch (with OS OpenData)

2011-01-25 Thread razmjooeis
Hi Josh In replay to your 2nd question, there was an interesting presentation by John Abbott of OS back in November last year in Newcastle University on OpenData http://www.ncl.ac.uk/cegs.cpd/cpd/osworkshopoutline.php The presentation from him is not available They provide some sort of

[GRASS-user] slow v.what.rast

2010-12-15 Thread razmjooeis
Dear all, I am trying to update a column in my vector point layer with a raster value. I have tried v.what.rast. The problem is the number of points I have are rather large (over 3M in each vector point and 20 vectors!). Having done a bit of search to see how I can speed up the process, I came

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-27 Thread razmjooeis
Hi Markus I managed to compile grass6.5 and the plugin. Now when I try to run it, it comes up with this error: /usr/local/grass-6.5.svn/scripts/v.rast.stats2: 350: Syntax error: ( unexpected Cheers Sab On Fri, Nov 26, 2010 at 12:32 PM, razmjoo...@faunalia.co.uk wrote: Dear list I am

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-27 Thread razmjooeis
Markus No...same error /usr/local/grass-6.5.svn/scripts/v.rast.stats2: 350: Syntax error: ( unexpected Cheers Sab razmjoo...@faunalia.co.uk wrote: I managed to compile grass6.5 and the plugin. Now when I try to run it, it comes up with this error: So far so good...

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-27 Thread razmjooeis
Mine is this: echo $SHELL /bin/bash On Sat, Nov 27, 2010 at 5:42 PM, Markus Neteler nete...@osgeo.org wrote: On Sat, Nov 27, 2010 at 5:37 PM,  razmjoo...@faunalia.co.uk wrote: No...same error /usr/local/grass-6.5.svn/scripts/v.rast.stats2: 350: Syntax error: ( unexpected The line looks

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-27 Thread razmjooeis
Markus I did exactly what you described. As per Markus N's suggestion I changed the /bin/sh to /bin/bash and things working well (so far!) Many many thanks guys for your help Cheers Sab On Sat, Nov 27, 2010 at 5:53 PM, razmjoo...@faunalia.co.uk wrote: Mine is this: echo $SHELL /bin/bash

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-27 Thread razmjooeis
On Sat, Nov 27, 2010 at 6:02 PM, razmjoo...@faunalia.co.uk wrote: Markus I did exactly what you described. Please report ls -la /bin/bash -rwxr-xr-x 1 root root 801808 2010-08-10 20:58 /bin/bash Maybe a link to something else? As per Markus N's suggestion I changed the /bin/sh to

[GRASS-user] v.rast.stats over a large vector file

2010-11-26 Thread razmjooeis
Dear list I am trying to run v.rast.stats for a large vector file. It contains around 70 buildings representing buildings. here is my g.region info g.region -p projection: 99 (Transverse Mercator) zone: 0 datum: osgb36 ellipsoid: airy north: 183010.45829976 south:

Re: [GRASS-user] v.rast.stats over a large vector file

2010-11-26 Thread razmjooeis
Many thanks for your suggestions. I will give it try and let you know which one works. Cheers Sab I used StarSpan to do something similar (but with less vector feature: 6000). It worked pretty well. Maybee worth a try? http://starspan.projects.atlas.ca.gov/doku/doku.php Daniel On Fri,

Re: [GRASS-user] r.patch: number of rasters

2010-11-02 Thread razmjooeis
Hi Markus Many thanks for your response. In the past versions, the patched raster used to have an odd values. I use Grass 6.4 from Ubuntu 10.10 64 bit repo. Cheers Sab On Tue, Nov 2, 2010 at 2:03 PM, razmjoo...@faunalia.co.uk wrote: Dear all Is there a limit on the number of rasters for

Re: [GRASS-user] error compiling grass65svn and addons for grass64

2010-10-20 Thread razmjooeis
Have you got the following packges installed? gcc g++ make Cheers Sab Hello, You have to provide whole error message. Without exact error text, it's impossible to tell what kind of problem You have. WBR, Maris. 2010/10/20, Laura Poggio laura.pog...@gmail.com: Dear all, I installed

Re: [GRASS-user] Converting raster to polygon creates too many polygons

2010-09-29 Thread razmjooeis
You might consider using -s flag to smooth the corners. Otherwise, I can't see why it doesn't work. R. Sab Hi, I've created subcatchments using r.watershed and I would like to convert these to polygons. My result at the moment contains too many polygons - 194. The original raster had only 9

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-19 Thread razmjooeis
In Ubuntu, you can right click on the file and tick the box to make it executable Right Click Properties Permissions Allow executing files as program Cheers Sab 2010/8/19, Nikos Alexandris nikos.alexand...@felis.uni-freiburg.de: Better not to use sudo (as a general advice). The script

Re: [GRASS-user] Re: Importing multiple files with r.in.xyz

2010-08-11 Thread razmjooeis
Hanlie You might find this useful: http://www.surfaces.co.il/?p=578 It's in qgis, but still you can use GRASS plugin to interact with your datasets. Cheers Saber Thanks for the reply. I'll try that if I don't manage with the Linux version. However, previously when I worked with the SVN

Re: [GRASS-user] Importing multiple files with r.in.xyz

2010-08-11 Thread razmjooeis
Open gedit (from Accessories) and copy paste the the commands into it. Save the file to the same location as your raster and your files.txt file call it import_xyz.sh Now, open grass from terminal Once in grass environment...change directory to your file sh import_xyz.sh Cheers Saber On

Re: [GRASS-user] Missing database drivers

2010-08-11 Thread razmjooeis
Have you used your linux distro to install grass (apt, yum, emerge, etc)? You can always compile GRASS with sqlite option: http://grass.osgeo.org/wiki/Compile_and_Install http://grass.osgeo.org/wiki/Compile_and_Install#Prerequisites Cheers Saber I am reading Open Source GIS, and the authors

Re: [GRASS-user] Calculate raster statistics for each polygon

2010-08-06 Thread razmjooeis
It might be something to do with v.db.addcol in windows: http://osgeo-org.1803224.n2.nabble.com/GRASS-GIS-1110-v-rast-stats-locks-up-on-wingrass-td5311955.html cheers Sab Hello, which GRASS version are you using and on which plattform? I did it with GRASS 6.4.0RC6 on Linux using the example