Quiero usar este archivo json, todavía no es un archivo GeoJSON, pero noté que contiene varias características y no una que me parece confusa. Quería preguntarle si conoce alguna herramienta en la que pueda fusionar todas las características / colecciones de características en un archivo GeoJSON válido para poder usarlo como D3.js. El archivo original está aquí y ya eliminé las cosas que no son necesarias para el geojson.
Aquí hay un extracto de GeoJson, es bastante grande, así que solo soy un fragmento
{"points": [{
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"coordinates": [41.9773865, 36.3372536],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Sinjar",
"date": "2015-10-16"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.4873886, 34.9301605],
"type": "Point"
},
"properties": {
"attacks": 2,
"location": "Baiji",
"date": "2015-10-16"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [42.4509315, 36.3707008],
"type": "Point"
},
"properties": {
"attacks": 3,
"location": "Tal Afar",
"date": "2015-10-16"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.76667, 35.31667],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Hawija",
"date": "2015-10-16"
}
}]
}, {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"coordinates": [43.7820587, 33.3516083],
"type": "Point"
},
"properties": {
"attacks": 4,
"location": "Fallujah",
"date": "2015-04-24"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.2637405, 33.4324112],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Ramadi",
"date": "2015-04-24"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.1170998, 36.3246002],
"type": "Point"
},
"properties": {
"attacks": 5,
"location": "Mosul",
"date": "2015-04-24"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [38.3535004, 36.8908997],
"type": "Point"
},
"properties": {
"attacks": 4,
"location": "Kobane",
"date": "2015-04-24"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [42.4509315, 36.3707008],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Tal Afar",
"date": "2015-04-24"
}
}]
}, {
"type": "FeatureCollection",
"features": [{
"type": "Feature",
"geometry": {
"coordinates": [43.7820587, 33.3516083],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Fallujah",
"date": "2015-09-09"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.2637405, 33.4324112],
"type": "Point"
},
"properties": {
"attacks": 3,
"location": "Ramadi",
"date": "2015-09-09"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [41.9773865, 36.3372536],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Sinjar",
"date": "2015-09-09"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [43.4873886, 34.9301605],
"type": "Point"
},
"properties": {
"attacks": 1,
"location": "Baiji",
"date": "2015-09-09"
}
}, {
"type": "Feature",
"geometry": {
"coordinates": [42.4509315, 36.3707008],
"type": "Point"
},
"properties": {
"attacks": 2,
"location": "Tal Afar",
"date": "2015-09-09"
}
},
¿Tiene alguna idea de cómo resolver este problema y obtener un archivo GeoJSON adecuado?