kml

Output from 'choice' in R's kml

Deadly 提交于 2019-12-08 09:48:28
问题 I'm having trouble getting 'choice' to create output. When the graphical interface launches, I am selecting a partition with the space bar. This creates a black circle around the partition, indicating it has been selected. When I click 'return', nothing happens. I checked my working directory to look for the output files, but they are not there. I used getwd() to ensure that I have the correct setwd(). No dice. There was a similar question posted: Exporting result from kml package in R;

Calculate nearest point of KML polygon for iPhone app

女生的网名这么多〃 提交于 2019-12-08 08:41:21
问题 I have a series of nature reserves that need to be plotted, as polygon overlays, on a map using the coordinates contained within KML data. I’ve found a tutorial on the Apple website for displaying KML overlays on map instances. The problem is that the reserves vary in size greatly - from a small pond right up to several hundred kilometers in size. As a result I can’t use the coordinates of the center point to find the nearest reserves. Instead I need to calculate the nearest point of the

Google Maps Javascript API V3 how to Placemark show name only

ぃ、小莉子 提交于 2019-12-08 07:37:34
问题 As a Title, I want show Placemark with Name field. Basically, google map show Placemark with blue balloons. but i don't wanna see this blue ballons. Just show Name only like google earth. is it possible with google maps javascript api? =============KML=============== <Folder> <name>Point Features</name> <description>Point Features</description> <Placemark> <description><![CDATA[LABEL<BR><BR><B>ELEVATION</B> = -2147483648.0000000]]></description> <name>lnd_a</name> <Point> <coordinates>126

Using a KmlLayer object within the Google Maps API, is it possible to allow a user to adjust the transparency of the png overlays?

不羁的心 提交于 2019-12-08 07:17:05
问题 Using a KmlLayer object within the Google Maps API, is it possible to allow a user to adjust the transparency of the overlay.png features, referenced by some .kml file? 回答1: To the best of my knowledge it is not possible via standard google api but you can do this using jquery or some other library. KML images are just part of the DOM so if you can find the nodes you can manipulate their properties. Here is an example using jquery: <!DOCTYPE html> <html> <head> <meta name="viewport" content=

Is it possible with kml and google maps

此生再无相见时 提交于 2019-12-08 06:26:02
问题 I want to know if this is possible with google maps. I create a 2 small grids on google maps with kml file. How can I find out using php of if my address is listed in grid 1 or 2. Need help please. 回答1: I wrote code for doing exactly this, but rather than grids, for areas of the UK. I had to read the KML file like XML using DOMDocument::load() , this enables you to read the KML file and get the longitude and latitude points it contains. Bear in mind though that I had to change the KML

kml is not displayed

喜欢而已 提交于 2019-12-08 05:10:04
问题 I'm writing an application with the google API that loads a kml file from my local server. But the file is not displayed and the map "moves" to an unspecified location. To test this i'm just trying the kml example from the google API reference: <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0, user-scalable=no"> <meta charset="utf-8"> <title>Google Maps JavaScript API v3 Example: KmlLayer KML</title> <link href="http://code.google.com/apis/maps/documentation

Getting xml data in DetailView from a map view (Iphone IOS)

馋奶兔 提交于 2019-12-08 03:12:23
问题 We are trying to create a mapview with annotations loaded from a xml file. This works so far, and is making use of the KMLViewer code on the apple developer library. Now we are trying to load the data from the XML file into the detailview but only the corresponding entry. So when you click on details on a city for instance, details must be loaded from the xml file of that city. We are trying for days now but just don't know where to start. We have the following code now: detailviewcontroller

Referring to a Placemark in KML

南楼画角 提交于 2019-12-08 02:48:06
问题 Is there a way to refer to a placemark (probably by using the Placemark ID attribute) ? Use case: Suppose you have a list of bus stops in a city. Some stops will be common to many bus lines. If Placemark referencing was possible, there could be a master list of all stops and each line (set in a separate Folder) could just refer to one of the above Placemarks. Selecting more than one Folder would display the other Placemarks for those lines, but the Placemarks already displayed would not show

Need guidance on a Google Map application that has to show 250 000 polylines

点点圈 提交于 2019-12-08 02:36:25
问题 I am looking for advice for an application I am developing that uses Google Map. Summary: A user has a list of criteria for searching a street segment that fulfills the criteria. The street segments will be colored with 3 colors for showing those below average, average and over average. Then the user clicks on the street segment to see an information window showing the properties of that specific segment hiding those not selected until he/she closes the window and other polyline becomes

Search engine optimization for kml file type

老子叫甜甜 提交于 2019-12-08 02:34:00
问题 I've a web site that generates kml files. An uri like this: /tokml?gid=2846 Generates a file like this: Mt. Dana Summit Trail.kml Using Header('Content-Disposition: inline; filename="Mt. Dana Summit Trail.kml"'); in a PHP script and running on Apache http server. But a Google search on filetype:kml will not give any results from my web site. I could cache all kml files and build an uri like this: /kml/Mt. Dana Summit Trail.kml But are there any other solutions? 回答1: From my experience, Google