On Sat, 5 Oct 2019, 16:32 Ahmet Temiz via Geometry, <geometry@lists.boost.org> wrote:
Hi,
How can I retrieve geometric data from  postgis

Use SQL and parse the output or you can try to read it with this unreleased extension 
https://github.com/boostorg/geometry/tree/develop/include/boost/geometry/extensions/gis/io/wkb


shapefile


Use the  shapelib or you can try one of these unreleased extension related to shapefile format 

https://github.com/boostorg/geometry/tree/develop/include/boost/geometry/extensions/gis/io/

Remember, Boost.Geometry is not  another GDAL/OGR library. 
You may need to implement readers parsers on your own or use third parties. 

Best regards, 
-- 
Mateusz Loskot, mateusz@loskot.net
(Sent from mobile, may suffer from top-posting)