I just checked one of my feeds and the data is:

<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://earth.google.com/kml/2.0">
 <Document>
  <NetworkLink>
   <Url>
    <name>Biotechnology Degree Guide</name>
    <href>http://www.biotechnologydegrees.org/kml/node/63</href>
    <viewRefreshMode>onStop</viewRefreshMode>
    <viewRefreshTime>60</viewRefreshTime>
   </Url>
  </NetworkLink>
 </Document>
</kml>

Shouldn't this be showing locations data? I guess I thought thats what the module did. I looked through the read me and re-checked all the config options and couldn't see anything that I did wrong. Any help is appreciated.

Comments

geodaniel’s picture

Category: bug » support
Status: Active » Closed (works as designed)

It looks like you have the 'network links' option enabled in the KML module settings, which means you'll get a network link instead of the real KML file, but this network link then points you on to the URL of the KML file. This allows clients to automatically stay updated if the location of that node moves.

You may just want to disable the network links (under site configuration -> kml) though, so you can access the real KML files directly. I hope this helps, but please re-open this issue if you're still having problems.

Webster619’s picture

Thank you. It's much better now. The location data is located in towards the bottom of the file now. Is the module supposed to create style info for each node type?

<?xml version="1.0" encoding="utf-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
 <Document>
 <Style id="highlightPlacemark_blog">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_blog">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_blog">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_blog</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_blog</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_career">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_career">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_career">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_career</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_career</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_career_profile">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_career_profile">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_career_profile">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_career_profile</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_career_profile</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_degree_type">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_degree_type">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_degree_type">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_degree_type</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_degree_type</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_page">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_page">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_page">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_page</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_page</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_panel">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_panel">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_panel">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_panel</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_panel</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_profile">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_profile">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_profile">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_profile</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_profile</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_school_main_page">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_school_main_page">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_school_main_page">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_school_main_page</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_school_main_page</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_states">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_states">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_states">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_states</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_states</styleUrl>
  </Pair>
 </StyleMap>
 <Style id="highlightPlacemark_webform">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/red-stars.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <Style id="normalPlacemark_webform">
  <IconStyle>
   <Icon>
    <href>http://maps.google.com/mapfiles/kml/paddle/wht-blank.png</href>
   </Icon>
  </IconStyle>
 </Style>
 <StyleMap id="myStyleMap_webform">
  <Pair>
   <key>normal</key>
   <styleUrl>#normalPlacemark_webform</styleUrl>
  </Pair>
  <Pair>
   <key>highlight</key>
   <styleUrl>#highlightPlacemark_webform</styleUrl>
  </Pair>
 </StyleMap>
  <Folder>
   <name>Biotechnology Degree Guide</name>
   <description></description>
   <Placemark>
    <name>Columbia University</name>
    <description><![CDATA[
<p>Columbia University, like many Ivy League schools has jumped into biotechnology head first and isn't looking back.</p>
<br/><a href="http://www.biotechnologydegrees.org/schools/columbia-university">View page</a>
]]></description>
    <styleUrl>#myStyleMap_school_main_page</styleUrl>
    <TimeStamp><when>2008-09-12T20:42:18Z</when></TimeStamp>
    <Point>
     <altitudeMode>relativeToGround</altitudeMode>
     <extrude>1</extrude>
     <coordinates>-73.962392,40.809902,10</coordinates>
    </Point>
    <address>Columbia University in the City of New York 2, 960 Broadway, Yonkers, NY, 10027-6902, United States</address>
    <AddressDetails>
     <Country>
      <AddressLine>United States</AddressLine>
      <AdministrativeArea>
       <AddressLine>NY</AddressLine>
       <Locality>
        <AddressLine>Yonkers</AddressLine>
        <Thoroughfare>
         <AddressLine>960 Broadway</AddressLine>
        </Thoroughfare>
        <PostalCode>
         <AddressLine>10027-6902</AddressLine>
        </PostalCode>
       </Locality>
      </AdministrativeArea>
     </Country>
    </AddressDetails>
   </Placemark>
  </Folder>
 </Document>
</kml>
geodaniel’s picture

I've added a new issue for the unused styles at #352112: Only include style information if those node types are included.