We have raster data which is generated from (vertical) walls. We would like to keep this data in a postgis database and have the spatial reference encoded "the most accurate way".
Currently, they are saved by abusing a metric CRS and encode the z coordinate of the wall as x, and the offset from the left side of the wall as y. This gives a local reference system which works for its purpose but loses the global context.
For vector data it is straightforward to give every vertex a 3D coordinate to locate it in (global) space. This is what should be created based on the raster data (use a GIS User Interface to digitize areas of interest on top of these walls).
Furthermore, multiple walls can be situated next to each other and it should be possible to visualize these in this context (it's enough if it only works if they have the same azimuth).
One idea would be to use a custom CRS in vertical space, which has its origin based on a real-world coordinate.
The two images below show a topview of the situation and a composition of several frontal raster images. (It's ok if they are mapped to a single reference plane)
أكثر...
Currently, they are saved by abusing a metric CRS and encode the z coordinate of the wall as x, and the offset from the left side of the wall as y. This gives a local reference system which works for its purpose but loses the global context.
For vector data it is straightforward to give every vertex a 3D coordinate to locate it in (global) space. This is what should be created based on the raster data (use a GIS User Interface to digitize areas of interest on top of these walls).
Furthermore, multiple walls can be situated next to each other and it should be possible to visualize these in this context (it's enough if it only works if they have the same azimuth).
One idea would be to use a custom CRS in vertical space, which has its origin based on a real-world coordinate.
The two images below show a topview of the situation and a composition of several frontal raster images. (It's ok if they are mapped to a single reference plane)


أكثر...