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

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
5 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
45 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 ...
0
votes
0answers
30 views

QGIS data loss line shape

I have a problem with a mysterious data loss in QGIS 3.2.0. I have a line shapefile with multiple features in it. Eventually with no visible reason a big part of the lines vanished from the map. It ...
1
vote
0answers
22 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
14 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 ...
-1
votes
0answers
24 views

Overlay png image onto shapefile in QGIS?

How can I overlay a png file onto a shapefile in QGIS? I loaded both into QGIS and then tried using the Georeferencer tool to assign coordinates on the png image but then I get stuck on overlaying the ...
-1
votes
0answers
9 views

Write coordinates to the polygon of the shapefile by gestools [on hold]

I have an array of coordinates and how to replace the existing coordinates in the polygon with it.
0
votes
1answer
34 views

GeoServer upload shapefile via REST [on hold]

I'm trying to upload a shapefile to GeoServer and I noticed an inconsistency in the layer creation depending on the upload method. When I use the REST API the properties of the original shapefile are ...
0
votes
1answer
13 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
24 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 ...
-4
votes
0answers
13 views

Condensing points inside a influence area [on hold]

How merge/combine/condense points inside a influence area from a unique shapefile? Integrate function is not adequate for the case.
0
votes
0answers
11 views

MapServer Runtime substitution for geotransform

I am trying for a way to get a variable geo transformation of a few line strings from a shapefile: VALIDATION 'TIME' '^[0-9\-]*T[0-9:]*\.0Z$' 'SMOOTH' '^[0-9]*$' 'SMOOTHITER' '^[0-9]*$' END ...
1
vote
1answer
42 views

Modifying coordinate values of MultiPolygon using GeoTools?

I can already get the vertex coordinates of the polygon, but I want to modify the coordinates and write it back to the source file. This is part of the code I read the coordinates. try{ while (...
2
votes
1answer
28 views

I want to plot point shapefile on a raster to know if they are at the right place in R

I have one raster and a shapefile of points. I want to check them if they are in the same coordinate system by plotting them together on a map (like in a classical GIS), here the R script : # raster ...
1
vote
1answer
38 views

Creating points with attributes from coordinates in ArcPy

I know how to create points by coordinates with arcpy using the following code: import arcpy ptList =[[20.000,43.000],[25.500, 45.085],[26.574, 46.025], [28.131, 48.124]] pt = arcpy.Point() ptGeoms =...
2
votes
1answer
41 views

average weighted value by region with use of Voronoi in Qgis

I have a vector layer of Voronoi polygons. This layer has three columns -longitude, latitude, Z-value. I need to cut polygons by mask of administrative area and then I need to calculate average-...
0
votes
1answer
55 views

Converting KML to shapefile using QGIS?

I have a KML-file (available here). It has several polygon paths for Alos/Palsar images. I am in need to convert all these files from KML to shapefile, saving the layers using the layer "ID". I am ...
-1
votes
0answers
19 views

Seeking mandal shapefile of Andhra Pradesh districts of India? [on hold]

For my research, the shapefile of mandals would be of great help. FYI, I have visited gatm, bhuvan etc.. but could not find the required one!
1
vote
0answers
35 views

Error in reproject vector file using GeoPandas

I have a vector file (in this case shp file) and I read it with GeoPandas (gpd). vector_folder = r'C:\poly' vector_file = 'poly.shp' df = gpd.read_file(os.path.join(vector_folder,vector_file)) df ...
-1
votes
1answer
29 views

Seeking shapefiles of world in pre-WW2?

I'm in search for shapefiles that show all countries of the world as they looked like in the early 1930s, somewhen between WW1 and WW2. I have some for Europe for the different years of the 20th ...
0
votes
0answers
32 views

Spatial overlays : Union between multiline and multipolygon with geopandas

I try to overlays (apply union) my multipolygon on the multiline with GeoPandas, but it seem like the GeoPandas overlay function work only with (Multi)polygon. Is there any way to make that with ...
3
votes
1answer
57 views

Splitting long polylines in shapefile?

I am looking for preferably a Linux command line tool that would spit long polylines in my shapefile to shorter segments. Length limit can be defined by the length in meters or in max number of ...
1
vote
1answer
40 views

Which coordinate system/ projection would you use to measure lines globally distributed?

Which geographic coordinate system /projection would you recommend to measure the length of hundreds of lines which are globally distributed (southern and northern hemisphere)? The lines have a length ...
1
vote
1answer
21 views

Why does this R code that maps points into polygons cause a segmentation fault?

As in this question/answer, I have a data frame of points (which also includes some necessary, non-coordinate data columns) and a shapefile. In this case the shapes are US states. The last line of the ...
3
votes
1answer
32 views

Issue converting CSV files to point shapefiles using pyqgis - QGIS 3

I have hit a snag using pyqgis in QGIS 3. I want to convert a set of CSVs (20 total) into point shapefiles but I am struggling with just the single CSV case. My code is based on this blogpost (https://...
0
votes
0answers
38 views

File SHP needing to be shifted up?

I am new in GIS. I am trying to use the curves of level (downloaded from this site in SHP format) to use them into Tableau Desktop. The problem is that if I loaded the lines, they are not ...
1
vote
2answers
46 views

Creating shapefile using QGIS?

I start with Create New Shapefile Layer, I give it a name and then select Polygon. I then create my Polygon shape, its all good to this point. I now show a polygon with an outline and light red fill. ...
0
votes
0answers
17 views

Converting data from (Google) Places API (JSON) to shapefile (or esriJSON) [closed]

Just to make it clear from the beggining: I don't program. I'm a Phd student (geographer) and I'm trying to use data from the (Google) Places API in ArcGIS. I've placed the request and obtained the ...
1
vote
1answer
63 views

Can ArcMap open shapefiles made by QGIS?

I have created many EPSG shapefiles in QGIS and would like to import them into ArcMap for analyzing. Can ArcMap open shapefiles made using QGIS?
2
votes
1answer
61 views

Calculating the number of lines for each pair of origin/destination point - QGIS3

I have shapefile that looks like this: I need to make a matrix (or just to add a couple of fields in the attribute table, something like the origin-destination matrix), which will have the number of ...
1
vote
1answer
18 views

Group by variable and create layers from that in QGIS [duplicate]

I have a large shapefile with one layer with several variables. The shapefile has US block groups that I'll use for analysis. However, as I want to use this for leaflet, I would like to create ...
0
votes
2answers
83 views

Blanking out Wales and Scotland and certain local authorities from map of Local authorities in UK?

I have used a shapefile I've downloaded from ONS for the UK's local authorities. However, I am only interested in certain local authorities in England and want to blank out Scotland and Wales. How ...
3
votes
1answer
99 views

Adding lat/lon to multiple shapefiles

I have location data points for colonies (csv file). I have a shapefile that I need to duplicate and georeference to each colony. Is there a way to do this in r? EDIT: I want to create a copy of the ...
0
votes
0answers
8 views

Android laggy map after adding vector objects

I'm using GLMap to render over 5000 vector objects in an Android Application. Here is the framework I'm using: https://getyourmap.com/ Currently, I have Shapefiles which I convert with https://...
1
vote
1answer
22 views

In QGIS, how can I use a delimited text layer to keep only those polygons and records of a shapefile which match a column in the delimited text layer?

What I want to do is trim the shapefile so that only those records and associated shapes that match the same values in a column in the delimited text layer (which in my case is a CSV) are kept in a ...
2
votes
1answer
63 views

QGIS split vector layer gives me GPKG files but I need shp files

QGIS 3.6.0 I am new to QGIS software and not very technical on its deep workings. I am trying to split a .shp file using split vector layer. I need .shp file outputs but it auto creates .gpkg files. ...
0
votes
0answers
22 views

How to make the background of an shapefile the vector layer? [duplicate]

So from another question I asked about show raster layer over background, I learned how to duplicate a shapefile and use the inverted polygons tool to make the land the vector layer. I am now ...
1
vote
0answers
25 views

Using Click locations to determine azimuth in QGIS 3

I am using QGIS 3 64bit. While adding points to a shapefile (layer), what expression captures the insertion point coordinates of a point feature to use as a start point for an azimuth determination ...
0
votes
0answers
37 views

KML (with no data/feature) to shapefile

I have a .kml file and it opens on my Google Earth Pro. When I tried converting it through ArcMap it didn't work, an error occurred saying it had no data. On further googling about it, I understand ...
1
vote
1answer
43 views

Python - Convert shapefile lat-long value from Degree minutes seconds to Degree decimal

I am processing shapefiles in python using standard library functions like Python “shapefile” library and GeoPandas. I have two shapefiles having the same projected co-ordinate system-> ...
1
vote
1answer
41 views

Reprojecting a shapefile into 'geographic coordinates' to load into iTree Canopy with QGIS

I have a polygon shapefile in CRS EPSG:27700 British National Grid that is a boundary of a study area that I would like to load into the iTree Canopy online tool. https://canopy.itreetools.org/index....
1
vote
0answers
47 views

Updating set of attributes on vector layer from .csv table?

I have over 1,000 records in a .shp file, all with a unique ID field (LINKID), along with many other fields containing data (TXTFLD1, TXTFLD2, INTFLD1, INTFLD2, etc). These records have been copied ...
0
votes
0answers
29 views

Float not iterable with Python shapefile lib

I'm learning the basics of shapefile lib for Python, but I've found a problem. After several hours searching I haven't found the cause of this problem. When I try to create a simple poly: # -*- ...
3
votes
1answer
39 views

Reading shapefile in R with shapefile function?

I want to read a shapefile(polyline) into R, using rgdal and raster packages. The code looks like: d<-file("/Volumes/Environment_layers/original/WaterRoad/Road.shp") o<-shapefile(d) but I got ...
0
votes
0answers
52 views

Losing numeric table precision during shapefile export in ArcGIS Pro

I'm trying to export a GDB file version 10.5 in ArcGIS Pro 2.0.0 to a shapefile, but every time I do, I lose precision with the unique feature IDs. For example the IDs will go from 554423216 --> ...
0
votes
0answers
12 views

Display shapefile on map and create shapefile from polygon coordinates [Android]

Im creating application where I use Google map and I need to display shapefiles on it. What are the solutions to display shapefiles over Google map? Another thing is that I am drawing polygons on map....
0
votes
0answers
23 views

Android Library to convert ESRI Shapefiles to GeoJSON

I'm building an Android App for display ESRI Shapefiles but unfortunately, there are only a few free SDKs which support Shapefiles. Most of them working with GeoJSON, so now I'm looking for an Android ...
3
votes
1answer
70 views

Clipping a catalog with lasclipCircle returns “no point found within region of interest”

I'm trying to clip a catalog using lidR (v2.0.1) package. I've tried with lasclipCircle and lasclip. It gives me the error: no point in ROI, but when I'm viewing the shapefile using mapview (I've ...
0
votes
1answer
39 views

How can I generate shapefile from Google Earth

I am new to ArcMap 10.5. I want to generate a shapefile of an area of interest from Google Earth. I have checked some website in Google, but I did not understand some steps.
0
votes
1answer
17 views

How can I keep the minimum when converting from shapefile to raster

I have a shapefile that I am trying to convert to raster. The shapefile has overlapping polygons. I would like to keep the minumum value of these overlapping polygons when converting to raster. ...