Questions tagged [shapefile]

A vector data storage format for storing the location, shape, and attributes of geographic features. Often referred to as 'an ESRI shapefile', as ESRI developed it.

Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

Unable to add 7mb shapefile nor GeoJSONn into QGIS as a layer; Works in ArcGIS Pro though

The data in question, you can download as .geojson or shapefile: https://data.mississauga.ca/datasets/mississauga::mississauga-official-plan-2010-schedule-10-land-use-designations/explore In the file ...
Bob the Builder's user avatar
0 votes
0 answers
11 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) ...
gis user's user avatar
4 votes
1 answer
143 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 ...
Pythonist's user avatar
  • 379
0 votes
0 answers
14 views

Some metadata doesn't show up in manually created .shp.xml in QGIS?

I'm creating shapefiles in Python using geopandas from processed climatological information. This a simplified version of the code I'm using to generate the shapefiles: import geopandas as gpd from ...
lanadaquenada's user avatar
0 votes
0 answers
24 views

How to edit with QGIS a 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 ...
Pythonist's user avatar
  • 379
1 vote
1 answer
59 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, ...
Sandy Morgado's user avatar
0 votes
0 answers
10 views

Extract multiple years worth of data from .nc file using shapefiles

I have a .nc file which contains monthly data for southern Africa over 30 years (aka 360 timesteps). I want to mask/extract the data using 13 different shapefiles (of agroecological zones in southern ...
JT95's user avatar
  • 1
1 vote
0 answers
56 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....
Baptenda's user avatar
0 votes
1 answer
30 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 ...
greg684's user avatar
5 votes
3 answers
263 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 ...
Lina's user avatar
  • 191
1 vote
1 answer
48 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.
Adrian James's user avatar
0 votes
0 answers
20 views

How to export geospatial files from CARTO?

I recently made an iso-area trade polygon in Carto from a point and would like to export this area as a shapefile, geopackage, or geojson for stylizing in QGIS. However, when I try to export, there's ...
user2031's user avatar
  • 221
2 votes
1 answer
74 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 ...
Gil's user avatar
  • 111
0 votes
0 answers
17 views

ArcGIS Pro 3.2 fill gaps line section using another line layer

I extracted two lines layers of road condition. One was surveyed when the roads were dry. The other layer is when the roads were wet. The dry layer has some gaps And I want to fill these gaps with the ...
GIS Noh's user avatar
  • 191
1 vote
0 answers
39 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 ...
LiMoNiZeR's user avatar
2 votes
0 answers
43 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 ...
ccquinon's user avatar
0 votes
0 answers
19 views

Label shape with multiple labels from one cell content

I have a Layer with different areas. Within the attribute table I have a column for measures to be taken. Within these cells there can be multiple measures. ID Measures 1 M1, M2, M3 2 M2, M3, M4 I ...
user233242's user avatar
3 votes
1 answer
85 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 ...
Sken2107's user avatar
  • 188
0 votes
0 answers
19 views

I want to use the same code however the data comes from a different file type

I'm trying to run the same thing for a bunch of different data files most of them are TIFF files, which means the code is set up for TIFFs. However, two/three of my files are shapefiles and I can't ...
LamaGirl27's user avatar
0 votes
0 answers
53 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. //...
Vincent Dc's user avatar
3 votes
1 answer
130 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. ...
eagleadmiral's user avatar
0 votes
0 answers
29 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 &...
Patrick Wiley's user avatar
0 votes
0 answers
48 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 ...
Erik's user avatar
  • 15.7k
1 vote
0 answers
54 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": "...
JaK's user avatar
  • 91
0 votes
0 answers
23 views

Corn Field Classification: Layer error: No valid training data were found

I have a code in GEE for crop mapping. I also have the shape of training points. but after running I faced an error: No valid training data were found. Please Help me how can I fix the code? The ...
bahare bahmanabadi's user avatar
0 votes
1 answer
38 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....
Holly's user avatar
  • 1
0 votes
0 answers
30 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 ...
matthiastrek's user avatar
2 votes
2 answers
157 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 ...
James Cobban's user avatar
0 votes
1 answer
40 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 ...
Sai Ganesh's user avatar
0 votes
0 answers
36 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 ...
user231889's user avatar
1 vote
1 answer
107 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 ...
glw's user avatar
  • 187
0 votes
1 answer
79 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 ...
QGIS_krig's user avatar
0 votes
1 answer
57 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 ...
Packwood's user avatar
  • 135
0 votes
0 answers
57 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 ...
The Mad Scientist's user avatar
0 votes
1 answer
42 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 ...
Gabriel_LB's user avatar
1 vote
2 answers
108 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 ...
Jamie's user avatar
  • 13
3 votes
1 answer
84 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).
jabber95's user avatar
0 votes
0 answers
37 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 ...
Anne L's user avatar
  • 1
1 vote
0 answers
22 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 ...
Badal's user avatar
  • 309
0 votes
0 answers
17 views

Change a shapefile with grids to a 2D grid world for RL

I have a shapefile with multiple grids as polygons. I want to convert this into a 2D gridworld so that I can train an RL agent. I tried different libraries but I am stuck in the part of brain storming....
sneha_jerin's user avatar
2 votes
1 answer
105 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 ...
Lucas's user avatar
  • 21
0 votes
0 answers
39 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 ...
user230328's user avatar
1 vote
1 answer
94 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 ...
Amy's user avatar
  • 51
0 votes
0 answers
36 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
disha sirsat's user avatar
0 votes
1 answer
34 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 ...
Temitayo's user avatar
0 votes
0 answers
36 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 ...
Warrick Allen's user avatar
0 votes
1 answer
126 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 ...
Margaux UQAR's user avatar
1 vote
0 answers
118 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 ...
dot314's user avatar
  • 53
0 votes
2 answers
70 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 ...
Rucha's user avatar
  • 1
0 votes
0 answers
306 views

Trouble 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 ...
Williams Adaji-Agbane's user avatar

1
2 3 4 5
111