- GeoServer Beginner's Guide(Second Edition)
- Stefano Iacovella
- 268字
- 2021-07-08 09:21:15
The KML preview
We have seen that other than OpenLayers, several preview formats are available. Now we will use another popular format: Keyhole Markup Language (KML). This time, GeoServer will not open up an application as you select the layer to preview. In fact, KML is a data format and you will need another piece of software to display it on a map. Perform the following steps:
- If you have not already installed Google Earth, you can download it from http://www.google.com//earth/desktop.
- Accept the license agreement and save the installation file. Then, execute it and install Google Earth on your personal computer.
- Point your browser to the Layer Preview page, scroll to the topp:states layer, and click on the KML link.
- You are prompted to save or open the KML output file. Save it on your filesystem.
- Open the KML file in Google Earth. Consider the following screenshot:

OK, that was pretty cool. We had GeoServer displaying layers on Google Earth. Drop the book and play around with Google Earth. Zoom in and out, and notice how it streams data from GeoServer. In fact, the KML file does not contain any data, just a reference to them. Any operation on the map triggers a request to GeoServer, and its response is a stream of data to the Google Earth client.
- Redis Applied Design Patterns
- 深度學習經典案例解析:基于MATLAB
- 深入淺出Windows API程序設計:編程基礎篇
- 前端架構:從入門到微前端
- 名師講壇:Java微服務架構實戰(SpringBoot+SpringCloud+Docker+RabbitMQ)
- JavaScript入門經典
- HTML5從入門到精通 (第2版)
- MINECRAFT編程:使用Python語言玩轉我的世界
- Learning Nessus for Penetration Testing
- Data Science Algorithms in a Week
- Mastering VMware Horizon 7(Second Edition)
- Neo4j 3.x入門經典
- Data Manipulation with R(Second Edition)
- Joomla!Search Engine Optimization
- HTML 5與CSS 3權威指南(第4版·上冊)