I'm using Python's GeoJSON package to created a simple LineString, put it in a Feature, and put that in a FeatureCollection I'll call featColl
. featColl.errors()
returns no errors. Below is the dumped GeoJSON file. When I import it as a vector layer into QGIS, it opens without complaint. but the layer is completely empty, and shows no line segments. Any ideas what I'm missing?
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"geometry": {
"type": "LineString",
"coordinates": [
[
[
-122.271154,
37.804348
],
[
-122.272057,
37.80295
]
],
[
[
-122.272057,
37.80295
],
[
-122.278011,
37.805288
]
],
]
},
"properties": {}
}
]
}