PHP and Google Earth?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • El Benjamino

    #1

    PHP and Google Earth?

    Hey guys, I'm wanting to learn PHP and have an idea for a new project.
    I'd like to put up a simple page for my family members / friends to
    input their address and contact info, and then a script would grab that
    text and convert it to KML (Google Earth's XML spec.)

    So what i"m looking for is any direction as to which PHP classes will
    read text from a field and output it to an XML-based file...(if that's
    the right direction...any further ideas here would be helpful.)

    Thanks,
    Ben

  • reb

    #2
    Re: PHP and Google Earth?

    El Benjamino a écrit :[color=blue]
    > Hey guys, I'm wanting to learn PHP and have an idea for a new project.
    > I'd like to put up a simple page for my family members / friends to
    > input their address and contact info, and then a script would grab that
    > text and convert it to KML (Google Earth's XML spec.)
    >
    > So what i"m looking for is any direction as to which PHP classes will
    > read text from a field and output it to an XML-based file...(if that's
    > the right direction...any further ideas here would be helpful.)[/color]

    You'll need a geocoding engine to transform address to coordinates. Look
    at Yahoo (http://toys.lerdorf.co m/archives/35-GeoCool!.html); once you
    get the coordinates you'll be able to build your KML

    Comment

    Working...