All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Merge raster function not working

I can't merge (raster > Misc. > Merge) five NASA SRTM DEMs I dowloaded from earthexplorer into one mosaic using QGIS 3.10. There seems to be a problem with the gdal_merge module. I get the following ...
0
votes
0answers
5 views

Writing to postgreSQL database

I'm trying to create a point geometry from a lat, lon pair read from a json, and then write to a database table in postgreSQL that has already been created with the appropriate variable types. I don't ...
0
votes
0answers
8 views

GEE: Calculating statistics for discrete regions in a feature collection

I'm working on a script for calculating burn area statistics for multiple regions of interest using dNBR. The original script calculated burn area on a single region defined by a polygon and I've ...
0
votes
1answer
26 views

“Geocode” list of lat & long points

I have been given a list of latitude and longitude coordinates in a .csv file and asked to plot them on a map. There are multiple other columns of data about each point included in the excel file. I'...
0
votes
0answers
10 views

QGIS 3 - Consistent symbol size in layout?

When I'm using the layout tool in QGIS, I would like to be able to preview exactly what the symbols would look like before exporting my map. Currently, symbol sizes are dependent on my zoom scale (i.e....
2
votes
1answer
11 views

Debugging network analyst solve error 030024

I'm trying to build service areas for a low-voltage utility network, but am having trouble solving the network analysis. Here is the code to build the service area: Treatment_SA = arcpy.na....
-2
votes
0answers
14 views

Batch XY Table To Point ArcGIS Pro 2.4

I am trying to run a batch tool in pro for the tool "XY Table To Point". It successfully completes the first table and then gives me the following error (000223: Cannot extract event table properties)....
-1
votes
0answers
14 views

Seeking shapefile (.shp) of Chittagong City Corporation

I need shapefile of the Chittagong city corporation of Bangladesh for my research work. I have searched over the internet but in vain.
0
votes
1answer
19 views

PyQgis error message: 'QgsVectorLayer' object has no attribute 'xMinimum'

I have the following code: def moveFiles(self): mask = self.getBoundingBox() #BoundingBox of polygon layer inputDir = self.dlg.input_folder.text() #directory of xyz files - "Users/denni/...
0
votes
1answer
15 views

Turn by Turn Navigation for Google Map on Laptop

How can I generate voice navigation for turn-by-turn directions for Google Maps on my laptop?
0
votes
1answer
15 views

Why the result of executing a geometric user function is different from the result of execution of the corresponding recursive query

So, I wrote a recursive query that works well, maybe only for me :-), [https://gis.stackexchange.com/a/333562/120129] Then I decided to wrap it in an SQL function: CREATE OR REPLACE FUNCTION ...
0
votes
1answer
26 views

“QgsVectorFileWriter.writeAsVectorFormat(): arguments did not match any overloaded call” in PyQGIS

The following code iterates through a folder of .xyz files and is supposed to copy them into another folder. for file in glob.glob("*.xyz"): uri = "file:///" + inputDir +"/"+ file + "?type=csv&...
0
votes
0answers
16 views

Allow null values from Value Table filter list in Python toolbox parameter

I'm setting up parameters in a Python Toolbox and have a Value Table with three columns. Two of the columns have value lists for the user to pick from. I would like for the user to be able to choose ...
1
vote
1answer
43 views

ArcPy While loop not ending

I've created a script that creates a buffer inside of a polygon. I want it to be an ArcPy script that can run in ArcCatalog. However, it contains a while loop that won't close when run through ...
0
votes
1answer
24 views

Difficulty with select by attributes using list fields in for loop

I am trying to add fields to a table and then populate the fields with text values (Yes/No). The text values are based on whether or not a species was found in a specific block. If the species was ...
4
votes
1answer
21 views

Postgis - Zonal statistics - Parallel computation?

I am looking to speed up a postgis query, regarding zonal statistics. I am using postgis 3.0 with postgreSQL 12 and I was hoping that I could apply the below script to speed up processing using ...
0
votes
0answers
14 views

QGIS 3.10 LTR GRASS tools not working

Having difficulty with the new LTR GRASS functions. Typical workflows that worked in 3.4 LTR but not 3.10 LTR: -Open RGB mosaic -Use the raster calculator to extract the red channel -Use r.texture ...
0
votes
0answers
10 views

Illuminant spectral power distribution in Landsat 8 images

I'd like to know the reflective qualities of materials I see in Landsat 8 images. Essentially I'd like to know the RGB values of a polygon assuming the illuminant is perfectly flat. I'm very novice ...
0
votes
1answer
26 views

Exporting layer into any file took so long

I work with shapefile layer so big in QGIS, hard to work on. After reading here and there, i tried to export the layer to Geopackage, SpatiaLite, and even ESRI shp. But the progress bar stuck in 99% ...
0
votes
0answers
12 views

Parcel Fabric Error: Parcel won't join because radial lines extend beyond spatial reference

I am trying to join a parcel to my parcel fabric in 10.7.1 and I'm not doing anything differently than I usually would. I just joined several parcels next to the one in question. But when I try to ...
0
votes
0answers
13 views

How to find only images of coastlines, do geometrical analysis and save the image with the data?

I'm currently working on a research project where we're studying how wave dynamics shape coastlines. We want to use satellite images of coastlines at different altitudes, determine the shape, length, ...
0
votes
1answer
26 views

TypeError: QgsVectorLayer(): argument 1 has unexpected type 'QgsVectorLayer'

I'm getting this error when I try to run the following code: a6 = processing.run("native:difference", {'INPUT':'_78b00e45_4a8e_4490_9920_f75f6e055a6a','OVERLAY':'...
0
votes
1answer
33 views

Reprojecting .shp layer in QGIS3 to current CRS not working

Working in QGIS for the first time and I currently have a map that has all my points and polygons in the correct places. However, my polygons are projected in EPSG:3726 and my points are currently ...
0
votes
1answer
30 views

Why does my PyQGIS standalone script not work

I wrote a pyqgis script that should iterate over a folder with xyz files, check if the bouding box overlaps with a polygon in my QGIS project and if yes, it should copy the file into a new folder. I ...
0
votes
0answers
15 views

KML Image Overlay conversion with GDAL

In my industry, KML/KMZ seems to be the standard spatial data format and it is a HASSLE when converting between typical formats. I have a large number of KML image overlays and am tasked with ...
0
votes
0answers
6 views

TR55 Export: Class Not Registered Error

I am currently working with HEC-GeoHMS. The TR55 Export button isn't showing, when I tried to access the TR55 Export button from Macros for exporting Time of Concentration values back to ArcGIS, there'...
0
votes
0answers
16 views

ST_Split with ST_Dump returns multipart Linestring with additional Splits

I am trying to split a lingstring using another linestring as my blade. The line to be cut crosses over itself at different locations. (to_be_cut is linestring, not multilinestring) My query ...
0
votes
0answers
17 views

rotate tool crashes QGIS [closed]

I'm using QGIS 3.10.0 A coruna. Everytime I use the rotate feature from advanced digitizing my QGIS crashes. I looked through old threads in order to find different rotation tools, but found none of ...
1
vote
1answer
28 views

bringToFront() not working on tooltips in Leaflet

I have a Leaflet map that includes polygons and data from a GeoJSON file. I have permanent tooltips for each polygon that include data for the user to see. But there are so many tooltips that ...
2
votes
1answer
27 views

Is there a way to obtain the average red, green, blue values within grid cells in QGIS?

Is there a way to obtain the average red, green, blue values within grid cells in QGIS?
0
votes
1answer
13 views

Google Earth Engine, MODIS pixel size, CRS projection SR-ORG:6974

I am calculating the area of an ice cover by summing the number of pixels having a value above a certain threshold then multiplying by the pixel area. This is done for a collection of images over a ...
1
vote
0answers
18 views

Finding long, lat coordinates of points on a building pictured by drone

I would like to get the formula for calculating lat, long coordinates on the attached picture. Here is the EXIF file. The problem is that we don't know the horizontal distance from the building to a ...
0
votes
0answers
10 views

Set access permissions of ArcGIS Server Map Service with ArcPy

I have a number of Map Services I create with an ArcPy script. After publishing, I have to go to ArcGIS Server Manager to set the access permissions to "Everyone" by clicking on the heads symbol for ...
1
vote
1answer
30 views

arcgisscripting.ExecuteError: ERROR 000223: Cannot extract event table properties Failed to execute (MakeXYEventLayer)

import arcpy import sys import os #arcpy.env.workspace = "C:\\Test\\addresspoint" #arcpy.env.overwriteOutput = True input_database = "C:\\Test\\addresspoint\\connection\\Test.sde" out_layer_name = "...
3
votes
0answers
23 views

Extract pixel values in raster stack using shp

I am using the following code to extract mean pixel values over an area represented by a polygon: mean<-lapply(S2_stack, FUN=function (S2_stack) {data.frame(mean=extract(S2_stack, polygons2, fun=...
3
votes
0answers
22 views

Resolve Intersecting areas in shapefile

I combined two shapefiles and noticed that the polygons didn't overlay perfectly. How can I resolve these intersections to snap to their closest neighbours? This is a closer look at the intersections:...
1
vote
2answers
16 views

Landsat7 Scan Line Correction in GEE

I am working on a time series with Landsat 7 and I have issues with the scan line correction. I already saw the question LS7 filling the gaps image with google earth engine and tried to adopt the ...
0
votes
1answer
15 views

Trying to create a map with co-ordinates

I'm trying to create a map with the co-ordinates for the location but if i select map units it creates black boxes in the corners of the map instead of a line of co-ordinates. If I used centimeters it ...
0
votes
0answers
10 views

ArcMap Layout view graph display issue

I'm using ArcMap 10.6.1 and when I create a graph and add it to Layout view it doesn't fill the frame, but only a portion of it. The rest of the graph frame is black, as in the screenshot below. Does ...
0
votes
0answers
14 views

How can I combine multiple raster datasets with multiple unique values in ArcMap 10.6?

I have to combine plenty of raster datasets. The problem is there are to many unique values. I guess that’s because there are layers where areas have geometry and there are not geometry on the other ...
0
votes
1answer
17 views

Using SPreAD-GIS for noise modeling in QGIS

I found that there is an python based "open-sourced" tool that models noise dispersion in Arc-GIS. It's named SPreAD-GIS. Here is the article that cite it: https://www.mdpi.com/2220-9964/8/3/130/pdf ...
0
votes
2answers
33 views

How to move polygons to points

I have a large number of polygons with matching points. I wish to move each respective polygon to its corresponding point (see attached image). I can't use the 'Move To' tool in the 'Editor', as I ...
1
vote
1answer
28 views

How to edit a model that is saved in project?

I have a model saved in QGIS Project which i can find under "Project models". But how can I open and edit it? I have tried dragging and dropping it to the empty canvas, and using open Icon in toolbar ...
0
votes
1answer
16 views

Raster can't be clipped inside the polygon's boundaries

Here is the link what it looks like when its clipped: https://prnt.sc/r7wjfi I just want a raster which is inside of the polygon's boundaries. I work in QGIS. Any suggestions?
0
votes
0answers
28 views

QGIS NoGeometry

I can't edit features in QGIS 3.8.3 on Mac (OS is not a problem, the same happens on Windows 10) because spatial type of layers is NoGeometry When add layers, they seem to be simple tables without ...
0
votes
2answers
30 views

GDAL's SetProjection() produces error: (Error) GDAL failure (1) missing [

I'm trying to compute a CHM (Canopy Height Model) using GDAL for Python. A_TIF = os.getcwd() + xyzlocation + folder + "\\dtm.tif" B_TIF = os.getcwd() + xyzlocation + folder + "\\dsm.tif" OUT_TIF = os....
0
votes
1answer
22 views

How to work with ECW in GDAL?

I have GDAL 2.4.2 plus ECW plugin. gdalinfo --formats >>ECW -raster- (rw): ERDAS Compressed Wavelets (SDK 3.x) And gdalinfo shows ecw file info. But when i tried to use gdal2tiles i got error:...
0
votes
0answers
20 views

QGIS 3: How to access additional SVG symbols

I want to create a map with a complex style and loaded a couple of additional SVG-libraries on my disk to the folder /usr/share/qgis/svg/ (I am on a Linux machine, running QGIS 3.10.1). I have ...
0
votes
1answer
40 views

QGIS - Projections all showing up wrong

Dont kill me on CRS! Every time I add lat longs using the same CRS as the project they are now starting to mess up and show up in Africa or Asia.... I cant seem to match up the true lat long anymore? ...
1
vote
0answers
13 views

QGIS determine if line (layer 1) has a + or - offset to a line (layer 2)

I have a network of lines in layer 1 and a network of lines in layer 2, that always stay one side of the line in layer 1. I'm wanting to essentially determine whether a line is left or right of the ...

15 30 50 per page
1 2 3 4 5 2424