All Questions
5,801 questions
0
votes
0
answers
48
views
I have muiltiple polygons in a shapefile, and want to extract each polygon from a rasterfile and save as separate files
I have 80 polygons in a shapefile, and one complete raster file, I want to extract each polygon from a raster file and save it as a different raster files.
numPolygons <- length(shapefile)
...
4
votes
1
answer
173
views
Clearing some lines in QGIS leads to features with no data
I'm trying to cut and delete some lines in a shapefile with QGIS. The output of this edit is the input to the Basemap.readshapefile function in matplotlib.
My edited shapefile does not work well. It ...
1
vote
2
answers
223
views
Referenced ArcGIS Pro 3.1 toolbox renamed and empty toolbox created in its place
GIS program manager here. I am experiencing a serious problem. It occurs when starting new projects in ArcGIS Pro from a template which includes our "program toolbox" (aka Default.tbx) ...
0
votes
0
answers
52
views
Using QGIS to edit shapefile without creating 3D shape types
I have edited a shapefile with QGIS where I have cut some polygons to get open lines. The original file works in my application, whereas the edited one does not. I'd like to understand what's going on ...
2
votes
1
answer
688
views
Error accents and special characters
I am a master's student in Ecology and Environment in Portugal. It's been a few months since I had my first contact with QGIS.
When using a shapefile, in the attribute table, I select by expression, ...
1
vote
0
answers
123
views
Creating list of unnamed roads on Google Maps and match them with own road dataset
I am looking to update Google Maps road network in my city, but it seems I can't find the unnamed roads so I can quickly find the matching roads in my dataset that has names for both old and new roads....
0
votes
1
answer
76
views
Stitch land cover shapefiles together into a singular dataset while maintaining the individual land cover classes [closed]
I have been manually digitizing drone imagery to create a training data set for different land cover classifications. I have created a feature class dataset and digitized my different land cover ...
1
vote
1
answer
1k
views
Getting shapefile from Google Maps
I have a use case where I want to generate random points within a geometry. For my use cause, the geometry is a district with my country — for example, West Bay, Grand Cayman.
If I search for the ...
5
votes
3
answers
362
views
Symbolising point shapefile in QGIS: half blue half red colored point
I have a point shapefile. I have one point which I want in two colors. One half should be blue, the other one red. It should be divided vertically.
I tried the gradient version but it is as it says a ...
1
vote
1
answer
297
views
Default location for QGIS 3.28 to save shapefiles [closed]
I understand that QGIS points to the location of shp layer files. Where are these files saved to by default so that I can find them? I have a Windows 11 PC and laptop.
2
votes
1
answer
502
views
Deleting points close to each other using QGIS (point thinning)
I'm trying to decimated a point shapefile to remove points close to each other.
If you look at the example below, you can see points are 30cm apart, but other are closer.
I just need to remove ...
1
vote
0
answers
125
views
Overwrite / replace a shapefile with a new one without losing symbology and shapefile queries
I'm currently trying to encourage the company for which I work for to start using QGIS to display boreholes on a map, one of my current problems is updating the data / shapefiles within QGIS for large ...
2
votes
0
answers
51
views
How to clip precipitation layer to a shapefile in QGIS?
I downloaded a 4000m resolution precipitation dataset from ClimateEngine. I tried clipping by mask layer and the clipped raster doesn’t fill out the shapefile leaving major gaps. What can be done so ...
3
votes
1
answer
129
views
Deleting duplicate points by attribute in shapefile using QGIS
I've got a point shapefile which has a single attribute (elevation Z) and there are a lot of duplicate points (several points in the same location but each one has a different Z value). I would like ...
0
votes
0
answers
109
views
Loading shapefiles, GeoJSON, KML and GPX giving properties only for shapefiles in Leaflet
The following code allows for loading local shapefiles, GeoJSON, KML and GPX, but items properties are not the same. Only shapefiles will return its properties with a bindpopup of global properties.
//...
3
votes
1
answer
345
views
Deleting shapefile after removing it with removeMapLayer using PyQGIS
I am currently working on a script that searches for a currently loaded layer in PyQGIS and does some calculations. Then it removes the layer and deletes the whole shapefile in its directory.
...
0
votes
0
answers
68
views
Problem with create line tool in QGIS, creates an undeletable line that is not part of any layer
I was attempting to edit a shapefile layer in QGIS. I used the "create line tool" and started to sketch out a shape. I didn't like how it was turning out and tried to cancel it by pressing &...
0
votes
0
answers
112
views
Attribute table can't be "unfiltered"
We got a shapefile from someone who is working with ArcMap. For them, the file contains 363 features - for us, when opened in QGIS 3.28.7, the file only contains 321 features. The attribute table ...
1
vote
0
answers
58
views
Reprojecting shape data in QGIS
My json data is not projecting correctly. The shape should be in Mali. Can anyone explain how to adjust the projection?
[
{
"Country": "Mali",
"Layer": "...
0
votes
1
answer
67
views
WKT Conversion: Object: Error in executing tool
I have a script below where I am trying to convert a CSV of a WKT polygons that I would like to export out into a shapefile and keep getting the following error on line 21 with: arcpy.management....
0
votes
0
answers
91
views
How to grant editing permissions for editing shapefiles
A user in my company is trying to edit shapefiles on his machine via ArcMap. However, when he tries to start an editing session, he gets an error message saying no layers are editable and warnings ...
2
votes
2
answers
985
views
How to extract a single polygon from a shapefile which has multiple sub-polygons
I have downloaded the official boundary Shapefile for all municipalities in the Canadian Province of Ontario. I wish to extract the boundary polygon for one county from this file and convert it to a ...
0
votes
1
answer
65
views
What is meaning of extra bytes in .shp file or how to calculate content length
I'm trying to read a .shp file. That .shp file contains polygon type. So I read all the records perfectly, after the reading the points, end of the file that have some 28 bytes are there what is ...
0
votes
0
answers
272
views
Features lost when exporting to a feature class
Wondering if anyone has a solution to my issue... I have a fairly large (651,714) .csv file that I imported to a map using the Display XY feature. However, when trying to exporting the data (within ...
3
votes
1
answer
79
views
Changing layer provider (datasource) from shapefile to PostgreSQL with PyQGIS
I have a QGIS project with several layers using shapefiles.
I want to change the datasource of each layer using a PostgreSQL table to replace the shapefile source.
I tried this code, but nothing ...
1
vote
1
answer
907
views
Validate GeoJSON geometries using geojson Python package via Fiona
I have an application that allows users to submit a shapefile or GeoJSON file. I would like to use Python to validate the files and geometries within them to make sure I process valid geoms. Im having ...
0
votes
1
answer
523
views
Calculate area under each class for a feature in a shapefile
I have a shapefile that you see in attached picture and you can see it has eight classes for a feature shown in picture. How do I calculate area under each class. I would like to export area ...
0
votes
1
answer
232
views
Where a shapefile in QGIS stores the location data
I have created a simple shapefile layer (points) within my project. When I created the layer I added two fields 'Eastings' and 'Northings' but these don't seem to be used for storing the locational ...
0
votes
0
answers
162
views
How to reposition and rescale Alaska and Hawaii in a shapefile using QGIS 3
I have barely used QGIS at all but I am trying to produce a colored map (based on opioid overdose rates) in Python using a county level shapefile from the Census Bureau. What I would like to do is ...
0
votes
1
answer
252
views
GEE filterBounds returns Error: Invalid property type
I'm new to GEE. I'm trying to export a shapefile of Google building footprints cliped to a area of interest but I keep geting an error in the filterBounds.
This returns de message:
Error: Invalid ...
1
vote
0
answers
105
views
SAGA cannot load any grids
Whenever I try to use a SAGA processing tool in QGIS which requires loading a file, it fails to load the files. The log message says:
Loading grid: [PATH] failed.
The tools I've attempted to use ...
1
vote
2
answers
304
views
Creating map of visited airports in QGIS
I looked at the information given regarding airports and have downloaded that data into a CSV file for import.
I have created a shapefile for my base map using OSM.
How do I import the airport data (a ...
3
votes
1
answer
120
views
How do I dodge overlapping line/polygon layers so that each is visible in QGIS?
I have 3 separate polygon layers that often overlap (image below). How do I change the symbology in QGIS to have them parallel to one another and not overlapping? (as shown in the second image below).
0
votes
0
answers
56
views
R - Spatial sample from a points layer
I read all day several articles regarding various methodologies and tools to create a significant sample from my initial data but I get lost at some point.
It is a shapefile of points.
I would like to ...
1
vote
0
answers
62
views
No-Data in clipping .vrt file with GDAL
I am facing some problems while clipping the raster file with the polygon shapefile.
I have 8 GeoTIFFs with different projections (different UTM Zones). My aim is to clip these rasters to the extent ...
2
votes
1
answer
294
views
Merge four vector layers into one shapefile and keep the symbology
I am using QGIS.
I have four vector layers, they are all separately categorized and have a certain symbology. My goal is a shapefile containing all four layers and not losing the symbology. I already ...
0
votes
0
answers
46
views
GRASS GIS v.out.ogr too many export too many feature shp
I have a vector maps that contains 16 points (from v.information) I would like to export them in Shapefile format, but when I use v.out.ogr I got this message :
Exporting 16 features... 28 features ...
1
vote
1
answer
151
views
Create a map of time since fire in QGIS
Using QGIS I want to create maps which visualise the fire history of an area, in particular the time since the last fire.
I have a shapefile which contains polygons of each fire that has occurred in ...
0
votes
0
answers
99
views
USA zipcodes shapefile
I have excel with zip codes and their respective latitude and longitude details, how can I plot them on arcgis pro in the polygon/polyline shape
0
votes
1
answer
71
views
Identifying district boundaries outliers in QGIS
I have a Nigeria shapefile that shows the district boundaries, I also have geocordinates of some health facilities, when I visualize on QGIS, I notice outliers ; some facilities are showing in a ...
0
votes
0
answers
126
views
How to classify points in LAStools using shapefiles as reference
I am new to LAStools, and mostly use MicroStation/Terra for classifications, except MS is a resource heavy at times so can be slow and can crash. The macro we run uses shapefiles as a reference, and ...
0
votes
1
answer
1k
views
ArcGIS Pro Shapefile : polygon not visible
I'm a Master's student in oceanography research and I'm using the latest version of ArcGIS Pro. I am using data from the Canadian Ice Service Arctic Regional Sea Ice Charts in SIGRID-3 Format, Version ...
0
votes
0
answers
140
views
Calculating road condition score percentages for each zip code with SQL query in QGIS
I have a shapefile that holds information about the condition of a road network that runs across several cities (zip codes):
The road network is split into segments of various lengths (meters)
Each ...
0
votes
2
answers
94
views
Buffer coming out to be a circle
I have been trying to make a buffer for the roads but the buffer is coming out to be a huge circle. Both the project coordinates and Shapefile coordinates are the same. Any pointers on how to solve ...
0
votes
0
answers
2k
views
Reading GeoJSON Data in GeoPandas: "Failed to read GeoJSON data"
Trouble Reading GeoJSON Data in GeoPandas: "Failed to read GeoJSON data"
I am facing an issue while trying to read a GeoJSON file using the geopandas library. Whenever I attempt to load the ...
0
votes
1
answer
332
views
Upload large shapefiles stored locally to GEE assets through CLI
Trying to a upload large shapefile (400k point geometries covering the whole world) as an asset to Google Earth Engine using the CLI instead of the online Code Editor > Assets > New.
The ...
2
votes
1
answer
826
views
"Unable to find driver `MSSQLSpatial'" with ogr2ogr in Windows
I am trying to import an ESRI shape file into SQL Server 2019 under Windows 11.
I have a problem similar to Attempting to use ogr2ogr to convert shapefile to SQL Server table; getting error "...
3
votes
2
answers
167
views
Clipping a multipolygon shapefile with another multipolygon shapefile with Python
I have two multipolygon shapefiles. The smaller shapefile is contains polygons that represent water areas during a flood. The larger shapefile is of permanent water bodies for a larger area. I would ...
0
votes
0
answers
79
views
Update all shapefiles in "Directory of spatial files" with low unavailability
I'm starting to work with GeoServer.
I have a list of 20 shapefiles (shp + shx + dbf) to publish on GeoServer and some of the files are updated daily and shared with me normally at 8pm. I need to ...
1
vote
2
answers
386
views
Transforming QgsPoint from one CRS to another using PyQGIS
I would like to change the coordinates of QgsPoints imported from a csv file before saving it in shapefile.
I succeed to do all the step except the crs transformation, the output is keeping EPSG: 4326 ...