Module Import alias identifier ImportFrom alias Import alias Import alias Import alias FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr Str body AugAssignAdd NameStore Str With Call NameLoad NameLoad Str NameStore body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num decorator_list If CompareEq NameLoad Str body TryExcept body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Print Str orelse If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Print Str SubscriptLoad AttributeLoad NameLoad attr Index Num Str orelse Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Print Str NameLoad Str BinOpAdd NameLoad Str Expr Call NameLoad NameLoad NameLoad Print Str handlers ExceptHandler body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Index Num Print Str NameLoad Str Print Call AttributeLoad NameLoad attr
N/A N/A xml.dom.minidom dom kml kml N/A json N/A sys N/A traceback kml_to_geojson N/A N/A kml_file output_name N/A N/A N/A kml_one N/A N/A dom parse kml_file N/A N/A N/A N/A output_name endswith .geojson N/A N/A output_name .geojson N/A N/A open output_name w outfile N/A N/A output N/A N/A kml build_feature_collection kml_one N/A N/A N/A json dump output outfile indent 4 N/A N/A N/A __name__ __main__ N/A N/A N/A N/A N/A N/A len N/A sys argv 1 N/A N/A Input KML not specified N/A N/A N/A N/A len N/A sys argv 2 N/A N/A Input KML specified as N/A N/A sys argv N/A 1 . Output GeoJSON file name not specified N/A N/A input_kml N/A str N/A N/A sys argv N/A 1 N/A output_name N/A str N/A N/A sys argv N/A 2 N/A Converting input_kml to N/A output_name .geojson N/A N/A kml_to_geojson input_kml output_name N/A ...Done! N/A N/A N/A N/A error N/A N/A N/A sys exc_info N/A 0 N/A There was an error:  error N/A N/A N/A traceback format_exc