Trisha Shetty (Editor)

Brig (C libraries)

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
C++ 11

Type
  
Libraries

Operating system
  
Cross-platform

License
  
MIT

Stable release
  
1306 / June 2013; 3 years ago (2013-06)

Brig is a collection of cross-platform C++ 11 header only libraries that offers interaction with many databases and usability of the geometric data.

Contents

boost

  • use to convert a geometry between Boost.Geometry, WKB / OpenGIS 99-049 and WKT
  • depends on Boost (header only)
  • database

  • use as a compact wrapper for a unified access to databases:
    1. CUBRID (no spatial data)
    2. DB2 + Spatial Extender
    3. Informix + Spatial DataBlade
    4. Ingres (no valid spatial index)
    5. Microsoft SQL Server
    6. MySQL
    7. Oracle
    8. Postgres + PostGIS
    9. SQLite + SpatiaLite
  • supported formats: WKB / OpenGIS 99-049 (geometry), UTF-8 (text), ISO 8601 (datetime)
  • supported rasters: RasterLite, WKTRaster, simple_rasters
  • ability to receive metadata (TABLES, COLUMNS, INDEXES) and to use basic SQL commands (SELECT, INSERT, CREATE, DROP) without a line of code in SQL
  • multithreading
  • depends on Boost (header only)
  • optionally depends on (header only + dynamic loading):
    1. CUBRID C Client Interface
    2. libpq C Library
    3. MySQL C API
    4. ODBC / unixODBC
    5. Oracle Call Interface
    6. SQLite C Interface

    gdal

  • use to read all georeferenced rasters supported by GDAL
  • use to read (and sometimes write) a variety of vector file formats supported by OGR
  • depends on Boost (header only) and GDAL (header only + dynamic loading)
  • osm

  • use to read OpenStreetMap tiles
  • depends on Boost (header only) and cURL (header only + dynamic loading)
  • proj

  • use to change a projection of WKB / OpenGIS 99-049
  • EPSG support
  • depends on PROJ.4 (header only + dynamic loading)
  • qt

  • use to draw WKB / OpenGIS 99-049
  • depends on Qt
  • unicode

  • use to transform a unicode text between UTF-8, UTF-16 and UTF-32
  • use for case mappings
  • Test compilers

  • GCC 4.7.3
  • MinGW 4.7.2 (threads-posix, sjlj)
  • Visual C++ Compiler November 2012 CTP
  • References

    Brig (C++ libraries) Wikipedia