You need to run db.connect to select a database backend to use
first. (There is no VAR file in the mapset yet)
Manage databases - connect
see the help page for details, I usually just cut and paste out of the
examples. v.db.addtable can probably do this automatically.
Vector database
Dylan Beaudette pisze:
Hi,
After hacking together some R + r.mapcalc code, I started to wonder about how
hard it would be to add distance-weighting to r.neighbors... Specifically,
the focal distance-weighted mean difference. An example of what I was trying
to accomplish can be found here:
Hamish wrote:
You need to run db.connect to select a database backend to
use first. (There is no VAR file in the mapset yet)
hopefully fixed ready for testing in 6.5svn r42988 (v.edit).
devs:
maybe do this for 'v.in.ascii -e' and 'v.digit -n' too?
or move this into Vect_open_new() ? ...
Hamish wrote:
Hamish wrote:
You need to run db.connect to select a database backend to
use first. (There is no VAR file in the mapset yet)
hopefully fixed ready for testing in 6.5svn r42988 (v.edit).
devs:
maybe do this for 'v.in.ascii -e' and 'v.digit -n' too?
or move this into
Hi,
I have a MODIS land cover image that contains NULL values according to r.univar:
-
r.univar map=modis_land_cover_type1_2001_prim...@permanent
total null and non-null cells: 41884
total null cells: 17145
-
So, I tried to fill it with r.fillnulls and I get the following:
-
Hanlie Pretorius wrote:
Hi,
I have a MODIS land cover image that contains NULL values according to
r.univar:
-
r.univar map=modis_land_cover_type1_2001_prim...@permanent
total null and non-null cells: 41884
total null cells: 17145
-
So, I tried to fill it with r.fillnulls
Hi,
Hamish:Feb 28, 2010; 03:15am Re: High resolution dem
I am curious to know what the problem with r.surf.contour was. Usually
it does a great job as long as you take a moment to work around the
integer and NULL/0 issues.
Sorry that I quitted this discussion so silently, but I had to drop
Apart from the region resolution, it's land cover classes, r.fillnulls
will produce nonsense data: floating point. Rather use r.neighbors
with a modal filter, patch the original with the filtered map, that
would replace NULLs with the most common surrounding land cover type.
Markus M
Hanlie
Hi there
Regarding Hamish suggestion
You need to run db.connect to select a database backend to use
first. (There is no VAR file in the mapset yet)
The thing is: I have been using an WinGRASS6.4 binary version where I didn't
need to do anything else. Just create Vector by doing this. So, my
Kim wrote:
Hi there
Regarding Hamish suggestion You need to run db.connect to select a
database backend to use first. (There is no VAR file in the mapset
yet)
The thing is: I have been using an WinGRASS6.4 binary version where I
didn't need to do anything else. Just create Vector by doing
Hanlie wrote:
I have a MODIS land cover image that contains NULL values
according to r.univar:
-
r.univar map=modis_land_cover_type1_2001_prim...@permanent
total null and non-null cells: 41884
total null cells: 17145
-
So, I tried to fill it with r.fillnulls and I get the
Hanlie wrote:
| Rows: 11957
| Columns: 6277
...
I have tried to see the NULLS by displaying everything in
white, except for NULLS displayed in red, but I didn't see
anything.
Does anyone know how I can find out if there are actually
NULL value and where they are?
try
Nikos Alexandris wrote:
I need to convert the following bash-one-liner:
v.distance --q -pa from=ref_points to=coi_points upload=cat \
column=anycol | cut -d| -f2 | sort -nu | tail -1
into python.
My unsolved problem is that v.distance -pa returns for
example thousands of
lines in
Hi all ,
I recently viewed OpenJump application written in JAVA which is also a
GIS software but have less features when compared to GRASS GIS. What my plan
is to contribute modules of GRASS GIS written in C/Python to OpenJump
written in Java. Does osgeo or any grass developers have any
This will never work unless the OpenSuse packager fixes the
wrong path (.../BUILD/... is wrong and needs to be /opt/...).
Or you do it yourself... AFAIK, it is in your case in
/opt/grass/include/Make/Platform.make
Alright, I think I understood what to do. I edited
2010/8/4, Hamish hamis...@yahoo.com:
Hanlie wrote:
| Rows: 11957
| Columns: 6277
...
I have tried to see the NULLS by displaying everything in
white, except for NULLS displayed in red, but I didn't see
anything.
Does anyone know how I can find out if there are actually
Hanlie Pretorius wrote:
Thanks for all the replies. I first tried finding the NULLS using
r.mapcalc, and it turns out that the NULLS are the cells in the GRASS
region (rectangular), but outside my study region (irregular
geographical border). I was under the misconception that g.region set
For your task the use of lists and the split tool may help.
The different lines have are seperated by a '\n' (which is interpreted as a
new line). After splitting the string into a line list you can make a loop
each item of this list. Something like this:
LeeDaniel wrote:
wrong path (.../BUILD/... is wrong and needs to be /opt/...).
Or you do it yourself... AFAIK, it is in your case in
/opt/grass/include/Make/Platform.make
Alright, I think I understood what to do. I edited
/opt/grass/include/Make/Platform.make (made a backup) and
Alright, I gave it another shot...
GRASS_HOME is the location of the GRASS source tree. If you don't have
the GRASS source tree, it should be unset.
Okay, I turned it off by putting # in front of it. Now the line looks like
this:
# GRASS dirs
# GRASS_HOME =
Thank you!
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Vector-attribute-query-errors-on-a-Mac-tp5365200p5373451.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
I'm trying to view attribute data for a vector file in the sample North
Carolina data using the GUI.
My steps:
In the GIS Manager,
1. Click the Add Vector Layer button in the toolbar
2. Click the Show attribute data in the settings pane below.
The Output window shows the following error:
LeeDaniel wrote:
Its value is used to initialise a few other variables, which need to
be changed when building without the source tree:
ARCH_DISTDIR = $(GRASS_HOME)/dist.$(ARCH)
ARCH_BINDIR = $(GRASS_HOME)/bin.$(ARCH)
ERRORLOG=
Hi Dylan and everybody
I'm come back. I have past this week on R for uderstand what you do in
http://casoilresource.lawr.ucdavis.edu/drupal/node/340
Now it's great for R but... I don't understand how make a loop in grass
in the web site we can read
for x in `seq 1 5`
do v.extract --o in=bclust
(apologies for interfering...)
Etienne wrote:
Hi Dylan and everybody
I'm come back. I have past this week on R for uderstand what you do in
http://casoilresource.lawr.ucdavis.edu/drupal/node/340
Now it's great for R but... I don't understand how make a loop in grass
in the web site we can
Hi,
for the upcoming FOSS4G conference[1] we have put together a live
dvd[2] with GRASS and a whole bunch of other OSGeo software,
about 40 FOSS geo projects are participating in all.
It would be great if folks could read through the 1-page overview
doc[3] for GRASS (made with reStructured Text
26 matches
Mail list logo