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
1answer
43 views

QGIS - exporting shapefile to convert to .JSON for use in PowerBI

I'm trying to export a shapefile I've been using in QGIS for use in PowerBI because PowerBI only supports .JSON extensions. So I've been converting them with mapshaper.org. This is my shapefile result ...
0
votes
0answers
22 views

Creating shapefile/GeoJSON from CSV with zip codes

I have a CSV file containing zip codes to territory code mapping. I would like to create a map showing the boundaries of the territories as either a shapefile, GeoJSON, or TopoJSON. I was able to ...
1
vote
3answers
41 views

Use a .shp file to map multiple entries in a .csv in QGIS

I have a .csv file with several entries with data for events which happened in places, and a corresponding .shp file which shows the locations where the events took place. How would I go about mapping ...
-1
votes
1answer
33 views

Seeking Boston shapefile 1630?

I found this map on Reddit and was curious if anyone knows how it was made. https://www.reddit.com/r/boston/comments/2xu9ix/modern_map_of_boston_compared_to_original_1630/ I think I could make it ...
1
vote
1answer
44 views

Opening a shapefile with no extension in QGIS [closed]

I am trying to open an open license shapefile in QGIS (this is the link: https://pub.uni-bielefeld.de/record/2674065), I am not sure if the information is not there or if the content is not complete; ...
0
votes
1answer
45 views

Input points shapefile in shiny app

The application I created allows me to import a polygon shapefile into my Leaflet map. However, I would like to set up a point shapefile import on the same button. I tried several attempts, especially ...
0
votes
2answers
39 views

Reading shapefiles using for loop: Error in readOGR() : length(dsn) == 1L is not TRUE

I'm using a for loop to read in multiple shapefiles within a directory and manipulate them individually. Presently I cannot do this because the for loop results in the error: "Error in readOGR(...
0
votes
0answers
38 views

TIFF somewhat does not match with a shapefile

Two layers, one .shp and a NDVI image (from the MODIS, exported it in TIFF format from envi), have the same geographic coordinate system (GCS_WGS_1984), but they are not overlapping 100% in ArcGIS. ...
1
vote
1answer
35 views

Creating 1 hectare rectangle polygon surrounding points and dividing it into equal sized sub-quadrats in ArcGIS Desktop?

I have a set of points like this: ] I have only these points' information. Now I want to draw a boundary of this points whose size should be 1 hectare (100m x 100m). After that, I want to subdivide ...
1
vote
1answer
70 views

How to convert a jpeg map of borders into a shapefile?

I have a map of French departments from the 19th century (impossible to find in shapefile format) in jpeg format and I would like to convert it into a shapefile in order to regroup raster data and ...
2
votes
1answer
136 views

How can we extract values from a raster and put it in a shapefile?

I just started using QGIS for a research project and I am not at all familiar with the software nor the formats used. I have a shapefile representing the different departments of France, delimited by ...
1
vote
1answer
42 views

Splitting an administrative region into given number of parts

I have the following plot. I want to divide the administrative region into given number (say 20) equal parts. library(maps) data(world.cities) Pakistan <- data.frame(map("world", "Pakistan", ...
0
votes
0answers
23 views

How to create and modify a multipolygon so that it does not overlap when merging layers in QGIS?

I am new to QGIS. I need to modify a shapefile so I can add a circle in a Canadian province to be used for Tableau afterwards. I tried to use QGIS to modify the shapefile. I have created a new layer ...
0
votes
1answer
27 views

Aligning shapes to terrain in CityEngine?

I have a problem. As soon as I click "Align shapes to Terrain", my shapefile rectifies and falls down the edge. In the first picture(Border_Issue1) you can see that all shapefiles have the right size,...
0
votes
0answers
45 views

How to export Google Maps zip polygon to shapefile

I have the following URL that is a zip polygon from Google Maps that I want to export to shapefile and open in QGIS. How can I do that?
1
vote
1answer
54 views

PostgreSQL - Creating DB, User privileges [closed]

I created a database named "wchiba" in postgres using : create database wchiba; Then I create a user : create a user saifeddine with password "0000"; Then I grant privileges : grant all on ...
1
vote
1answer
49 views

Extracting admin boundary data from OpenStreetMap?

I'm really just looking to get borders for cities and regions around the world. Ideally in a shapefile format. Does anyone know how I can do that from OpenStreetMap?
0
votes
1answer
23 views

password authentication failed for user “ASUS”

I'm creating table in PostgreSQL using these commands: shp2pgsql -s 32632 watershed.shp watershed > watershed.sql psql -f watershed.sql cambridge psql -f watershed.sql cambridge But I had ...
2
votes
0answers
43 views

How to make a polygon on QGIS based on a PDF image? [closed]

I'm trying to take an image out of a PDF and make a shapefile on QGIS. How can I do that?
1
vote
0answers
48 views

Reset / Clear button, upload shapefile on R Shiny

I would like to create a button that would allow me to reset a fileinput, and delete the previously imported shapefile. Here is my code: server.r: library(shiny) library(shinydashboard) library(...
2
votes
1answer
51 views

Finding highest value within a shapefile or feature class using ArcGIS Desktop?

I want to find the highest value within a specific area of a shapefile feature class but am unsure about how to do this. From the attatched image, I want to find the pixel within the outlined region ...
3
votes
1answer
84 views

Overlapping polygons layer order

Is there a way in QGIS to prioritize the layering order overlapping polygons. I have a shapefile with numbers in the attribute table from 1-20. Each number is associated with its own polygon. I want ...
1
vote
1answer
73 views

What causes Error in ogrInfo when using readOGR to open a layer in a shapefile? [closed]

When I use readOGR to read a shapefile from thematicmapping.org, the shapefile is successfully displayed by leaflet in a shinyapp. However, when I use readOGR to read a shapefile from mt.gov, the ...
3
votes
2answers
58 views

Merge shapefiles with common field

I'm trying to merge several shapefile layers. Each of the layers has three attributes: CGRSName: Name of the grid cell (same for each shapefile) CGRSType: explains the type of grid (not important ...
2
votes
1answer
36 views

Merge only overlapping shapefiles using FME

I am very new to FME. I have 10 shapefiles which overlap but not from beginning to the end! Therefore I want FME to detect "segments" where there is overlapping and splits into such segments the ...
1
vote
1answer
48 views

Merging road segments into one road line in QGIS

I have a Shapefile with a road network (lines) which includes several road segments (lines). Is there any way to merge all these lines into one line using QGIS?
1
vote
2answers
43 views

Create a circle in R, and plot it in a shapefile

I want to plot a circle with a radius of 5 miles around a hospital in Massachusetts. I was using some previous answers found here, but it is not working. st_buffer shows an error. library(sp) ...
1
vote
0answers
60 views

Changing CRS of geometry in geopandas dataframe efficiently?

I have a shapefile which I am converting into a geopandas dataframe. The CRS of this shapefile is epsg:4326 and I want to convert this to epsg:3857. import geopandas as gp file_path = 'zip_poly.shp' ...
0
votes
0answers
26 views

Loading shapefile using ArcPy in Pycharm?

I want to use ArcPy and pycharm to do zonal statistics. When I loaded shapefile just as I did in the python console in arcgis, the pycharm identifies the shapefile as string type and I got the ERROR ...
3
votes
2answers
65 views

Extracting desired values from KML file using QGIS?

I have a kml file of roads that I would like to convert into a shapefile using QGIS, I understand that this should be a straightforward task however I am running into the issue of extracting necessary ...
0
votes
1answer
41 views

ArcMap 10.6: Is it possible to extract point values from points?

I've got three point shapes with different fields that I cannot seem to merge as I get ERROR 000229: cannot open 'name of shapefile'. Instead of solving this error, I wanted to try something different:...
1
vote
3answers
57 views

Switch coordinates in shapefiles

I got some shapefiles out of a WFS service and the points and polygons are not where they supposed to be. After taking a closer look in the data I came to the conclusion, that the X an Y coordinates ...
0
votes
2answers
51 views

Fiona and Geopandas not applying CRS to shapefile during creation

I'm trying to create a shapefile of points from a coordinate list. But, when I use fiona to create the shapefile Arc Catalog is showing that there is no CRS. I tried to add the CRS with Geopandas and ...
1
vote
0answers
15 views

Layering grid codes visually

Is it possible to order grid codes in a shapefile visually by building a query in ArcMap? For example in symbology I have grid codes 1, 2, 4, 5 in a shapefile and I want to make it so that when the ...
0
votes
0answers
32 views

Retain field name alias in feature class when exporting to shapefile

I have a feature class in a geodatabase which I've joined a table to. The table which was joined has field names >10 chars. I will then need to export the feature class to SHP and once completed, ...
9
votes
3answers
1k views

Voronoi Diagram on a given polygon using QGIS

I am trying to create a Voronoi Diagram on a specific polygon, but there is some issue when dealing with edges. Here is how I do it: Preparing the points for Voronoi and the polygon for the diagram ...
0
votes
0answers
15 views

Regarding Sec Town Range? [duplicate]

This is regarding Sec Town Range. I have received this in parcel shapefile. Is there any way to use this to index the data?
0
votes
0answers
24 views

Seeking Python implementation of contiguity constrained clustering?

I'm looking for an example of Python implementation of contiguity constrained clustering algorithm. The task I want to perform is to reduce the number of administrative zones by grouping them into as ...
-1
votes
1answer
35 views

Developing Offline Android app to open shapefiles and generate maps? [closed]

I would like to create an offline Android app that can read shapefiles and generate maps as created on ArcGIS. I tend toward using Python for it. How do I go about it?
0
votes
0answers
28 views

Shapefile created from Whitebox GAT has no *. prj file?

I am new to Whitebox GAT. I found out that the shapefile I created in it does not have projection file. Did I do something wrong?
0
votes
0answers
10 views

Creating shapefile with features in GISPro?

We cannot figure out how to create a shapefile that contains the features seen within the app GISPro (by Garafa) on an iPad. I have been able to export a shapefile, but there are no features attached ...
1
vote
1answer
48 views

Importing shapefile into R [closed]

I don't understand why I should choose readOGR() over readShapePoly. What are all the different ways of doing this, and why should I choose one over another?
0
votes
0answers
17 views

Shapefiles not lining up - defined projection and re-projected [duplicate]

I have shapefiles created from GPS coordinates from three different regions within a province in Canada. The raw data coordinate systems seem to me to match and when displaying xy coordinates from the ...
1
vote
2answers
75 views

Rounding coordinates to 5 decimals in GeoPandas?

I have a shapefile, which I converted into geopandas dataframe. I would like to round the coordinates to 5 decimals. Is there a method/function in geopandas that can do this? My shapefile contains ...
3
votes
1answer
36 views

How do I bring the Z value to attribute table?

I have a shapefile exported from a hydraulics software that I use. The file is exported as polylines. I convert it to a point layer using the "Extract Nodes" function. The remaining piece of ...
1
vote
1answer
24 views

R: polygons' id different than @data id after load from shapefile [closed]

I loaded a shapefile in R using readOGR and I named as data.map. I can see the shape pretty well by using plot(data.map) The issue is that polygons' id (the id of the plot) is not the same with the ...
0
votes
2answers
34 views

Using dictionary of file names and DD coordinates to create points in shapefile using shapely?

I'm working on a Python script that strips the GPS info from images and uses that info to create a shapefile from that info. Right now I have all the file names as keys to tuples of decimal degrees ...
0
votes
2answers
39 views

Storing shapefile inside geodatabase using ArcMap?

Is there any way one could store a shapefile inside a geodatabase? I understand they are two databases from two different times but I recall seeing this done in the past and am curious about how one ...
1
vote
2answers
62 views

Automatic extraction of buildings geometry from a shapefile

I have a shapefile of Montreal which includes the geometry of buildings and some attributes like the year of construction. I also have the building's geometrical data from another source. So I know ...
1
vote
2answers
31 views

Merge shp in QGIS with different fields

There is a way to merge shp polygon with different fields? or there is a tool to copy the fields and format from one shp to another (not the content)?