KML Generator v0.1

12 views
Skip to first unread message

ink_polaroid

unread,
Apr 11, 2005, 7:06:45 PM4/11/05
to KML Discussions
Since there seems to be some interest in it (and because I needed one), I've thrown together a quick 'n' dirty KML generator. Chuck in your lat/long coords, hit the button, and presto -- you'll get an error message and your monitor will explode.

Er, no. Probably not an error. Feedback welcomed. Let me know if it's useful or not.

KML Generator v0.1

neon_

unread,
Apr 11, 2005, 7:29:25 PM4/11/05
to KML Discussions
Very cool!
I hope this "lite" version will stay even if you add bells, whistles, and graham crackers to it down the road. I love it

FuNkY_CaPrIcOrN

unread,
Apr 11, 2005, 9:31:23 PM4/11/05
to KML Discussions
If somebody could make something like what http://www.lat-long.com/ was.

Pasting your coordinates is too much work.Over there all you had to do was Download it.Ahhhhh that was heaven.

mcshea98

unread,
Apr 13, 2005, 9:42:56 PM4/13/05
to KML Discussions
This is pretty cool. I'd be interested to know how you did this. I don't know that much about PHP.

ink_polaroid

unread,
Apr 13, 2005, 10:18:08 PM4/13/05
to KML Discussions
You wish is my command. I (very, very hastily) commented the code for you. Feel free to hack it to pieces. (God knows, it needs it.)

Source.

mcshea98

unread,
Apr 15, 2005, 1:31:01 AM4/15/05
to KML Discussions
Thanks.

I'll crunch on this and see if I can make it do anything else. It might take a while (still learning scripting and I will be out of town for a week).

ink_polaroid

unread,
Apr 15, 2005, 3:25:04 AM4/15/05
to KML Discussions
Go to it, mcshea.

If any of you GPS freaks have a wish list for KML creation, let's see it. If you can articulate what you need, perhaps something can be cooked up.

birddude

unread,
May 6, 2005, 8:15:05 AM5/6/05
to KML Discussions
That's great, Inky!

I love it!

mcshea98

unread,
May 7, 2005, 12:04:10 PM5/7/05
to KML Discussions
Here is my first variation of this.

Source

Periboob

unread,
May 8, 2005, 2:11:43 AM5/8/05
to KML Discussions
Mac, no biggie, I probably will not be a big user, but you hit one of my pet peeves -- assuming that the fonts render the same way for everyone. I have a laptop with a nice high rez screen (1680x1050). It is so high, that my failing vision needs bigger fonts than normal. But I can still appreciate the great clarity of the nice high-rez pictures, so I dont want to reduce the screen resolution. Instead, in the video card properties/advanced settings, I set the DPI to 120. What I see on your page, is



I can work through it, and it is sort of a personal problem, I am the minority, so dont go to any bother, I am just using your page as an excuse to remind CSS programmers everywhere, that one of these days, they are going to have to cleanup their code, because as resolutions get higher, and the population ages, there are going to be more of us.... a lot more.

Even the excelent Keyhole programmers forget about us now and then. (One of these days I have to learn enough programming/page coding to work through how to fix this...)

mcshea98

unread,
May 8, 2005, 3:02:52 AM5/8/05
to KML Discussions
Periboob,

It is now on my "to do" list. I will make a "C O K E __ B O T T L E" version.

I don't know how long it will take, so don't hold your breath.
(Still Learning)

ink_polaroid

unread,
May 8, 2005, 3:27:45 AM5/8/05
to KML Discussions
CSS positioning is very tricky to get the hang of. Until you do, you might want to steer clear of absolute positioning. (In fact, unless you have a really good reason for it, you might want to never ever implement the "position: absolute" rule, and you might also wonder what was going through the minds of the people who thought it would ever be useful.)

A simple table layout would be less of an IE/Firefox/Safari compatibility minefield.

Moaguten

unread,
May 23, 2005, 6:37:12 PM5/23/05
to KML Discussions
The generator works fine!
Would it be possible, without too much trouble, to add a namefield for the placemarks in this format (64.23456, 8,23456, Somewhere)
Then you would see "Somewhere" instead of "Placemark 0"

mcshea98

unread,
May 23, 2005, 11:56:36 PM5/23/05
to KML Discussions
I will work on this. The simple solution would be to put in one name only and have it increment. The ideal solution would automatically pull the name from the text field. Ex.
Placemark Name______Lat______Long______Alt
My House___________Lat______Long______Alt
Burger Joint_________Lat______Long______Alt
Big Rock____________Lat______Long______Alt
I will try and get a copy of my files soon, but they have already been shipped to my new home in Virginia. (And I won't be leaving Texas for another 6 weeks.)

Ink_Polaroid, do you want to give it a shot?

JC_P

unread,
Jun 15, 2005, 9:08:55 AM6/15/05
to KML Discussions
ink_polaroid, the KML Generator is excellent. I tried to somthing like your generator. But I have a problem after a kml file is generated, I tried to link to it on my web page. It is always open up the kml in text in IE. I like to do something that is similar as your output.php, "right here" link that it will pop up a down file screen. The KML can be opened by KeyHole if the open button is clicked. thanks in advance.

Moaguten

unread,
Jun 16, 2005, 6:44:07 PM6/16/05
to KML Discussions
In Keyhole I tried the Generator 1.0 with great success, but in the latest update of Google Earth, I got an error message. Something went wrong in the parsing. Does not the Generator 1.0 work with Google Earth?

ink_polaroid

unread,
Jun 16, 2005, 8:39:17 PM6/16/05
to KML Discussions
I've just tried it with .0253 and it's fine for me. I'm fairly sure I'm producing GE-valid KML.

Is this broken for anyone else using GE?

FuNkY_CaPrIcOrN

unread,
Jun 16, 2005, 8:55:27 PM6/16/05
to KML Discussions
Quote:

I've just tried it with .0253 and it's fine for me. I'm fairly sure I'm producing GE-valid KML.

Is this broken for anyone else using GE?




Read over on the Miniature Golf Courses Thread.Also I am sending you a message I got from Hill about the Problems we are having.

svens

unread,
Jul 6, 2005, 9:42:32 AM7/6/05
to KML Discussions
Post deleted by svens

abyss26

unread,
Jul 22, 2005, 3:48:11 PM7/22/05
to KML Discussions
Quote:

The generator works fine!
Would it be possible, without too much trouble, to add a namefield for the placemarks in this format (64.23456, 8,23456, Somewhere)
Then you would see "Somewhere" instead of "Placemark 0"




The origional works great!! kudos!

This would be most useful. Has anyone found one or created one that insert the place name as well?

hikwi

unread,
Aug 22, 2005, 6:51:59 PM8/22/05
to KML Discussions
I copied the Generator you build one or lives houses for my folder. When trying to execute the same does not function. When I use what this in the BBS directly does not occur problem.

Hulk

unread,
Aug 22, 2005, 9:35:00 PM8/22/05
to KML Discussions
Quote:

Mac, no biggie, I probably will not be a big user, but you hit one of my pet peeves -- assuming that the fonts render the same way for everyone.




Well I'm with you there, 99% of webpages are totally lamely "designed" but people who misunderstood what the web was about (scalability) - even Google is screwing it up with Google Groups 2.

svens

unread,
Aug 30, 2005, 5:26:07 AM8/30/05
to KML Discussions
Post deleted by svens

bube

unread,
Aug 30, 2005, 8:55:09 PM8/30/05
to KML Discussions
I tried to take a look at your first variation of the original code, but it seems that none of your pages is working for me:

http://www.mcshea98.com/keyhole/line.htm
and source: http://www.mcshea98.com/keyhole/line.txt

Did you move them to another address?

Thanks

mcshea98

unread,
Aug 30, 2005, 9:14:46 PM8/30/05
to KML Discussions
Bube,

Sorry. I just fixed the link. It needs to point to www.mcshea98.com/Keyhole/line.htm
Note the Uppercase K in keyhole.

There are others at http://www.mcshea98.com/Keyhole/

hikwi

unread,
Sep 8, 2005, 10:11:55 AM9/8/05
to KML Discussions
I thank the reply. Later I tried for another way and I obtained to use the same.

[image]http://www.multimediapalace.com/wff/b/br-flag
Reply all
Reply to author
Forward
0 new messages