Mike
unread,Oct 18, 2010, 1:45:46 PM10/18/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Thematic Mapping API
Hi,
I'm trying to build a simple Proportional Symbol map using teh
Thematic Mapping API. I thought I'd figured out a simple way to do
this, get my dataset in Excel
1) build dataset
company size address city state zip latitude longitude
A1 5 6500 e belleview av, englewood, co 80111
39.60591117, -104.8995746
A2 10 1290 Broadway,denver,co,80203
39.7367122,-104.9873034
...
2) Then I went to the TM Engine tab and selected some parameters
(CO2, ...) and hit download.
3) This gave me a kmz file which I copy/pasted into a zip file (copy
then rename copy to .zip). I then extracted the KML file from this and
again did a copy file/paste to build doc.xml
4) I then went into this xml file and changed the data between the
Placemark tags as follows:
<Placemark>
<name>A1</name>
<visibility>1</visibility>
<Snippet>5</Snippet>
<styleUrl>#sharedStyle</styleUrl>
<Style>
<IconStyle>
<scale>0.05</scale>
<color>E598FEFF</color>
</IconStyle>
</Style>
<LookAt>
<latitude>39.60591117</latitude><longitude>-104.8995746</
longitude>
<altitude>0</altitude>
<range>32000</range>
<altitudeMode>clampToGround</altitudeMode>
</LookAt>
<Point>
<coordinates>-104.8995746,39.60591117,0</coordinates>
</Point>
</Placemark>
where
my file xml file tag
---------- -----------------
company name
snippet size
lat/long same.
You will note I also changed the <range> value to allow my to focus in
on just Denver sites. All other tags were left as is.
5) I then copy file/paste doc.xml into doc.kml
6) I then added/updated this file in doc.zip
7) I then copy file/paste to doc.kmz
8) when I double click on this kmz file, it opens Google Earth and
rotates to show a big dot over Denver, but doesn't seem to do what I
want, have a number of proportional symbols over different addresses
in Denver.
Thank you very much.
Mike