I want to import URL attribute from KML.
How i can do it? What tag or attribute should be in the KML file?
The support forum is temporarily read-only. For urgent requests, please email contact[at]psyberia.net
[closed] How to import a "URL" attribute from KML file
-
- Site Admin
- Posts: 6408
- Joined: Wed Apr 14, 2010 9:41 pm
Re: How to import a "URL" attribute from KML file
Hi,
Unfortunately the KML format do not describe a clear URL field, so the application won't import this value (you can still put it in the "<description>" field but it won't be clickable in the application).
You can however use other format to import your URL:
- GPX file (use "<url>...url...</url>" in a wpt field for example);
- CSV file (assign your url column to the "URL" field in the app).
Let me know if you need more help
Best regards.
Unfortunately the KML format do not describe a clear URL field, so the application won't import this value (you can still put it in the "<description>" field but it won't be clickable in the application).
You can however use other format to import your URL:
- GPX file (use "<url>...url...</url>" in a wpt field for example);
- CSV file (assign your url column to the "URL" field in the app).
Let me know if you need more help
Best regards.
Do you like AlpineQuest ? Leave a small comment on Google Play !
Re: How to import a "URL" attribute from KML file
Hi! Thank you!
I have tried these methods.
But my POI contain both images and links.
And if I use KMZ, I can import only pictures. (Pictures posted in KMZ and link to the picture placed in tag "description": <description><![CDATA[descripton of point <img width="500" src="img/pic.jpg" />]]></description>
If I use the GPX, I can import only links in <URL> tag. But there is no way to import pictures in this case
(In the case of CSV I can import only links too)
The KMZ format is more convenient because it can be used to import several categories of points.
Suggest to use ExtendedData:
<Placemark>
...
<ExtendedData>
<Data name="gx_media_links"><value>http://domain.com/picture.jpg</value></Data>
</ExtendedData>
...
</Placemark>
I have tried these methods.
But my POI contain both images and links.
And if I use KMZ, I can import only pictures. (Pictures posted in KMZ and link to the picture placed in tag "description": <description><![CDATA[descripton of point <img width="500" src="img/pic.jpg" />]]></description>
If I use the GPX, I can import only links in <URL> tag. But there is no way to import pictures in this case
(In the case of CSV I can import only links too)
The KMZ format is more convenient because it can be used to import several categories of points.
Suggest to use ExtendedData:
<Placemark>
...
<ExtendedData>
<Data name="gx_media_links"><value>http://domain.com/picture.jpg</value></Data>
</ExtendedData>
...
</Placemark>
-
- Site Admin
- Posts: 6408
- Joined: Wed Apr 14, 2010 9:41 pm
Re: How to import a "URL" attribute from KML file
Hi again,
Ok I understand.
I've recently improved the KML import and included the support of the "gx_media_links" data tag, but you need to import the file (long-press it and select "Import", not just clicking on it).
If you're using AlpineQuest, the next version will import these values.
If you're using OfflineMaps, the current version (2.0) already import these links.
Let me know if you're using AlpineQuest and need this feature quickly.
Best regards
Ok I understand.
I've recently improved the KML import and included the support of the "gx_media_links" data tag, but you need to import the file (long-press it and select "Import", not just clicking on it).
If you're using AlpineQuest, the next version will import these values.
If you're using OfflineMaps, the current version (2.0) already import these links.
Let me know if you're using AlpineQuest and need this feature quickly.
Best regards
Do you like AlpineQuest ? Leave a small comment on Google Play !
Re: How to import a "URL" attribute from KML file
I use AlpineQuest (v 1.4.22, Android)
Yes. I'm doing as you say: long-press it and select "Import"
I'm going on a trip at the end of the week. It would be great if a new feature will appear by this time!
Yes. I'm doing as you say: long-press it and select "Import"
I'm going on a trip at the end of the week. It would be great if a new feature will appear by this time!
-
- Site Admin
- Posts: 6408
- Joined: Wed Apr 14, 2010 9:41 pm
Re: How to import a "URL" attribute from KML file
Unfortunately the next update of AlpineQuest won't arrive soon.
Contact me by email so we can find a solution.
Best regards
Contact me by email so we can find a solution.
Best regards
Do you like AlpineQuest ? Leave a small comment on Google Play !