📄 drv_kml.html
字号:
<html><head><title>KML - Keyhole Markup Language</title></head><body bgcolor="#ffffff"><h1>KML - Keyhole Markup Language</h1><p>OGR has limited support for KML writing and no supportfor reading KML. OGR generates KML 2.0. The KML driver has no coordinate system support at this time.<p><h2>Creation Issues</h2><p>KML is mix of formatting and feature data. When writing KML, attributes are added tothe output with the following HTML structure:<pre><b>Attribute name</b>: Attribute content</pre></p><p>The OGR KML driver supports multiple layers of data. Each input layer is translated into a separate KML "Folder" element.</p><h2>Creation Options</h2><p>The following creation options are supported:<ul><li><b>NameField</b>: Allows you to specify the field to use for the KML <name> element.<pre>ogr2ogr -f KML output.kml input.shp -dsco NameField=RegionName</pre></li></ul></p><h2>Example</h2>The ogr2ogr utility can be used to dump the results of a PostGIS query toKML:<pre>ogr2ogr -f KML output.kml PG:'host=myserver dbname=warmerda' -sql "SELECT pop_1994 from canada where province_name = 'Alberta'"</pre></p><h2>See Also</h2><ul><li> <a href="http://earth.google.com/kml/kml_intro.html">KML 2.0 Specification</a></li><li> <a href="http://www.keyhole.com/kml/kml_tut.html">KML 2.0 Tutorial</a></li></ul></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -