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
-2 votes
1 answer
56 views

Why do only points appear when I load shapefiles into QGIS?

I was sent files in these formats : .cpg, .dbf, .prj, .sbn, .sbx, .shp, and .shx. I tried importing the zipped file containing all of them using Layer > Add Layer > Add Vector Layer and ...
Elyse's user avatar
  • 1
0 votes
1 answer
30 views

Heatmap using lines in shapefile in QGIS

I used openrouteservice to produce routes from many points to one point. I would like to add some sort of heatmap scheme to this - supposedly blue for least popular routes and red for routes with most ...
jd6915's user avatar
  • 11
4 votes
1 answer
100 views

ogr2ogr: Unable to import shapefile with '-lco RFC7946=YES' parameter to the PostGIS db

I'm trying to convert multipolygon to in the right-hand format so that Leaflet can use it on the front end. ogr2ogr -nln [target_table] -nlt PROMOTE_TO_MULTI -lco GEOMETRY_NAME=geom -lco FID=gid -lco ...
matsukan's user avatar
0 votes
2 answers
78 views

How to union two polygon shapefiles by one or more attribute fields in QGIS

I would like to union two polygons that have the exact same fields in their attribute tables in QGIS. However when I use the Union tool, it makes an attribute table that has exactly twice the amount ...
MapDeath's user avatar
  • 363
0 votes
0 answers
24 views

Styling selective street names [closed]

I am working on a project that uses an imported GPX track file to show a race course. I would like to style the road names that fall on the track course differently than the road names used on the ...
Taylor Vandiver's user avatar
-1 votes
0 answers
28 views

Polygons of port areas

I am after the polygons that cover the port areas. I am already aware of data bases with shapefiles containing data and point location of ports such as https://msi.nga.mil/, but I need polygons of the ...
myradio's user avatar
  • 99
0 votes
0 answers
71 views

Python script to convert CAD DWG to shapefile

I'm trying to write a python script which will convert a CAD .dwg file to a shapefile (or GeoJSON - whichever is more viable) I don't want to have to use pyautocad as that requires AutoCAD to be ...
guest_231213's user avatar
0 votes
0 answers
33 views

Edited shapes become invisible

I´m working editing shapes in a geodatabase with Osgeo. The last editions become invisible until I make a new edition. The problem is that the last editions become invisible until I make a new ...
Cuerda Florencia's user avatar
0 votes
1 answer
45 views

Can't load DBF attribute table correctly - QGIS

I'm trying to load in QGIS a shapefile with an edited DBF file. The objects are loaded correctly, but not the attribute table, which mixes the data from different cells. It is a very large DBF with ...
Gustavo Pottker's user avatar
2 votes
2 answers
141 views

INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified

I have a shapefile. I want to load the shapefile in to QGIS but I am not able to load it. The shapefile is a layer in GeoServer (2.23.2) and loaded into QGIS (3.28.15) vis WFS 2.0.0 connection. QGIS ...
Navya's user avatar
  • 21
0 votes
0 answers
28 views

Shapefile layer is offset when reprojected to WGS 84

I have some shapefiles in UTM EPSG:37721, however, to cut the variables I need the polygon in WGS84. When I redesign my square shapefile in WGS, it appears crooked in QGIS. Is this right? Because if I ...
Rogério's user avatar
1 vote
1 answer
63 views

Export shapefile data as SVG circles

I am using QGIS and those two datasets: https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-admin-0-countries-2/ https://www.naturalearthdata.com/downloads/50m-cultural-vectors/50m-...
Quick Maths's user avatar
2 votes
1 answer
118 views

How to identify holes of missing geometry enclosed within a polygon in QGIS?

I want to locate or highlight all the holes (invalid interior rings that do not connect at all vertices and edges) and redundant geometry in a polygon shapefile in QGIS so that I can go back and ...
MapDeath's user avatar
  • 363
0 votes
1 answer
46 views

Create heatmap polygons shapefile from a points shapefile for a variable in attribute table in R

The objective is to create heatmap polygons from a points shapefile named "df_sf" for an attribute "V1" in the shapefile and then export these polygons as another shapefile in R. ...
vp_050's user avatar
  • 103
1 vote
1 answer
38 views

Calculate percentages of intersected layers

I have two shape layers in QGIS. Layer A shows the geometry of districts in Berlin. Layer B shows water protection areas in Berlin. The different areas/ geometries of layer B can cross multiple ...
kibi25's user avatar
  • 11
0 votes
1 answer
49 views

Aligning data from NetCDF with shapefile in QGIS

I am currently working on a project in QGIS where I'm extracting temperature data from a NetCDF file to subnational regions. I've encountered an issue that I hope someone here can help me understand. ...
Trinh Trong Anh's user avatar
0 votes
0 answers
32 views

ArcGIS Pro can't count overlapping polygons because of self-intersection

I'm trying to use the Count Overlapping Features tool in arcgis pro, but it keeps failing due to 'invalid topology'. Some research points out this has to do with invalid geometries, so I do check ...
Beardedant's user avatar
0 votes
0 answers
17 views

How to batch export .tif and .shp from TNTmips RVC folders?

We have approximately 600 RVC folders per year, for a 30 year period (repeated visit of plots), that contain both georeferenced aerial images and vector mapping of wet areas via heads up digitizing. ...
Kevin's user avatar
  • 451
-1 votes
2 answers
115 views

Locate or find holes tool in QGIS for polygon shapefiles [closed]

I want to locate or highlight all the holes (invalid interior rings that do not connect at all vertices and edges) and redundant geometry in a polygon shapefile in QGIS so that I can go back and ...
MapDeath's user avatar
  • 363
1 vote
0 answers
68 views

Maintaining data history in QGIS

I am working on mapping and characterizing watercourses. I use the shapefile in QGIS (version 3.28.8 - Firenze) to represent the water body and to insert data obtained in the field. However, I have a ...
Rodrigo's user avatar
  • 41
0 votes
1 answer
28 views

CRS projection problem when I reproject my shapefile and raster

I have two layer, shapefile and raster. I need to re project shape-file into EPSG:32633 - WGS 84 / UTM zone 33N . I did it using this python code: import geopandas as gpd # Path to the original ...
Sahar's user avatar
  • 1
1 vote
0 answers
32 views

Overlay shapefile boundaries on geom_tile heat map in R

I have a square matrix which corresponds to a square area of a map. The values represent the mean value of any centroids in the relevant grid square. I am visualising this using geom_tile in ggplot. ...
hwk2000's user avatar
  • 11
0 votes
2 answers
131 views

Create a program that merges attributes from a CSV file with a shapefile

I need to create a program that merges attributes from a CSV file with a shapefile, resulting in a new shapefile named after the CSV file. How can I do this? import geopandas as gpd import os import ...
Spark 99's user avatar
1 vote
0 answers
33 views

Accented characters in CSV file appear as '?' when importing to QGIS 3.34.2 [duplicate]

I am trying to import a CSV set of data to join to a shapefile in QGIS but the accented characters and ñ character are displayed as missing in the attribute table and performing a join is impossible.
IDHA's user avatar
  • 11
0 votes
0 answers
24 views

Getting a holed shapefile

I have two shapefiles the red one is the urban areas, the green is the agricultural land and the dark green represents forest. I want to remove the surface of the red shapefile from the green ...
amina k's user avatar
1 vote
1 answer
78 views

Point shapefile has duplicate labels in QGIS

I have a point shapefile with a attribute table which has many rows. In the 'Location_Names' column there are occasional duplicates since some people live in the same location. Consequently, there are ...
Lina's user avatar
  • 223
0 votes
0 answers
59 views

Creating species distribution map

I have to create a map for my GIS project that shows marine mammal species distribution within the UK and Ireland. The marine mammal data set is from the iucn red list and comes in the form of ...
Nancy's user avatar
  • 1
2 votes
0 answers
32 views

Merging smaller polygons into bigger surrounding polygons in QGIS [closed]

I am using QGIS 3.34.2 (Prizren). I am using a village-level shapefile which I downloaded from SHRUG. I have to use only the villages in West Bengal for an analysis. Furthermore, I need to combine the ...
Ramandeep's user avatar
1 vote
0 answers
62 views

QGIS flagging shapefiles as 'invalid data source'

I've downloaded some shapefiles (zipped) to my C drive for use in QGIS - however it can't seem to find them when I add a vector layer from the web browser, they simply don't appear. When I try to open ...
MOB's user avatar
  • 11
1 vote
0 answers
116 views

Cannot plot with Cartopy: Incomplete shapefile definition error BUT .shp .shx and .dbf are all present

I used to plot maps with Cartopy, which actually used to work fine until now. Recently, when adding the maps features to a plot (es. coastlines etc) I get this error: "ValueError: Incomplete ...
Noelle_L's user avatar
0 votes
0 answers
62 views

Seeking London building shapefile

I need a London building shapefile. I attempted to use Microsoft footprint, but encountered difficulties. I also tried downloading from Overpass without success. How can I find a reliable way to ...
user236222's user avatar
2 votes
1 answer
55 views

Combining two shapefiles containing roads of the same area

I have two layers both containing roads of the same area. One si from OSM, and the other is from another source. Both networks are quite dense and for the most part, they contain the same roads, ...
serta8199's user avatar
0 votes
0 answers
13 views

Copying data from server to my project to prevent broken links and altering original data?

I recently started at a new company and am working on updating their trail maps. The GIS database that I have inherited is quite the mess. I am using ArcGIS Pro and I keep running into broken data ...
Jess's user avatar
  • 9
0 votes
0 answers
39 views

QGIS adding world shore line buffer zone but dashes appear. How can I remove them?

I am trying to add buffer one to the world shoreline. However, when I zoom out, some unintended straight lines show up. When I zoom in, those lines disappear. This line does not exist. How can I ...
Gokhan Camliyurt's user avatar
0 votes
1 answer
56 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
15 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
160 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
23 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
41 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 ...
Pythonist's user avatar
  • 379
1 vote
1 answer
108 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
18 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
76 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
38 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
292 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
  • 223
1 vote
1 answer
100 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
30 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
150 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
28 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
  • 311
1 vote
0 answers
55 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
47 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

1
2 3 4 5
112