All Questions

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

Losing attribute table when working remotely

Because of the pandemic my work is strictly remote. I remote into my work computer via laptop. I have two monitors connected to that laptop. Sometimes when I move the arcmap desktop program from one ...
-4
votes
0answers
15 views

Struggling with assignment question

I am having trouble trying to answer this question: list 5 key data issues to be considered when outsourcing GIS data from the internet, describes the process that you would use to address each of the ...
0
votes
1answer
7 views

EVI or NDVI collection image donwload

Landsat 8 Collection 1 Tier 1 8-Day EVI Composite. I continued with the starting codes given by Google Earth Engine. I tried to solve my work by adding code to the rest of these codes. However, it ...
0
votes
0answers
9 views

Multiple raster calculation in QGIS with Python script

I would like to run this code for importing 3 different rasters at every loop and do the calculation between them, but the code doesn't work (the writing "invalid layer, GDAL provider cannot open ...
0
votes
0answers
5 views

r.to.vect not working after thinning QGIS

I started with a raster layer, then reclassified it using r.reclass. I thinned using r.thin (took ages- big file?), then tried r.to.vect and I'm still getting an error message telling me I need to use ...
0
votes
0answers
12 views

Is it possible to use a table for translating through BioStrings in R? [closed]

I have a table of contig ID's and their associated DNA sequence and I would like to turn that into amino acid sequences using the translate function from Biostrings. I keep getting error messages when ...
0
votes
0answers
16 views

Setting layer properties through PyQGIS

I have to config several project files with many layers in each one, many of those layers have similar fields which should have the same forms configs. Is there a way to config forms attributes to ...
1
vote
0answers
7 views

Is this ST_Relate result expected?

The following PostGIS query involving ST_Relate gives FFFFFF102 as its result: SELECT ST_Relate( ST_GeomFromText('POLYGON EMPTY'), ST_GeomFromText('MULTILINESTRING((0 0,0 1),(0 1,1 1,1 0,0 0))'), ...
1
vote
1answer
23 views

Convert all files in a Linux directory from NITF to PNG using gdal_translate

I have a directory called /home/john/WAMI/WPAFB_TRAIN/ with .txt files that have names like: 20091021202517-01000100-VIS.ntf.r0 20091021202517-01000101-VIS.ntf.r0 I know that the code needs to say ...
0
votes
0answers
12 views

GDAL Python, projecting WGS84 geom to UTM to find area

I'm writing code with GDAL in Python. I'm trying to find the area of a geom in WGS84 with GDAL. I tried projecting it to UTM and then getting the area of the projection, but the answer isn't what I ...
0
votes
0answers
17 views

How to make ocean drainage map using python

I'd like to make ocean drainage map like this: In particular I'm interested in Russia. A relatively explicit data source is hydrosheds.org, however from there i can get data to display only endorheic ...
2
votes
0answers
8 views

How can I get values from a array (which is evaluated by spatial query) as default-values in other fields

In QGIS 3.16.0 I have a postgis-polygon-layer with a field "array_polygon" which contains an array. When digitizing a postgis-point-layer-point I would like to use the different array-values ...
-2
votes
1answer
13 views

How to import Python packages in PyQGIS?

I was trying to import fuzzywuzzy but I was getting a module not found error.
0
votes
0answers
10 views

Error generating chart: No features contain non-null values of “system:time_start” Create NO2 chart with unit ton/m2 in GEE Sentinel-5p

I'm using the below code to create NO2(Sentinel-5p) time series charts for my region of interest by mean reduction. However, upon charting, I get an error message Error generating chart: No features ...
0
votes
0answers
7 views

Row or Col is too big on this zoom level when implementing HERE Satellite tiles

I have successfully implemented OSM maps and now looking to do the same with the HERE service for aerial imagery. From the research I have done it looks like the main issue is the Y axis being ...
1
vote
0answers
11 views

How do I compute the line of equal distance among several polygons in R

I have a simple GIS problem I was not able to find the solution on the internet. My aim is quite simple: I have a polygons layer that contains several entities, and I would like to compute a new layer ...
0
votes
0answers
10 views

On the calculus of the variable “autocov” from spdep package

I’m facing a spatial autocorrelation problem and I want to calculate the «  autocov» covariate through the function autocov_dist from spdep package. The problem is when I defined the neighborhood ...
0
votes
0answers
7 views

Speed up pgr_dijkstraCost

I have a pgRouting network graph of ~ 1 mio edges and ~ 0.4 mio vertices. I want to find out something like "nearest facility" for bigger subsets. E.g. i have a bigger number of source ...
1
vote
1answer
13 views

QGIS 3.4 Vertex tool highlight colour change

I can change the colour for selected items fine. I have even figured out how to change the colour of the preview when moving a vertex. How can I change the colour of the highlight when hovering over a ...
0
votes
1answer
13 views

How do I calculate average depth of a 250m square using points at 125m spacing using QGIS

I have a set of points spaced at 125m intervals across an area, an average depth value is assigned to each point. I need to calculate from these points a single average depth value for a 250m square, ...
3
votes
1answer
44 views

Convert a Fill Symbol into geometry generator symbol using PyQGIS

I am trying to use PyQGIS to convert a Fill Symbol Layer into a geometry generator Symbol Layer in a rule-based renderer with 300 rules. I am able to iterate over the rules and return each rule's ...
3
votes
2answers
24 views

Save x,y,z values to a GeoJSON file from QGIS

I would like to save x,y,z values for polygon vertices as a geoJSON file using Python in QGIS. I've made several attempts, but all have issues. I've found that the QgsPoint object must be used as ...
0
votes
0answers
8 views

Create NO2 chart with unit ton/m2 in GEE Sentinel-5p **Error generating chart: No features contain non-null values of "system:time**

I'm using the below code to create NO2(Sentinel-5p) time series charts for my region of interest by mean reduction. However, upon charting, I get an error message Error generating chart: No features ...
2
votes
1answer
15 views

Adding field by proximity using ArcMap

I'm using ArcMap with the Basic license. I have turnout gates (points) on or very close to irrigation facilities (lines). The irrigation facilities have a field for type (canal, pipeline, culvert, etc....
0
votes
0answers
13 views

how to use PostGIS functions with geometry(MultiPolygon)? [closed]

org.geotools.jdbc.JDBCDataStore stores a shapefile in a PostgreSQL database as a geometry(MultiPolygon). I am trying to use PostGIS functions such as ST_Contains on the geometry(MultiPolygon) but it ...
3
votes
0answers
22 views

PyQGIS: how to stop script processing without shutting down QGIS

I'm looking for a way to aborpt a script execution if a sql query returns some results. I've found a few solutions on the forum but all of them lead to shutting down QGIS (thing I precisely want to ...
3
votes
0answers
19 views

QGIS Processing algorithm output

I am developing a plugin in QGIS using Python language. This plugin uses algorithms from Processing Toolbox and I save some results in the temporary folder assigning "QgsProcessing....
4
votes
0answers
19 views

Georeference single drone image from EXIF data

Looking for an algorithm (python, formulas, whatever...) to georeference a single drone image based on its EXIF data. Specifically, I need to translate drone GPS latitude and longitude (after ...
1
vote
0answers
7 views

Gdal translate HDF5 to GeoTIFF library funtion

Im am trying to convert a radar file provided in HDF5 to a GeoTIFF using gdal.Translate() in my Python script. An example of the HDF5 file can be downloaded here I have already managed to get it ...
0
votes
1answer
22 views

Landscape change metrics for vector data

I am new to GIS. I am currently working on a problem which involves two vector datasets about habitat and land use ("now" and "future"). I need to generate metrics like "...
2
votes
0answers
12 views

Widget Expand is not functioning correctly

I have placed 2 widgets (baseMapGallery, LayerList) inside a small map in a rather large popup. To keep it from crowding out the view, I am trying to use an Expand to launch it from a small icon ...
0
votes
0answers
15 views

GeoJson format (Geography) for posting in Postman tin Postgres

I am trying to do an update posting on Postman for the first using PostGIS / Geography file type and I don't know where I am going wrong. I have included the model below of the table in pgamdin 4 / ...
1
vote
0answers
18 views

How to prevent commit to a vector layer during editin session in PyQGIS

I am writing a plugin that listens to editing events, such as the QgsVectorLayer.editingStarted, QgsVectorLayer.geometryChanged signals. So far all is fine but there are also some validation rules ...
1
vote
1answer
17 views

Select by attribute on shapefile works when added to ToC but not when pointing to workspace

I'm trying to build a script that uses select by attribute and select by location to do some operations on a couple of shapefiles containing a large amount of points and polygons. Preferably, I want ...
0
votes
0answers
19 views

Installing arcpy package in PyCharm interpreters with ArcMap

There are lots of questions on GIS SE about importing ArcPy but I can't find a set of instructions that work for me. I know very little about paths and environments, so don't understand most of the ...
1
vote
1answer
11 views

How to follow oneway directions using sld?

I want to show oneway directions of streets using SLD in geoserver. I follow this instruction but i still have a problem with directions of arrows. Most of all arrows get south to north and west to ...
2
votes
0answers
18 views

Restarting the count of runs in rasterbrick in R

I got myself a rasterstack with 6300 layers - which represent 70 winterseasons since 1950 till 2019 (70x90 days). Values range from 0.5 to 1.5 and I am looking for amount of runs of at least 5 days ...
2
votes
0answers
9 views

How to use WHERE IN clause with ogr2ogr [duplicate]

I am exporting some tables from PostGIS to a geopackage. My command to do is task is as follows ogr2ogr -append -f GPKG E:\workspace\test.gpkg PG:service=XXXX -where app_einzugsgebiet.hauptgemeinde=...
0
votes
0answers
11 views

Download Copernicus Marine variables with Package RCMEMS - Error code 9

I'm using the source code RCMEMS (https://github.com/markpayneatwork/RCMEMS) to download several marines variables and I have a error despite having respect syntax package. To biginning, according to ...
2
votes
1answer
17 views

Options for styling Leaflet Draw line segements

I am playing around with the options for Leaflet-Draw and have came up wit a little annoyance. Using a colorpicker I can set the color for every new polyline I draw by invoking options.draw.polyline....
1
vote
1answer
10 views

GetCoverage request - don't load result into memory and directly to hard drive

I'd be super grateful for any pointer to some resource, or any other kind of help. I want to make a GetCoverage-request against a server and download more or less 24 GB of data. In R I would do ...
5
votes
0answers
22 views

Finding geodesically flat regions in DEM data

I'm interested to find regions in some DEM data for Earth that are what I call geodesically flat, i.e. flat in the way that the path light travels is flat in the absence of strong gravitational fields....
4
votes
1answer
47 views

Count number of features in a geopackage and write to a file

I'm tasked to create a simple catalogue of 2000+ geopackages, and hope there is a way to do that with QGIS. The idea is to batch run over all these geopackages and write the following to a CSV file; ...
2
votes
0answers
21 views

How to make Arc Lines in OpenLayers like Kepler.gl

I user Openlayers 6. I want to create an arc line in OpenLayers that connects one coordinate to another. I have a case where when the distance between the points is too short, the line doesn't curve. ...
2
votes
2answers
25 views

WFS in QGIS : different boundingbox CRS than Feature CRS

I want to add a WFS 2.0 layer to my QGIS 3.16 and I have a bounding box issue: QGIS sends a bounding box in the same CRS than the layer CRS. But the server expects the bounding box to be in WGS84, ...
0
votes
1answer
23 views

WFS layer in OpenLayers not visible

I'm having a problem with visualizing a WFS layer in Openlayers. I can see I get the response, but nothing shows up on my map. I tried more potential solutions from stackexchange, but couldn't get it ...
0
votes
0answers
8 views

Searchbox click suggestion bug in ArcGIS API for JavaScript map

Following is my UI for map. Red is default pin I have selected. using showMarker and showPopup custom function. which are using viewMap.graphics.add and popup.open methods internally. There's a ...
4
votes
2answers
73 views

Using the field calculator to calculate intersections

I'm comparing several maps of one area (made by different people) to each other, and used intersection to find how much of specific selected features (polygons) overlapped. I soon realised that the ...
0
votes
0answers
17 views

Legend not loading when using getLegend [duplicate]

I was able to run my application on using Legend earlier but now I want to update my Legend when scrolling on the map. So I tried to used this code GetLegendGraphic and getLegendUrl function filter by ...
2
votes
0answers
18 views

Tilemill MBTiles SQLite database schema

I'm trying to resolve the inability to load a raster MBTiles map on a GPS that added support for the format. Maps created using QGIS or CalTopo will work. The SQLite database only contains two tables-...

15 30 50 per page
1
2 3 4 5
2665