All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
344 views

Image is South up while converting NetCDF layer to GTiff with gdal_translate

Issue: I'm trying to extract a NetCDF layer to GeoTIFF. The output GeoTIFF image has the South up. What I need: The output GeoTIFF image with North up. GDAL version: 3.2.2, released 2021/03/05; OS: ...
0 votes
1 answer
61 views

QField Cloud - some layers remain read-only despite different configuration in QGIS

I am working with QGIS and QField Cloud for a while now and despite having to regularly solve sync issues, I'm quite happy with QFieldCloud for my purposes (collecting data in the field). But now I ...
7 votes
2 answers
2k views

Adding support to Esri's FileGDB driver when fiona/gdal/osgeo were installed through Anaconda

Is there a way to tweak the fiona/gdal/osgeo packages installed through Anaconda so that they can be used to read/write GDB files using the ESRI FileGDB driver? The main thing I'm actually trying to ...
0 votes
0 answers
15 views

Exporting monthly water area data from Google Earth Engine to Google Drive

I am trying to export monthly water area data from Google Earth Engine to Google Drive as a CSV file, but I'm encountering issues with my code. Here's the code I've written: // Define area of interest ...
0 votes
0 answers
28 views

Convert networkx graph to qgsvectorlayer in pyqgis [closed]

I'm converting to a QGIS processing plugin a python script that loads two spatial layers (nodes and edges), converts them to a graph using networkx and after doing some transformation converts back to ...
0 votes
0 answers
21 views

Unexpected behavior when creating virtual layer using Python console

I have already viewed this link and still having issues - virtual layer through console. When I create virtual layer from the layer ->add/edit virtual layer and use this as a query it works as ...
0 votes
0 answers
28 views

ArcGIS Pro tool Output Layer does not exist

I am trying to write a Python script tool which includes making a copy of an input layer (target) and creating a feature class as specified as a parameter (output_layer) In the tool properties I have ...
0 votes
0 answers
14 views

Create 3D soil profile with provision to cut cross-section with visualization option as well using ArcGIS Desktop/Pro or any other tools

I used empirical Bayesian kriging 3D using ArcGIS Pro to create 3D models of boreholes, However, I am unable to clip the voxel layer using a 2D polygon area. Also I would like to see cross - section ...
0 votes
0 answers
14 views

How to get the same class number with a K-means classification for different polygons in R

I have an RGB image of a vineyard and I am trying to extract the vine rows to create a mask of pure vine pixels. I have created a shapefile containing every row as rectangle polygons. I have then ...
2 votes
0 answers
31 views

Convex hull geometry issue

I have a lot of polygons which have a notch at the edge. I want to have the area of the notch for each polygon. In order to reach this goal I used the Convex hull tool and then clip the polygons (...
-3 votes
0 answers
23 views

Exploring the synergy between Manim and QGIS [closed]

I am keen on leveraging the capabilities of Manim (https://www.manim.community/) to visualize data generated through QGIS. Thus far, I have successfully created a map containing an undirected graph ...
0 votes
1 answer
200 views

Calculate area of geometry in hectares using ArcPy

I have the following script, where it adds fields to a shapefile. The fields are a code and "Sup_ha", which is the area in hectares: import arcpy shapefile = "path/shapefile" ...
2 votes
1 answer
634 views

Sentinelsat Python API - download images after scihub IP Change

I need download Sentinel-2 images. I used this code for like 2 years or more: def download_S2_by_tile(tiles=[], initialDate='', finalDate='', downloads=''): """ :param tiles: ...
0 votes
0 answers
34 views

Reverse linestrings, given attributes

I am working with street numbering and toponymy and I have an issue in hands: Given some data provided by an Institution, i.e.: points as door numbering and lines as the streets Those streets were ...
0 votes
0 answers
12 views

ModuleNotFoundError: No module named 'fpdf'

I am trying to create a plugin and I like to have printed the continuation of a window I add the relevant code but the qgis renders this error message at the python error dialog box level knowing that ...
0 votes
1 answer
23 views

How to use CIM in Python to enable time?

I'm trying to automate with Arcpy enabling time for the layers in my Drawing order but can't figure it out. From digging I've found that the only way to do it is through CIM but there's limited ...
0 votes
1 answer
886 views

django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library via Homebrew

Django 4.1.5 on M1 Ventura 13.3.1 (22E261) failing to detect GDAL installation even when enumerated per the documentation. Is this a version error or a pointer error? I don't really understand what ...
5 votes
3 answers
2k views

Add 3rd party repositories button not in version 1.8.0 Lisboa

The available manuals and other help sources all refer to the 'Add 3rd Party Repositories button' in Plugins>Fetch Python Plugins and then the Repositories Tab. My problem is that the installation ...
0 votes
0 answers
15 views

Saving a GeoTIFF with transparent data using OSGeo.Gdal

I'm creating a GeoTIFF using OSGeo.Gdal and have been successful so far. However, it's unclear to me how to save a .tif file with transparency. I'm building the GeoTIFF using a byte array where values ...
1 vote
1 answer
15 views

How to check if a raster in PostgreSQL table is tiled

I have inherited a PostgreSQL db and I am trying to run queries like this: UPDATE geomtable a SET column = ST_Value(b.rast, 1, a.geom) FROM rastertable b WHERE ST_Intersects(b.rast,a....
-1 votes
0 answers
12 views

Best practices for deploying GeoServer with HTTPS from a Docker Container on AWS AppRunner [closed]

I am looking to deploy GeoServer with HTTPS support from within a Docker container. What are the recommended best practices for achieving this on AWS AppRunner?
1 vote
1 answer
277 views

Merge XYZ Files: "ERROR 1: Attempt to create 6961x-8398 dataset is illegal, sizes must be larger than zero."

So I am trying to merge 200+ XYZ files to one Raster-layer. And i get the following Exception: 2022-05-01T14:18:23 INFO gdal_merge.bat -n -398.0 -ot Float32 -of GTiff -o C:/Users/magni/AppData/...
-2 votes
0 answers
15 views

Error generating Hydrographic Basin in QGIS [closed]

Estou tentando gerar a Bacia Hidrográfica no programa QGIS e não está gerando, aparece que não foi possível gerar e as linhas de fluxo não aparecem. Google Translated "I am trying to generate ...
3 votes
1 answer
253 views

Error: Unable to open image while ingesting into earth engine

I am trying to upload and ingest a raster file of TIF format into the earth engine. The data is stored in GCS and I used CLI to make the upload. Upload is complete, but ingestion is interrupted ...
1 vote
2 answers
2k views

Geofencing (Leave/Enter geofence Timing) Issue?

I already search SE already if the question has been raised before but I can't find one so I'll ask here anyway. I'm creating a small application which involve geofencing my GPS device doesn't have a ...
1 vote
1 answer
151 views

How to colour vector tiles based on filter in QGIS 3.16

I have a vector tiles layer that displays fine in QGIS 3.16: A fill without a filter works as well: However, the fill based on a filter on the feature properties does not work (result can be seen in ...
0 votes
1 answer
165 views

QGIS - error connection of database in RiverGIS

Currently, I am facing a problem to connect Postgres database to RiverGIS. It shows this error. Couldn't connect to river database: rivergis@localhost Please, check you database connection settings! ...
1 vote
0 answers
22 views

Query to find nearest road highway tag to a (latitude,longitude) point

I imported an OSM file for the state of Delaware into the PostGIS Database via connecting to it through QGIS. I would like to build a query to retrieve the nearest roads to the (latitude,longitude) ...
1 vote
3 answers
473 views

Identify circuits/loops in GPS track data

I have a GPS time series with a set of lat/long coordinates per second, how would you go about identifying circuits/loops in that GPS track? To the layman, it seems like something that should be ...
1 vote
1 answer
1k views

Speckle filter Sentinel 1 in Google Earth Engine

Are radar images already processed with speckle filter and in decibels? Below is my code, I am looking for a way to adapt it to those processes, though I don't know if the speckle can be added before ...
0 votes
1 answer
8 views

How to avoid, Tile Error: User memory exceed when trying to preform a Sentinel-2 SR cloud masking with s2cloudless

I am trying to create a 2 cloudless composites of Sentinel-2 imagery over a region of interest that is pretty cloudy. I found an example script in GEE java script API that does a pretty aggressive ...
0 votes
1 answer
23 views

Layer package file generated in 2019 does not open anymore in arcmap 10.4.1

I constructed a landform map in Arcmap for a region in Africa (made with a DEM) that cost me quite some time to make. When trying to open it, I get the pop-up box "could not open specified file&...
3 votes
1 answer
500 views

Making spatial pie chart using two columns in GeoPandas

I am trying to make a pie chart that looks like the one below: - I am using GeoPandas for that: us_states = gpd.read_file("conus_state.shp") data = gpd.read_file("data_file.shp") ...
0 votes
1 answer
254 views

Adding list to Image Properties using Google Earth Engine JavaScript API

I am trying to iterate through an image collection and add a property to each image that is taken from a list. For example I want image 1 in the collection to have the property list item 1. I first ...
0 votes
3 answers
106 views
+50

QGIS multiple labels after PDF export

I want to create a map with different data. One layer is a WMS layer with the address: https://geodienste.sachsen.de/wms_geosn_flurstuecke/guest? This layer contains parcels and the corresponding ...
0 votes
0 answers
8 views

QfieldCloud Community

I have uploaded my project to QfieldCloud Community, but it does not show on the Community Project part. Second, when I try the projects from the community, I am able to open them but not edit them, ...
0 votes
0 answers
4 views

ReduceRegion not giving GEE data

I'm using reduceRegion on Hyperion data using the GEE Python API. I have a FeatureCollection, where, for each feature, I find the average of the required field for the whole feature, for a single ...
2 votes
2 answers
1k views

TMS tile layer in ESRI ArcGIS iOS API

I asked this particular question on the official iPhone SDK forum as well. I have seen a working example of a TiledMapServiceLayer subclass that overrides the GetTileUrl(int level, int row, int col) ...
1 vote
2 answers
476 views

Processing Sentinel-3 SLSTR data using python via snappy API

I am trying to convert Sentinel-3 SLSTR S6 radiance data to a Geotiff file. However, I am finding converting the Sentinel-3 data which is in NCDF4 format to Geotiff format correctly very difficult. I ...
0 votes
0 answers
17 views

Calculate the percentage of each grid cell that intersects with features in another layer

Consider this image: For each square cell, I would like to calculate the percentage covered by selected features in the green polygon layer (consider the green features to be the selected ones). I ...
2 votes
1 answer
103 views

How to replicate QGIS's Identify Features functionality with ogr2ogr when downloading data from WFS endpoint?

I am working with this WFS endpoint: https://wxs-gpu.mongeoportail.ign.fr/externe/39wtxmgtn23okfbbs1al2lz3/wfs In QGIS, I do: Layer -> Add Layer -> Add WFS Layer..., then add the above endpoint. ...
1 vote
1 answer
55 views

Applying OSM styles to vector MBTILES on QGIS

I downloaded here the OpenStreetMap vector tiles (mbtiles format) from MapTiler. Now I uploaded the file to QGIS but I see it without styles. How can I apply the standard OSM styles to it?
3 votes
1 answer
666 views

Masking FeatureCollection using image in Google Earth Engine

I have a FeatureCollection with my study area, and an image with urban areas. I want to remove the areas in my FeatureCollection where the image has urban areas. How can this be done? var studyArea = ...
1 vote
1 answer
35 views

How do I change the unit of measurement?

The preference/option/map tools window allows you to modify the units of measurement. my QGIS v 3.22 is set to meters. I made a measurement. Then I finally wanted to do this calculation in kilometers ...
6 votes
1 answer
11k views

Debugging ERROR 000464: Cannot get exclusive schema lock?

I am trying to run the "Near" tool in Arcmap. Both my layers involved are on a SDE database. When I run the tool I get the following error... ERROR 000464: Cannot get exclusive schema lock. ...
0 votes
0 answers
31 views

Resources to learn inheriting from a QGIS class [closed]

I need to inherit from QgsNetworkStrategy class in QGIS to calculate the least cost path based on other attributes than distance or speed. I have tried to use existing plugins like "Least Cost ...
0 votes
0 answers
23 views

Error in st_intersects() %>% as.numeric() : 'list' object cannot be coerced to type 'double'

I'm working with 2 shapefiles (sf) containing longitude and latitude for both schools locations (shape_schools) and parks locations (shape_parks). I also have a shapefile containing mutually exclusive ...
0 votes
1 answer
134 views

ModuleNotFoundError: No module named 'matplotlib.backends.backend_qt4agg'

I installed QGIS plug-in "AVHYAS is an open source Python 3 tool plugged in QGIS",and installed required libraries however while trying to use some function, I got the following error. The ...
0 votes
1 answer
139 views

Getting Memory limit error in chart generation

I'm trying to generate chart for SPI-12 for 16 days using CDR Dataset but I'm facing memory limit error. My code where I'm facing problem is given as: //Plot SPI-16-Day Chart var spiChart16Days = ui....
0 votes
2 answers
26 views

How to georeference a big file without creating an output file

Using QGIS 3.28.11, I have a very big file (0,5 Gb) which is oriented but not to scale (definition unknown) and not georeferenced (but the coordinate system used when creating the file is known). Is ...

15 30 50 per page
1
2 3 4 5
3210