Hi again Jeff,
Ok, I looked at the reference material for google earth. It looks pretty
straight forward.
In looking at the coordinate elements, I'm seeing some fairly short
coordinate strings.
How precise are you trying to get?
I know that when I go to the Weather Service page, and check my house, or
office location, the coord's only go to 7 decimal places for each- lat/long,
and zero decimal places for the altitude. In fact, the altitude only goes to
a 5-10 ft accuracy.
Thus, you should be able to do no more than 40 characters per cell (lat- 8
decimal places, for 13 characters ; long- 8 decimal places for 13 characters,
and altitude- 5 digits) and that'll give you a very precise location for each
grid point.
Each grid point would be for one cell.
XML code sample from
http://code.google.com/apis/kml/documentation/kmlreference.html#gxlatlonquad
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="
http://www.opengis.net/kml/2.2"
xmlns:gx="
http://www.google.com/kml/ext/2.2"> <!-- required when using
gx-prefixed elements -->
<Placemark>
<name>gx:altitudeMode Example</name>
<LookAt>
<longitude>146.806</longitude>
<latitude>12.219</latitude>
<heading>-60</heading>
<tilt>70</tilt>
<range>6300</range>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
</LookAt>
<LineString>
<extrude>1</extrude>
<gx:altitudeMode>relativeToSeaFloor</gx:altitudeMode>
<coordinates>
146.825,12.233,400
146.820,12.222,400
146.812,12.212,400
146.796,12.209,400
146.788,12.205,400
</coordinates>
</LineString>
</Placemark>
</kml>