kml, kmz, panoramio, and google maps.

457 views
Skip to first unread message

Marc Jones

unread,
Dec 28, 2011, 12:21:21 AM12/28/11
to KML Developer Support - Getting Started with KML
I'm sure there is a very simple explanation of this, but I'm just not
able to find it, and I'm very much so NOT a developer in any way, but
please help. I'm trying to make google maps with pictures I've
uploaded into panoramio. I can get a kml file from panoramio and open
it in google earth, but I can't get those pictures into a file that
has all my pictures back into google maps... Directly plugging in the
kml from panoramio only includes one picture, and I just can't figure
out how to edit the pictures I have in google earth over to one kml or
kmz file... I am so, so very sorry about this, but I feel like I've
come so far to get this close and still be this far from figuring out
how to do this. I'm trying to do what amounts to photographic
archeology with eastern PA. burial sites, and I'm using all sorts of
panoramio web APIs to really wonderful effect, but the number one
thing, to produce maps with included pictures embedded, with pop up
balloons, is still eluding me!! Thanks so much for any help
possible!!

MJ

Renosis

unread,
Dec 28, 2011, 12:58:58 PM12/28/11
to KML Developer Support - Getting Started with KML

I don't know about panoramio but, you can easily add pictures to a kml
file. You don't even have to edit the kml file directly to do this.
All you would need to do is right click on a placemark, click
properties, and then in the description box you can use standard html
tags to link to your picture. For example: <img src="http://
www.webserver-where-pic-is-located.com/image.jpg"> . Of course you
would change the address to match the location of the file. You can
even specify files locally on your computer, but I don't think you
would want that as other ppl on the web wouldn't be able to see the
pics if you did that.

Goodluck!

Rossko

unread,
Dec 30, 2011, 5:48:55 AM12/30/11
to KML Developer Support - Getting Started with KML
Might we see an example of the problem KML ?

djeyewater

unread,
Dec 30, 2011, 9:37:33 AM12/30/11
to KML Developer Support - Getting Started with KML
If I enter my panoramio KML url http://www.panoramio.com/kml/?user=3862982
into google maps, it doesn't show any photos at all. I think that
Panoramio uses a dynamic data layer (with NetworkLinks) and Google
Maps probably doesn't support this. You could try flickr instead, the
KML of my flickr photos http://api.flickr.com/services/feeds/geo/?id=44665944@N07&lang=en-us&format=kml_nl
opens fine in Google Maps.

Marc Jones

unread,
Dec 30, 2011, 10:18:02 AM12/30/11
to KML Developer Support - Getting Started with KML
Thank you all for input! This is about the 4th way I've tried to put
a map together... the Panoramio API is just pain broke, and won't
show only one user without scads of java, which is beyond me. I think
flickr, while sounding pretty easy to do with the georss thing, only
does 20 pics per map? And I'm looking to do something like 100... or
even more... Also, I dearly love the idea of Google Maps and Earth
exposure for this. So my point is, Google already has the pictures,
in Panoramio, which I'm happy to continue uploading to for the above
reasons, even tho I'm getting flickr pro for blogging to tumblr
distribution reasons. I'd like to develop a kml or kmz, from inside
earth, made up of pics in panoramio, then move that file to maps, or
use the earth embed tool while hosting the file myself on google
documents... I know, overly complicated, but I want a map with lots
of thumnails, that pop up when you click em with a better pic... in
other words exactly how panoramio and maps should work together right
off the damn bat from panoramios own api. BTW, panoramio map layer in
maps is a dead end, it only takes those 20 - 30% I've had picked for
maps, and it works, but not for what I want! So it appears Earth is
the only way to go. I'm sure there are also use limits on the kml /
kmz as well as to size, and I might have to resize pics, instead of
expecting #120 14 mega pixel pictures up there. PHEW.

BTW, a link to my pics on panoramio...

http://www.panoramio.com/user/6451050

This kml file allows all of my pics to show in earth, but I suspect
it's a link to my user # and not an actual file full of pics.
Shouldn't there be a way to just pick a bunch of panoramio pics in
Earth and zip em all up into one kml that maps can find from the Earth
server? Or is that too evil?

AGAIN THANK YOU ALL VERY MUCH, it's a pretty and very sweet project
really, nobody in my little community of cemetery photog type people
are trying to do anything like it.

Lastly, a tumblr link to a published project, that would look TOTALLY
FRICKEN SWEET with a map or google earth embed right at top!

http://perpetualis.tumblr.com/post/13974665953/christ-church-burial-ground-project-fully-geo-located

Thanks! MJ.

On Dec 30, 9:37 am, djeyewater wrote:
> If I enter my panoramio KML urlhttp://www.panoramio.com/kml/?user=3862982
> into google maps, it doesn't show any photos at all. I think that
> Panoramio uses a dynamic data layer (with NetworkLinks) and Google
> Maps probably doesn't support this. You could try flickr instead, the
> KML of my flickr photoshttp://api.flickr.com/services/feeds/geo/?id=44665944@N07&lang=en-us&...

djeyewater

unread,
Dec 30, 2011, 4:18:04 PM12/30/11
to KML Developer Support - Getting Started with KML
Have you tried Geosetter - http://www.geosetter.de/en/ or Robogeo
http://www.robogeo.com/home/ I think both of these may do what you
want - creating a static kml / google map of geo-coded photos. Though
they would work with the images you add to them rather than your
already hosted images on panoramio / flickr, meaning you'd probably
need to get some web hosting as well.

Alternatively, you could always write your own static kml file.
There's a tutorial here: http://code.google.com/apis/kml/documentation/kml_tut.html
Making a basic kml with just the co-ordinates, title, and image shown
when the marker is clicked shouldn't be too difficult, though would be
time consuming.

And as a third alternative, if you don't already have your photos on
Flickr, you could upload 20, save the KML, upload another 20, save the
KML again etc. And then manually add them together into 1 large KML
file yourself. You will need to make sure you save the actual KML that
contains the image placemarks though as the KML link on flickr links
to a kml with a network link (then the network link in the KML links
to the real KML).
> http://perpetualis.tumblr.com/post/13974665953/christ-church-burial-g...

Grok Lobster

unread,
Dec 31, 2011, 6:24:55 AM12/31/11
to kml-support-g...@googlegroups.com
Here is the kml for a single placemark just add to it - placemarks only - for the others. It can be painstaking but it sounds like you are motivated.

<?xml version="1.0" encoding="UTF-8"?>
<Document>
<name>Christ Church Cemetary</name>
<Style id="s_ylw-pushpin">
<IconStyle>
<scale>1.2</scale>
<Icon>
</Icon>
<hotSpot x="0.5" y="0" xunits="fraction" yunits="fraction"/>
</IconStyle>
<ListStyle>
</ListStyle>
</Style>
<StyleMap id="m_ylw-pushpin">
<Pair>
<key>normal</key>
<styleUrl>#s_ylw-pushpin</styleUrl>
</Pair>
<Pair>
<key>highlight</key>
<styleUrl>#s_ylw-pushpin_hl</styleUrl>
</Pair>
</StyleMap>
<Style id="s_ylw-pushpin_hl">
<IconStyle>
<scale>1.4</scale>
<Icon>
</Icon>
<hotSpot x="0.5" y="0" xunits="fraction" yunits="fraction"/>
</IconStyle>
<ListStyle>
</ListStyle>
</Style>
<Placemark>
<name>West</name>
<LookAt>
<longitude>-75.14833811490705</longitude>
<latitude>39.95220504951809</latitude>
<altitude>0</altitude>
<heading>6.650361325537898e-006</heading>
<tilt>0</tilt>
<range>48.72999999707911</range>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
</LookAt>
<styleUrl>#m_ylw-pushpin</styleUrl>
<Point>
<coordinates>-75.14833811490706,39.95220504951809,0</coordinates>
</Point>
</Placemark>
</Document>
</kml>

Marc Jones

unread,
Dec 31, 2011, 9:23:16 PM12/31/11
to KML Developer Support - Getting Started with KML
Um, riiight... I will totally be looking at each of these
alternatives as well as I can, although I must admit it's all a bit
over my head, I'm chopping away at all this with no experience
whatsoever, and much of this is totally greek to me. Seems to me that
I should be able to make a google map from anywhere in google, ya
know? I mean, that's what all of these divergent services are for,
they just don't seem to be there yet. I will look over this stuff
hard this next week, I'm releasing another project (#5), these next
couple days, and plan on using a small flickr based map to just at
least have something. Oh and BTW, none of the pics are geotagged to
start with, so that makes life less enjoyable. Thanks again, will try
to let you all know how much you have helped once I figure it out!
> href="http://v6.lscache5.c.bigcache.googleapis.com/static.panoramio.com/pho...">http://v6.lscache5.c.bigcache.googleapis.com/static.panoramio.com/pho...</a>]]></description>

Grok Lobster

unread,
Jan 3, 2012, 10:21:11 PM1/3/12
to kml-support-g...@googlegroups.com
Just use Google Earth to create the KML - it is the best thing out there. I'll be happy to walk you through the steps - geotagged pics are not necessary.  In Google Earth, add a picture and then you can visually move it where you want it.
Reply all
Reply to author
Forward
0 new messages