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

Thybério Luna Freire thyberio at gmail.com
Sat Mar 7 18:39:26 EST 2009


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

2009/3/7 <grass-user-request  lists.osgeo.org>

> Send grass-user mailing list submissions to
>        grass-user  lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.osgeo.org/mailman/listinfo/grass-user
> or, via email, send a message with subject or body 'help' to
>        grass-user-request  lists.osgeo.org
>
> You can reach the person managing the list at
>        grass-user-owner  lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of grass-user digest..."
>
>
> Today's Topics:
>
>   1. Re: v.external does not create vector layer (John R.)
>   2. r.composite problem (Tom James)
>   3. Re: qgis + grass-plugin = gdal-problem (update) (achim)
>   4. Re: qgis + grass-plugin = gdal-problem (update) (Otto Dassau)
>   5. How update vector layers? (Thyb?rio Luna Freire)
>   6. Re: How update vector layers? (Vincent Bain)
>   7. Re: How update vector layers? (Markus Neteler)
>   8. Re: How update vector layers? (Vincent Bain)
>   9. Re: How update vector layers? (Markus Neteler)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 07 Mar 2009 11:16:00 -0600
> From: "John R." <johnr  wowway.com>
> Subject: Re: [GRASS-user] v.external does not create vector layer
> To: Markus Neteler <neteler  osgeo.org>
> Cc: GRASS user list <grass-user  lists.osgeo.org>
> Message-ID: <49B2ABD0.1040200  wowway.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 08 Mar 2009 02:24:21 +0800
> From: Tom James <t.mattson.james  gmail.com>
> Subject: [GRASS-user] r.composite problem
> To: grass-user  lists.osgeo.org
> Message-ID: <49B2BBD5.2060203  gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> 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
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 07 Mar 2009 19:26:59 +0100
> From: achim <ak7  jupiter.uni-freiburg.de>
> Subject: Re: [GRASS-user] qgis + grass-plugin = gdal-problem (update)
> To: Otto Dassau <otto.dassau  gmx.de>
> Cc: grass-user  lists.osgeo.org
> Message-ID: <49B2BC73.8020202  jupiter.uni-freiburg.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> 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 <ak7  jupiter.uni-freiburg.de> 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
> >>>>> <nikos.alexandris  felis.uni-freiburg.de
> >>>>> <mailto:nikos.alexandris  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 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
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 7 Mar 2009 19:31:09 +0100
> From: Otto Dassau <otto.dassau  gmx.de>
> Subject: Re: [GRASS-user] qgis + grass-plugin = gdal-problem (update)
> To: grass-user  lists.osgeo.org
> Message-ID: <20090307193109.5674fe7a  nature>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi Achim,
>
> On Sat, 07 Mar 2009 19:26:59 +0100
> achim <ak7  jupiter.uni-freiburg.de> 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 <ak7  jupiter.uni-freiburg.de> 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
> > >>>>> <nikos.alexandris  felis.uni-freiburg.de
> > >>>>> <mailto:nikos.alexandris  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 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
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 7 Mar 2009 16:03:05 -0300
> From: Thyb?rio Luna Freire <thyberio  gmail.com>
> Subject: [GRASS-user] How update vector layers?
> To: grass-user  lists.osgeo.org
> Message-ID:
>        <9e23a6810903071103q6d6ed2f1y2637a0fba7f9640a  mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Vincent,
> I've tried the following command:
>
> v.patch -ae input=sugarcane,sugarcane_update output=sugarcane --o
>
> it returns:
> ERROR: Output vector map <sugarcane> 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
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.osgeo.org/pipermail/grass-user/attachments/20090307/223eaa93/attachment-0001.html
>
> ------------------------------
>
> Message: 6
> Date: Sat, 07 Mar 2009 21:00:21 +0100
> From: Vincent Bain <bain  toraval.fr>
> Subject: Re: [GRASS-user] How update vector layers?
> To: Thyb?rio Luna Freire <thyberio  gmail.com>
> Cc: grass-user  lists.osgeo.org
> Message-ID: <1236456021.22232.10.camel  vincent-desktop>
> Content-Type: text/plain; charset=utf-8
>
> 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 <sugarcane> 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
>
>
>
> ------------------------------
>
> Message: 7
> Date: Sat, 7 Mar 2009 21:02:12 +0100
> From: Markus Neteler <neteler  osgeo.org>
> Subject: Re: [GRASS-user] How update vector layers?
> To: Thyb?rio Luna Freire <thyberio  gmail.com>
> Cc: GRASS user list <grass-user  lists.osgeo.org>
> Message-ID:
>        <86782b610903071202g6ce5b400n8c300399b61b8094  mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sat, Mar 7, 2009 at 8:03 PM, Thybério Luna Freire <thyberio  gmail.com>
> 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 <sugarcane> is used as input
>
> You have to write the output to a new map name.
>
> Markus
>
>
> ------------------------------
>
> Message: 8
> Date: Sat, 07 Mar 2009 21:21:33 +0100
> From: Vincent Bain <bain  toraval.fr>
> Subject: Re: [GRASS-user] How update vector layers?
> To: Markus Neteler <neteler  osgeo.org>
> Cc: GRASS user list <grass-user  lists.osgeo.org>, Thyb?rio Luna Freire
>        <thyberio  gmail.com>
> Message-ID: <1236457293.22232.23.camel  vincent-desktop>
> Content-Type: text/plain; charset=utf-8
>
> 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 <
> thyberio  gmail.com> 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 <sugarcane> 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
> >
>
>
>
> ------------------------------
>
> Message: 9
> Date: Sat, 7 Mar 2009 21:28:41 +0100
> From: Markus Neteler <neteler  osgeo.org>
> Subject: Re: [GRASS-user] How update vector layers?
> To: Vincent Bain <bain  toraval.fr>
> Cc: GRASS user list <grass-user  lists.osgeo.org>, Thyb?rio Luna Freire
>        <thyberio  gmail.com>
> Message-ID:
>        <86782b610903071228g8977c78j4c236539e348808e  mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Sat, Mar 7, 2009 at 9:21 PM, Vincent Bain <bain  toraval.fr> 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
>
>
> End of grass-user Digest, Vol 35, Issue 21
> ******************************************
>
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20090307/097270b0/attachment-0001.html


More information about the grass-user mailing list