All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
8 views

How can I convert a continuous raster into a discrete (categorical) raster using QGIS?

I am using QGIS 3.22.7, and I wish to classify a continuous raster with one band into 5 discrete categories based on raster values. The raster I am working with can be found here (file size: 874 KB). (...
user avatar
0 votes
0 answers
5 views

Animating data with Temporal Controller

I have been trying to make an animation with the Temporal Controller in QGIS using a custom .csv file, created by merging lat, lon, arrival_time, departure_time, stop_name and stop_id. It currently ...
user avatar
0 votes
0 answers
8 views

R - Finding closest point to each point and filtering which points to consider

I'm a first time poster and beginner in R, so bear with me. I am working in R with a dataset of bird nest locations and am interested in the distribution of said nests. Specifically, I'd like to find ...
user avatar
0 votes
0 answers
4 views

Auto zoom in to the selected object in geoserver/geonode

I am pretty new to the Geonode. I have successfully published layers and created an interactive map. I have 14 layers, which loads entirely for my country. But now I do not want to load layers ...
user avatar
0 votes
0 answers
5 views

QGIS - Does the Coordinate reference systems of 2 vectors/shape files matter if they are the same or not?

I have two polygon shape files. It says in the information properties that the CRS IS EPSG 4326 and the other one says the CRS is a custom one(I put this custom one). Since these are shape files, ...
user avatar
0 votes
0 answers
6 views

List layer by data type in python window, eg: Layer == Polyline or Layer == Point

I am trying to locate features along routes for polyline and point features in a map. SThe locate features along routes tool requires two separate parameters; one for polyline and one for point ...
user avatar
0 votes
0 answers
8 views

Error when trying synchronize from Qfield

I am get error when trying synchronyze information from QField to Postgis table: The error in the QGIS console is following: Please help me because the fields are well defined in the database and I ...
user avatar
0 votes
1 answer
9 views

Using select by attributes across mutliple layers in ArcMap

I am using ArcMap 10.8.2. I'm working on a GIS update for a local municipality. They've asked that I only send them back data that I've added or changed. It seems the easiest way for me to do this ...
user avatar
  • 1
0 votes
0 answers
8 views

How to change Zoom button in PopupFeature with Openlayers?

I'm using the code https://viglino.github.io/ol-ext/examples/popup/map.popup.feature.html to create the Popup, to show the features information. As can be seen in Figure 1, we have a magnifying glass ...
user avatar
0 votes
0 answers
13 views

Google Earth Engine: Setting masked values to null [closed]

I'm using the JavaScript API to investigate a cloud masking function from this question, specifically the code here. I want to remove all pixels that have been identified to have a cloud or cloud ...
user avatar
  • 149
2 votes
1 answer
14 views

Best way to check if a point is in a region?

I'm working with Chicago PD crash data that includes Lat/Long. I've read the crashes data into the crashes DF. It doesn't include the city ward number, so I'd like to add it. I figured out how to do ...
user avatar
  • 21
0 votes
1 answer
17 views

Gdal Python documentation

Where Can I find the python documentation for gdal, I am getting file not found error opening the gdal documentations all the time I have tried the following links https://gdal.org/python/osgeo.gdal-...
user avatar
0 votes
0 answers
7 views

Upon ArcMap data layer Reprojection, data is not lining up [duplicate]

My data will not line up after reprojecting into the coordinate system I am trying to match with another. I have an existing layer called AA_Cities and a newly downloaded shapefile called ...
user avatar
  • 51
0 votes
0 answers
15 views

Viewing tiles created from GeoJSON in Leaflet/Mapbox

I have some zxy tiles built with tippecanoe that I can load into QGIS by setting a remote connection in the Vector Tiles tab to the url where the files are kept. However, I can not load them into my ...
user avatar
0 votes
0 answers
11 views

Using GSI waterline data for mapping Japanese rivers

I am using the GSI waterlines layer as a basis for mapping rivers in Japan (from here: https://fgd.gsi.go.jp/download/, click box labeled basic items). Does anyone know how to delineate just the ...
user avatar
1 vote
1 answer
14 views

Set user input as path for saving Python toolbox results

I created a Python toolbox to run in ArcGIS Pro 3.0. I wish to save toolbox results in another geodatabase than the one by default, which contains input data. This toolbox will be run by several users ...
user avatar
0 votes
0 answers
12 views

Can't put the city name in a better position in tmap

I would like to create a map with the cities in Spain. I gave that code which I got from a programming book. tm_shape(es) + tm_borders("white", lwd = 1) + tm_fill("migrationratio&...
user avatar
0 votes
0 answers
7 views

R terra: [crop] SpatRaster has no values

I am attempting to use terra::crop() to crop 30 meter NLCD raster data to a bounding box. The final error that R returns is: Error: [crop] SpatRaster has no values despite the raster data containing ...
user avatar
0 votes
1 answer
15 views

Creating optimal path between two spaces with point features in ArcGIS Pro

For my masters thesis I have mapped out all the green roofs in a city and I am trying to see if they can be used to connect two habitats. The two habitats are on opposite sides of the city and the ...
user avatar
  • 1
0 votes
1 answer
19 views

Draw a line between pairs of points with calculating the distance using Folium

I'm trying to achieve the exact transformation explained in this post. Basically, I have a pair of XY coordinates (in EPSG 2154) and by using Folium, I need to : display those points in a map draw a ...
user avatar
0 votes
0 answers
8 views

Using different Raster field when is not "Field" parameter for "input value raster" with arcpy.sa.ZonalHistogram

I want to get the Histogram of a Raster using the "Value" field in the raster attribute table. The "feature zone data" is a shapefile and the "Input Value Raster" a 32Bit ...
user avatar
0 votes
0 answers
8 views

Yearly Temperature using WorldClim in R

I have around 150 types of seeds that I am analyzing climate data for. Each seed has GPS coordinates of where it was collected and the year collected. I am trying to use WorldClim in R to figure out ...
user avatar
  • 1
1 vote
0 answers
13 views

QField doesnt recognize project data

I'm using QGIS 3.22.8 LTR, and exporting data via "cable export", creating a QField project (qgz) then sending it to a zip folder, transferring to the mobile device and unpacking it directly ...
user avatar
  • 11
2 votes
0 answers
28 views

ST_TRANSFORM NAD27 to WGS84

I've encountered an issue when transforming NAD27 coordinates to WGS84. The resulting WGS84 coordinates are off by quite a bit (10-12 feet in most cases) and it lead me to digging into why that is so. ...
user avatar
2 votes
1 answer
22 views

Docking QGIS Plugin

How to dock QGIS plugin window? I am trying self.iface.addDockWidget(Qt.RightDockWidgetArea, dlg) in run method of QGIS Plugin Implementation class, but the dialog keeps appearing as a floating ...
user avatar
  • 504
0 votes
0 answers
7 views

Map Disappearing on HTML page when Sizing is changed from pixels (px) to percentages (%)

I am trying to allow this map to be resized via screen size (Mobile, Tablet, Chrome (Half Screen, Full Screen, etc.) so I know I can't set a specific pixel amount. However, when I do set a percentage ...
user avatar
0 votes
0 answers
17 views

QuickOSM error when installing

I tried installing the QuickOSM plugin but when the installations finishes, i get the following error: Couldn't load plugin 'QuickOSM' due to an error when calling its classFactory() method ...
user avatar
  • 13
0 votes
0 answers
10 views

Extract points with forecasts from dataset 'NOAA/GFS0P25' to save in a dataframe and plot in python GEE API

I am trying to get temperature forecast data from the GFS collection to a dataframe for graphing and export. I have only been able to do it with a single point but I would like to do it with a series ...
user avatar
-1 votes
2 answers
18 views

Pandas how to convert two columns to many columns and rows based on mutual row to row relationship [closed]

Let's say we have a df with row to row relation of some IDs, for example like this: df = pd.DataFrame({"ID_nm": [1, 2, 4, 2, 3, 4, 5, 1, 6], "ID_lt": ["a&...
user avatar
  • 171
0 votes
1 answer
22 views

AttributeError: 'NoneType' object has no attribute 'selectByExpression'

I get the error: AttributeError: 'NoneType' object has no attribute 'selectByExpression' The first run through the loop is fine but at the second run the error occurs. How do I fix this? import ...
user avatar
0 votes
1 answer
31 views

QGIS calculate area automatically

Is there a way to calculate area automatically when I edit a polygon? I mean, is there any function there I can use on area field and update itself when I finish editing?
user avatar
  • 641
1 vote
1 answer
22 views

QuickOSM does not return results

I'm trying to use the QuickOSM plugin so I can automate the search of addresses and creation of layers. Right now I'm just trying with one address using the key -> addr:street "Bäckerstr."...
user avatar
  • 13
0 votes
0 answers
18 views

Dividing study area between nodes [closed]

I have an area divided into zones and there are nodes which represent the road intersections in the area (A number of nodes might be present in a zone). I have to allocate the population from the ...
user avatar
0 votes
0 answers
9 views

How to mask a raster image with classified image class mask?

I have classified an image having a class by the name lights. It has value equal to zero. I select the mask by using var lights_mask = classified_image.eq(0).selfMask(); //binary mask Now I want to ...
user avatar
0 votes
0 answers
16 views

Obtain NDVI values by dates [closed]

For my master thesis I am trying to obtain NDVI values for some 1400 points, but according to the specific date of each point (between 2000-2021). For example for a point with date 2001-03-18 I only ...
user avatar
0 votes
0 answers
8 views

Apply a function with a loop for in imagecollection

I am trying to apply a mask to a imagecollection, I want to a apply this mask image a image, because if I apply the mask to the whole collection, I cant extract values by points. I am using a mask of ...
user avatar
0 votes
0 answers
24 views

QGIS adds layer to GEOPACKAGE layer but displays "could not find layer"

I have noticed something strange when merging layers (not matching attribute tables) together. When I try this QGIS responses 'Export in vector data failed. Could not find layer.' So far so bad. When ...
user avatar
  • 73
3 votes
1 answer
73 views

Identify the algorithm (not code) for QGIS native tools

The question For someone with no knowledge in C++ (programming language used to write QGIS code), is there a way to identify based on which algorithms the different QGIS native tools are written? ...
user avatar
  • 42k
1 vote
1 answer
16 views

Seeking tool for splitting lines with lines using ArcGIS Pro

I am using ArcGIS Pro 2.8 and would like to split some lines into segments using as a reference another lines layer (lines are not overlapping). I have this option on QGIS 3.10.3 but the tool still ...
user avatar
  • 51
0 votes
0 answers
17 views

OSM import into PostgreSQL database and export out to OSM

What is the best way to import OSM data into local PostgreSQL database and to export it back out as OSM.pbf later? Osmosis seems to work fine, however it is not actively maintained. Background Once ...
user avatar
  • 511
-2 votes
0 answers
16 views

Example code or source for drawing with ArcMap version [closed]

I need to make versioned drawing with ArcMap, but I have never worked before, I did some research with this library, but I have no idea which library to work with. Can you suggest me an example code ...
user avatar
1 vote
0 answers
23 views

How to visualize the labels from a Point Cloud in QGIS?

I have a point Cloud (Las file) and I wolud like to see/visualize the labels (Z values). There´s a way to do it in QGIS? (I´m using QGIS version = 3.24)
user avatar
0 votes
0 answers
19 views

Classification of raster using raster calculator in ArcGIS Pro

I have multiple images of LST which I need to classify into various classes based on class ranges, given below. T is LST raster Very cold temperature/Very Low T ≤ Tmean − 1.5std Cold temperature/...
user avatar
0 votes
0 answers
34 views

Searching feature in layer and zooming to result using OpenLayers [closed]

I'm new to OpenLayers and JavaScript. I want to create a search bar to search feature in my layer. This is my search bar im HTML: <!-- search --> <div class="row"> <div ...
user avatar
  • 3
-1 votes
1 answer
13 views

Output raster of rasterio.mask doesn't match CRS of input

I'm trying to mask a raster with population data with my area of interest. I reprojected the original population raster according to the AOI's crs, but after masking and writing the new file, the crs ...
user avatar
  • 9
0 votes
0 answers
25 views

When using QGIS.Processing what is the temp memory argument? QgsProcessing.TEMPORARY_OUTPUT doesn't work

I am moving a QGIS model to PyQGIS to be able to run it as part of a bat file in OSGEO Shell. It's working fine in QGIS and if the data in each stage is written to a on disk file but I can't write to ...
user avatar
  • 7,616
0 votes
1 answer
15 views

QGIS/GDAL Python- Export WMTS to geopackage raster, only for set extent and resolution

The problem: I need to export imagery from a WMTS or XYZ webtile source for a variety of geographically dispersed areas. It will be used in Qfield, so needs to exported as a geopackage raster. In ...
user avatar
  • 166
0 votes
0 answers
9 views

Extent of a proj4 string [closed]

I have a custom proj4 string in which my data is represented in Cartesian local coordinates. I don’t know the extent of the CRS and I would like to calculate in my end from the proj4 string. Is this ...
user avatar
0 votes
0 answers
12 views

OSM - Geometry Requirements for Lines/Roads

Are there a set of rules for how OSM handles line geometry? Specifically I am looking for the resolution/spacing of points that make up a polyline/linestring road - is this something that OSM controls?...
user avatar
  • 11
0 votes
0 answers
14 views

ArcGIS Server Py3 - <type 'exceptions.ImportError'>, ImportError('No module named arcgis',), <traceback object at 0x00000000025870C8>

I have cloned the default python env that installs with ArcGIS Server using conda create in the python command window using: conda create --clone arcgispro-py3 -p"C:\Program Files\ArcGIS\Server\...
user avatar
  • 1,465

15 30 50 per page
1
2 3 4 5
3005