Skip to main content

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
44 views

Drawing a centerline through a polygon using Python libraries [closed]

I want to draw a CENTERLINE through a polygon using Python libraries. The current tools and libraries provide ways to draw the "Medial Axis" BUT I want the centerline to go all the way to ...
Evelyn Jeong's user avatar
0 votes
0 answers
39 views

Adding symbols for vector layer

I'm trying to figure out how to add some public safety symbols to QGIS (3.34.2) like a simple and clean symbol for a firehouse location. Is there an existing library of symbols that can be turned on ...
Mark Leander's user avatar
1 vote
1 answer
104 views

QGIS 3.32.0-2: Linking against qgis_core.lib

I am not able to link my dll with the current installation of QGIS 3.32.0-2 where it was possible with QGIS 3.30.3 (and lower). Using: Microsoft Visual Studio Professional 2019, version Version 16.11....
Jan Mooiman's user avatar
1 vote
0 answers
175 views

LiDAR data processing - Which is best Python or R? [closed]

I have started working with LiDAR data processing recently. I looked up for libraries to work with LiDAR in Python and R. I would like to know which one has better libraries and extensive ...
Subha's user avatar
  • 11
1 vote
0 answers
126 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 ...
Reto's user avatar
  • 11
2 votes
1 answer
129 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 ...
BenStone's user avatar
  • 333
2 votes
3 answers
928 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 ...
Laura's user avatar
  • 47
1 vote
0 answers
312 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 ...
Mike Walker's user avatar
3 votes
1 answer
651 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\...
Therru's user avatar
  • 105
8 votes
1 answer
803 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 ...
AskioFrio's user avatar
  • 119
0 votes
0 answers
1k 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# ...
Richard's user avatar
  • 109
1 vote
1 answer
585 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 ...
reducing activity's user avatar
0 votes
0 answers
252 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 ...
0xMinCha's user avatar
  • 151
0 votes
1 answer
96 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 ...
jan's user avatar
  • 1
0 votes
0 answers
313 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 ...
Federico Pav's user avatar
3 votes
1 answer
520 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 ...
zlikotp's user avatar
  • 24
-2 votes
1 answer
933 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 ...
a11's user avatar
  • 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: ...
gwydion93's user avatar
  • 1,913
4 votes
2 answers
1k 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 ...
NikS's user avatar
  • 73
-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 ...
Shrisha Makaju's user avatar
2 votes
1 answer
4k 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 ...
ArnJac's user avatar
  • 375
2 votes
1 answer
371 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 ...
Jure M.'s user avatar
  • 105
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)?
Ricardo Barros Lourenço's user avatar
2 votes
2 answers
433 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 ...
sudhanshud's user avatar
1 vote
1 answer
817 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. ...
NanBlanc's user avatar
  • 136
0 votes
1 answer
68 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 ...
openLayers User's user avatar
0 votes
1 answer
1k 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 ...
Jecogeo's user avatar
  • 291
7 votes
2 answers
480 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 ...
Jack Deeth's user avatar
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 ...
Alexandr Crit's user avatar
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 ...
Zander's user avatar
  • 45
2 votes
0 answers
319 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 ...
Sarath Radhakrishnan's user avatar
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 ...
Benedikt Groß's user avatar
2 votes
0 answers
886 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 ...
frac's user avatar
  • 71
1 vote
3 answers
721 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 ...
jhyap's user avatar
  • 221
1 vote
1 answer
334 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 ...
Sleep6's user avatar
  • 397
3 votes
2 answers
921 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 ...
Tyler DeWitt's user avatar
1 vote
2 answers
917 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 ...
PearsonArtPhoto's user avatar
1 vote
1 answer
361 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 ...
fkili mohamed's user avatar
2 votes
2 answers
600 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 ...
Avishek's user avatar
  • 157
1 vote
1 answer
724 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 : ...
Laurent Jégou's user avatar
2 votes
2 answers
753 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 ...
Flot2011's user avatar
  • 257
1 vote
1 answer
405 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 ...
Kyudos's user avatar
  • 243
2 votes
1 answer
128 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. ...
TinF's user avatar
  • 23
2 votes
1 answer
271 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 "...
Daniele's user avatar
  • 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 ...
Devdatta Tengshe's user avatar
2 votes
1 answer
139 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 ...
taffer's user avatar
  • 123
3 votes
2 answers
949 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. ...
WolfOdrade's user avatar
  • 2,758
4 votes
1 answer
931 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 ...
Jeff B's user avatar
  • 935
7 votes
4 answers
711 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 ...
robintw's user avatar
  • 4,006
1 vote
1 answer
523 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 ...
justin waugh's user avatar