Questions tagged [library]

In object-oriented programming, a logical grouping of classes, usually with a header section that lists the classes in the library.

Filter by
Sorted by
Tagged with
1 vote
0 answers
35 views

GDAL viewshed does not start

I am trying to start a viewshed analysis on the current LTR QGIS version (3.22.15) on MacOS Ventura 13.2. The installation of QGIS is the plain vanilla package as downloaded from qgis.org. However it ...
  • 11
2 votes
1 answer
103 views

Downloading library on button click in QGIS plugin

I am building a plugin in QGIS 3.24 using Python. I want to create a button in the plugin which will in turn download the dependencies such as Pandas, NumPy, GeoPandas, Networkx etc. in the system if ...
  • 147
1 vote
2 answers
296 views

Automatically install third party Python library to QGIS while first install of custom plugin (Windows)

I've developed a QGIS plugin that needs to have installed external libraries to work. While I was working I've installed those libraries with pip command via osgeo4W shell but I don't want to each one ...
  • 37
1 vote
0 answers
241 views

Why does the R expression "library(sf)" fails when run from another process?

I'm using sf and raster packages to manipulate maps. It works perfectly when I run it with Rscript command, and when I run it inside a .sh shell wrapper, too. But when I try to run the script from an ...
3 votes
1 answer
541 views

Missing optional dependency 'tables' in QGIS

When we run a Python script as an action in QGIS, we get an error as shown below. Traceback (most recent call last): File "", line 17, in File "C:\PROGRA~1\QGIS3~1.16\apps\Python37\...
  • 105
8 votes
1 answer
329 views

Is there a reason I should use gdal's Python library instead of just using os.system(gdal command)?

From my understanding, there is gdal installation that you can just access through the shell then there is the Python library version for it with 'Python bindings' that map to the original. My current ...
  • 119
0 votes
0 answers
839 views

Seeking GIS Library for C# Applications using WPF

This question has been asked multiple times before, but not in the last 5+ years so I think it's worth asking again as I'm struggling and the answer way well be different now. I want to create a C# ...
  • 109
1 vote
1 answer
360 views

Output in GeoJSON data format using Ruby

I have some data with Ruby script (obtained by geolocating, loading from config files etc) that I want to output as a GeoJSON file. I have some ugly code that generates valid geojson files - but is ...
0 votes
0 answers
201 views

Spatial indexing of GeoTIFF images (Java Library)

I have a requirement to spatially index each pixel of GeoTIFF images and store them in a scalable database. I intend to perform this in the following manner. Divide each GeoTIFF into smaller tile ...
  • 141
0 votes
1 answer
79 views

Compiling on CentOS fails due to ignored LIB flag

I need help with installing PostGIS. In general: I try to install it on a cluster (CentOS) and do not have admin rights. There is a sqlite3 installation (connected to the error), but this seems ...
  • 1
0 votes
0 answers
267 views

QGIS 3.10.3 processing import problems

I just updated QGIS from 3.10.2 to 3.10.3. When I start QGIS I receive this message log in processing tab: 2020-02-24T14:27:00 CRITICAL Could not import script algorithm 'quick_api' from ...
3 votes
1 answer
427 views

Compatibilty issue of pyexiv2 and ctypes module in QGIS 3.10 [closed]

I'm trying to install a python module called pyexiv2 onto QGIS 3.10, I've noticed this module doesn't work. Although the module's installation seems to process well python -m install pyexiv2 and I get ...
  • 532
-2 votes
1 answer
714 views

Setting up dependencies for PyPi Elevation module?

I am trying to set up pypi's elevation module in Miniconda (Python 3.7.3), but I get the following error when I run the selfcheck: (base) C:\Users\name>eio selfcheck 'GNU Make' not found or not ...
  • 950
2 votes
2 answers
2k views

Getting a county name using a 5 digit FIPS code

Lets say I have a five digit fips code: '13245'. I have a dictionary to handle know that the 2-digit state part of the code(ex: {'GA':'13', etc...}). But I want to also get the full county name (EX: ...
  • 1,821
3 votes
2 answers
939 views

How to force PostGIS to use a specific GDAL version?

I have Ubuntu Server (16.04) with installed PostgreSQL (9.5) and PostGIS (2.2). I have also installed GDAL 2.1 (from ubuntugis/ppa) and I need PostGIS to use it. But when I check: SELECT ...
  • 63
-2 votes
2 answers
1k views

Visual C++ runtime error

I had a working ArcGIS installation on my computer. Suddenly one day this error occurred. Runtime error! in Microsoft Visual C++ Runtime Library . I have reinstalled ArcGIS, reinstalled all the ...
2 votes
1 answer
3k views

Finding longest line segment within polygon? [closed]

I have been looking around to find a way to calculate the longest line within a polygon. Determining longest line segment within polygon that passes through its centroid? and Calculating maximum ...
  • 355
2 votes
1 answer
342 views

GeoServer: which library for boosting (raster) WMS output generation [closed]

I have a GeoServer instance, which is only used as a WMS service. Reading the docs, there are libraries, which can be used to boost WMS ouput generation: native JAI and ImageIO JAI-EXT libjpeg-turbo ...
  • 95
4 votes
3 answers
1k views

Does exist a Python library to generate polygons avoiding antimeridian issues?

If I need to generate a polygon that crosses the anti-meridian, does it exists a Python library that treat such cases (partitioning such polygon and generate a multipart polygon)?
2 votes
2 answers
385 views

Converting polygon in grid points for each grid of 100m*100m in PyQGIS?

I want to convert my polygon layers into point layer where I will have a point for each grid of 100m *100m grid for entire polygon layers using PyQGIS ? I don't know any library function for grid ...
1 vote
1 answer
707 views

CSV to GeoJSON in C++

I'm looking for a way of converting CSV file to GeoJSON in C++ I'm currently writing a conversion function that writes a text file with the structure of a GeoJSON file, but this isn't really sexy. ...
  • 136
0 votes
1 answer
60 views

How to convert debug.js to .js file after editing debug.js file

How to convert a library file debug.js to .js file after editing the debug.js file. I edited opensource library file olgm.debug.js . Now i want to convert it into normal olgm.js file to use in ...
0 votes
1 answer
932 views

Python library for Geographically Weighted Regression (GWD)

The user @GrantD71 seems to have implemented a GWD in python through hard-coding using Numpy/Scipy. He asked for library/package to perform GWD but the best reply was given using an R package. I'm ...
  • 279
7 votes
2 answers
410 views

Plotting a hyperbola, or, solving spherical triangles

I am trying to create a GeoJSON path containing lines of hyperbola, in order to recreate Decca Navigator charts in QGIS, something like this: The chart has nine lines of hyperbola plotted between ...
1 vote
3 answers
1k views

Open library for generating Styled Layer Descriptor (SLD) files?

I'm developing an app that can create/edit shapefiles and visual representation of vector layers and to export them to some of most common geoportals(f.ex. GeoServer). I have dealt with .shp, so now ...
2 votes
1 answer
1k views

Open source library to display offline shapefiles in Android?

I am involved in developing a Android application that needs to be able to make use of Esri Shapefiles. Hardware used will be 7" Android rugged tablets running Android 4.2 or later. It is an offline ...
  • 45
2 votes
0 answers
306 views

Issue loading Fortran dll from QGIS 2.8 python plugin on Windows

I need help to call a Fortran shared library (DLL) from a QGIS python plugin. For this purpose I created a simple Fortran dll with the function to add two integers. Also I create a simple python ...
7 votes
0 answers
2k views

Library for minimum bounding box "by width" in JavaScript or Python [closed]

I'm looking for a library (or at least a code snippet) to calculate the minimum bounding box "by width" in JavaScript or Python. Below is an illustration from the ArcGIS documentation of that ...
2 votes
0 answers
848 views

What C/C++ libraries exist to transform vectors between map projections

Has anybody written a C/C++ library (preferably one that is aware of Proj.4 definition strings) that has a set of routines to convert vector quantities (e.g., wind speed and direction) between map ...
  • 51
1 vote
3 answers
651 views

Creating multi-colored raster image based on long,lat,color information?

I want to create a multi-colored raster layer to overlay on my map in OpenLayers I have the following information in my DataBase: D_Cell_ID Long Lat ColorCode 055113 ...
  • 221
1 vote
1 answer
302 views

running tlb from bin -- interop.scripting.dll not found

I rebuilt a custom command in VS Express 2013, added from file to a custom toolbar in ArcMap 9.3.1. The form appears, but upon running I immediately get an error about a missing Interop.Scripting.dll ...
  • 397
3 votes
2 answers
883 views

geospatial libraries like postgis

I'm pretty comfortable with postgis, but I realized that for part of my application, having a database is pretty heavy. I'd like to be able to take a stream of Point objects and check against an in ...
1 vote
2 answers
829 views

Best way to figure out which regions a point is in a shapefile?

I'm trying to figure out the best way on Android to figure out if a point in region as defined in a shapefile. For instance, I might want to know what country I'm in using the Geo Common's Shapefile ...
1 vote
1 answer
347 views

Getting fatal error LNK1104 qgis build

I try to build qgis1.8.0 using Microsoft Visual c++ 2010 in a Windows 7 64bit. all the dependency are installed and the solution qgis1.8.0.sln was generated succesfully. but my problem is the ...
2 votes
1 answer
558 views

Creating New Modules in Saga GIS

I have recently started development with SAGA and have run into some difficulties. I have checked out the svn code base and have successfully compiled in VS-10 (except the project ViGrA). Now I just ...
1 vote
1 answer
703 views

PostGIS upgrade 1.5->2.1 on OSX

i'm struggling updating my installation of PostgreSQL/PostGIS, from 9.1/1.5 to 9.2/2.1. I'm on OSX Mountain Lion and using the very useful ports from W. Kyngesburye. I followed the procedure : ...
2 votes
2 answers
720 views

A library/software to create DEM from a topographic map

In one of my projects I need to digitize video clips showing some natural landscape. Specifically I need to know distances between different areas and elevation levels. I have a topographic map of ...
  • 257
1 vote
1 answer
377 views

Which GeoTIFF tags tell me what I want to know? [duplicate]

I'm reading some GeoTIFF files into my app using libgeotiff. After the model of the listgeo program that comes with libgeotiff, I want to extract the extents (corners) of the GeoTIFF so I can position ...
  • 213
2 votes
1 answer
125 views

QGIS QgsOgrProvider library

I asked a question here: https://stackoverflow.com/questions/14790463/qgis-copy-layer-in-c-plugin and I was suggested to find the library which provides QgsOgrProvider::createEmptyLayer() function. ...
  • 23
2 votes
1 answer
238 views

Licensing of QGIS libraries

what type of license are subject to the following QGIS libraries? libqgis_analysis.so libqgis_core.so libqgis_gui.so I would like to use the following libraries released in QGIS package in a "...
  • 21
20 votes
1 answer
12k views

Is there an comparison of the various mapping libraries for Android?

I am currently looking at the various libraries that I can use to show a map in my custom Android App. I have found several like Mapsforge, OSMDroid, ArcGIS runtime for Android, Google Maps for ...
2 votes
1 answer
134 views

Library design: Layer coodinates/origin

I am working on a vector map library where you can add plain image and vector layers to a map. The map itself consists of an infinite coordinate system and each layer is a coordinate system of it's ...
  • 123
3 votes
2 answers
889 views

TF.Net versus the NetTopologySuite

In a recent post, a responder made reference to the Topology Framework .Net. I'd never heard of it before, having gently used the NetTopolgySuite (and DotSpatial) before with satisfactory results. ...
  • 2,738
4 votes
1 answer
897 views

Finding intersection density for weighted lines connecting points across the continental USA [closed]

I'm working on an one-time problem that I'm hoping to solve with a computer program using free GIS libraries (preferably for VB.Net, C#, or Python... Java or C/C++ could work too). Alternatively, I ...
  • 895
7 votes
4 answers
635 views

Self-hosted WeoGeo-style geospatial library software

I've been hearing a lot about WeoGeo Library recently, but (a) it costs and (b) it is hosted 'in the cloud', which is not acceptable for the data my organisation is using because of data usage ...
  • 3,946
1 vote
1 answer
519 views

I am looking for a library or API to do vector overlay for two map layer (shapefiles or GML files)

I need to perform vector overlay operation on any two map layers as ArcGIS and Grass GIS performs. I am wondering is there any API or library ( in C, C++ or Java) so that I can use that third party ...
2 votes
3 answers
5k views

C# library for bounds based geometry search

I am searching for C# library which has code that builds spatial index in memory based on geometry bounds and enables fast searching for all geometry inside given bounds. I prefer free library.
5 votes
4 answers
3k views

Grib2 Libraries For .Net

Are there any good libraries for accessing GRIB2 data in .Net? Specifically, I want to be able to quickly pull subsets of weather data from a grib2 file based on time and location.
4 votes
2 answers
2k views

Good Java-Based Raster Libraries

Can anyone suggest a good, Java-based raster library? By good, I mean a library that can read common raster formats (ex. tif, img...etc) and save them to other image formats (ex. png). I say Java-...
  • 5,671
2 votes
5 answers
3k views

Is there any open source library for reading OCAD files?

I would like to read map files created by OCAD (.ocd). The file format specification is open and available on the web page, but it's binary and complex. Is there an open source library that can be ...
  • 2,221