Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Mod Requests => Topic started by: daiko on August 16, 2005, 05:46:39 AM

Title: Geo positions - auto KML/KMZ
Post by: daiko on August 16, 2005, 05:46:39 AM
I would love to see a mod that includes Geo Lat Lon info to profiles, and maybe also gives users the ability to ad Geo-info to their posts. It might then produce dynamic KML/KMZ files bringing you to the place. It is done in Wordpress with GeoPositions (http://dev.wp-plugins.org/browser/wp-geopositions/trunk/) and on flickr with the flickrfly (http://flickr.com/groups/topic/65009/). Fo

Anybody up for the job?

Maybe you have other ideas of using/integrating GeoPositions. One thing could be to be able to add tags in posts that automatically creates the links, an other is simply providing the Lat/Lon.

Maybe it already exists?
Title: Re: Geo positions - auto KML/KMZ
Post by: Ride on August 16, 2005, 08:38:48 PM
http://www.simplemachines.org/community/index.php?topic=45316.0
Title: Re: Geo positions - auto KML/KMZ
Post by: digit on July 24, 2006, 04:21:26 AM
Wouldn't it be ok to just unable uploading of ".kml" files, or could that pose a security risk?
Title: Re: Geo positions - auto KML/KMZ - PLEASE HELP!
Post by: digit on July 30, 2006, 01:39:38 AM
I definately need help with this.

I have allowed uploading of ".kml" files.

BUT - when I enable sharing of them through Flashchat, I get the error "document contains scripting elements - may pose a security risk!

Does allowing the uploading of ".kml" files in SMF pose a security risk? (and if so - any suggestions on how I can plug it?

Here is an example .kml file...



<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Placemark>
<name>Great Pyramids, Giza, Egypt</name>
<LookAt>
<longitude>31.13418163761167</longitude>
<latitude>29.97508586491246</latitude>
<altitude>0</altitude>
<range>3266.667616916452</range>
<tilt>8.165566857482667e-12</tilt>
<heading>-0.0008977937379267816</heading>
</LookAt>
<styleUrl>root://styles#default+icon=0x307</styleUrl>
<Point>
<coordinates>31.13418055555556,29.97508611111111,0</coordinates>
</Point>
</Placemark>
</kml>