[GRASS-user] v.in.ogr driver for .kml
Gerald Nelson
gnelson at uiuc.edu
Mon Jun 4 12:40:23 EDT 2007
I don't know but it seems unlikely. kml is actually just xml with a k in the suffix. You can open the file in a text editor. Similarly a kmz file is just a zip file that includes a kml file and any image files that are displayed. The kml specification can be found at google's website. Basically what it does for images is give x-y coordinates for a png or jpg file. For vectors it displays a list of x-y values and a couple of other parameters (things like whether the vector is fixed to the ground or has a positive elevation.
Hope that helps. Jerry
---- Original message ----
>Date: Mon, 04 Jun 2007 18:04:17 +0200
>From: Jorge Echeverri <jorge.echeverri at Stein.de>
>Subject: [GRASS-user] v.in.ogr driver for .kml
>To: grassuser at grass.itc.it
>
> Hi everybody,
>
> Does any body know, whether there is a driver for
> importing .kml data into GRASS?
>
> The supported drivers seem to be
> ditribution-depending, mine is V. 6.2.1 for Linux
> Suse 10.2??
>
> Thanks
>
> Jorge
>
> Am Montag, den 04.06.2007, 12:53 +0200 schrieb
> grassuser-request at grass.itc.it:
>
> Send grassuser mailing list submissions to
> grassuser at grass.itc.it
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://grass.itc.it/mailman/listinfo/grassuser
> or, via email, send a message with subject or body 'help' to
> grassuser-request at grass.itc.it
>
> You can reach the person managing the list at
> grassuser-owner at grass.itc.it
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of grassuser digest..."
>
>
> Today's Topics:
>
> 1. PD: PD: [GRASS-user] problem with display monitors on mac
> (Maciej Tomaszczyk)
> 2. PD: PD: [GRASS-user] problem with display monitors on mac
> (Maciej Tomaszczyk)
> 3. Re: PD: PD: [GRASS-user] problem with display monitors on mac
> (William Kyngesburye)
> 4. Re: wxgrass: porblem with combo (Jaros?aw Jasiewicz)
> 5. Re: wxgrass: porblem with combo - posible reason (Hamish)
> 6. Re: Some questions (Hamish)
> 7. Re: Some suggestions (Hamish)
> 8. Empty vector file and v.db.addtable (Aldo Clerici)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 3 Jun 2007 23:43:42 +0200
> From: "Maciej Tomaszczyk" <mtom at pgi.gov.pl>
> Subject: PD: PD: [GRASS-user] problem with display monitors on mac
> To: <grassuser at grass.itc.it>
> Message-ID: <F9B400A094F20D4099A61B6F240C4D601D3100 at wa039c8.PGI.LOCAL>
> Content-Type: text/plain; charset="iso-8859-2"
>
> >How is mine broken after installing Lorenzo's?
>
> Welcome to Darwin!
> /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
> trolls-computer:~ troll$ /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh; exit
> usage: dirname path
> cut: /etc/VERSIONNUMBER: No such file or directory
> /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 80: /etc/build_html_user_index.sh: No such file or directory
> /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: /etc/Init.sh: No such file or directory
> /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh: line 86: exec: /etc/Init.sh: cannot execute: No such file or directory
> logout
> [Process completed]
>
> -----<
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am. Or in my case - I am, therefore I ache."
>
> - Marvin
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://grass.itc.it/pipermail/grassuser/attachments/20070603/52708a73/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Mon, 4 Jun 2007 00:02:44 +0200
> From: "Maciej Tomaszczyk" <mtom at pgi.gov.pl>
> Subject: PD: PD: [GRASS-user] problem with display monitors on mac
> To: <grassuser at grass.itc.it>
> Message-ID: <F9B400A094F20D4099A61B6F240C4D601D3102 at wa039c8.PGI.LOCAL>
> Content-Type: text/plain; charset="iso-8859-2"
>
> i managed to run X11 grass, now everything work ok:)
> thx for help
> next time i should read install manual before i say "it doesnt work":)
> best regards
>
> Maciej Tomaszczyk
> Polish Geological Institute
> Geological Mapping Department
>
>
>
> -----Wiadomo oryginalna-----
> Od: William Kyngesburye [mailto:woklist at kyngchaos.com]
> Wysano: N 2007-06-03 21:41
> Do: Maciej Tomaszczyk
> DW: grassuser at grass.itc.it
> Temat: Re: PD: [GRASS-user] problem with display monitors on mac
>
> On Jun 3, 2007, at 1:43 PM, Maciej Tomaszczyk wrote:
> > I tried to run grass with X11 and got the same error. There is a
> > problem with nviz also.
> > I installed Lorenzo binaries becouse i want run qgis in grass.
> > Before, i used binaries provided by you
> > but qgis did not work in grass. Now i have full functionality of
> > qgis but dont have d.m and nviz.
> Mine should run fine WITH Qgis, but I'm not sure about running Qgis
> from WITHIN my GRASS. I usually (when I use Qgis, which is seldom)
> run Qgis and open GRASS mapsets from there. How doesn't it work
> running Qgis from GRASS? You might ask the list, there are other Mac
> users who use Qgis and GRASS who might be able to help.
>
> If it's just a matter of not finding Qgis from the GRASS Terminal,
> then it just means you need to specify the path to the Qgis
> executable, inside the Qgis app package. I think Lorenzo added a
> script to simplify this.
>
> > Is it possible to install both version of grass(your and Lorenzo).
> > After i installed Lorenzos binaries
> > yours stoped work.
> >
> Well, they are physically separate, so it's possible Lorenzo's
> installer did something to your .bash_profile that is interfering
> with mine running. How is mine broken after installing Lorenzo's?
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "I ache, therefore I am. Or in my case - I am, therefore I ache."
>
> - Marvin
>
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://grass.itc.it/pipermail/grassuser/attachments/20070604/9e240da1/attachment-0001.html
>
> ------------------------------
>
> Message: 3
> Date: Sun, 3 Jun 2007 17:22:10 -0500
> From: William Kyngesburye <woklist at kyngchaos.com>
> Subject: Re: PD: PD: [GRASS-user] problem with display monitors on mac
> To: Maciej Tomaszczyk <mtom at pgi.gov.pl>
> Cc: grassuser at grass.itc.it
> Message-ID: <D44FEF0A-C295-4043-BD08-ECAF222F3B56 at kyngchaos.com>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> On Jun 3, 2007, at 4:43 PM, Maciej Tomaszczyk wrote:
> > >How is mine broken after installing Lorenzo's?
> >
> > Welcome to Darwin!
> > /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/Contents/Resources/grass.sh;
> > exit
> > trolls-computer:~ troll$ /Volumes/GRASS.app\ 6.3.CVS/GRASS.app/
> > Contents/Resources/grass.sh; exit
> > usage: dirname path
> > cut: /etc/VERSIONNUMBER: No such file or directory
> > /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh:
> > line 80: /etc/build_html_user_index.sh: No such file or directory
> > /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh:
> > line 86: /etc/Init.sh: No such file or directory
> > /Volumes/GRASS.app 6.3.CVS/GRASS.app/Contents/Resources/grass.sh:
> > line 86: exec: /etc/Init.sh: cannot execute: No such file or directory
> > logout
> > [Process completed]
> >
> Ah, you moved my GRASS before installing Lorenzo's? I had a quoting
> problem in the OSX startup that is fixed in recent versions. Older
> versions of 6.3CVS and I think all 6.2 versions also have a problem
> running the GUI when there is a space in the path - there was a
> quoting problem that was fixed, and I don't know if it was backported
> to 6.2. My recent 6.3 CVS build should be fine with this. 6.2.x
> kinda runs - the GUI won't start (I think that was the problem).
>
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> Earth: "Mostly harmless"
>
> - revised entry in the HitchHiker's Guide to the Galaxy
>
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 04 Jun 2007 10:03:25 +0200
> From: Jaros?aw Jasiewicz <jarekj at amu.edu.pl>
> Subject: Re: [GRASS-user] wxgrass: porblem with combo
> To: Michael Barton <michael.barton at asu.edu>
> Cc: grassuser at grass.itc.it
> Message-ID: <4663C74D.1060202 at amu.edu.pl>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Michael Barton napisa(a):
>
> >Jarek,
> >
> >
> >On 6/2/07 8:11 AM, "Jarek Jasiewicz" <jarekj at amu.edu.pl> wrote:
> >
> >
> >
> >>Hi
> >>That problem was described on FreegeoCZ, but I have problem with some
> >>Czech words :))
> >>
> >>
> >>on ubuntu feisty with wxWidgeds installed from repository:
> >>generally after when wxgrass is started I have the message:
> >>
> >>Traceback (most recent call last):
> >> File "/usr/local/grass-6.3.cvs/etc/wx/wxgui.py", line 29, in <module>
> >> import wx.combo
> >>ImportError: No module named combo
> >>
> >>
> >
> >See a bit below.
> >
> >
> >
> >>generally:
> >>
> >>wxGRASS have started in recent (btw: congratulations, intuitive fast
> >>interface, and times faster display!!!!!)
> >>
> >>
> >
> >Thanks. And thanks for going to the trouble of testing this.
> >
> >
> >
> >>some elemenst works, some not (I know, it is in early development stage)
> >>but in next start mentioned message appeared.
> >>
> >>Meanwhile I tried (without success) compile Ggis with Python support.
> >>Because there were problems in finding Python Include dir, I make some
> >>changes in ld.conf.so (path to Python2.4 includes needded by qgis). I
> >>cancelled all the changes (and run ldconfig, of course)
> >>
> >>
> >
> >This is not necessary for the wxPython gui. It is only needed if you want to
> >use the Python SWIG interface.
> >
> >
> >
> >>Generaly, it worked, and without any particular reasons have stopped.
> >>Any ideas??
> >>
> >>I have wx installed in /usr/include/wx-2.8/wx it is 2.8.1. version
> >>I have both python 2.4 and 2.5 installed in /usr
> >>
> >>
> >
> >This could be a problem. You can have multiple pythons installed, but only
> >one will be the default. I (and at least some others) are currently using
> >2.5 for development, but trying to maintain 2.4 compatibility. So either one
> >should be OK for the wxgrass gui.
> >
> >You mention in another post that you have wxPython 2.6 and 2.8 installed.
> >This will almost certainly be a problem unless 2.8.x is your default. This
> >is probably the source of the error with wx.combo--a module that comes with
> >2.8. These are in ../wx/lib and need to be in your python path. I don't know
> >if wxPython 2.6 can be in your python path without causing problems.
> >
> >Michael
> >__________________________________________
> >Michael Barton, Professor of Anthropology
> >School of Human Evolution & Social Change
> >Center for Social Dynamics & Complexity
> >Arizona State University
> >
> >phone: 480-965-6213
> >fax: 480-965-7671
> >www: http://www.public.asu.edu/~cmbarton
> >
> >
> >
> Thanks Michel
>
> I tested it more, and I confirm: having 2.6 cousing problmes with
> wx.combo, but this not allow install aplications depending on wxPython2.6
> The only solution is to install 2.6 on very fresh system, next 2.8 next
> other aplication. But At least two aplications on Ubuntu installed from
> repos (for examle wxGlade and pgAdmin3 if installed after) made wx2.6
> default
>
> I don't know if idea of depending wxGRASS on at least 2.8.1 is good idea
> (I red this in last Jachym article on his page). Generally most ubuntu
> application are dependend on wx2.6. I don't know if following example is
> good but may give you addational asspumtion:
> Probably every grass user know pgadmin3 (postgreSQL manager) for now in
> ubuntu repositories is version 1.4.3 depending on wx2.6. I asked
> developers why not 1.6.1 wchich is more advanced. It is because, 1.6.1
> is dependend on wx2.8, ad as long as they will not be sure if wx2.8 is
> fully compatibile with other aplications they will not add 1.6.1
>
> that all I can say
>
> greetings and tahnks for all your effort on new (and better) grasss
> interface
>
> BTW: I sbscribed grassgui list so next massages on wxGRASS I will post there
>
> Jarek
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 4 Jun 2007 20:58:37 +1200
> From: Hamish <hamish_nospam at yahoo.com>
> Subject: Re: [GRASS-user] wxgrass: porblem with combo - posible reason
> To: Jarek Jasiewicz <jarekj at amu.edu.pl>
> Cc: grassuser at grass.itc.it
> Message-ID: <20070604205837.4a52dc6b.hamish_nospam at yahoo.com>
> Content-Type: text/plain; charset=US-ASCII
>
> Jarek Jasiewicz wrote:
> > possible reason problme occures when both wxPython 2.6 and 2.8 are
> > installed. Some aplications requiers wx2.6 as thier dependiency
> > If only 2.8 is installed wxgrass works
> > I don't know if it is the reason but it occurs
> > maybe it is if 2.6 is installed AFTER 2.8?
>
>
> from my very small understanding of wx, the differences between 2.6 and
> 2.8 are small*, so aplications which require wx2.6 should be quickly
> ported to 2.8, and the problem goes away.
>
> [*] vs. 2.4->2.6 or 2.8->+; ie the 2.8 release was more of a "finish
> 2.6" release than a full new feature release.
>
>
> but just my impression,
> Hamish
>
>
>
> ------------------------------
>
> Message: 6
> Date: Mon, 4 Jun 2007 21:32:32 +1200
> From: Hamish <hamish_nospam at yahoo.com>
> Subject: Re: [GRASS-user] Some questions
> To: Martin Besta <martin.besta at googlemail.com>
> Cc: grassuser at grass.itc.it
> Message-ID: <20070604213232.32645b0a.hamish_nospam at yahoo.com>
> Content-Type: text/plain; charset=US-ASCII
>
> Martin Besta wrote:
> >
> > When I am executing v.overlay (to clip my map with boundary line) I
> > recieve always the clipped line (ainput is line, binput is area),
> > however I need the polygon. When I switched first and second input
> > layer, I had recieved an empty layer.
>
> note features to be considered should have some cat value. (v.category)
>
> > A little problem I have with v.buffer...the output is without attribut
> > table.
>
> v.buffer can't transfer the attribute as a new area may be from the
> overlap of two original areas with different attributes. (this was
> buried in the help page, I've just made it more visible)
>
>
> > I was trying first v.buffer, then v.db.addtable and finaly v.overaly
> > intersect with input line for buffer. But then is the output line
> > again.
>
> can you reproduce the effect using the demo spearfish dataset, and post
> the command line commands?
>
> > The problem with the spatial dissolve I did with the conversion to
> > raster and raster to vector again. Every raster cell has value from
> > the attribut (biotop code in my layer) and the conversion to vector
> > again dissolved all other lines, only polygons boundaries stay on.
>
> glad you found something that worked; it would be nicer to not need the
> conversion from v->r->v of course.
>
> v.distance might help for reconnecting attributes.
>
>
> Hamish
>
>
>
> ------------------------------
>
> Message: 7
> Date: Mon, 4 Jun 2007 21:56:13 +1200
> From: Hamish <hamish_nospam at yahoo.com>
> Subject: Re: [GRASS-user] Some suggestions
> To: micha at arava.co.il
> Cc: grassuser at grass.itc.it, grassgui at grass.itc.it
> Message-ID: <20070604215613.15cc51b7.hamish_nospam at yahoo.com>
> Content-Type: text/plain; charset=US-ASCII
>
> > Micha Silver wrote:
> ..
> > > First: the overall structure of the application windows. I find it
> > > bothersome and un-intuitive having several overlapping windows to
> > > deal with.
>
> Michael:
> > Users commenting wanted the option of being able to keep properties
> > dialogs open if desired so that they could quickly alter properties,
> > redisplay, alter properties in another, redisplay, etc. This means
> > that it is up to the user to close properties dialogs and reduce
> > screen clutter, but offers more flexibility.
>
> could there be a "keep alive" checkbox in the module GUI windows that
> would ^Z,bg fork the window when [Run] was hit? Otherwise the GUI closes
> after a "Operation Complete" [Ok] dialog.
> ?
>
> > The second has one extra window (layer manager), but leaves
> > more room in the display window for map display. GRASS has long
> > followed the second model. It is a bit more cluttered if you are
> > looking at one map, but less so if you are looking at more than one.
>
> back to the idea of start with one window but allow tear-away. I expect
> folks with multi-head displays will want the map display in a window in
> one monitor and the controls in the other (original GRASS design AFAIK),
> without having to tear-away manually each time. no idea what support is
> like for this in wxPython.
>
> > > Second: Currently (tcl/tk) the menu items appear as a long string
> > > describing what each command does.
>
> AFAIK tcl does not allow tooltips on menu items. Maybe this is different
> for wxPython? Note the command name shows up on the bottom line of the
> GIS Manager window as you pass through the menus.
>
>
> > > Third: I'd like to see a fully interactive terminal window as part
> > > of the main application window.
> ..
> > Currently, you have most of what you are asking for in the TclTk
> > console
>
> suggestion: the "Output" window's interactive box (lower) should have
> some caption indicating its existence, or include a prompt GRASS> + take
> [Enter] to mean Run. see the GRASS prompt in the QGIS grass toolbox.
>
>
> > What is missing is a fully interactive terminal--one that will prompt
> > you for entries and you can respond.
>
> Do you mean like:
> GRASS_UI_TERM=1 i.landsat.rgb
> does, but output to tcl/python code not in the xterm?
>
>
> Hamish
>
>
>
> ------------------------------
>
> Message: 8
> Date: Mon, 4 Jun 2007 12:51:24 +0200
> From: "Aldo Clerici" <alcl01 at unipr.it>
> Subject: [GRASS-user] Empty vector file and v.db.addtable
> To: <grassuser at grass.itc.it>
> Message-ID: <031801c7a696$4bcb5330$98264ea0 at GEO.UNIPR.IT>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear GRASSusers,
>
> I have two questions (GRASS6.2.2):
>
>
>
> 1) Is the v.db.addtable available through the GIS Manager (I wasn't able to
> find it). Or it can be used only in command line mode (GRASS prompt)?
>
>
>
> 2) How can I produce an empty vector file? I would like to connect a couple
> of tables to it before start digitizing. I know it can be created by
> entering and exiting v.digit without digitizing anything, but I wonder if
> there is a more direct and specific way to do it.
>
>
>
> Many thanks in advance
>
>
>
> A. Clerici
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://grass.itc.it/pipermail/grassuser/attachments/20070604/a41c1ee3/attachment.html
>
> ------------------------------
>
> _______________________________________________
> grassuser mailing list
> grassuser at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grassuser
>
>
> End of grassuser Digest, Vol 14, Issue 5
> ****************************************
>
> Jorge Echeverri, BSc Civ. Eng.
>
> S & P CONSULT GMBH
> Technologiequartier
> Konrad-Zuse-Str. 6
> D-44801 Bochum, Germany
> Gescha:ftsfu:hrer: Dipl.-Ing. Robert Stein
> Registergericht: Amtsgericht Bochum HRB 10769
>
>
> Phone: +49(0) 234 51 67 193
> Fax: +49(0) 234 51 67 109
>
> Email: jorge.echeverri at stein.de
> Internet: www.stein.de
> E-learning: www.unitracc.de
>________________
>_______________________________________________
>grassuser mailing list
>grassuser at grass.itc.it
>http://grass.itc.it/mailman/listinfo/grassuser
Gerald Nelson
Professor, Dept. of Agricultural and Consumer Economics
University of Illinois, Urbana-Champaign
office: 217-333-6465
cell: 217-390-7888
315 Mumford Hall
1301 W. Gregory
Urbana, IL 61801
More information about the grass-user
mailing list