Published by Shawn on 13 Apr 2008 at 01:30 pm
KML Generator for Google Earth - written in PHP
A What Generator?
This script is a homemade botch that I wrote because I didn’t like any of the other KML generating scripts out there.
The one that I did find is for PHP5. Hmph..
Basically this script grabs info from my Fishing Spots MySQL database and fires it out as xml, which is
in turn, read by Google Earth as a .kml file.
On with the script
Ok, enough said. Here is the source:
www.shawngo.com/xgenerator.php
And here is the actual KML File Output:
www.shawngo.com/generator.php
And last but not least, the Google Maps + Fishing Spots page:
www.shawngo.com/hotspots.php
Linda on 20 Jul 2008 at 9:52 pm #
I have been searching for a php script that would create a kml/xml sitemap from an address input. I came across your sample and it looks interesting but not what I need right now.
I have have searched on various terms for several hours but can’t seem to locate what I am looking for and may need to hire someone. It seems like a fairly simple job.
Any thoughts?
Thanks,
Linda
admin on 20 Jul 2008 at 10:07 pm #
@Linda - Can you explain in detail what you’re looking for? Are the address values stored in a database and you’re attempting to retrieve this information?
Shawn
Oscar on 24 Aug 2008 at 9:40 pm #
thanks a lot man, your information is really helpful
Billy on 05 Sep 2008 at 5:20 am #
Hi
From the UK
I have a fishing site above nothing as good and so impressive as what you have done how do I get It.
Any help would be much appreciated contact me at billyfishing@wis-fm.co.uk
Thanks and keep up the great work.