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

Unable to raster using Natural neighbor using shapefile

I have been trying unsuccessfully to raster a point shape file of altitudes using SAGA and the natural neighbour but it always shows an error. The data was imported using a CSV file. After a while, ...
0
votes
1answer
10 views

Polish powiaty map in JSON

I am looking for a map of polish "powiaty" in JSON. You can find shapefiles here: https://gis-support.pl/granice-administracyjne/ . I need JSON to be able to use it in Power BI as a custom map.
0
votes
0answers
18 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
14 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 ...
1
vote
1answer
31 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 ...
1
vote
0answers
36 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
6answers
15k views

Why does Clip keep giving Error 999999: Error executing Function Invalid Topology [Topoengine Error]?

The layer being used as the Clip Features has been used before and worked fine, so I assume the issue is the layer I am trying to Clip (Input Features) - I keep receiving the same error when running ...
0
votes
0answers
17 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
29 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 ...
2
votes
2answers
40 views

Filtering out labels surrounding active feature in Atlas

I am using QGIS version 3.4 to create atlas maps utilzing a polygon coverage layer of 19 watersheds. Everything works fine in layout as I can jump/zoom to each desired watershed map. Furthermore, to ...
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
65 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 ...
18
votes
3answers
15k views

Order of polygon vertices in general GIS: clockwise or counterclockwise

Two days ago I asked a question about the internal storing order for the vertices of a polygon in ESRI shapefiles. That question was answered (Are polygons stored clockwise or counterclockwise in a ...
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 ...
3
votes
1answer
100 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 ...
1
vote
0answers
24 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
16 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
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 (...
-1
votes
0answers
27 views

Overlay png image onto shapefile in QGIS? [on hold]

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 ...
0
votes
1answer
15 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. **...
-1
votes
0answers
9 views

Write coordinates to the polygon of the shapefile by gestools [closed]

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 ...
1
vote
1answer
98 views

Joining CSV file to Shp file using ogr2ogr and python?

I am having problems with the code below i.e. parsing the SQL string in python. I keep getting an error. I am joining a CSV file called lookup_scales.csv to a shp file called RC_CATALOGUE_GRANTED. I ...
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 [closed]

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

Where can I find correct shapefile for Montenegro municipalities?

I downloaded a shapefile for Montenegro from https://gadm.org/download_country_v3.html and created a table in PostGIS using shp2pgsql. The table has column geom of type geometry which is a ...
2
votes
1answer
31 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 ...
0
votes
1answer
59 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
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
43 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-...
-1
votes
0answers
23 views

Seeking mandal shapefile of Andhra Pradesh districts of India? [closed]

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
37 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 ...
9
votes
4answers
5k views

Renaming Shapefiles in QGIS?

I have a huge list of layers in a project that are named in a foreign language. I want to translate and add the English title to the name. When I right click on a layer and choose Properties -> ...
0
votes
1answer
22 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 ...
0
votes
2answers
666 views

How to add a shapefile in eCognition?

I added the shapefile from thematic layers but I am not able to view the imported shapefile in the project window on the image.
-1
votes
1answer
30 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
36 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
58 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 ...
3
votes
1answer
34 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://...
1
vote
1answer
41 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
22 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 ...
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 ...
-2
votes
0answers
25 views

Creating Circle polygons from series of point data with variable radii requirements using QGIS? [duplicate]

I am looking for a method to produce a polygon shapefile based from details within a point shapefile's attributes. For example: Point ID / Easting / Northing / Radius (m) Pt_1 / 10000 / 20000 / 7 ...
1
vote
2answers
48 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. ...
1
vote
1answer
676 views

Clustering 40k+ points from shapefile and populating Google Maps/Webapp?

I just started a new Python/Django webapp job related to GIS (and i'm totally new to GIS). Here is my task and what i have found so far, and i am stuck as to finding out what's the best way or the ...
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 ...
3
votes
2answers
4k views

How to return WKT of entire polygon with shapely?

Im learning to use shapely and have two shapefiles--forest, and basins. The two shapefiles clearly intersect (basins is completely within forest). But the way I've gone about it only gets the feature ...
1
vote
1answer
64 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?
3
votes
1answer
795 views

Split point shapefile by date attribute using ArcGIS for Desktop?

I have a point shapefile composed of points created on a Garmin in 2012 and 2013. They are in the format mm/dd/yyyy (there are other fields, but this is the one of interest). I was wondering if ...