mapbox / togeojson

convert KML and GPX to GeoJSON, without the fuss

Home Page:http://mapbox.github.io/togeojson/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

output geojson file with null values

bennlich opened this issue · comments

Hiya. When I try to convert this kml to geojson, the resulting geojson has some weird null values in it that I don't see in the original kml. Any idea what's going on there?

(I added the txt extension so github would allow it): doc.kml.txt

At the end of your KML you have 3 features without a geometry

        <Placemark>
      <name>Cloud AOI</name>
      <styleUrl>#cloudAoi</styleUrl>
      <description>
        <![CDATA[
          Areas where clouds were obsecuring proper data collection.
        ]]>
      </description>
      <MultiGeometry>
        
      </MultiGeometry>
    </Placemark>
    <Placemark>
      <name>NoData</name>
      <styleUrl>#noData</styleUrl>
      <description>
        <![CDATA[
          Areas where no data is avaliable.
        ]]>
      </description>
      <MultiGeometry>
        
      </MultiGeometry>
    </Placemark>
    <Placemark>
      <name>Possible Heat</name>
      <styleUrl>#possible_heat</styleUrl>
      <description>
        <![CDATA[
          Points of possible heat sources.
        ]]>
      </description>
      <MultiGeometry>
        
      </MultiGeometry>
    </Placemark>