google-earth

How to upload 3D model data to Google Maps/Earth?

依然范特西╮ 提交于 2019-12-12 04:43:43
问题 I've been looking into contributing 3D data to Google Maps/Earth. I am not entirely clear how to go about doing this (In this instructions they have explained how to go about it but in the link with the form to get started they seem to suggest that only organizations can contribute). To start with, I need to clarify the following: I am not part of any organization. I have some 3D models of buildings in my city. Do I have to be connected to some organization in order to contribute? And if the

KML gx:Track Network Link updates

我与影子孤独终老i 提交于 2019-12-12 04:04:42
问题 I am using a Network Link and Network Link Control to add coordinates to a gx:Track. I know that the network link is working because it changes other updates that I needed to make, but it doesn't change the gx:Track at all. And by that I mean that new coordinates do not get added to the track. Here is my code that the updates get tacked onto: <Folder id="movement"> <name>Position</name> <Placemark id="known_mov"> <name>Known Position - movement</name> <description>position according to GPS

KML Entity Replacement in BalloonStyle Fails in GoogleMaps, But Not GoogleEarth

爱⌒轻易说出口 提交于 2019-12-11 10:02:49
问题 Spent way too many hours debugging KML from within GEarth vs. Google Maps. Can someone give me a hint on why the following 'Entity Replacement' below works fine in GE but fails in GMaps. I ran XMLValidate and the file is fine, but the tags in [CDATA] don't get replaced by GoogleMaps API, only in GEarth. I read the Best Practices KML docs on BalloonStyle entity replacement, and the mind-numbing description in the OGC KML 2.2 standard and tuned and trimmed the file, but I'm still stumped. I can

Google Earth API - drawing lines that curve?

让人想犯罪 __ 提交于 2019-12-11 08:17:03
问题 I've been playing with the google earth API. I thought it would be neat to draw some lines between places from a relative 3D viewpoint. I've searched through the GE documentation and searched on google for answers but didn't find anything that led me down the correct path, so I thought I'd post some code and perhaps get some insight. The following code plots two places and then draws a line between those places. Unfortunately the line that gets drawn splices the earth. Is there a method to

Google Earth - Balloon at launch

百般思念 提交于 2019-12-11 07:16:20
问题 When I open a KML file I would like to have an image/details display in a pop-up balloon automatically. Typically the user has to physically click the folder/image for the pop-up to appear. Is there any code that would allow me to have the balloon appear once the KML is launched? I know how to add an screen overlay and have that appear on the middle of the screen at launch, but you cannot remove it off the screen unless you check it off in the sidebar. Thanks! 回答1: Google provides a few

dynamic content in kml balloon from url

余生长醉 提交于 2019-12-11 05:22:57
问题 I have a server that is serving up an xhtml page with all of the content I want displayed in my google earth (or worldwind) balloon. I would like the placemark balloon to fetch the html page when it is clicked on the map. To make it simple, I want my balloon to be www.yahoo.com when you click it from the map. Any searching online sends me to java code that can hook into the google earth api. I am really hoping there is a client side kml way to do this. Is there an extended data tag or

percent-encoded URLs are mangled by Google Earth

混江龙づ霸主 提交于 2019-12-11 03:18:44
问题 In a KML file for Google Earth consumption I am using Google Charts dynamic icons whose URLs contain percent-encode characters, e.g., this one. As can be seen by intercepting network calls, the %E2%80%A2 (bullet character) is mangled by Google Earth into %C3%A2%C2%80%C2%A2, which causes the icon retrieval to fail. The problem is that the KML spec is extremely vague: of the IconStyle Icon href element it will only say that it is "an HTTP address [...] used to load an icon". So, can any Googler

Using jQuery to extract CDATA in XML for use as HTML content

末鹿安然 提交于 2019-12-11 03:04:10
问题 I am retrieving a Google Earth .kml (xml) file and using the content to place markers in Google Maps. The particular XML tags I am interested in look like: <Placemark> <name>Bahamas-LSI</name> <description><![CDATA[ <img src="http://coralreefwatch.noaa.gov/satellite/ge/data/current/vs_Bahamas_LSI.bmp"> <p> - <a href="http://coralreefwatch.noaa.gov/satellite/virtual_stations/greater_caribbean.html#Bahamas_LSI"> SST/DHW time series</a>. <p> - E-mail coralreefwatch@noaa.gov to subscribe free<br

Distance from long lat line segment wrong over long distances [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-11 00:40:42
问题 This question already has answers here : Calculate possible lines from points (2 answers) Closed 5 years ago . I am calculating how far away a point is from a line segment on the earth. My function seemed to work, but as i've increased the distances it's clear it's not working. I presume this is due to the curvature of the earth. In my calculations Rome is shown as 5km from the line: London, UK - 0km Rome, Italy - 5km Cyrene, Libya - 0km But on Google Earth it's actually more like 61km When I

Google Earth will not open links in KML that have spaces

天涯浪子 提交于 2019-12-10 19:43:57
问题 I am creating KML files from an ArcMap layer that uses XSLT to generate an HTML popup with custom links to file folders. Some of these links have embedded spaces. When I try to open these links in Google Earth, it does nothing. I have tried encoding spaces as %20 and still GE will not open them. It opens links without spaces just fine. Here is a link from my KML that works fine: <a target="_blank" href="file:///C:/Land/ce">Central Wildlife District</a> Here are a couple that don't: <a target=