[GRASS-user] Help needed in creating a thematic map

2009-03-07 Thread Thomas Adams

List:

I need to create a map in GRASS like the attached map. This needs to be 
done on a daily basis, and it needs to be created by those who have 
little GIS or GRASS knowledge or experience. The critical aspect is to 
manually draw/digitize the critical "likely" or "possible" areas. And I 
am struggling with v.digit doing this, but it's not the main problem. 
The key issue is attaching attribute data to the polygonal regions that 
define the period over which the "likely" or "possible" areas apply, as 
the graphic shows. ALSO, the boundary data and the attributes (the valid 
Date period) need to be exported to an ascii text file which is then 
ftp'ed to a central location — the end users use their own software to 
combine other such files to create a graphic (actually the one I am 
showing). Now, combining the exported data into the format needed by the 
end user is not an issue, it's really a matter of how to most 
efficiently (easily) get the Starting and Ending dates into the 
attributes of the polygons. Also, should I try to use a separate vector 
map for each polygon of the same type ("likely" or "possible") or should 
they be in different layers?


I'll have to write detailed instructions covering how to do this, but I 
need to know how to do this first!


I'm very open to suggestions…

Regards,
Tom

--
Thomas E Adams
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

EMAIL:  thomas.ad...@noaa.gov

VOICE:  937-383-0528
FAX:937-383-0033

<>___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] How update vector layers?

2009-03-07 Thread Thybério Luna Freire
The great problem in create a new map is that there is a database with rules
of integrity. If the table sugarcane is linked to other table by
primary/foreign keys i can't simply delete it and put the new table in your
place. This is my problem. I have to mantain the table sugarcane and keep
updating it, when necessary.

thyberio
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: grass-user Digest, Vol 35, Issue 21

2009-03-07 Thread Thybério Luna Freire
 am very busy at the moment - sorry.
>
> regards,
>  Otto
>
> > achim
> >
> > achim schrieb:
> > > I use a 64 bit system and 64 bit packages (for suse 11.1)
> > >
> > > achim
> > >
> > >
> > > Otto Dassau schrieb:
> > >> Hi Achim,
> > >>
> > >> I build the opensuse packages in the Application:/Geo repository and
> will
> check
> > >> this. Do you use the 32 bit or 64 bit packages for 11.1?
> > >>
> > >> regards,
> > >>  Otto
> > >>
> > >> On Mon, 02 Mar 2009 10:45:00 +0100
> > >> achim  wrote:
> > >>
> > >>> Hi,
> > >>>
> > >>> thanks for answering and sorry for taking so long..
> > >>>
> > >>> Im running suse 11.1 and I was installing both qgis and grass from
> the
> > >>> following repositories:
> > >>> http://teodori.org/repos/grass/openSuSE11.1/
> > >>> and
> > >>>
> http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.1/
> > >>>
> > >>> As said deinstalling the old and reinstalling of the packages via
> yast
> > >>> does not help. Now I'm using only grass, but I would really like to
> use
> > >>> the comfortable qgis in future too.
> > >>>
> > >>> Thanks,
> > >>> achim
> > >>>
> > >>> Zahid Parvez schrieb:
> > >>>>> On Sat, Feb 28, 2009 at 9:09 AM, Nikos Alexandris
> > >>>>>  > >>>>> <mailto:nikos.alexand...@felis.uni-freiburg.de>> wrote:
> > >>>>>
> > >>>>> On Fri, 2009-02-27 at 13:39 +0100, achim wrote:
> > >>>>> > Hi,
> > >>>>> >
> > >>>>> > I used the goe-repository files for installing grass (6.4)
> and
> > >>>>> grass63.
> > >>>>> > Do I have to compile myself? Cant I clean old libraries by
> > >>> myself and
> > >>>>> > reinstall grass from the repository?
> > >>>>> >
> > >>>>> > Thanks,
> > >>>>> > achim
> > >>>>>
> > >>>>> Hi Achim!
> > >>>>>
> > >>>>> It's not clear to me which geo-repository you mean. Could you
> > >>> please be
> > >>>>> more specific?
> > >>>>>
> > >>>>>
> > >>>>> First:
> > >>>>>
> > >>>>> * Which operating system do you use?
> > >>>>> * Which exact commands did you use to install grass 6.4 and
> which to
> > >>>>> install grass 6.3?
> > >>>>> * Why do you need both, version 6.3 and 6.4?
> > >>>>>
> > >>>>>
> > >>>>> Now partially answering:
> > >>>>>
> > >>>>> * You are not "forced" to compile grass by yourself. There are
> > >>> binaries
> > >>>>> ready-to-(install)use.
> > >>>>> * Of course you can clean old libraries. If you installed grass
> from
> > >>>>> ubuntu's repository for example, it should be easy to clean
> > >>> everything
> > >>>>> by just removing it (preferably with "sudo apt-get purge
> grass").
> > >>>>>
> > >>>>> BTW, Jachym Cepicky's repository [1] is AFAIK always more
> up-to-date
> > >>>>> than ubuntu's repositories.
> > >>>>>
> > >>>>> Kind regards, Nikos
> > >>>>>
> > >>>>> ---
> > >>>>> [1] http://les-ejk.cz/ubuntu/
> > >>>>>
> > >>>>> ___
> > >>>>> grass-user mailing list
> > >>>>> grass-user@lists.osgeo.org <mailto:grass-user@lists.osgeo.org>
> > >>>>> http://lists.osgeo.org/mailman/listinfo/grass-user
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> if you use windows xp sp2 this may help. i got this

Re: [GRASS-user] How update vector layers?

2009-03-07 Thread Markus Neteler
On Sat, Mar 7, 2009 at 9:21 PM, Vincent Bain  wrote:
> Having a look at the man page of the v.patch command, I was surprised by
> a semantic ambiguity : saying v.patch "Create[s] a new vector map layer
> by combining other vector map layers" sounds quite odd, shouldn't we
> say :"Create a new vector map by combining other vector maps", given
> that only layer 1 is supported ?

Yes, fixed everywhere.

> well, maybe there is no confusion and
> I misunderstand something ?

No, it was confusing.

> In the current french translation of wxpython GUI, there are several
> confusions between these notions of maps and layers*, which IMHO should
> be clearly distinguished if we want to show a coherent vector data
> model.

Right - please point out these things as you come across them.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How update vector layers?

2009-03-07 Thread Vincent Bain
Having a look at the man page of the v.patch command, I was surprised by
a semantic ambiguity : saying v.patch "Create[s] a new vector map layer
by combining other vector map layers" sounds quite odd, shouldn't we
say :"Create a new vector map by combining other vector maps", given
that only layer 1 is supported ? well, maybe there is no confusion and
I misunderstand something ?

In the current french translation of wxpython GUI, there are several
confusions between these notions of maps and layers*, which IMHO should
be clearly distinguished if we want to show a coherent vector data
model.

Bye,
VB

__
* I know I should keep working on translation files, but for the moment
I'm really over-loaded.



Le samedi 07 mars 2009 à 21:02 +0100, Markus Neteler a écrit :
> On Sat, Mar 7, 2009 at 8:03 PM, Thybério Luna Freire  
> wrote:
> > Hi Vincent,
> > I've tried the following command:
> >
> > v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o
> >
> > it returns:
> > ERROR: Output vector map  is used as input
> 
> You have to write the output to a new map name.
> 
> Markus
> ___
> 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] How update vector layers?

2009-03-07 Thread Markus Neteler
On Sat, Mar 7, 2009 at 8:03 PM, Thybério Luna Freire  wrote:
> Hi Vincent,
> I've tried the following command:
>
> v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o
>
> it returns:
> ERROR: Output vector map  is used as input

You have to write the output to a new map name.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] How update vector layers?

2009-03-07 Thread Vincent Bain
If you are sure category values don't overlap, then you can use the -a
flag. But in this case I would NOT give both arguments -a and -e;
i.e. given that the sugarcane map already has a related table, the
features from sugarcane_update will populate the table with new rows (it
is the reason why cat numbers, which tag geometrical features, should be
distinct from previous rows in the sugarcane table)...
Else you can try to create a new map :
v.patch -e in=sugarcane,sugarcane_update out=merge,

If you suspect duplicate objets (e.g. adjacent areas boundaries), don't
forget to run v.clean with the tool rmdupl.

Vincent.


Le samedi 07 mars 2009 à 16:03 -0300, Thybério Luna Freire a écrit :
> Hi Vincent,
> I've tried the following command:
> 
> v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o
> 
> it returns: 
> ERROR: Output vector map  is used as input
> 
> I'm using the -e and -a flags and overwriting the old vector layer,
> but the message is the same.
> 
> I'm doing anything wrong?
> 
> Both vector maps have exactly the same columns and there aren't
> identical attributes:
> 
> Cat (integer)
> Cane_id(Integer)
> 
> thanks,
> Thyberio
> ___
> 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] How update vector layers?

2009-03-07 Thread Thybério Luna Freire
Hi Vincent,
I've tried the following command:

v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o

it returns:
ERROR: Output vector map  is used as input

I'm using the -e and -a flags and overwriting the old vector layer, but the
message is the same.

I'm doing anything wrong?

Both vector maps have exactly the same columns and there aren't identical
attributes:

Cat (integer)
Cane_id(Integer)

thanks,
Thyberio
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] qgis + grass-plugin = gdal-problem (update)

2009-03-07 Thread Otto Dassau
Hi Achim,

On Sat, 07 Mar 2009 19:26:59 +0100
achim  wrote:

> Hi Otto,
> 
> have you find out, what the problem could be? I am still willing to use
> grass with qgis, but -as written- qgis terminates when loading a raster
> file from a grass project. I tried an older qgis version, but the error
> is the same:
> 
> qgis: symbol lookup error: /usr/lib/gdalplugins/gdal_GRASS.so: undefined
> symbol: G_no_gisinit
> 
> I'm afraid I made something wrong with my openSUSE 11.1 64bit...
> 
> Sorry for being so impatient,

I haven't had the time to look at it yet. I will test as soon as possible, but
it will probably take some more days. I am very busy at the moment - sorry.

regards,
 Otto

> achim
> 
> achim schrieb:
> > I use a 64 bit system and 64 bit packages (for suse 11.1)
> > 
> > achim
> > 
> > 
> > Otto Dassau schrieb:
> >> Hi Achim,
> >>
> >> I build the opensuse packages in the Application:/Geo repository and will
check
> >> this. Do you use the 32 bit or 64 bit packages for 11.1?
> >>
> >> regards,
> >>  Otto
> >>
> >> On Mon, 02 Mar 2009 10:45:00 +0100
> >> achim  wrote:
> >>
> >>> Hi,
> >>>
> >>> thanks for answering and sorry for taking so long..
> >>>
> >>> Im running suse 11.1 and I was installing both qgis and grass from the
> >>> following repositories:
> >>> http://teodori.org/repos/grass/openSuSE11.1/
> >>> and
> >>> http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.1/
> >>>
> >>> As said deinstalling the old and reinstalling of the packages via yast
> >>> does not help. Now I'm using only grass, but I would really like to use
> >>> the comfortable qgis in future too.
> >>>
> >>> Thanks,
> >>> achim
> >>>
> >>> Zahid Parvez schrieb:
> > On Sat, Feb 28, 2009 at 9:09 AM, Nikos Alexandris
> >  > > wrote:
> >
> > On Fri, 2009-02-27 at 13:39 +0100, achim wrote:
> > > Hi,
> > >
> > > I used the goe-repository files for installing grass (6.4) and
> > grass63.
> > > Do I have to compile myself? Cant I clean old libraries by
> >>> myself and
> > > reinstall grass from the repository?
> > >
> > > Thanks,
> > > achim
> >
> > Hi Achim!
> >
> > It's not clear to me which geo-repository you mean. Could you
> >>> please be
> > more specific?
> >
> >
> > First:
> >
> > * Which operating system do you use?
> > * Which exact commands did you use to install grass 6.4 and which to
> > install grass 6.3?
> > * Why do you need both, version 6.3 and 6.4?
> >
> >
> > Now partially answering:
> >
> > * You are not "forced" to compile grass by yourself. There are
> >>> binaries
> > ready-to-(install)use.
> > * Of course you can clean old libraries. If you installed grass from
> > ubuntu's repository for example, it should be easy to clean
> >>> everything
> > by just removing it (preferably with "sudo apt-get purge grass").
> >
> > BTW, Jachym Cepicky's repository [1] is AFAIK always more up-to-date
> > than ubuntu's repositories.
> >
> > Kind regards, Nikos
> >
> > ---
> > [1] http://les-ejk.cz/ubuntu/
> >
> > ___
> > grass-user mailing list
> > grass-user@lists.osgeo.org 
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> >
> >
> >
> > if you use windows xp sp2 this may help. i got this from internet
> >
> > best
> >
> > zahid
> >> ___
> >> 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 mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] qgis + grass-plugin = gdal-problem (update)

2009-03-07 Thread achim
Hi Otto,

have you find out, what the problem could be? I am still willing to use
grass with qgis, but -as written- qgis terminates when loading a raster
file from a grass project. I tried an older qgis version, but the error
is the same:

qgis: symbol lookup error: /usr/lib/gdalplugins/gdal_GRASS.so: undefined
symbol: G_no_gisinit

I'm afraid I made something wrong with my openSUSE 11.1 64bit...

Sorry for being so impatient,
achim

achim schrieb:
> I use a 64 bit system and 64 bit packages (for suse 11.1)
> 
> achim
> 
> 
> Otto Dassau schrieb:
>> Hi Achim,
>>
>> I build the opensuse packages in the Application:/Geo repository and will 
>> check
>> this. Do you use the 32 bit or 64 bit packages for 11.1?
>>
>> regards,
>>  Otto
>>
>> On Mon, 02 Mar 2009 10:45:00 +0100
>> achim  wrote:
>>
>>> Hi,
>>>
>>> thanks for answering and sorry for taking so long..
>>>
>>> Im running suse 11.1 and I was installing both qgis and grass from the
>>> following repositories:
>>> http://teodori.org/repos/grass/openSuSE11.1/
>>> and
>>> http://download.opensuse.org/repositories/Application:/Geo/openSUSE_11.1/
>>>
>>> As said deinstalling the old and reinstalling of the packages via yast
>>> does not help. Now I'm using only grass, but I would really like to use
>>> the comfortable qgis in future too.
>>>
>>> Thanks,
>>> achim
>>>
>>> Zahid Parvez schrieb:
> On Sat, Feb 28, 2009 at 9:09 AM, Nikos Alexandris
>  > wrote:
>
> On Fri, 2009-02-27 at 13:39 +0100, achim wrote:
> > Hi,
> >
> > I used the goe-repository files for installing grass (6.4) and
> grass63.
> > Do I have to compile myself? Cant I clean old libraries by
>>> myself and
> > reinstall grass from the repository?
> >
> > Thanks,
> > achim
>
> Hi Achim!
>
> It's not clear to me which geo-repository you mean. Could you
>>> please be
> more specific?
>
>
> First:
>
> * Which operating system do you use?
> * Which exact commands did you use to install grass 6.4 and which to
> install grass 6.3?
> * Why do you need both, version 6.3 and 6.4?
>
>
> Now partially answering:
>
> * You are not "forced" to compile grass by yourself. There are
>>> binaries
> ready-to-(install)use.
> * Of course you can clean old libraries. If you installed grass from
> ubuntu's repository for example, it should be easy to clean
>>> everything
> by just removing it (preferably with "sudo apt-get purge grass").
>
> BTW, Jachym Cepicky's repository [1] is AFAIK always more up-to-date
> than ubuntu's repositories.
>
> Kind regards, Nikos
>
> ---
> [1] http://les-ejk.cz/ubuntu/
>
> ___
> grass-user mailing list
> grass-user@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
>
>
>
> if you use windows xp sp2 this may help. i got this from internet
>
> best
>
> zahid
>> ___
>> 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 mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] r.composite problem

2009-03-07 Thread Tom James

Hello,

I'm a new WinGRASS user and have had issues converting ASTER bands into 
composite raster scenes.  I can import the first raster (r.in.gdal) just 
fine, and r.composite successfully creates the new raster map.  However, 
when I import subsequent scenes and run r.composite, only a slice of the 
new raster scene is displayed.  I can display all imported scenes as 421 
layer stacks, but they won't display (completely) as rasters.  Any thoughts?


Tom

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.external does not create vector layer

2009-03-07 Thread John R.

Markus Neteler wrote:


You need to define
layer=trackpnt
as well.


Thanks...that was it.

I had not mentally made the association between layer and table.

John
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] v.external does not create vector layer

2009-03-07 Thread Markus Neteler
On Tue, Feb 24, 2009 at 2:05 AM, John R.  wrote:
> Hello,
>
> I am running GRASS 6.3.0 on Linux.  I would like to use a postgis table as a
> read only vector layer in GRASS.
>
> One time I had v.external doing more than it does now.  Here is a typical
> execution:
>
> # v.external 'dsn=PG:host=localhost user=postgres dbname=spatial_db'
> output=gpxpints_pg
> Data source contains 1 layers:
> trackpnt
>
> This would be the behavior I would expect if "output" was not defined. There
> is no vector layer created in GRASS.

You need to define
layer=trackpnt
as well.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user