USDAForestService / ForestVegetationSimulator

Forest Vegetation Simulation (FVS) - Growth and Yield Modeling software

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sqlite -> store lat/lon as attribute in output?

jgrn307 opened this issue · comments

We're working with the sqlite output format with the goal of loading it into a geospatial DB (mongoDB). I saw that the sqlite inputs into FVS allow the lat/lon to be included, but am I correct in noticing those lat/lon do not get carried into the outputs of the sqlite table? If so, would you consider adding the lat/lon to the outputs as well (copied from the input table, if available?)

Related: is there a way to store arbitrary metadata (say, in JSON format) in the inputs and then have FVS copy that data to the outputs?

Due to the original intention of FVS and the inventory methods in practice during the development of FVS, FVS is a distance independent model. There is currently no ability or plans to track latitude and longitude of trees throughout the simulation process.

With regard to FVS copying attributes from the input to the output, your best bet may be to join the data from the input and output tables in your own processes. This would need to be done at the stand level rather than tree level as there is no way to track individual trees from input to output.