All Questions
160,478
questions
0
votes
0
answers
2
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) ...
0
votes
0
answers
4
views
Erro ao gerar Bacia Hidrográfica no Qgis
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.
0
votes
0
answers
7
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
5
views
unexpected behavior when creating virtual layer using python console
I have already viewed this link and still having issues
[virtual layer through console1
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
4
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 ...
0
votes
1
answer
5
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
0
answers
15
views
Convert networkx graph to qgsvectorlayer in pyqgis
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
8
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
4
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
3
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 ...
0
votes
0
answers
16
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
0
answers
12
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 ...
0
votes
0
answers
26
views
Resources to learn inheriting from a QGIS class
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 ...
1
vote
1
answer
29
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 ...
0
votes
0
answers
11
views
How can I 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 ...
1
vote
0
answers
20
views
Convex hull geometry issue
I have a lot of polygones 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 (...
0
votes
2
answers
24
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 ...
0
votes
0
answers
11
views
Geoserver WMS breakpoint
I just started developing geoserver extension and i need help about WMS requests.
I want to print hello to the terminal when a WMS request comes. Context of my class:
package org.geoserver.wms.cluster;...
0
votes
1
answer
18
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&...
1
vote
0
answers
20
views
PostGIS error during a simple SELECT statement: Geometry SRID (2056) does not match column SRID (21781)
I am facing a strange error in a PostgreSQL 13.6 + PostGIS 3.2.0 database on a Window 10 machine:
mydb=# SELECT * FROM my_schema.my_view;
ERROR: Geometry SRID (2056) does not match column SRID (21781)...
1
vote
0
answers
30
views
update symbology when add feature qgis
I'm working in QGIS and I have a virtual layer with lines geometry and categorized symbology by field "name". When I have a new name category I have to do the classify to get the new name in ...
0
votes
0
answers
21
views
Populating an HTML table in QGIS print layout with data from multiple layers using Atlas coverage layer
I am working on a QGIS print layout where I need to populate an HTML table with data from different layers. I have set up an Atlas coverage layer and I'm using @atlas_featureid as a filter to retrieve ...
0
votes
0
answers
17
views
GDAL Rasterize over attribute (rewriting raster issue) in QGIS
I'm trying to process gdal:rasterize_over in QGIS Python console. The same problem persists - this function is rewriting the input sample raster instead of making a new one as output. I've tried (look ...
0
votes
0
answers
10
views
Converting geodetic coordinates to ENU coordinates
I am trying to understand conversion from geodetic coordinates to ENU coordinates. As per this wikipedia page, its two step process: geodetic to ECEF coordinates and then ECEF coordinates to ENU ...
1
vote
0
answers
42
views
Crash when using Join Attribute by Location with largest overlap
I have this error. I checked that all my segments have an area greater than 0.
Process goes to 8% then this error happens.
What can I do to fix this?
Python Stack Trace
Windows fatal exception: access ...
0
votes
0
answers
5
views
Adding marker to folium map inside thread using streamlit
Using the following code I am trying to add marker to folium map inside thread on webapp using streamlit.
import streamlit as st
from streamlit_folium import folium_static
import folium
import ...
0
votes
0
answers
13
views
OpenLayers map rendering issue in Next.js 13 using TailwindCSS on a page with sticky header and footer
I am building a web app using Openlayers in Next.js 13 with TailwindCSS. I am encountering a issue/bug with rendering the base map inside a page with a sticky header and footer. The map has scrollbar ...
0
votes
1
answer
38
views
Interpolate a GeoJSON file
I have a GeoJSON file which consists of rainfall data in a location.
I want to interpolate those point data in GeoJSON and make a raster file, and display in Leaflet map. How can I do this?
0
votes
1
answer
45
views
Coordinate system used in QGIS's Advanced Digitizing tools and how can it be changed
I want to draw a point at a specific location (set of coordinates) for a map. I have read other answers and QGIS documentation on how to use the Advance Digitizing tools / panel and figure I ...
1
vote
0
answers
22
views
PostGIS selecting points using a subset of lines using ST_DWithin
I'm not sure why this script sends a much higher count than the real number. This one sends 2314 points, which the answer should be 114
I can get the correct value by either dissolving all the ...
0
votes
1
answer
43
views
Quickly convert point features to raster using ArcPy or GDAL [closed]
I have a very large point feature collection, about 40 million points, which are obtained by raster conversion, so the arrangement of points is regular (the distance between two columns of points is ...
0
votes
2
answers
18
views
Format numeric values with preceding zero(0)
How do I format numbers in JavaScript so that 1 becomes 01?
My goal is to loop over every month of the year. If I hard code _0 then 10,11 and become 010,011,012.
for (var i = 2020; i < 2021; i++) {
...
0
votes
0
answers
11
views
leafsync strange behaviour - duplicate maps when syncing two different maps
I have a bizarre thing going on with leafsync::sync. I have two maps generated using mapview function in r. The underlying data is in sf format
map1
map2
As you can see they are two different maps ...
0
votes
0
answers
16
views
Simple method to display thumbnails of a list of polygon on a satellite map layer for each polygon drawn by user [closed]
I have a web application displaying a Leaflet satellite map using simple JavaScript on the client-side and Flask on the backend. I have given the user ability to create polygons on the map which are ...
0
votes
0
answers
36
views
What is the math behind shapeburst fill?
I'm talking about this: https://plugins.qgis.org/planet/tag/gradient/
I wanted to understand how it calculates the distance to the closest edge.
0
votes
0
answers
9
views
Arcgis online - how to create store locator
I would be interested to know who to create store locator map in ArcGIS online, similar to that in Google Maps, where there is a left sidebar giving details of the locations with images/text attached ...
1
vote
1
answer
111
views
Planar vs geodesic
My understanding is that geodesic is measured on the surface of the ellipsoid and is the always the shortest distance on the earth. Planar is just straight line distance. Is this the correct ...
0
votes
0
answers
12
views
Layer error: Image.constant: Parameter 'value' is required. Google Earth Engine
I tried to do Sentinel 2 level 1C atmospheric correction with the SIAC algorithm, but got the error
Layer error: Image.constant: Parameter 'value' is required
What's the solution?
This is my code:
...
0
votes
0
answers
19
views
How to retain unique ID in QGIS while running Least Cost Distance?
I have to find the least cost distance from Junnar (19.209280, 73.872589) to a list of 207 points using the Least Cost plugin on QGIS (https://plugins.qgis.org/plugins/leastcostpath/).
My raster is ...
0
votes
0
answers
33
views
QGIS Attribute Visibility Issue - Only 6 Attributes Visible on Map
I'm facing an attribute visibility issue in QGIS, and I'm hoping someone can help me troubleshoot it. Here are the details:
I have a layer in my QGIS project with a total of 99 attributes in the ...
0
votes
0
answers
41
views
Accessing previous algorithm outputs in QGIS graphical modeler
I want to extract features by expression in a graphical model in QGIS. I want to use the overlay_touches() function to extract features that touch those of another layer.
I manage to do this "...
0
votes
0
answers
23
views
How to apply an SLD containing WKT to symbology in QGIS?
I have an SLD symbology code in GeoServer
Here's how it looks in GeoServer.
<se:Rule>
<se:Name>Single symbol</se:Name>
<se:PolygonSymbolizer>
<se:Fill>
<se:...
0
votes
0
answers
25
views
Remove marker from folium map
With the following code I am able to add marker to the folium maps:
import folium
import time
m = folium.Map(location = [13.0, 77.0], tiles=None, zoom_start = 5, control_scale = True)
img_path = '...
0
votes
0
answers
23
views
Way to turn a RasterStack into a SpatVector in R
I have a RasterStack with 2 layers. I am using an R package that requires only SpatVector objects. Using the layers separately is not really an option since I want their combined effects. Would there ...
0
votes
0
answers
9
views
Trouble with Google Earth Engine - cannot identify why chart is not generating - no features contain non-null values
Having some issues in GEE - it continuously states:
Error generating chart: No features contain non-null values of "system:time_start".
However, there are plenty of images that it could draw ...
0
votes
0
answers
20
views
Understanding ECEF, WGS and NAD coordinate systems
I am trying to understand different definitions related to different coordinate systems in GIS.
Wikipedia says following about Earth Centered Earth Fixed coordinate system (ECEF):
The Earth-centered, ...
-1
votes
0
answers
34
views
Computer does not have enough available memory [closed]
I tried running a least-cost distance plugin on ArcGIS but an error keeps popping up:
The computer does not have enough available memory to perform the operation.
I ended all background apps until ...
0
votes
0
answers
22
views
How to get current (selected) tool from toolbars (map navigration tools & object selection panel) and change it in code [duplicate]
I'm developing a plugin for QGIS, and for further implementation there should be logic that automatically switches current tool to 'select objects', and, after selection, returns to the previous tool.
0
votes
1
answer
9
views
How to annotate features in google earth engine?
I have a CSV file with ID, X, Y, NAME and ZoomLabel. I have been successful with putting the Point Feature on the map.
Now I am trying to annotate the locations with the NAME field.
I used the ...
0
votes
1
answer
36
views
Minimum spanning tree (MST) over a set of POINT geometries
I have 3 columns in my table: centerPoint (point), uuid (string), and "areaID".
Each areaID can have multiple uuid's, and each uuid has a corresponding centerPoint.
I want to calculate the ...