I apologize if this is trivial or not possible, I am new to GIS. So I have a geoJSON file with thousands of members, each with a point coordinate. Is there a way for me to access the first coordinate (and the last, but I will deal with that later) of the geoJSON file?
Extraneous info: I am working on an html page using leaflet and have converted a CSV file into a geoJSON file, but I don't want the initial set view to be hard coded. I want it to be set, ideally to the center of the points, but being set to the first point will also work.