Skip to main content

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
33 views

Fields that fill in automatically

I want to create a point layer with an ID field that fills in automatically as I digitize a geometry. It's possible? How can I do?
Tommaso Ferrari's user avatar
-1 votes
0 answers
13 views

Locating GIS-based data for European geothermal resources?

Can the public freely access GIS-based data relevant for European geothermal? Especially shapefiles for GIS viewing and research. Research today: We may have a long time to wait for Project InnerSPace ...
James Mike Eros's user avatar
0 votes
0 answers
22 views

I created a shapefile in WGS1984 43N projection which was meant to be in WGS1984 42N [closed]

I created a shapefile in WGS1984 43N projection which was meant to be in WGS1984 42N, Now after changing the projection system the data is not appearing on the right place. What can I do?
Inaam's user avatar
  • 1
0 votes
0 answers
4 views

Unable to load FDO Provider library 'ShpProvider.dll'; (Null)

One of our interns is having trouble loading shapefiles in AutoCAD2023 Civil 3D. When trying to add a shapefile to a layout he receives the following error: Unable to load the FDO Provider Library '...
Eric Rizzo's user avatar
0 votes
0 answers
12 views

use ogr2ogr shp to s57 error

I have used ogr2ogr -f "S57" 12345.000 12345.shp -skipfailures --Debug ON, but it fails. The console show: GDAL: Proxy driver FileGDB not registered due to ogr_FileGDB.dll not being found ...
user251467's user avatar
1 vote
1 answer
34 views

Putting points on map using ArcGIS Pro

I am trying to create a map that shows a shaded region and a bunch of labeled dots of landmarks in the area. For example, I want to have a map of New York City with Manhattan shaded and then a dot ...
asterlid's user avatar
0 votes
0 answers
36 views

QGIS CRS differs from CRS extent [closed]

I am having the same issue described in this post QGIS: CRS and CRS in extent different - what to do?, but there are no suggested fixes or answers. I have two polar grid layers, one created by me in R,...
Setophaga's user avatar
0 votes
1 answer
31 views

Cannot load a geodataframe (from a shapefile) into PostgreSQL (as table) via SQLAlchemy

I would like to publish a shapefile from a directory to GeoServer by using the Python library geoserver-rest. I understand that in order to do so, I need also to load the shapefile as geodataframe (...
Tms91's user avatar
  • 185
0 votes
0 answers
32 views

Create shapefile using fiona geopandas succeed but no feature created

From my script I want to create a shapefile from object detection, when the file is small or medium size (under 150.000 features) its workable, but when it more than that value, the feature is null in ...
Ari's user avatar
  • 1
1 vote
1 answer
72 views

Creating polygon layer (road border) from line layer (road) and polygon layer (buildings) using QGIS [closed]

Picture 1 showing a line layer representing road and a polygon layer representing buildings. How can I create another polygon layer for the road with the edge touching the buildings e.g. thick orange ...
LBL's user avatar
  • 31
0 votes
0 answers
49 views

Plotting spatial data in Python

I am very new to mapping in Python and I'm trying to plot data through Jupyter Notebook - import pandas as pd import numpy as np import xarray as xr import sys import os import matplotlib.pyplot as ...
proy's user avatar
  • 95
2 votes
1 answer
48 views

Splitting SHP file based on property starting with an underscore

I found a rather annoying "feature", when trying to split a SHP file based on values of a property, which has a name starting with and underscore (like _property). The problem occurred when ...
pawel_kw's user avatar
0 votes
0 answers
44 views

Error saving KML as shapefile using QGIS

I have imported a .kml as vector, worked on that and saved after some addition in the data. The error message received is: Export to vector file failed. Error: Creation of layer failed (OGR error: ...
AbuYahya's user avatar
3 votes
1 answer
94 views

Trouble with QGIS .shp files and .dbf files

I am currently trying to add a series of files called "LotNumber", it has a .dbf and .shp file that has already been made on ArcMap. When I try to add a vector layer in QGIS and add either ...
Devin's user avatar
  • 31
0 votes
1 answer
35 views

Merging shapefile with data file with coordinates

I have a shapefile 'shp' with boundaries, and I have a data .csv file with coordinates and some values. I want to join the df to shp, so that each coordinate/observation would be in the correct zone/...
lala345's user avatar
0 votes
0 answers
45 views

Downloading OSM data for whole of Netherlands via Geofabrik

I need shapefile data for roads and railways in the Netherlands. I can use https://download.geofabrik.de/europe/netherlands.html to download several files. However I can only data for each province (...
Sem20112001's user avatar
0 votes
0 answers
62 views

Convert CSV file to shapefile

I've been trying to save my CSV file as a shapefile, but every time I attempt to do so, I encounter an error that says Storing metadata for the specified URI is not supported. I've double-checked the ...
Asma's user avatar
  • 1
0 votes
0 answers
43 views

Loss of Polygons on QGIS 3.28

I have recently saved a QGIS project with about 1200 polygons representing historic field boundaries. The attribute table contains such information as size, owner code, tenure,parcel number and ...
Adrian James's user avatar
0 votes
1 answer
28 views

How do I name points on a shapefile layer?

I have a shapefile layer with a bunch of points placed on a map. I would like to name each point "R01" "R02" and so on. I know how to give each point a numerical value that I can ...
Nico Pare's user avatar
1 vote
1 answer
31 views

Storing SimpleFeatureStore to shapefile when the attribute names are longer than 10 characters

When I, with the code below, try to export a SimpleFeatureSource to a SHAPEfile attribute names with more the 10 characters will be truncated, due to the shapefile format (e.g FEATURE_TEXT -> ...
Paul Malm's user avatar
1 vote
0 answers
24 views

QGIS 3.34 has problems clipping USGS SGMC data

I recently downloaded the entirety of the SGMC dataset from the USGS site. The website for this data is at https://www.sciencebase.gov/catalog/item/5888bf4fe4b05ccb964bab9d. I selected the shapefile ...
Carl Huxohl's user avatar
-1 votes
1 answer
32 views

Ensuring geometries read from shapefile contain only Coodinate objects instead of CoordinateXYZM using Java GeoTools

I recently upgraded GeoTools library from version 22.1 to 31.1. Since upgrading, I'm getting lots of exceptions "Invalid ordinate index: 3" during my program execution. After some ...
Martin's user avatar
  • 87
0 votes
0 answers
60 views

Converting shapefiles to GeoJSON with specific structure in QGIS

I work in agriculture and at the moment I'm the only GIS techy in our organisation. Unfortunately, I don't have a lot of programming experience. For a certain applicator we have to convert shapefiles ...
FiftyTwo's user avatar
1 vote
0 answers
29 views

Rotating charts in QGIS

I have a point layer with stacked bar charts. I need the charts to always be on the same place, relative to the point (i.e. right to the point). I defined the placement of the charts by the points ...
Djungo's user avatar
  • 11
0 votes
0 answers
27 views

"ERROR: 22001: value too long for type character varying(6)" for polygon shapefile

I am facing an error ERROR: 22001: value too long for type character varying(6) while uploading a shapefile to online govt. portal. When I asked the person only mentioned that there is problem with ...
Rahul 's user avatar
1 vote
1 answer
37 views

ogr2ogr gives an overflow error

I'm trying to use ogr2ogr to import shapefile data in my PostgreSQL database. The MAC command line I use for this is export PGPASSWORD=xxx* ogr2ogr -skipfailures -nln xx_table -f PostgreSQL PG:"...
Thomas's user avatar
  • 11
0 votes
0 answers
29 views

How can I add an empty Attribute column to an existing (ESRI) shapefile (.shp) [ or a Table] and populate it with values from a Raster (Image) layer?

I have a GIS layer of Agricultural Field Boundaries (cadastral boundaries) with dozen attributes including Owner's Name, Seasonwise Crop list, etc. I want to add and store a new attribute called ...
Dr. Manab Chakraborty's user avatar
2 votes
1 answer
93 views

"Could not load source layer for INPUT: memory: not found" error in Processing Script using PyQGIS

I have a workflow where a raster should be polygonized and afterwards simplified. The simplified vector should be saved as a shapefile. I am using the template script from QGIS to create a processing ...
Freddy94's user avatar
1 vote
2 answers
31 views

Where can I find the metadata of Sub-regions OSM shapefiles via geofabrik?

Currently I am using data for some regions (provinces) of the Netherlands via this link: https://download.geofabrik.de/europe/netherlands.html However, when I download the shape files (.shp.zip) I ...
Sem20112001's user avatar
0 votes
0 answers
30 views

Robinson Tutorial Error in QGIS

Update: Not sure if I should remove this question or not, but after trying split features and other methods to fix the shapes, I found a newer tutorial with links to files without these glitches at: ...
HMP's user avatar
  • 1
0 votes
0 answers
81 views

Converting CSV to MultiPolygon shapefile in QGIS

I have a MultiPolygon shapefile and the attribute table looks like this. The district names and state names are jumbled with special characters. I know I can use the replace function in the Field ...
Gopalakrishnan B's user avatar
0 votes
0 answers
14 views

Clip NetCDF data by point shapefile in Python [duplicate]

I have .nc files containing global chl-a data. I want to clip these files using a point shapefile and get the chl-a values specifically for those points. However, every similar code that I have come ...
saba moshtaghi's user avatar
0 votes
0 answers
38 views

Different size between raster and shape

I have a problem trying to manage spatial data. I download the Birds of the World distribution shapefiles provided by BirdLife International and I have the cropland dominance from NASA data (available ...
Ricardo Soto's user avatar
0 votes
1 answer
108 views

How to bind two sf objects based on matching values in one column in r

I have two sf objects. The first has one object with 3 variables and the second 2 objects with 3 variables. The data looks like this: Table 1 | River | length | geometry | | ------ | ------ | --...
IchmagNuss's user avatar
0 votes
1 answer
43 views

How to remove grid lines of lithology data downloaded from Bhukhosh?

I have downloaded the Lithologic Data for a certain district from Bhukhosh, Geological Survey of India (GSI). The data obtained comes in .shp format. However there are certain grid lines present in ...
Arindam Chattaraj's user avatar
0 votes
0 answers
40 views

How can I move each polygon in a multipolygon file to a random new location within bbox?

I am trying to reassign the coordinates for every polygon in a multipolygon file, so that each would be placed in a random new location in a defined bounding box, while preserving its attributes. The ...
sw3026's user avatar
  • 1
2 votes
1 answer
60 views

Error in dissolving shapefile with ogr2ogr

I am trying to dissolve a shapefile having polygon geometries. I want to dissolve the shapefile which will create a single multi-polygon geometry. ogr2ogr -dialect sqlite -sql SELECT ST_Union(geometry)...
Badal's user avatar
  • 329
2 votes
2 answers
143 views

Extract shapefiles from this Esri map using QGIS

I'm trying to get this spatial data as shapefiles: https://thecrownestate.maps.arcgis.com/apps/webappviewer/index.html?id=b7f375021ea845fcabd46f83f1d48f0b However I can't find out how to download it. ...
Emma's user avatar
  • 21
1 vote
0 answers
34 views

Import shapefile using ogr2ogr with a subselect to fill a constraint fails to "cannot open datasource"

I try to import various shapefiles into a postgis database. The shapefiles have some foreign keys referencing other existing (and already successfully imported) tables. ogr2ogr -f "$($json....
semTex's user avatar
  • 111
0 votes
0 answers
80 views

How do I stop vertex jumping when editing line features in QGIS with shapefiles?

I've been using QGIS 3.34 (previously 3.28) for editing shapefiles containing line features. However, I've encountered a persistent issue: occasionally, while editing a feature, a vertex from a ...
Schlicker's user avatar
0 votes
1 answer
56 views

How can one display an array (from a shapefile) as a gradient without the images pixel cells 'dimming' when zoomed out?

I have a shapefile that contains a value 'carbon'. This field contains values from -130 to 130. Symbology settings: Graduated Value: Carbon Color ramp: spectral Classes: Equal Count When I am zoomed ...
tds's user avatar
  • 91
0 votes
0 answers
40 views

Apply styles to shapefiles in GeoNode

I'm currently working in a geo project where so far, an user can upload their own Esri shapefiles from my own site, we save some metadata to our own DB and by hardcoding we use GeoNode 4.2 (with ...
Luis Fernando Martinez Cardona's user avatar
0 votes
0 answers
21 views

Overlay TIFF raster and "Shape" file a free library in C#?

Is there any free C# library to get the elevation data for the vertices of a 2D line feature Shape file form a raster tiff file? The "Elevation" column in the attribute table of "...
NewbieInCSharp's user avatar
0 votes
0 answers
44 views

GRASS GIS from server taking hours to import a shapefile

I have a large shapefile (1GB) with 12k features. It takes 8 minutes to load in R studio (v.4.3.3) using terra package (v.1.7-71), function vect(), on a Windows machine with 32GB of RAM and an Intel(R)...
LT17's user avatar
  • 303
0 votes
0 answers
53 views

.SHP to .DXF while preserving the labels

I have a shapefile layer containing points that hold their name as an attribute and I displayed those names as labels using QGIS . Now when I try to export these points as .dxf file the label is not ...
aogino's user avatar
  • 15
1 vote
0 answers
33 views

Define primary key when converting shape file

I am currently trying to convert a shape file into a .sql file with the shp2sql command, but when it generates the .sql file, it generates a gid column twice, one that's inherent to the shape file I ...
Matheus Lacerda's user avatar
0 votes
0 answers
13 views

How to generate the mean of each SOA polygon

I have air pollution data for each different year in shapefile format. I imported each year into QGIS and the shapefiles are in points format and then I added an Esri layer for the air pollution ...
RAWAN AHMAD ALHATTAB's user avatar
1 vote
1 answer
66 views

Counting outgoing links connected to a node [closed]

I've a large linear shape and I need to find all nodes with class >=3 connected to at least two outgoing links. It's actually a sewage graph, I'm trying to identify sewer dividers. I have read ...
pelino's user avatar
  • 13
0 votes
0 answers
49 views

Shapefile and GeoTIFF do not match

I am trying to match a shapefile with polygons with a GeoTIFF, but I have a slight offset. The shapefile was created manually. How can I fix this? I am preparing a dataset for a neural network that ...
modernToking's user avatar
3 votes
2 answers
184 views

A suggestion on how to create a cemetery shapefile to include multiple entries in an attribute table?

I want to do a small volunteer project of a war cemetery in my hometown and to make it available to public. However, I never did this so maybe you can have some suggestions to me. The hard part I ...
gis1234's user avatar
  • 319

1
2 3 4 5
113