Hello all! I live mostly in the GIS world, and would love to read a geojson file(x,y,z) into a 3d ‘type: surface’.
I have been able to do this with a mix of ESRI geoprocessing services and some python pieces taken from an existing project, But, it seems to me, that plotly JS could read a standard geojson file directly and create the correctly formatted Array(x, y, z or lat, long, elevation), then render the surface? then I should be able to Import ANY geojson file into Plotly 3d/Surface?
here is a piece of my simple geojson…and a screenshot of a working viewer using a larger json file…
{
“type” : “FeatureCollection”,
“crs” : {
“type” : “name”,
“properties” : {
“name” : “ESRI:102039”
}
},
“features” : [
{
“type” : “Feature”,
“id” : 0,
“geometry” : {
“type” : “Point”,
“coordinates” : [
-668630.59791888855,
1920274.5068389177
]
},
“properties” : {
“FID” : 0,
“x” : -668630.59791899996,
“y” : 1920274.5068399999,
“z” : 25
}
},
{
“type” : “Feature”,
“id” : 1,
“geometry” : {
“type” : “Point”,
“coordinates” : [
-689835.53765746206,
1846210.0462958068
]
},
“properties” : {
“FID” : 1,
“x” : -689835.53765700001,
“y” : 1846210.0463,
“z” : 200
}
},