November 12, 20223 yr Maybe this question is more of a GIS/data question than an LNM question, but I'm hoping maybe someone familiar with the mapping component of LNM can point me in the right direction. I'd like to extract the boundary (airspace) data from the MSFS sqlite database that feeds LNM. Other tables have coordinates, but the boundary data geometries are stored as BLOBs. I've tried using various GIS tools as well as Spatialite to convert the data to something that I can use in a GIS, but nothing has worked. I'm curious how LNM processes the BLOB geometry data in order to map it, but the LNM source code is too complex for my code-reading abilities. Any ideas on how to accomplish would be appreciated.
November 13, 20223 yr 22 hours ago, shoegazer100 said: I'd like to extract the boundary (airspace) data from the MSFS sqlite database that feeds LNM. Other tables have coordinates, but the boundary data geometries are stored as BLOBs. I've tried using various GIS tools as well as Spatialite to convert the data to something that I can use in a GIS, but nothing has worked. I'm curious how LNM processes the BLOB geometry data in order to map it, but the LNM source code is too complex for my code-reading abilities. I use a custom binary format for better performance. The format is very simple. Reading and writing is done by this class: https://github.com/albar965/atools/blob/master/src/fs/common/binarygeometry.h https://github.com/albar965/atools/blob/master/src/fs/common/binarygeometry.cpp Alex Alex' Projects: Little Navmap
November 14, 20223 yr Author On 11/13/2022 at 11:38 AM, albar965 said: I use a custom binary format for better performance. The format is very simple. Reading and writing is done by this class: https://github.com/albar965/atools/blob/master/src/fs/common/binarygeometry.h https://github.com/albar965/atools/blob/master/src/fs/common/binarygeometry.cpp Alex Thanks! I will play around with this and see what I can do.
Archived
This topic is now archived and is closed to further replies.