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
0answers
42 views

Unable to import shp to QGIS 3.0

I'm using QGIS Desktop 3.8, and unable to import a shapefile. I get the following error: "The layer already exists. Are you sure you want to overwrite the existing file?" I'm super frustrated, ...
0
votes
0answers
18 views

Error in RGEOSDistanceFunc(spgeom1, spgeom2, byid, “rgeos_distance”) : negative length vectors are not allowed

What does the error in the title mean? I'm fairly new to GIS and can't understand which negative length vectors R is talking about? Here is what I'm doing: I have a csv of lat/long locations of ...
0
votes
0answers
20 views

Change LIDAR classification of points inside polygons

I'm trying to create a pdal pipeline to adjust the classification values for all points inside polygons, but I can't seem to get it to work. The filters.range works correctly because the output file ...
0
votes
0answers
87 views

Shapefile not projecting properly in Google Earth Engine? [on hold]

The shapefile I recently downloaded from (http://www.naturalearthdata.com) does not project properly in Google Earth Engine. I guess the issue is with the projection, but unable to figure out. Sorry I ...
1
vote
1answer
15 views

Adding data from KML/shapefile/GeoJSON to OSM nodes

I have data of streets which is marked with the osm way/node ids. I would like to add speed limit data which is available in KML, shapefile, or GeoJSON to these OSM wayids (OSM wayid with start node ...
5
votes
1answer
101 views

QGIS edit toggle does not work with ANY layers I bring in (as shapefile)

I bring in polygon as Shapefiles and they display, I can select, all looks well. However the toggle edit is ALWAYS greyed out. If I make a new layer with features in it, the toggle edit is fine. ...
2
votes
0answers
19 views

Creating Swath View from Point data using Python?

My situation Input: point data from planting file Feature Attribute: [('DeletionFlag', 'C', 1, 0), ['Field', 'C', 254, 0], ['Dataset', 'C', 254, 0], ['Product', 'C', 254, 0], ['Obj__Id', 'N', 15,...
0
votes
0answers
22 views

QGIS 3 vertex tool in WGS84 [on hold]

I have a shapefile in WGS84 that I want to edit some of the polygons (move nodes, add nodes) but when the CRS of the QGIS project is set to WGS84 and I try to use the vertex tool the cursor just spins ...
0
votes
1answer
38 views

Converting ENVI grid to Esri shapefile?

I have build geographic coordinates grid for raster in ENVI. It can be saved in grd format only, but I need shp (shapefile) format for opening it in ArcGIS Desktop or MapInfo. Does anyone know how ...
0
votes
1answer
72 views

Google Earth Engine Import shape as draggable Layer

How to import a shape or image into GEE and drag it around like the self-drawn imports? Edit: the asset is uploaded and also added to the map, but it´s projected according to its coordinates, I want ...
2
votes
0answers
40 views

What happens if you set QGIS as the default program to open a *.SHP file?

In the screenshots of shapefiles in this question, Accessing downloaded shapefiles/attribute data?, you can see that the .shp files have the QGIS logo as its icon. I think this means that on that ...
4
votes
3answers
2k views

Converting large GeoJSON to shapefile?

I have recently downloaded a building footprint GeoJSON file from Microsoft Bing Maps. The file I downloaded was for the entirety of Texas, and is of approximately 2.2 GB file size. They do not ...
-3
votes
0answers
26 views

For TeddyTedTed [closed]

This is the screenshot of error log. So I have a raster map and shapefile and I just want to clip/crop the raster to the outline of the boundary. It feels it should be so simple but I am having real ...
2
votes
1answer
63 views

Creating equally spaced coordinates on California state map created with basemap?

I have created a California state map with basemap Python library and this shapefile. Code is below from mpl_toolkits.basemap import Basemap import matplotlib.pyplot as plt fig, ax = plt.subplots(...
2
votes
1answer
125 views

Using ArcPy to insert new data into shapefile without editing it?

I want to insert new data into a empty shapefile. I have an array with the fields values of each row and I use InsertCursor to add these data to my shapefile. When I run the code if the shapefile is ...
4
votes
2answers
103 views

CSV file not joining to Shapefile using QGIS?

I am trying to join a .csv onto shapefile data. This csv file is a non-geometric file. When I go to join the two, the shapefile reads that the columns are null. Both files have matching columns. I ...
31
votes
5answers
53k views

Splitting shapefile into separate files for each feature using QGIS/GDAL/SAGA?

I have a polyline shapefile with about 20 kinds of roads. I would like to know how can I create automatically a vector file for each one. I am aware of how to do it using ArcGIS for Desktop - see ...
0
votes
0answers
22 views

Coordinate system problem; two features won't match up (linear units problem?) [duplicate]

I have two features that should overlay, both are shape files and one is polygons and one is polyline. The line should essentially outline a specific region in the polygons, but they are completely ...
2
votes
2answers
43 views

QGIS 3 shapefile attribute table sort order

If I open a shapefile in two empty QGIS projects and view the attribute table the rows are in completely different orders. How does QGIS decide which order to display the rows in an attribute table ...
1
vote
3answers
28 views

Merging different types (e.g., polygon with polyline) of shapefiles? [duplicate]

I want to create a watershed shapefile with areas, streams and pour points in it. Is there a way to merge the areas (polygons) with streams (polylines) and pourpoints (points)?
4
votes
1answer
66 views

Extracting data within geometry (shape)

I have a NetCDF dataset which I normally call using the xarray function. I have recently been doing some transect analysis on the dataset, which looks something like this (the area between the ...
1
vote
1answer
31 views

Calculate area, length, width of rectangles in shapefile with Python

I have a list of rectangles imported from a shapefile into Python in degrees. (EPSG:4326) rectangles = [{'type': 'Polygon', 'coordinates': [[(-61.55002968237319, 73.546895599812856), (-61....
1
vote
0answers
29 views

Copying attributes from one point to another in QGIS [closed]

I have mapped several points on a shapefile. Some of them share the same attributes. In the attributes table I copied the attributes of the source point, select the target point with empty row, but ...
2
votes
1answer
424 views

Checking maximum number of features for shapefile to be opened in ArcMap?

I have a shapefile that contains 10,608,268 polyline features. What is the maximum limit for records that a shapefile can contains?
-1
votes
0answers
24 views

Transforming dwg to shp with georeference [closed]

I need to take a .dwg and change it to a .shp and then georeference it. What's the best way to do this? I have access to ArcMap, FME and QGIS.
1
vote
2answers
50 views

Making correct shapefile for Mapbox Studio in QGIS?

I want to create an age building map of my home city. I made decision to follow this tutorial: https://www.wired.com/2013/10/how-to-map-building-ages-in-your-home-town/. Building footprint shapefile ...
3
votes
0answers
768 views

Converting classification image to aggregated polygon in shapefile using gdal/python? [closed]

My goal is convert a 2D numpy array to shapefile. The matrix results from a classification, so the numbers have a meaning. I solved my problem, but the solution is somehow convoluted and complicated. ...
-1
votes
0answers
36 views

Creating a GIS storage system/database [closed]

I have recently been contracted to cleanup and reinvent the GIS storage system of an environmental non profit. The current system is just a huge mess of file folders with .shp's in them. I will be ...
4
votes
1answer
86 views

Sharing shapefile collection

I have a shapefile and I want to share it via email. I noticed that ArcMap saves this file as a bunch of little files with various types (.cpg, .dbf, .prj, .shp, etc.). Is the best way to share a ...
3
votes
1answer
38 views

Extra vertices being added to polyline during ArcMap editing of shapefile?

I have a layer of multiple polylines each of which had some vertices. While editing vertices in ArcMap 10.5.1, all lines have become features with too many vertices. Does anyone know what is the ...
12
votes
1answer
16k views

Reprojecting raster from lat/lon to UTM in R?

i have to turn it into a UTM in order to make the buffer functional. wets<-readOGR(dsn=".",layer="shapefile") r.raster <- raster() extent(r.raster) <- extent(wets) res(r.raster) <- 100 ...
1
vote
1answer
124 views

Finding overlapping polygons in two shapefiles and deleting them in R? [closed]

I have two shapefiles with more than 1000 polygons each, and they represent two types of agricultural fields in the same area, which means they should be different types. Some of the polygons are ...
11
votes
7answers
26k views

QGIS exporting attributes in a KML file

Here is what I am doing: Create a layer by uploading a shapefile into QGIS Select attributes of that file Export selected attributes with the "save only selected features" check box when I save the ...
1
vote
1answer
156 views

Converting multiple geometry KML to Shapefile

I have a KML file with multiple geometry, points and polygons. I want to convert it to a point Shapefile and a polygon Shapefile. Using OSGeo4W Shell I tried this : ogr2ogr -where "OGR_GEOMETRY='...
1
vote
1answer
43 views

Allow client to upload ESRI shapefile in OpenLayers 3 [closed]

I want to build functionality to upload ESRI shapefile and overlay it on map using OpenLayers 3. Once user cross checked I want to save to PostgreSQL/PostGIS table. So far as I Googled I am not ...
0
votes
0answers
16 views

Updating building data?

I need to update a building data (shapes) in ArcGIS Desktop. One Shape is with the buildings of a city from 2012 and the otherone with the buildings of the same city from the year 2019 (perhaps 300....
2
votes
1answer
1k views

How to create dynamic maps based on updated attributes in SHP file

I am novice GIS'er. I can create maps and do basic transformation of the SHP file using QGIS. I also succesfully applied formatting based on attributes. I am able to add new attributes to SHP file in ...
2
votes
0answers
39 views

Pull information from one shapefile and add it to the attribute table of another?

I'm trying to create a shapefile for one particular area in Germany. I have various shapefiles which store all the information that I need. One of them is a 100m_Gitter_raster (a raster consisting of ...
2
votes
2answers
5k views

Merging attribute and geometric features in QGIS?

I have polygons shapefile in which some of the polygons have same attributes as seen below:- In QGIS, how do I merge the polygons having the same attributes into one polygon? In other words, am ...
1
vote
1answer
63 views

Copying fields from one layer to another in QGIS

I am new to QGIS. I need to create hundreds of shapefile layers with the same fields but different points and attribute values: The first shapefile one I created with 12 fields (columns). To create ...
4
votes
1answer
4k views

Getting error when clipping shapefile to shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
0
votes
1answer
42 views

Error when extracting specific field of shapefile in Google Earth Engine?

I'm trying to extract specific field data which is in shapefile. There was an error while executing the following code in GEE as argument invalid type. the screenshot shows the error message. Can ...
1
vote
0answers
19 views

Shapefiles added through GeoServer REST interface contains no features [closed]

I'm using a put request to create a datastore under a workspace, and automatically register the included feature type in a new layer. The put request succeeds, and I can see the datastore points to a ...
1
vote
1answer
20 views

Add track points in layer

I have a shape file and I want to add a layer which includes the track points (x coordinate , Y - coordinate for the attribute table). I need the tracks for identifying the buidlings and for ...
1
vote
0answers
14 views

Google Earth Engine: Export table with values over time for multiple regions of a shapefile

I'm trying to quantify land use change over time in my region of interest, which is a part of Europe divided into subregions. For this, I'd like to count the pixels of each type of land cover in every ...
0
votes
2answers
467 views

GPS Pathfinder (ssf) to ESRI ArcMap (shp) Display Issue in ArcMap

I am working on a project in the Coordinate System NAD_1983_UTM_17N within ArcMap. I used a Yuma Trimble to collect data in Terrasync and made sure the projection was the same. I transferred the files ...
0
votes
0answers
26 views

Extract values of pixels from each band of a multi-band raster with a shapefile in Python

I have downloaded multiple products from EO-1 satellite and I have created digital rasters out of them. Each of them contains 10 or 242 bands (those are hyperspectral). I have also created a shapefile ...
0
votes
0answers
11 views

Country boundaries shapefile pre-1980 [migrated]

I'm looking for a shapefile with the country boundaries as they were when Czechoslovakia existed as a country. Is there any online open source resource where I can find historical country boundary ...
2
votes
1answer
55 views

Banding appears when reprojecting shapefiles using R?

I have downloaded a shape file (Marine Ecoregions (last one on the page)) from the nature conservancy http://maps.tnc.org/gis_data.html I am then using R and the sf package to project this shapefile. ...
0
votes
2answers
34 views

Determining when layer has been loaded in ArcObjects?

Is there an event in ArcObjects to determine when a layer (specifically a shapefile) has been loaded into a map? I'm using ArcObjects 10.4.1 and C#