I deal a lot with borehole information and looking the best way to move it around in javascript / take advantage of javascript libraries (e.g. leaflet) for looking at this information on mobile devices / maps. I'm most interested in the popup/mouseover actions to describe additional data contained within a point.
In plan, these are points. In reality, it's a line I am looking at end on with a number of data points stacked in the same x,y location.
For example Point 1 (x,y,z collar location): +------------+-----------+---------+| Depth from | Depth to | Reading |+------------+-----------+---------+| 0 | 2 | 4 || 2 | 4 | 7 || 4 | 7 | 15 |+------------+-----------+---------+etc.
Is there a good way to capture the above using geojson? Currently I parse a lot of it in JSON (or multidimensional arrays) in javascript. I can shoe-horn it into geojson by making many depth parameters, but it's pretty awkward (and even more awkward when I have multiple different types of data at varying depths along the same hole).
What does everyone use for borehole data and leaflet/other sources? Looking for advice / a point in the right direction, as the direction I'm going is defining my own internal format and writing my own scripts for populating the downhole information in tables during mouse-overs (which is time consuming).
أكثر...
In plan, these are points. In reality, it's a line I am looking at end on with a number of data points stacked in the same x,y location.
For example Point 1 (x,y,z collar location): +------------+-----------+---------+| Depth from | Depth to | Reading |+------------+-----------+---------+| 0 | 2 | 4 || 2 | 4 | 7 || 4 | 7 | 15 |+------------+-----------+---------+etc.
Is there a good way to capture the above using geojson? Currently I parse a lot of it in JSON (or multidimensional arrays) in javascript. I can shoe-horn it into geojson by making many depth parameters, but it's pretty awkward (and even more awkward when I have multiple different types of data at varying depths along the same hole).
What does everyone use for borehole data and leaflet/other sources? Looking for advice / a point in the right direction, as the direction I'm going is defining my own internal format and writing my own scripts for populating the downhole information in tables during mouse-overs (which is time consuming).
أكثر...