Questions tagged [c]

C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations.

Filter by
Sorted by
Tagged with
4 votes
1 answer

How to speed up rasterio.transform.xy

REPRODUCIBLE SETUP In a Google Colab notebook, I install rasterio: !pip3 install rasterio Import modules: import rasterio import numpy as np import time from import CRS from rasterio ...
zabop's user avatar
  • 1,476
3 votes
1 answer

How to find the minimum perimeter oriented bounding box?

I would like to know an algorithm to calculate the minimum perimeter oriented bounding box of a point set or polygon. I know that if I use the rotating calipers, I am able to get the minimum area ...
Anderson Carniel's user avatar
2 votes
1 answer

C-based implementation of Djikstra's or Fast Marching for QGIS/Python?

I need an algorithm to find least cost paths between points on a discrete grid, allowing for the direction of transport to affect the cost of transport, allowing for different modes of ...
Matt D.'s user avatar
  • 403