Talk:Keyhole Markup Language

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Google (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Google, a collaborative effort to improve the coverage of Google and related topics on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 
WikiProject Maps (Rated Start-class, Low-importance)
WikiProject icon This article is within the scope of WikiProject Maps, a collaborative effort to improve the coverage of Maps and Cartography on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Start-Class article Start  This article has been rated as Start-Class on the project's quality scale.
 Low  This article has been rated as Low-importance on the project's importance scale.
 
Note icon
This article has been automatically rated by a bot or other tool because one or more other projects use this class. Please ensure the assessment is correct before removing the |auto= parameter.
This article had an importance automatically assigned to it. Once it has been checked by a human, please remove |autoi=yes.

how to achieve compression[edit]

Any idea how to achieve compression with PHP?

I tried



//....creation of file, everything in $kml....

//works fine
if ($filetype=="kml"){
        header("Content-type: application/vnd.google-earth.kml+xml");
        echo $kml;
}

//gives parse error
if ($filetype=="kmz"){
        header("Content-type: application/vnd.google-earth.kmz");
        $kmz=gzencode ( $kml );
        echo $kmz;
}

Tobias Conradi (Talk) 5 July 2005 14:15 (UTC)

how do u add your placemark to the keyhole bbs info thing with the i.? does understand what im asking? —The preceding unsigned comment was added by 68.33.97.248 (talkcontribs) .

Hastines Pedro (Talk) 21 April 2007 14:15 (UTC) Which HTML TAGS ARE ALLOWED IN KML? —The preceding Bunch of goofy code

move?[edit]

The list of alternative meanings in See also lends itself towards this article being moved to Keyhole Markup Language, and a replacement disambig page being created. Does anyone object to that move? Jayvdb 13:50, 21 August 2006 (UTC)

  • good idea. I did it. Hope this was ok. Added more other meanings. Tobias Conradi (Talk) 14:08, 21 August 2006 (UTC)

change first line?[edit]

is KML an XML-based markup language or is it really an XML schema or something different? Emcaulay (talk) 23:59, 27 November 2007 (UTC)

Tilt??[edit]

The list of optional elements includes tilt, which is a hot link to a disambiguation page. That in itself is lame. But none of the entries on that disambiguation page even seems relevant to KML. That makes this reference to tilt practically indefensible. If there's anybody who does know what is intended by the reference, I encourage them to fix this problem.—PaulTanenbaum (talk) 14:33, 14 November 2008 (UTC)

Looks like someone has fixed the specific problem mentioned.
From [ https://developers.google.com/kml/documentation/kmlreference ]:
Elements Specific to LookAt:
<longitude>
Longitude of the point the camera is looking at. Angular distance in degrees, relative to the Prime Meridian. Values west of the Meridian range from −180 to 0 degrees. Values east of the Meridian range from 0 to 180 degrees.
<latitude>
Latitude of the point the camera is looking at. Degrees north or south of the Equator (0 degrees). Values range from −90 degrees to 90 degrees.
<altitude>
Distance from the earth's surface, in meters. Interpreted according to the LookAt's altitude mode.
<heading>
Direction (that is, North, South, East, West), in degrees. Default=0 (North). (See diagram below.) Values range from 0 to 360 degrees.
<tilt>
Angle between the direction of the LookAt position and the normal to the surface of the earth. (See diagram below.) Values range from 0 to 90 degrees. Values for <tilt> cannot be negative. A <tilt> value of 0 degrees indicates viewing from directly above. A <tilt> value of 90 degrees indicates viewing along the horizon.
<range> (required)
Distance in meters from the point specified by <longitude>, <latitude>, and <altitude> to the LookAt position. (See diagram below.)
<altitudeMode>
Specifies how the <altitude> specified for the LookAt point is interpreted. Possible values are as follows:
clampToGround - (default) Indicates to ignore the <altitude> specification and place the LookAt position on the ground.
relativeToGround - Interprets the <altitude> as a value in meters above the ground.
absolute - Interprets the <altitude> as a value in meters above sea level.
<gx:altitudeMode>
A KML extension in the Google extension namespace, allowing altitudes relative to the sea floor. Values are:
relativeToSeaFloor - Interprets the <altitude> as a value in meters above the sea floor. If the point is above land rather than sea, the <altitude> will be interpreted as being above the ground.
clampToSeaFloor - The <altitude> specification is ignored, and the LookAt will be positioned on the sea floor. If the point is on land rather than at sea, the LookAt will be positioned on the ground.

--Guy Macon (talk) 09:03, 16 September 2012 (UTC)

Notable? NOAA use?[edit]

NOAA now has a link to KML on their weather radar pages. This seems notable to me but I don't see where to fit it into the article. Hints, anyone? thanks Tzf (talk) 18:36, 23 December 2012 (UTC)