[odb-users] Mapping PostGIS POLYGON type

Weiss, Yoav yoav.weiss at intel.com
Tue Mar 29 09:22:32 EDT 2016

I would like to use the PostGIS type polygon in my code, so my header will look like:

  #pragma db type("GEOMETRY(POLYGON)")
  geos::geom::Polygon* m_p_geom;

Is there a best known method to achieve this? What will be the most efficient implementation (trying to avoid conversions from/to strings)?


Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

More information about the odb-users mailing list