All Questions

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

Create single polyline from a road network

I often need to create KML with a single polyline in order to organize bicycle riding group activities, sharing the KML so that every rider has the right path for that activity. I usually trace the ...
user avatar
  • 1,217
0 votes
0 answers
10 views

Extending pyrtree to return input index of each matched bounding box

After some effort I finally got a working version (on Python 3.9) of pyrtree by merging a couple PRs onto my fork of the original repo. You can see the code here: Lightly updated version of pyrtree ...
user avatar
  • 101
4 votes
1 answer
133 views

Changing label (wrong reverse) direction using QGIS

I use QGIS 3.22.2 and I want to have nice curved labels (along lines): Llyn Brenig Reservoir (currently there are two different labels: Llyn Brenig and Reservoir). Problem is that label Reservoir is ...
user avatar
0 votes
0 answers
25 views

Nominatim does not provide zipcode for some latitude/longitude values

I am using Nominatim from the GeoPy Python library to obtain Zip Code given Latitude and Longitude. def get_zip_code(x): geolocator = geopy.Nominatim(user_agent="check_1") location =...
user avatar
  • 1
0 votes
1 answer
28 views

Using ArcPy to add layer to map

I am having trouble adding my result to the current map using ArcPy. I keep getting this error problem, "ValueError." Here is my script: Result = arcpy.analysis.Clip('FeatureClipped','...
user avatar
1 vote
1 answer
20 views

Unrecognized arguments to Dictionary constructor

My goal is to create collection of multi-band images, where each band is a constant number value which I've calculated in previous steps. It appears I'm constructing the dictionary incorrectly, ...
user avatar
1 vote
1 answer
25 views

Create temporary layer from output in PyQGIS

I have the given code used to obtain a distance matrix between a source layer (sLayer) and a target layer (tLayer). The output containing sfeat.id(), tfeat.id(), dist_pl is printed in the console but ...
user avatar
0 votes
1 answer
57 views

Merge two shapefiles on QGIS

I'm new to the software! I am trying to merge these two polygon layers I downloaded as shapefiles: https://www.arcgis.com/home/item.html?id=95f1885eff9a4c089012a872c851c50a https://www.arcgis.com/home/...
user avatar
  • 1
1 vote
1 answer
34 views

Using ArcPy for custom toolbox

I am trying to create a toolbox that will execute 'Locate Features Along Routes' in multiple layers and in two active maps in ArcGIS Pro. One map contains linear features to be located, the other ...
user avatar
1 vote
1 answer
23 views

How to create geometry column from nested lists

How can I create mixed geometries types from nested lists ? from pandas import DataFrame row1 = [ [ [ [-73.932204, 45.491553], [-73.931682, 45.491085], [...
user avatar
0 votes
1 answer
20 views

How to get the code of a plugin to automate the process in PyQGIS

I need to get the code of a plugin (point sampling tool), to automate the process. I know how to do it in regular tools, using this processing.algorithmHelp('tool'). But how can I use it for plugins?
user avatar
0 votes
0 answers
28 views

Processing a LiDAR image to be more detailed

I'm using ArcMap 10.8 to try and find old roadbeds. The DEM data I downloaded is very dark and shaded. You can't see anything at lower elevations. I have the hillshade effect turned on but you can't ...
user avatar
  • 1
0 votes
1 answer
23 views

gdal2tiles.py Differs from Original Raster

When comparing in QGIS the output of gdal2tiles.py to the raster from which the tiles were generated there is a clear difference. In this image Pink is the gdal2tiles.py output, green is the original ...
user avatar
4 votes
1 answer
31 views

QGIS 3 Modeler operate with a fieldname

In a model I would use a fielname of a layer with the Inout of Vector Field. When I use the the name of the input in an expression the model gives no result. Do you have any idea?
user avatar
  • 41
0 votes
0 answers
19 views

From CSV to raster file value assignment error and plot in R [closed]

I have a CSV file downloaded from Google Earth Engine where inside I have: latitude, longitude and cluster to which it belongs. I have to plot the results in a map with the display of the different ...
user avatar
0 votes
0 answers
10 views

QGIS2Web for MapBox output - png file displays upside down

I am using QGIS2Web to generate web maps from data in Ireland. I have gone through this process with leaflets, but now I am trying Mapbox output. The 'background' is a raster file of hillshading. I ...
user avatar
3 votes
2 answers
86 views

Count points in polygons per group in ArcGIS Pro

I know that there are many similar topics around and I think I have checked them all but they all refer to different settings or aims. My case is simple: I have polygons: building_blocks points: ...
user avatar
  • 717
0 votes
0 answers
6 views

Loop in the graphical modeler

I'd like to know how to create a loop (an iterated process) in the graphical modeler of QGIS. For example, i need to create some buffers of a point layer, based on a value entered by the user in the ...
user avatar
  • 683
0 votes
1 answer
23 views

Convert an array of metadata to GeoTIFF, when the array was synthesized by smaller arrays, that correspond to same size tiles of a bigger image

I wanted to process the metadata of an image from Google Earth Engine (python) and the image was huge, which means I could not download. For this reason and since I know the boundaries, I thought it ...
user avatar
  • 101
1 vote
1 answer
57 views

Showing popup with info about all markers in the clustered marker in Leaflet?

I'm using Leaflet PlugIn markercluster for leaflet https://github.com/Leaflet/Leaflet.markercluster to visualize Points. My goal is to stop the process of "getting closer" to the points, so ...
user avatar
  • 41
0 votes
0 answers
14 views

How can I suppress output in Overpass?

I am querying objects with Overpass Turbo, which are restricted to a specific area. I do this via a relation, in this case a city boundary. Then I map them to the area to query via map_to_area My ...
user avatar
  • 101
1 vote
1 answer
23 views

Retain spatial points outside of multiple polygons

We can use st_intesection to retain points that intersect with one or more polygons. tmp1 = st_intersection(st_as_sf(track_sp), st_as_sf(cols.buf_sp)) pts1 = as(tmp1, "Spatial") plot(pts1) ...
user avatar
-1 votes
1 answer
26 views

QGIS run OGR command from UI feature form

I would like to run ogr2ogr script from a UI feature form button in QGIS, that would start some SQL script linked to the opened feature table, store the output back to database and ideally reload the ...
user avatar
0 votes
1 answer
24 views

QGIS - How to check if a raster has same resolution as another raster with a different CRS?

I have an original raster file called SAM. This has a resolution of 0.0025 pixels, it was obtained using 100m resolution satellite. I have another raster called Global fire. This has a pixel ...
user avatar
1 vote
1 answer
24 views

Symbology lettertype

Does anyone know how to increase the lettertype when I am working in the print layout to export it as an image? My symbology in my normal working mode I have lettertype 10 (which is big enough to read)...
user avatar
2 votes
0 answers
18 views

ipyleaflet area of drawn polygon

I am trying to get the area of a drawn polygon in ipyleaflet with geopandas...but kind of cant get a propper result. from ipyleaflet import Map, basemaps, DrawControl, SearchControl m = Map(basemap=...
user avatar
0 votes
0 answers
25 views

GEE: How to create a raster map by month that corresponds to the month of maximum NDVI

I want to select the month of the maximum NDVI during a period for each pixel in Google Earth Engine. I put this code but when I apply the classification, I got this error message (Date (Error) Date: ...
user avatar
  • 1
1 vote
0 answers
64 views

Creating an irregular point grid with provided row and column numbers in PostGIS

I am looking to create an irregular grid of points via PostGIS, using the four provided corner (point) coordinates, and number of point-rows, and point-columns. Four corners may or may not be ...
user avatar
0 votes
0 answers
18 views

GeoServer WPS gs:Aggregate throws: Filter type not supported error

I'm using the WPS gs:Aggregate function with an OGC filter. When I use an OGC filter with PropertyIsEqualTo it works. But when I use a geometry filter it throws the error 'Filter type not supported'. ...
user avatar
0 votes
1 answer
24 views

ASTER DEM, Incoherence of slope analysis

I'm using a Aster tile DEM to perform some terrain analysis on an area in the French alps (original CRS:EPSG 4326-wgs 84), using QGIS 3.2. My projected coordinate reference system is EPSG:2154-RGF93/...
user avatar
0 votes
0 answers
20 views

Plotting GPS velocity field and ellipse error in QGIS 3.26.1

I am a beginner in QGIS and I do not know how I can plot a GPS velocity field as well as ellipse errors (text file) in QGIS. How can I do this?
user avatar
0 votes
1 answer
41 views

EPSG:3857 to UTM?

I am trying to convert coordinates from EPSG:3857 Spherical Mercator to UTM local projection. The problem is that for my use case I cannot use any web interface or library, I should implement the ...
user avatar
  • 11
0 votes
0 answers
15 views

Retaining primary symbology in gdb file in ArcGIS Pro

After importing my feature class into a gdb file for sharing, its primary symbology was changed back to default (i.e single symbol). Is there a way to retain the intended primary symbology (i.e unique ...
user avatar
  • 11
0 votes
1 answer
41 views

Sort SHP features by feature ID in QGIS

I have a shapefile which does not have any ID column. I put them in a validator, which indicates the ID of faulty features, based on the DBF line order. But by opening the shapefile attribute table in ...
user avatar
  • 323
1 vote
1 answer
40 views

How do I select features with the same values but different IDs from a layer's attribute table in QGIS?

I have a multipolygon layer with several regions (green circles) that are identified through numerical fids. Within each region are multiple points (orange dots) with individual pointIDs. See example ...
user avatar
  • 33
-2 votes
1 answer
16 views

Upload and Display Image with Location coordinates [closed]

I want to upload an Image on Map and the image should contain some coordinates that when uploaded should display in the same location as the coordinates, I am working on C# and Wpf.
user avatar
0 votes
1 answer
26 views

Distance between nearest neighbors R GIS

I am using nngeo to identify for each town the nearest city. Library nngeo is available here. I want to also report the distance between each town and its nearest city. I wanted to use gDistance but ...
user avatar
2 votes
0 answers
25 views

Have voronoi take into account line boundaries (such as rivers, highways...) (on Qgis 3.14)

I have points locating supermarkets. I would like to use the Voronoi method to automatically delineate the catchment area of each supermarket (in real life of course it overlaps a bit on each other ...
user avatar
1 vote
0 answers
18 views

Creating cost distance raster and cost path

I am new to GIS and currently working on some exercises as part of a study course. The task is to determine a well fitting path for a new highway. The basic input data are: Landuse (Forest, Buildings)...
user avatar
  • 11
0 votes
0 answers
22 views

PyQGIS how to set value for canvas buffer? setExtentBuffer doesn't work?

I'm trying to set a buffer value for a canvas setExtentBuffer(100.0). canv = iface.mapCanvas() canv.mapSettings().setExtentBuffer(100.0) print(canv.mapSettings().extentBuffer()) But when checking the ...
user avatar
0 votes
0 answers
18 views

Layer Blending in ArcGIS Pro and Publishing to service

I've been working on a service to publish and have made a very clean map using layer blending. However, when publishing as a Web Map, a web layer WMS and a Map image, it removes the blending of my ...
user avatar
3 votes
1 answer
69 views

Using QGIS expression with overlay_nearest() function to create line connecting point to two nearest points of other layer

I have in QGIS ver 3.22 two point layers named: source_p target_p I want to point automatically with a line from the source_p layer to the two nearest points on the target_p layer. Manually, I was ...
user avatar
  • 153
0 votes
1 answer
25 views

Multiple Geometries geopandas.to_postgis Return "Geometry SRID (0) does not match column SRID (4326)" Azure Postgres Version 11

I am trying to import a GeoDataFrame to PostGIS using the "to_postgis" method. I have multiple geometry columns. It works in my local machine and docker with Postgres version 14 and PostGIS ...
user avatar
-1 votes
0 answers
17 views

Looking for a project similar to UN CartoTile

I am looking for map data (geojson) that is similar in style to the UN CartoTile style of map found here: https://www.un.org/geospatial/mapsgeo/webservices. I found a site some time back that has this ...
user avatar
0 votes
0 answers
18 views

QGIS2web fails to preview or export

I'm trying to export a map for OpenLayers. Unfortunately, the preview window will only show the tools and my background color. This is also true of exported files when viewed via export.html ...
user avatar
-1 votes
0 answers
11 views

Different EPSG projections in one map

I have some data from different part of the world (US and Europe) and I have to display them on the map. How can I make one WEB map with a few EPSG?
user avatar
  • 125
0 votes
0 answers
31 views

Problem with sDNA plugin setup in QGIS

When I open QGIS, a label appears: "Please ensure sDNA version 3.0 or later is installed ensure the sDNA installation folder is set correctly inProcessing -> Options -> Providers -> ...
user avatar
2 votes
2 answers
26 views

ArcGIS Pro Active Map Metadata Object is Read-only when accessing via ArcPy

I'm using ArcPy to get the current aprx, active map, then to create an empty metadata object, and populate it with values from a fGDB table, but I cant copy and save it back to the read only map ...
user avatar
  • 1,159
0 votes
1 answer
9 views

Using Arcade to label polylines with X coordinates of last vertices in ArcGIS Pro

I am using ArcGIS Pro 3.0.0 and a File Geodatabase. I have a requirement to use Arcade for configuring some Attribute Rules related to the geometry of the features involved which has led me to realize ...
user avatar
  • 63.9k
0 votes
0 answers
31 views

Mapping latitude and longitude to shapefile containing polygon using GeoPandas [closed]

I want to map latitude and longitude dataframe (df_raw) to a shapefile (gdf_raw) that contains all the postal codes and want to save in a dataframe (df_with_pc) as shown below. Note that the latitude ...
user avatar

15 30 50 per page