मैं इस json फ़ाइल का उपयोग करना चाहता हूं यह अभी तक कोई जेजेन्सन फ़ाइल नहीं है, लेकिन मैंने देखा कि इसमें कई विशेषताएं हैं और एक ऐसा नहीं है जो मुझे भ्रामक लगता है। मैं पूछना चाहता था कि क्या आप कुछ उपकरण जानते हैं, जहां मैं सभी विशेषताओं / फ़ीचरकॉलिज़न्स को एक वैध GeoJSON फ़ाइल में मर्ज कर सकता हूं ताकि मैं इसे D3.js की तरह उपयोग कर सकूं? मूल फ़ाइल यहाँ है और मैंने पहले ही उस सामान से छुटकारा पा लिया है जिसकी आवश्यकता जियोजोन के लिए नहीं है।
यहां जियोसन का एक अंश है, यह काफी बड़ा है इसलिए आईफोन सिर्फ एक स्निपेट है
{"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"
}
},
क्या आपके पास कुछ विचार हैं कि कैसे इस समस्या को हल किया जाए और एक उचित GeoJSON फाइल प्राप्त की जाए?