Saya ingin menggunakan file json ini . Ini bukan file GeoJSON, tetapi saya perhatikan bahwa itu berisi beberapa Fitur dan bukan yang menurut saya membingungkan. Saya ingin bertanya apakah Anda tahu beberapa alat di mana saya dapat menggabungkan semua Fitur / FeatureCollections menjadi satu file GeoJSON yang valid sehingga saya dapat menggunakannya untuk seperti D3.js? File asli ada di sini dan saya sudah menyingkirkan barang-barang yang tidak diperlukan untuk geojson.
Berikut adalah kutipan dari GeoJson, ini cukup besar jadi saya hanya cuplikan
{"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"
}
},
Apakah Anda memiliki beberapa ide cara mengatasi masalah ini dan mendapatkan file GeoJSON yang tepat?