Giter Club home page Giter Club logo

bark's Introduction

Build Status Build Status Latest GitHub Release

Introduction

Bark is a geospatial, cross-platform, C++17, header only library.

Submodules:

  • db: reading and writing of raster and vector geospatial data
  • geometry: convertion between Boost.Geometry, WKB and WKT
  • proj: WKB reprojection from one coordinate reference system to another
  • qt: visualization of raster and vector geospatial data

Documentation

How to run example/nanogis

download

ubuntu 20.04

  sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-focal
  sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
  sudo apt-get update
  sudo dpkg -i ./nanogis.ubuntu.2004.deb
  sudo apt-get install -f
  nanogis

windows 10

extract

  ./nanogis/vc_redist.x64.exe
  ./nanogis/nanogis.exe

How to set up the development environment

ubuntu 20.04

  sudo add-apt-repository -y ppa:beineri/opt-qt-5.15.2-focal
  sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
  sudo apt-get update
  sudo apt-get -y install g++
  sudo apt-get -y install git
  sudo apt-get -y install libboost-dev
  sudo apt-get -y install libgdal-dev
  sudo apt-get -y install libgl1-mesa-dev
  sudo apt-get -y install make
  sudo apt-get -y install qt515base
  sudo apt-get -y install qt515imageformats
  source /opt/qt515/bin/qt515-env.sh
  wget https://github.com/catchorg/Catch2/releases/download/v2.13.3/catch.hpp
  git clone --depth=1 https://github.com/storm-ptr/bark.git

windows 10

  • OSGeo4W (PowerShell)
      mkdir C:\OSGeo4W64
      Invoke-WebRequest -Uri http://download.osgeo.org/osgeo4w/osgeo4w-setup-x86_64.exe -OutFile C:\OSGeo4W64\osgeo4w-setup-x86_64.exe
      C:\OSGeo4W64\osgeo4w-setup-x86_64.exe -q -k -r -A -s http://download.osgeo.org/osgeo4w/ -a x86_64 -P curl,gdal,libmysql,libmysql-devel,libpq,proj,spatialite,sqlite3 -R C:\OSGeo4W64
    
  • set environment variable GDAL_DATA to C:\OSGeo4W64\share\gdal
  • set environment variable PROJ_LIB to C:\OSGeo4W64\share\proj
  • set environment variable INCLUDE to C:\OSGeo4W64\include;C:\OSGeo4W64\include\libpq;C:\OSGeo4W64\include\mysql
  • set environment variable LIB to C:\OSGeo4W64\lib
  • set environment variable PATH to C:\OSGeo4W64\bin
  • copy boost headers to C:\OSGeo4W64\include\boost
  • Catch2 library (PowerShell)
      Invoke-WebRequest -Uri https://github.com/catchorg/Catch2/releases/download/v2.13.3/catch.hpp -OutFile C:\OSGeo4W64\include\catch.hpp
    
  • install Microsoft Visual C++ (Community)
  • install Qt libraries and creator (Open Source)
  • install git
  • install Bark library
      git clone --depth=1 https://github.com/storm-ptr/bark.git C:\OSGeo4W64\include\bark
    

[email protected]

bark's People

Contributors

storm-ptr avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.