[odb-users] ODB PostGIS?
Boris Kolpackov
boris at codesynthesis.com
Tue Nov 7 08:45:50 EST 2017
christ_emily <christ_emily at 163.com> writes:
> My application need to store spatial data, but from ODB manual I can't
> find the example for that. If ODB support the spatial data in PostGIS,
> please send me the examples.
ODB doesn't have out-of-the-box support for PostGIS though you can map
suitable C++ types to PostGIS types as described in this article:
https://www.codesynthesis.com/~boris/blog/2012/07/18/custom-database-to-cxx-type-mapping-in-odb/
See also the pgsql/custom/ test in the odb-tests package for some examples.
Boris
More information about the odb-users
mailing list