Quiero usar este archivo json no es GeoJSON archivo, pero me di cuenta de que contiene una serie de Funciones y no uno que me parece confuso. Quería preguntarle si usted conoce alguna herramienta donde puedo combinar todas las Funciones/FeatureCollections en uno válido GeoJSON archivo, así que la voy a usar para como D3.js? El archivo original está aquí y ya me deshice de las cosas que no es necesario para la geojson.
Aquí es un extracto de la GeoJson, es bastante grande, así que se debe hacer sólo 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"
}
},
¿Tienes algunas ideas de cómo resolver este problema y obtener una adecuada GeoJSON archivo?