Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

1
vote
2answers
43 views

Selecting/tracing part of line feature using QGIS?

I have a shapefile which comprises a number of lines, each representing a bus route. I'm wanting to create a new bus route which is the same as an existing line to a certain point, but then branches ...
3
votes
1answer
80 views

Importing from CSV and changing projection using ArcPy?

I'm attempting to convert CSV files to a group of shapefiles, then re-project them to a different coordinate system. The first conversion works, but I'm having issues with the projection piece. ...
0
votes
1answer
43 views

Google Earth Engine uploading table asset meets "invalid shapefile supporting file“

I am trying to upload a series of data coordinates to Google Earth Engine. First, I used ArcGIS and converted the Excel data to shapefile and I got eight files. However, when I am trying to upload ...
0
votes
1answer
86 views

Save/loading shapefiles with SF in R: no simple features geometry column present [closed]

I have this code: library('sf') #init data xes = c(-122.133533701866, -122.141590665524, -122.382782560179, -122.302227764504, -122.347524548303) yes = c(47.617342005802, 47.6102707417054, 47....
0
votes
1answer
29 views

batch merge error: Error in match.arg(method) : 'arg' must be of length 1

I am attempting to read in a series of polygon shapefiles from a directory and batch merge them into a single shapefile. They all have the exact same field names. I am using this code: all_data <-...
0
votes
0answers
25 views

Python - Merge shapefile polygons based on criteria

I have a shapefile with thousands of polygons and would like to merge (join) adjacent polygons based on a threshold between attributes. I need to use python because I'm not allowed to use ArcGIS. e.g....
0
votes
0answers
57 views

Failing to read shapefiles in folder using ArcPy?

I want to use create random point tool on list of shapefiles, but keep failing to list the shape files. My code stops at line (print fcList); and gives me "None" as output. Is it because of the ...
0
votes
1answer
34 views

Importing shapefile into Mapit

Unable to import an ESRI generated shapefile (just a simple polygon layer) into the Android app. MapIT does not recognize the file(s) in the upload screen, I can not select nor view it. I have ...
0
votes
1answer
20 views

Capturing data in clip from smaller extent

What I am trying to perform is a clip what captures the shoreline on a town in CT. I have the town boundary and I can use the buffer to extrude the polygon but I have wondering if there was an easier ...
1
vote
0answers
34 views

Exporting raster with map context using ArcPy?

I am a user of ArcGIS Pro. I am trying to convert a polygon shapefile into a raster dataset, then export a raster dataset to a PNG format via arcpy.RasterToOtherFormat_conversion. From .shp to .tif ...
1
vote
0answers
32 views

Create custom projection for Shapefile, given specific target coordinates [duplicate]

I have a somewhat odd situtaion. A client has provided me with a Shapefile that has no projection information, along with an image of the map that it corresponds to. I have run some coordinates ...
0
votes
1answer
24 views

Shapefiles - ability to toggle editing and filtering

I have a shapefile from a county HER which I have successfully loaded. I have catagorised the point so depending on type they show a different symbol. I can filter those points in order to show ...
0
votes
1answer
53 views

Converting RTK Elevation Data to DEM?

I have a shapefile that contains elevation data. I want to eventually convert this to a slope layer. I'm assuming I have to convert to a raster, then a DEM, then slope. Is that correct? If so, ...
1
vote
1answer
36 views

Polygon geometry suddenly disappeared/deleted from shapefile in QGIS

I was editing a polygon shapefile in QGIS (3.0.1) today when suddenly 966 out of 5382 polygons disappeared from the map. I had been changing attribute information in the table, cutting polygons, etc ...
0
votes
1answer
24 views

Raster to shapefile results in polygons with no difference in values

I am trying to convert a 32bit floating point raster in tiff format to a vector .shp file in ArcMap. In particular, I have been attempting to convert my continuous data set found in the TIFF extension ...
0
votes
1answer
54 views

Existing C++ libraries that convert ESRI shapefile to DXF/DWG [closed]

Is there any C++ library that can convert ESRI Shapefile to DXF/DWG file? I seek a link/or sample on how this can be done with the said C++ library. I'm aware that one can do this with ArcGIS ...
0
votes
0answers
23 views

Fishnet programmed in python does not display correctly in ArcMap but displayed correctly in QGIS

I programmed a fishnet in python to use as a reference map for georeferencing. I am facing the following issue: The fishnet is not displayed correctly in ArcMap 10.5.1. The fishnet has parameters lat-...
0
votes
2answers
36 views

Providing multiple shapefiles belonging together in single file with predefined symbology in ArcGIS Desktop?

There are multiple shapefiles which belong together and should be provided in a single file with predefined symbology (see figure). Is there an option to do so? Currently, the shapefiles are bundled ...
-1
votes
1answer
53 views

Shapefile DBF Editing in Stata for ArcMap?

I am trying to edit shapefile in ArcMap. How I can keep or clean some information from shapefile in ArcMap? In my shapefile, I have information about street type such as road, route, highway, ...
0
votes
0answers
29 views

OGR SetAttributeFilter does not let datasource to update

I am trying to update an attribute value for a certain feature in a shapefile. To filter out that feature, I use SetAttributeFilter. This returns the feature I want, and SetFeature also works as ...
0
votes
0answers
40 views

Clipping larger vector layer to smaller layer, QGIS 2.18.25?

I'm clipping two vector layers, and I want the clipped layer to have the attributes of the smaller layer/ smaller spatial area. So, when using the clipping tool, my input is the small shapefile (80 KB)...
2
votes
3answers
211 views

How to Identify Coordinate System (CRS) from projection file using Python

I am working on many shapefiles (their corresponding projection files are also presented). Every shapefile has a different Coordinate System, so it becomes difficult to plot these in a generic manner....
2
votes
1answer
48 views

dbf to shp within BASH (ogr2ogr would be ideal)

I have a CSV with many points and attributes that I'm trying to convert into a shapefile but I'm having no luck. I have installed gdal-bin and can use my terminal environment to create a shapefile ...
0
votes
0answers
15 views

Draw a shape using dimensions using advanced digitizing tools [duplicate]

Does anyone know how to draw a shape by area. I need to draw a survey area of 3.58km x 3.0km. I have added the Advanced digitizing toolbar --> selected toggle edit --> created new polygon however... ...
-1
votes
1answer
12 views

Seeking vector file of extent of flood plain of 2010 Pakistan Floods?

I am looking to locate a shapefile or any vector file that can be used for analysis I am conducting of change in size of cropland in the Punjab region of Pakistan. The file of interest would reflect ...
2
votes
1answer
92 views

QGIS/QField - Joining updated and new features to original shapefile

I am currently working in QGIS 2.18 with Qfield to collect address information. I currently have a list of addresses (.csv) that were given as part of the project which contains a variety of ...
1
vote
1answer
79 views

Splitting LAS file into smaller LAS files by shapefile geometry boundaries - using PDAL or Global Mapper. [duplicate]

I've looked up pdal documentation on how to clip LAS point cloud files:- https://pdal.io/workshop/exercises/analysis/clipping/clipping.html Referencing this example, and having a quick look around, ...
2
votes
1answer
83 views

Finding if latitude and longitude in shapefile region

I referenced this very helpful question, but still cannot crack the issue. I downloaded Zillow's neighborhood shapefile for Connecticut and have a latitude and longitude: 41.344602, -73.071443 which ...
1
vote
0answers
76 views

QGIS error while importing .shp file, missing geometry (gdal issue)

In Manjaro Linux (Antergos as well and so I suppose vanilla Arch), with QGIS 3.2 + gdal from official repository, and QGIS 3.4 + gdal-ecw from archgeotux repository, when I try to add a .shp the ...
1
vote
2answers
43 views

Automate raster polygon area extraction from GeoTIFF files

I am trying to automate the extraction of all bands from single multipolygon into separate single raster file containing all bands of a single polygon. The GeoTIFF file is exported from Google Earth ...
0
votes
0answers
28 views

Searching series points inside polygons in mongoDB

I have to check performance of mongodb queries. I have two documents. One of them contains 600 polygons. The second contains 10,000 randomly generated points. Both are in two separate collections (...
1
vote
0answers
54 views

Solving invalid geometries

I have ASCII data from different parts of water bottoms. I would like to convert all the parts into shapefiles. But, when I use the polygonize raster to vector tool in QGIS I get invalid geometries. ...
0
votes
1answer
40 views

What shapes are inside another shapefile

I am working with some shapefiles and ArcMap. I am new to both of them. I have a shapefile that contains all of the precincts of Arizona and I also have 9 different shapefiles each of them holds a ...
1
vote
1answer
48 views

Filter a date interval (month) shapefile

I'm trying to filter some data of a shapefile (with "Filter") for QGIS to show points in a date interval of a shapefile. I have a shapefile which has a table of attributes of sightings of animals with ...
0
votes
1answer
17 views

Getting regions with neighboring borders? [duplicate]

I am currently working with some shapefiles of congressional precincts of the US. One of my objectives is to get a list of the "Neighboring" precincts for each of the precincts. For example, if ...
-1
votes
0answers
161 views

ArcMap 10.6 crashing on Windows 10?

I recently received a new PC at work and went through the steps to install ArcMap. Their latest version offered is 10.6, which was on my previous PC and worked completely fine. The issue I am ...
2
votes
1answer
99 views

Extracting Longitude and Latitude from shapefile?

I am working with a shapefile which can be found here. I am doing some data visualisation and want to see if certain longitude and latitudes are within a certain polygon in the shapefile. This is the ...
0
votes
1answer
35 views

Convert the polygon format with lat lon?

I am a newbie working on GIS data. I am working on the problem of finding overlapping regions using polygon shapefiles. Most of my shapefiles contain information with latlongs. For example the ...
0
votes
0answers
38 views

Edit a shapefile with Leaflet.pm

I am new to Leaflet but so far so good. I managed to add the plugins I needed and they work. Except the shapefile editing. I am using leaflet.pm to draw, snap, cut polygons (only polygons). I also ...
0
votes
0answers
39 views

OGR: Read Shapefile text field raw bytes

I am trying to read a shapefile using OGR with C#. (GDAL.NET). The text fields (and some field names) were encoded in windows-1256 encoding. I used : Gdal.SetConfigOption("SHAPE_ENCODING", "windows-...
0
votes
1answer
69 views

Iterating folder of shapefiles using ArcPy and exporting mxd to PDF

I'm new to Python and just created a hard coded script for the process I want, and it works. Right now it calls on the one of three shapefile I have in this map document. I want it to do the same ...
1
vote
0answers
47 views

Changing CRS of downloaded shapefile using QGIS? [duplicate]

I have looked through all the other questions which might have received answers to the question I am currently posting. However, after trying all their recommendations I am still stuck with the same ...
-1
votes
0answers
28 views

How to display on PostgreSQL the shapefile metadata

I'm a beginner on PostgreSQL/PostGIS. I'm working in a project using a spatial data base which I'm trying to display, on PostgreSQL, the shapefile metadata of each file. As every metadata is on ...
1
vote
0answers
39 views

Summarising all the (NDVI) values pixelwise for a masked polygon

A .tif image has been created using the NDVI formula in QGIS. The resulting image shows a region, with varying grades of NDVI values over the image. A .shp file has then been created for an area of ...
1
vote
1answer
31 views

How should variable data related to a point be stored in a database table? [closed]

I've been having a bit of trouble understanding how a dataset is built/managed for GIS applications. Over the past few weeks (part time) I've been trying to understand the basics of GIS, and how it ...
-2
votes
1answer
48 views

Answer to fixing corrupted shapefiles [closed]

Where 'Number of shapefile records does not match number of table records' Error occurs; I found that none of the Arc tools would help me but QGIS has the ability to open just the shapefile; in my ...
1
vote
2answers
42 views

Turning off specific attribute values in shapefile using QGIS?

I realize from Splitting shapefile into separate files for each feature using QGIS/GDAL/SAGA? that I can split a shapefile by attribute, but I'd prefer to be able to just exclude certain data when I'm ...
1
vote
0answers
18 views

Calculating route length per grid cell using fishnet

I have a problem determining the length of the routes (boat) I've surveyed in order to calculate the survey effort. I added the GPS points of the boat and then used the points to line tool and added a ...
2
votes
1answer
46 views

Changing coordinates of shapefile using ArcGIS Desktop?

I have a shapefile that has meters as coordinates, and these do not reference world datums or projections. Is there a way to assign completely new coordinates to the shapefile so that they align ...
2
votes
1answer
49 views

Setting up lat/long graticule with 1 min output in QGIS?

I would like to set up a lat/long graticule in QGIS with output being a line shapefile with values in Degrees and Minutes, and grid lines shown at every even 1 minute (e.g. 13°23' W, 13°24' W, 13°25' ...