[osg-users] OSG KML I/O

47 views
Skip to first unread message

Mike Weiblen

unread,
Jan 21, 2008, 1:53:37 PM1/21/08
to OpenSceneGraph Users
Hi,

What the current state of KML content i/o for OSG? (Plugins,
converters, etc?)

Thanks
-- mew

_______________________________________________
osg-users mailing list
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Robert Osfield

unread,
Jan 21, 2008, 2:27:56 PM1/21/08
to OpenSceneGraph Users
On Jan 21, 2008 6:53 PM, Mike Weiblen <mwei...@zebraimaging.com> wrote:
> What the current state of KML content i/o for OSG? (Plugins,
> converters, etc?)

What do you mean by KML content i/o for OSG?

Kernel Mailing List is the only acronym I can think of for KML...

Robert.

Frank Bergmann

unread,
Jan 21, 2008, 2:44:13 PM1/21/08
to OpenSceneGraph Users
>
> What do you mean by KML content i/o for OSG?
>
> Kernel Mailing List is the only acronym I can think of for KML...
>

Most likely the google earth format is meant by this:

http://code.google.com/apis/kml/documentation/

might be interesting to see ...

cheers
Frank

Norman Vine

unread,
Jan 21, 2008, 2:50:59 PM1/21/08
to fber...@u.washington.edu, OpenSceneGraph Users
Frank Bergmann writes:
>
> >
> > What do you mean by KML content i/o for OSG?
> >
> > Kernel Mailing List is the only acronym I can think of for KML...
> >
>
> Most likely the google earth format is meant by this:
>
> http://code.google.com/apis/kml/documentation/
>
> might be interesting to see ...

OssimPlanet can parse/render a sizeable subset of KML

Cheers

Norman

Paul Speed

unread,
Jan 21, 2008, 3:03:03 PM1/21/08
to OpenSceneGraph Users
He's probably referring to the Google Earth mark-up language:
http://en.wikipedia.org/wiki/Keyhole_Markup_Language
http://code.google.com/apis/kml/documentation/

(Why K for "Keyhole"? Well, because that is the product that google
bought to make Google earth.)

I suppose it could be useful to have an OSG application read these
directly but I've always sort of seen it as an interchange format for
dealing with Google Earth, ie: you had something else and turned it into
KML. Seems to me that the "something else" is what you'd want to bring
into OSG. Of course, I know of at least a few places that are actually
developing geospatial content in KML. So it happens. <shrug> And is
probably off-topic anyway.

-Paul

Gordon Tomlinson

unread,
Jan 21, 2008, 3:07:52 PM1/21/08
to OpenSceneGraph Users
KML -> Keyhole Markup Language springs to mind

Buckley, Bob CTR MDA/IC

unread,
Jan 21, 2008, 3:12:38 PM1/21/08
to OpenSceneGraph Users
Classification: UNCLASSIFIED
Caveats: NONE


If I remember right, John Rohlf is the author of KML.
He, along with Jim Helman, are the fathers of the modern day Scene Graph
(i.e., Performer).
Ah, Geek Trivia!

-----Original Message-----
From: osg-user...@lists.openscenegraph.org
[mailto:osg-user...@lists.openscenegraph.org] On Behalf Of Paul
Speed
Sent: Monday, January 21, 2008 1:03 PM
To: OpenSceneGraph Users
Subject: Re: [osg-users] OSG KML I/O

-Paul

Classification: UNCLASSIFIED
Caveats: NONE

Antoine Hue

unread,
Jan 21, 2008, 3:33:49 PM1/21/08
to OpenSceneGraph Users
Mike Weiblen wrote:
> Hi,
>
> What the current state of KML content i/o for OSG? (Plugins,
> converters, etc?)
>
>
We load GPS-like data (tracks, POI) through GPSBabel in our application:
http://petit-poucet.org and use VPB to automatically generate terrain
from Landsat,SRTM,DRG,... around it.

It tends however to overload our app because each track point has a
caption text.

If somebody wants to contribute, you are very welcome.


Antoine

Gordon Tomlinson

unread,
Jan 21, 2008, 3:35:26 PM1/21/08
to OpenSceneGraph Users

Also there can be confusion with KML and COLLADA as these at times are used
interchangeably by some and it confuse the heck out of me

And KMZ files support both KML and DEA and lets not forget wonderful OGC and
its adoption of CityGML

Confusion rains on down .....................

So the question is does OSG have KML support currently or just COLLADA ??

Mike Weiblen

unread,
Jan 21, 2008, 10:02:14 PM1/21/08
to OpenSceneGraph Users
Yep, I was referring to the google earth fileformat. Just exploring the
options for geospatial content. Thanks for the leads everyone.

Cheers
-- mew


> -----Original Message-----
> From: osg-user...@lists.openscenegraph.org [mailto:osg-users-
> bou...@lists.openscenegraph.org] On Behalf Of Norman Vine
> Sent: Monday, January 21, 2008 1:51 PM
> To: fber...@u.washington.edu; 'OpenSceneGraph Users'
> Subject: Re: [osg-users] OSG KML I/O
>

Glenn Waldron

unread,
Jan 21, 2008, 11:11:57 PM1/21/08
to OpenSceneGraph Users
OGR has a driver for KML: http://www.gdal.org/ogr/drv_kml.html

I believe someone just submitted in a new OGR plugin. Check osg-submissions. -gw
--
Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791

Robert Osfield

unread,
Jan 22, 2008, 4:23:54 AM1/22/08
to OpenSceneGraph Users
On Jan 22, 2008 4:11 AM, Glenn Waldron <gwal...@gmail.com> wrote:
> OGR has a driver for KML: http://www.gdal.org/ogr/drv_kml.html
>
> I believe someone just submitted in a new OGR plugin. Check osg-submissions.

Yes, Cedric Pinson kindly submitted an OGR plugin, to use it you'll
need to preload the plugin via.

osgviewer -e shapefile.shp

I don't know if it'll handle KML though.

Robert.

Robert Osfield

unread,
Jan 22, 2008, 4:35:13 AM1/22/08
to OpenSceneGraph Users
On Jan 21, 2008 8:12 PM, Buckley, Bob CTR MDA/IC

<bob.buc...@mda.mil> wrote:
> If I remember right, John Rohlf is the author of KML.
> He, along with Jim Helman, are the fathers of the modern day Scene Graph
> (i.e., Performer).
> Ah, Geek Trivia!

Paul Speed


> He's probably referring to the Google Earth mark-up language:
> http://en.wikipedia.org/wiki/Keyhole_Markup_Language
> http://code.google.com/apis/kml/documentation/
>
> (Why K for "Keyhole"? Well, because that is the product that google
> bought to make Google earth.)

For those who love trivia, Don Burns used to work at Keyhole, in
between working at SGI and setting up Andes Engineering. I also
almost went to work at Keyhole... but decided to set up OpenSceneGraph
Prof. Serv. instead...

If I had you'd all have to be using Vega Prime, OpenSG or one of the
game engines by now!

Funny how the wobbly world goes around ;-)

Glenn Waldron

unread,
Jan 22, 2008, 8:04:03 AM1/22/08
to OpenSceneGraph Users
On Jan 22, 2008 4:23 AM, Robert Osfield <robert....@gmail.com> wrote:
On Jan 22, 2008 4:11 AM, Glenn Waldron <gwal...@gmail.com> wrote:
> OGR has a driver for KML: http://www.gdal.org/ogr/drv_kml.html
>
> I believe someone just submitted in a new OGR plugin. Check osg-submissions.

Yes, Cedric Pinson kindly submitted an OGR plugin, to use it you'll
need to preload the plugin via.

 osgviewer -e shapefile.shp

I believe that should read:

osgviewer -e ogr shapefile.shp

;) -gw
Reply all
Reply to author
Forward
0 new messages