Stack Exchange Network

Stack Exchange network consists of 175 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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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.

0
votes
0answers
13 views

Exporting Shapefile polygons from ArcGIS Pro to OpenStreetMap

I recently worked on a project that digitized a lot of building footprints and swimming pools with high-resolution orthorectified imagery (~4 inches resolution). The polygons are all in shapefile ...
0
votes
1answer
39 views

What is the difference between geopackage and shapefiles? [on hold]

I'm trying to figure out what Geopackages are and often I read "it's like a shapefile but not quite." Sometimes I also read that it's the equivalent to the ESRI Geodatabase. What is the actual ...
1
vote
0answers
20 views

Interpolating sea level data using ArcGIS Desktop?

I have monthly sea level data obtained from PSMSL in the form of excel sheet for the region Chennai. I want to interpolate the data in ArcGIS Desktop. The shapefile of the region has Polygons and I ...
0
votes
0answers
7 views

dotspatial Load in the map from large shapefile with query

Can I load only a little set of data from a large shapefile with a query in dotspatial c#? I think something like "Definition query" of arcmap.
1
vote
1answer
25 views

Calculating area difference between two polygon shapefiles using QGIS

I have two polygon shapefiles which contain about 30 features. These features have different boundaries in both shapefiles so the areas are different too. I want to calculate that difference in the ...
0
votes
1answer
35 views

Can't read shapefile in Python

I'm trying to read in a shapefile and keep getting a File Not Found error and this exception: ShapefileException: Unable to open /Users/name/Documents/shapefile.shp Here's what I've got: import ...
0
votes
0answers
13 views

Aligning two polygon shapefile based on attribute field value in ArcGIS Desktop? [closed]

I have a two polygon shapefiles which features are similar (usually rectangles) but not identical. Each similar feature from both layers have the same ID value. Now I want to align features from one ...
1
vote
2answers
31 views

Clipping data to shapefile using Google Earth Engine?

I want to clip this fire data so it only displays results in my shapefile titled 'tapajos'. How do I do this? var dataset = ee.ImageCollection('FIRMS').filter( ee.Filter.date('2000-01-01', '2018-...
2
votes
1answer
33 views

Extract areas with certain pixel values from raster

I have land cover data from GEE (https://developers.google.com/earth-engine/datasets/catalog/ESA_GLOBCOVER_L4_200901_200912_V2_3) for specific countries. I would like to extract the values from the ...
1
vote
0answers
16 views

JSON response to shapefile [on hold]

I'm collecting road accidents from an API through a Python request and getting my response as JSON. The JSON response contains coordinates and general information as below. {u'RESPONSE': {u'RESULT': ...
0
votes
1answer
24 views

Extracting difference between two shapefiles (not symmetrical difference) using ArcGIS Desktop?

I have a shapefile with polygons that portray survey areas (Pink areas in picture below). I receive a new updated shapefile with additional survey areas, and thus new polygons (Green areas in ...
0
votes
1answer
29 views

MySQL 8.0 Error Code: 3617. Latitude is out of range in function st_geomfromtext

First I have a problem creating spatial index in MySQL 8.0. Here the description: I have a collection of several thousand species range maps (polygon & multi-polygon) which is provided by IUCN as ...
2
votes
1answer
45 views

Picking points in a specific distance interval

I have a line of points in .shp file and the distance of the points varies. There can be 20 points in same place and then the distance can be something between 1 to 25 meters. How can I pick points ...
0
votes
0answers
43 views

Loading shapefile in standalone PyQGIS script? [closed]

I have a standalone pyqgis script that automatically visualizes 4 parameters (precip rate, temperature, pressure and wind). when I run just the precip rate and pressure part of the script there are no ...
1
vote
1answer
40 views

Connect two Shapefiles

I have two shapefiles which should be connected to one single shapefile without a gap, unfortunately there is a gap between them: I tried to use v.cleanin Grass GIS but because of the shape of the ...
-7
votes
1answer
27 views

Spreadsheet vs Shapefile [closed]

I have the same dataset both in Shapefile and Spreadsheet. What can be the advantages/disadvantages of using one format rather than the another?
0
votes
0answers
33 views

Broken shapefile [duplicate]

I have a shapefile that contains 907 features. All features are still visible in the attribute table and the fields contain the correct values. However, when opening it in QGIS it only draws 9 ...
0
votes
1answer
41 views

Clip shapefile based on another shapefile [closed]

I have two shapefiles with me, one big and one small. I want to clip part of big shapefile where the small shapefile is located. I tried QGIS vector intersect by geometry, but that is returning me ...
0
votes
0answers
22 views

Specifying ecoregion

I am trying to extract an ecoregion specified in the Ecoregions 2017 Resolve Data in Google Earth Engine in order to then to examine forest loss and gain (using the Hansen data set) from that ...
0
votes
0answers
29 views

import shapefile to potree

I have converted pointcloud to potree web format and I want to add a shapefile. As it shown in examples and GitHub, I've edited HTML page and added shapefile import there, but have no result. ...
0
votes
0answers
23 views

Saving matplotlib map to shapefile in python?

I already plot a prediction map I made with xgboost modal by matplotlib function and I want to save this map as a shapefile so I can work with it in ArcGIS, how can I do that? Picture of the map:
1
vote
1answer
22 views

Select records from shape that do not match another table's values

New to the forum, so I apologize for my bad English and if I'm being inconvenient somehow! I read answers that are similar to my question but none of the ones I found fits my case. I have a shapefile ...
1
vote
1answer
27 views

Cannot solely remove M value of Shapefiles

I have a couple of Shapefiles which are of geometry type ZM (like PolygonZM, MultiLineStringZM, etc.), however my database (a PostGIS database) is of geometry type Z (like PolygonZ, MultiPointZ, etc.)....
0
votes
0answers
27 views

Geopandas doesn't fix invalid geometries

I am trying to fix self-intersecting polygons on shapefiles in Python 3 using Geopandas as below: import geopandas as gpd shp = gpd.read_file('shapefile.shp') print(shp.is_valid) 0 True 1 ...
0
votes
0answers
12 views

Rotate feature around defined fixed point using ArcGIS 10.4

I have a polygon feature and want to rotate it around defined (fixed point). There is a Rotate tool in Editor toolbar but I can't define fixed rotation point. I am using ArcGIS 10.4 and want to know ...
1
vote
0answers
26 views

Synchronisation problems using QFieldSync

When resynchronizing data from QField GPKG project to QGis SHP project, using QFieldSync, attribute data are shifted to the right column. There is a lag, I have never seen something like that before. ...
0
votes
0answers
38 views

How to preserve the Multiploygons using Python?

I converted my input file with geometry Polygon 25D to an output file with geometry Polygon using the below code. As you can see the below image. Problem is that the holes in the polygon is vanished ...
0
votes
2answers
38 views

Error when trying to create shapefile layer

I'm not super familiar with QGIS as I am used to ArcGIS. But when I try to create a new shapefile layer, I keep getting an error that says, "Layer creation failed: Failed to create file vacancies.shp: ...
0
votes
0answers
27 views

How to create an area cartogram in Shapefile format

I am working with state level data on health insurance to create a map with each state color-coded based on that data. This is fairly straight forward but some of the largest states geographically are ...
-2
votes
1answer
66 views

Shapefile solution needed

I am a meteorologist and I make my own weather maps. There are some products that come to me as shapefiles. My main contouring program handles shapefiles, but poorly and slowly. I'm looking for a ...
1
vote
1answer
23 views

Find layer name of sp object

After making some changes to an sp object I want to save it as a shapefile using writeOGR()so that I don't have to repeat the cleaning every time. I haven't found a way to identify the layer name of ...
2
votes
1answer
28 views

Extracting shapefile with suburbs of a city from OSM

I never downloaded shapefiles from OpenStreetMap before and now I am trying to download a shapefile of the city of Turin (Italy) with the suburbs polygons encoded in it. I know for sure that the ...
0
votes
0answers
17 views

Newly added layers to QGIS 2.18 will not display in the print composer

I have an existing QGIS project that until today was just fine. I added a new shapefile to the project but these new data fail to display in the print composer. All other existing data in the ...
0
votes
1answer
24 views

Mass Updating to Move Points to New Location using ArcPy? [duplicate]

I have updated x,y for about 50,000 points. How can I move the points to their new location at once (not one by one)? I know there is a way of creating a new .shp from updated x,y but that won't ...
1
vote
1answer
55 views

Renaming columns using geopandas - issues with data table in Arc

What I'm trying to achieve: Read in an existing ESRI polygon shapefile Drop an attribute Dissolve by another attribute Rename columns Reorder columns Write out as new shapefile What works: Drop ...
2
votes
1answer
42 views

PyQGIS code for Merge Vector Layers

I've been trying to automate the merge vector layers via PyQGIS but I can't seem to get it right. This is my code: import os import processing loc = r"C:\Users\loc" os.chdir(loc) shapelist = os....
-1
votes
0answers
24 views

Unable to convert shapefile to raster using Natural Neighbor tool

I have been trying unsuccessfully to create a raster from a point shapefile of altitudes using SAGA and the natural neighbour algorithm but it always shows an error. The data was imported using a ...
0
votes
0answers
34 views

How to specify shapefile variables length in R?

I am using R to edit some shapefiles with readOGR and writeOGR functions. I can edit the name and type of my shapefile variables, but not the length. Example: i want that my variable of type string ...
1
vote
0answers
90 views

Optimizing polygon ordering

Does anyone know of any GIS tool that reorders polygons so that the path through all polygons is minimized, i.e. it solves the travelling salesman problem? Here's an example of just how poorly ...
0
votes
0answers
37 views

Reading and processing large shapefile

I have a large shapefile (~10 Gb) which it output of Atoll (RF Coverage) and I need to perform some post-processing on it. I began by importing the file in a file geodatabase, the file was imported ...
0
votes
0answers
22 views

Geocoding to search only addresses within shape?

I have a couple of names of different cities/villages from a data set created using 100 year old documents. I would like to geocode these villages (i.e. assigning coordinates) but the addresses are ...
0
votes
0answers
28 views

SAR processing - geocoding shapefile which is slant range

Is there any software (like snap, sarscape etc.) can be used to geocode shapefile (slant range) to shapefile (ground range) (like WGS84)? If yes, which data is need for that? By the way, the ...
2
votes
2answers
77 views

Filtering out labels surrounding active feature in Atlas

Let me put it this way, if I’ve tried data-defined rendering and the common featureid expression and it’s still not working - and I think one or both options should - what basic thing could I be ...
0
votes
1answer
17 views

Drawing polygons with specific heights and widths in ArcGIS Desktop?

I have a dataset that defines my plot corners. Within each plot, there are a number of subplots, each with specific dimensions. I need to create polygon shapefiles for each of the subplots. Is there ...
0
votes
0answers
8 views

Collector changes the dates in appended shapefile data

Today I was working in an area where I lost cell service and had to collect GPS points. When I got back to the office, I appended those points into the ArcGIS Collector map. The "Date" field shows ...
1
vote
0answers
68 views

Shapefile not working in QGIS

I am a beginner with QGIS. I downloaded from different websites administrative levels for a country (0, 1, 2), full package: dbf, shp, shp.xlm, snb, shx, sbx, sbn, prj etc. However, QGIS is not ...
1
vote
0answers
28 views

Recovering shapefile with green question marks?

I have a shapefile with a green question mark in the ArcCatalog. The shp-extension in the shapefile has 0Kb size Is there any way to recover the corrupted file?
0
votes
0answers
18 views

How do I find the closest distance to a line and then find the length of the remainder of the line to a point?

I want to measure the distance of a shape to a line and then follow that line all the way to a point and calculate the distance traveled. Here is my current map. I want to store that distance value ...
0
votes
1answer
21 views

Error in Geomesa shapefile ingest

I am trying to ingest a point shapefile to geomesa, I have added the schema and convertor part to conf file but when i am giving the ingest command usinf geomesa-fs it is giving me the below error. **...
0
votes
1answer
25 views

Controling or modifying FID order using arcpy.AddXY_management

Using arcpy with slightly modified code from created by Felix Creating parallel line in ArcGIS Pro using ArcPy I made four parallel lines. I then used arcpy.AddXY_management to extract the vertices ...