kml

Moving a camera along a path in KML

Hi, I'm trying to generate KML(using JAK) that will contain first person perspective animation from my GPS data. So I have collection of points (long, lat) sorted by timestamps and I would like to iterate over it and crate series of <gx:FlyTo> nodes. Unfortunately camera doesn't move as I expected :(. My current algorithm: find beari...

Client-side Google Earth + JS; server-side Java package

I'm trying to wrap my head around the proper architecture for a demo app that uses Google Earth. I'd appreciate any suggestions, as I'm new to this! The web page should: display a Google Earth globe allow for the user to select certain objects (KML) to be visible interactively (checkboxes, buttons etc) What I have: a Java package ...

google earth unfilled polygon

I know this isn't exactly a programming question, but there may be some libraries/algorithms to do this, so I thought I could get a good answer. I have a polygon in google earth kml that I Want to make unfilled. I can do that by nesting 2 polygons, the inner being slightly smaller than the outer. Is there a way to dynamically determine t...

Google maps kml layer

Hi, my code is: var ctaLayer = new google.maps.KmlLayer( 'http://.../per1.kml', {suppressInfoWindows: true}); ctaLayer.setMap(map); var info_percurso = new google.maps.InfoWindow({ content: 'hi' }); google.maps.event.addListener(ctaLayer, 'click', function() { info_percurso.open(map,ctaLayer); alert("dd"); }); ...

Using MKMapView with kml files

Just wondering whats the best way to approach this ? I've looked around for source code to gain an understanding of how this is done. But there is very little out there Any advice. Thanks. ...

How kml file works.......

Can I use run time coordinates in kml file, if so how and plz give me simple example how to fetch value for that? I'm wating for answer.......... ...

Parse kml example?

Hey just wondering if there was an example anywhere to do this ? I know KML is just like XML and can be treated the same. Also I know you can use NSXMLParser , and this is a great example for XML http://www.iphonesdkarticles.com/2008/11/parsing-xml-files.html ...

Merging Multiple KML Files

I cannot find a script to easily merge kml files; any ideas? Ideally I'd like something along the lines of kmlmerge $file $file, as I'm already working on a shell script for managing multiple kismet drone nodes. ...

What's the secret to hosting custom KML for use in Google Maps Mobile?

I am new to Android and so I may be missing some very basic things here. I am trying to host custom KML files on a server behind my firewall and display those KML files on the Android emulator. I started by writing a simple app that uses an Intent to display the overlay and pointing the app at geo:0,0?q=http://code.google.com/apis/kml/...

NSXMLDocument: missing nodes

I'm trying to parse some placemarks on a Google Earth .kml file. I'm creating the document, and going through the placemarks, and I'm able to access all placemark names, but I can't access their descriptions: for (NSXMLNode *placemark in nodes) { NSArray *elements = [placemark nodesForXPath: @"name" error:&err]; NSXMLNod...

Host and load KML File in Flex project (IGN)

Hi, I'm looking at a tutorial to display placemarks using a KML file on a flex application. I'm using IGN API (openscales) in flex project. The example works perfectly (http://openscales.org/userguide/examples/srcview/source/KMLExample.mxml. <os:KML url="http://www.parisavelo.net/velib.kml" proxy="http://openscales.org...

How can I show subtitles in Google Earth using some sort of overlay?

I'm quite new to programming Google Earth with KML but I've been asked to look into showing subtitles on top of a Google Earth fly-through. I see that there are several types of overlays, but they all seem to assume an image. ScreenOverlay looks like the best bet, as the imagine is displayed relative to the screen, not the globe, but tha...

Prism map on point data in Google Earth?

Is it possible to generate a prism map on point data? I have a certain time duration/delay on each point. All I want is to generate a KML file giving (lat, lon, time) on each point and view that in Google Earth on a certain scale. I have found this example but it's on polygon data not only point data. ...

Google Maps kml files

If I use an embeded google map in my website, will the data contained in an kml displayed be publicly viewable? Will it be possible for the user to access just the data displayed (i.e., not the user interface) or would I have to provide that separately? ...

How do I add an extension to the response name returned from a grails render method?

I am trying to develop a grails application that returns kml (to be viewed in Google Earth) using the controller code snippet below. render(contentType: "application/vnd.google-earth.kml+xml", view:"kml", model:[feeds: feeds, feedColors: feedColors]); This works great...but Google Earth does not open the response until it is fi...

Common Markup Language for Address/Location

I'm looking for a standard markup language to transmit addresses (locations). I really need nothing more complicated than a list of addresses with some metadata, each requiring a name, address, state, phone, email, geocoordinates, and some other metadata. I don't want to have to parse these addresses into their constituent parts; I nee...

Upload KML file into database and display on OpenLayers Map

Hi, I want to create a simple form on my wordpress site so that people can upload KML files which will then be stored in the db and the route shown on on openlayers map - openstreetmap. The project is for a hiking site for storing hiking routes. Any docs for this/ forums / advice. I'm completely new to this map stuff. Cheers Andy ...

GEvent over kml

if I catch polygons in a kml with geoXml = new GGeoXml("http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml"); how I can applicate listerners (onclick,overmouse,etc) over this polygons? ...

Loading a local .kml file using google maps?

I created a hello world program to load a local kml file (borrowed from google's docs): var ctaLayer = new google.maps.KmlLayer("http://localhost:8080/kml/cta.kml"); This does not work (nothing gets loaded). However, when I change that line to: var ctaLayer = new google.maps.KmlLayer("http://gmaps-samples.googlecode.com/svn/trunk/...

how to insert some markers (json format ) to map using google maps v3 .

i follow this article i find can use kmllayer to insert kml or georss , like this : var myLatlng = new google.maps.LatLng(49.496675,-102.65625); var myOptions = { zoom: 4, center: myLatlng, mapTypeId: google.maps.MapTypeId.ROADMAP } var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions); var georssLaye...