All Projects → jericks → geos-cli

jericks / geos-cli

Licence: other
A native geometry command line library using libgeos.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to geos-cli

Wicket
A modest library for moving between Well-Known Text (WKT) and various framework geometries
Stars: ✭ 484 (+2320%)
Mutual labels:  geometry, geospatial
Cga.js
CGA 3D 计算几何算法库 | 3D Compute Geometry Algorithm Library webgl three.js babylon.js等任何库都可以使用
Stars: ✭ 313 (+1465%)
Mutual labels:  geometry, geospatial
topo
A Geometry library for Elixir that calculates spatial relationships between two geometries
Stars: ✭ 125 (+525%)
Mutual labels:  geometry, geospatial
Cheap Ruler Go
📏 cheapruler in Go: fast geodesic measurements
Stars: ✭ 176 (+780%)
Mutual labels:  geometry, geospatial
skeyenet
Road and Building Segmentation in Satellite Imagery
Stars: ✭ 106 (+430%)
Mutual labels:  geospatial
tyssue
An epithelium simulation library
Stars: ✭ 50 (+150%)
Mutual labels:  geometry
de9im
DE-9IM spatial predicate library implemented in Javascript.
Stars: ✭ 22 (+10%)
Mutual labels:  geospatial
earthengine-apps
A collection of Earth Engine Apps created using geemap, voila, and heroku
Stars: ✭ 20 (+0%)
Mutual labels:  geospatial
python-censusbatchgeocoder
A simple Python wrapper for U.S. Census Geocoding Services API batch service
Stars: ✭ 40 (+100%)
Mutual labels:  geospatial
NetCDF.jl
NetCDF support for the julia programming language
Stars: ✭ 102 (+410%)
Mutual labels:  geospatial
spatial efd
A spatial aware implementation of elliptical Fourier analysis
Stars: ✭ 19 (-5%)
Mutual labels:  geospatial
EOmaps
A library to create interactive maps of geographical datasets
Stars: ✭ 193 (+865%)
Mutual labels:  geospatial
vexed-generation
Polymorphic helper functions & geometry ops for Houdini VEX / OpenCL
Stars: ✭ 32 (+60%)
Mutual labels:  geometry
geodesy-php
Geodesy PHP - Port of some known geodesic/math functions for getting distance from a known point A to a known point B given their coordinates. It also supports conversion between units of length, Polar position to Cartesian coordinates, and different Reference Datums.
Stars: ✭ 26 (+30%)
Mutual labels:  geospatial
deegree3
Official deegree repository providing geospatial core libraries, data access and advanced OGC web service implementations
Stars: ✭ 118 (+490%)
Mutual labels:  geospatial
totalopenstation
Total Open Station downloads and exports survey data from your total station
Stars: ✭ 51 (+155%)
Mutual labels:  geospatial
geok
Kotlin geometry library
Stars: ✭ 29 (+45%)
Mutual labels:  geometry
Unity3D-Coding-Examples
Various case-studies in Unity3D
Stars: ✭ 91 (+355%)
Mutual labels:  geometry
envelope ex
Utilities for calculating and comparing envelopes from geometries
Stars: ✭ 15 (-25%)
Mutual labels:  geometry
python-resources-for-earth-sciences
A Curated List of Python Resources for Earth Sciences
Stars: ✭ 159 (+695%)
Mutual labels:  geospatial

Github Action

geos-cli

A Command line interface for GEOS - Geometry Engine Open Source.

Each command does one thing well (buffer, centroid, envelope) by reading in a geometry, processing the geometry, and writing the geometry out as WKT. Individual commands can be connected with unix pipes.

geos-cli buffer -g "POINT (1 1)" -d 10 | geos-cli centroid

geos-cli is written in C++ using CLI11 and GEOS. The Google Test library is used to write unit tests. The project is built with CMake and dependencies are managed with conan.

Build

mkdir build
cd build
conan install ..
cmake -g "Unix Makefiles" .
cmake --build .
ctest --verbose

Use

List all commands

% geos-cli list
area
boundary
buffer
centroid
contains
convexhull
coordinates
count
countpoints

Get help for a command

 % geos-cli buffer --help
Buffer a geometry
Usage: geos-cli buffer [OPTIONS]

Options:
  -h,--help                   Print this help message and exit
  -g TEXT                     Geometry
  -d FLOAT REQUIRED           Distance

Use a command

% geos-cli get -g "MULTIPOINT (1 1, 5 5, 10 10)" -i 1
POINT (1.0000000000000000 1.0000000000000000)

Combine commands

% geos-cli buffer -g "POINT (1 1)" -d 10 | geos-cli centroid
POINT (0.9999999999999994 0.9999999999999997)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].