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.

Filter by
Sorted by
Tagged with
0
votes
1answer
189 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 ...
5
votes
4answers
8k views

Exporting shapefiles from QGIS to PostGIS?

The tutorials I've been seeing such as this one https://saarapakarinen.wordpress.com/2015/06/13/tutorial-creating-a-postgis-database-for-qgis-part-2/ They mention a SPIT plugin that I can't find ...
0
votes
2answers
3k views

Getting ArcGIS Desktop to project shapefile?

I am using ArcGIS 10.1 (SP1). I got a shapefile with polygons representing some features of the landscape in my study area. This file has been provided by a third party institution. The coordinate ...
3
votes
1answer
42 views

Read N number of rows from shapefile using GeoPandas

Pandas has a parameter nrows for selecting how many rows will be read into the dataframe. Does GeoPandas have a similar parameter? Couldn't find in the documentation.
2
votes
1answer
55 views

Identify topological errors using FME

I have one single shapefile with many features. There are three different topological errors that I want to be identified (only identified). Line A consists of many segments and some of segments ...
1
vote
2answers
685 views

Editing blank feature class in ArcMap?

I am very new to ArcGIS Desktop. I have a jpeg showing an old map of NYC zones. I was able to georeference this image with a shapefile of NYC blocks. I wish to now create a new feature class where I ...
1
vote
1answer
139 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 ...
4
votes
2answers
138 views

Creating building shadows in QGIS?

Can anyone think of a simple way to create a polygon to represent building shadows? I have a shapefile with height information for the buildings and I want to create a simple plan looking like the ...
0
votes
1answer
41 views

How can I turn editable a shapefile that has been previously saved filtered?

After describing this issue in Qgis: Shape layer turns non-editable if saved filtered (where the answer basically was "if you filter, don't edit"), it has happened again (filtering and editing ...
1
vote
1answer
622 views

Using QGIS vs. SVG to export with area names?

Is there the possibility of exporting a SVG files (from shapefile) which retains the area names? Basically any closed path should have the original name attributed to shapefiles. But not only. I ...
0
votes
1answer
25 views

How to convert coordinates to shapefile with R package's dataset?

I need construct spatial weight matrix for data which syear=1995 (house$s1995==1)in housedataset in spdeppackage,So I tried writeOGR function as the link suggeust to get shapefile enter link ...
0
votes
1answer
22 views

OGRInfo On Shapefile = zero length delimited identifier error

I have an ESRI Shapefile that I can open in ArcMap and QGIS and show the attributes fine. However when I try to load to PostGIS using ogr2ogr I get an error saying ERROR 1: ERROR: zero-length ...
3
votes
2answers
79 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 ...
6
votes
4answers
1k views

Converting factfinder2.census.gov map data to KML?

I've downloaded a map from http://factfinder2.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=DEC_10_SF1_P1 (limited to San Francisco census tracts), and I'd like to convert it to KML ...
1
vote
1answer
36 views

QGIS Union erroneously creating gaps

I'm trying to do a union between two Polygon Shapefiles, but when I do Vector > Geoprocessing Tools > Union I have the odd issue where most of it works fine, but some areas are returned in the union ...
0
votes
0answers
63 views

QGIS Layer creation failed for shapefile

QGIS v3.4.4 New project and trying to add a shapefile (line) layer w/ manual data entry. Layer>Create layer>New Shapefile layer Fill out the form w/ a file name, geometry type and I added a ...
0
votes
0answers
48 views

Scraping Uber service coverage from Uber City website into shapefile?

I would like to get a full national wide coverage of Uber service area. I find there are specific coverage boundaries by city on its website. For example, https://www.uber.com/cities/charlotte/. Is ...
4
votes
4answers
4k views

Creating shapefile without ArcGIS Desktop?

I have to create a shapefile but I do not have access to ArcGIS Desktop, only to ArcExplorer, which will not allow me to create a shapefile. What other way can I do this? I have GRASS but am not ...
1
vote
3answers
47 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 ...
0
votes
1answer
96 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
29 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
1answer
46 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
44 views

Drawing a marker on a shapefile with the given latitude and longitude?

I am using shapefiles to draw a custom map. They were created successfully with the help of ArcGIS Desktop. Now I need to draw a marker on shapefile based on an existing tuple of lat, lng. How can I ...
0
votes
2answers
54 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
41 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
41 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
71 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 ...
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", ...
2
votes
1answer
145 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 ...
0
votes
0answers
24 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 ...
1
vote
1answer
107 views

Deleting empty Geometry in shapefile using GDAL command-line GDAL utilities?

How empty geometries be deleted from shapefile using the command-line GDAL utilities?
37
votes
4answers
24k views

Simple thematic mapping of shapefile using Python?

I wish to visualize geographical data in Python, without using ArcGIS/ArcPy, and make a map. On the internet I found how to make a thematic map using Python: Here is some code that I tried: ...
8
votes
1answer
1k views

Choosing Python 3 libraries for GIS analysis? [closed]

I am trying to do some spatial data analysis in Python 3 now, and I was wondering what the best libraries are for GIS in Python 3. The Fiona library was developed with Python 3.3 but the Python 3+ ...
0
votes
0answers
57 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
60 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 ...
9
votes
3answers
14k views

Converting shapefile to SVG keeping internal data?

I am very new to GIS. I found a tutorial on how to make a choropleth using Python tools. I want to follow it but use my own data and map. However the tutorial uses a US map SVG file and I need to use ...
1
vote
1answer
86 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
27 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 ...
0
votes
2answers
853 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.
2
votes
3answers
134 views

Assigning each point name of polygon in which it lies using QGIS?

I am completely new to QGIS, and to the world of shapefiles and GIS in general. I have the shapefile of a city, divided into its districts. On top of it I add a layer from a csv, with a certain ...
17
votes
8answers
40k views

Seeking shapefile of city boundaries in US?

Where can I find a shapefile that contains boundaries for the major cities in the United States? I have tried the census website but could not find anything.
1
vote
2answers
622 views

Seeking data source for worldwide urban/statistical areas as polygons?

I am looking for a shapefile (or any format really) that has worldwide coverage of major urban areas / statistical areas as polygons with names. Similar to what the US census Bureau' Core Based ...
7
votes
3answers
2k views

Seeking urban area shapefiles for France, Germany and Belgium?

I'm trying to make a map like this for the Low Countries/Rhineland, where I basically show how spread out all the urban areas would be there if the urban areas had similar densities to American urban ...
2
votes
0answers
45 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?
2
votes
1answer
52 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
98 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 ...
0
votes
1answer
57 views

Add coordinates and id field into point shapefile in R/PyQGIS

I have a points shapefile with almost 1 million features. I would like to add three new attributes: y, x (coordinates) and an ID (integers from 1). How can I perform this task in R or PyQGIS? Using ...
1
vote
1answer
147 views

What's the difference in these two shapefiles?

I'm trying to plot points on these maps in R, with points from "Coordinates" in the same folder. The WL.shp plots fine with the data, but the NG.shp (which should only be larger and of the same area +...
3
votes
2answers
69 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
40 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 ...