emreozdemir / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

Code errors in Google Moon's tour.kmz file #438

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which products are affected?
Google Earth (all)

What steps will reproduce the problem?
1. Start Google Earth.
2. Under Tools > Options > General tab, select Show prompts for all errors. 
Then apply and switch to Google Moon.
3. Error message pops up about errors in the tour.kmz file located at 
http://mw2.google.com/mw-planetary/moon1/tours/tours.kmz
4. The first reported error line number is 30645, but there are similar errors 
both before and after this line number.

What is the expected output or behavior? What do you see instead?
After viewing the doc.kml within the tours.kmz file, one will see that there 
are numerous lines in which "clampedToGround" is erroneously used instead of 
the correct "clampToGround" syntax. The first line number which uses the 
incorrect syntax is line number 15771.

What application versions (if any) are you using?
Irrelevant.

Which operating systems (and/or relevant web browsers) are affected?
Irrelevant.

Please provide any additional information (code snippets/links) below.
The fifth line, below, is line 30645 from the doc.kml withing the tour.kmz file 
referenced above.

          <Placemark id="flag">
            <name>flag</name>
            <visibility>1</visibility>
            <Model id="flag_model">
              <altitudeMode>clampedToGround</altitudeMode>

              <Location id="flag_location">
                <longitude>0</longitude>
                <latitude>0</latitude>
                <altitude>-1000</altitude>
              </Location>

              <Orientation id="flag_orient">
                <heading>0</heading>
                <tilt>0</tilt>
                <roll>0</roll>
              </Orientation>

              <Scale id="flag_scale">
                <x>0</x>
                <y>0</y>
                <z>0</z>
              </Scale>
              <Link id="flag_model_link">
                <href/>
              </Link>
              <ResourceMap>
                <Alias>
                  <targetHref>texture0.png</targetHref>
                  <sourceHref>A11_flag/texture0.png</sourceHref>
                </Alias>
              </ResourceMap>
            </Model>
          </Placemark>

Original issue reported on code.google.com by apollomo...@gmail.com on 25 Apr 2014 at 12:05