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.

learn more… | top users | synonyms (2)

3
votes
1answer
44 views

ESRI shape curves specification

The documentation for ESRI's File Geodatabase API (downloadable from http://www.esri.com/apps/products/download/) says regarding its MultiPartShapeBuffer Class: These functions provide access to ...
2
votes
1answer
198 views

Intersect shapefile with raster, then determine proportion of each raster value?

Using the arcpy module in Python, I want to find the proportion of each pixel value within the boundary of an overlaying polygon. (The polygon is in a shapefile.) For example, there are 10 possible ...
3
votes
1answer
44 views

Match polygons of two independently created shapefiles to create dataframe

I have two independently created shapefiles A) shapefile 1 lists the german postal codes and can be downloaded from https://blog.oraylis.de/2010/05/german-map-spatial-data-for-plz-postal-code-regions/...
18
votes
4answers
12k views

How to add attribute field to existing Shapefile via Python without ArcGIS?

I have a Python script that adds an attribute field to a Shapefile if doesn't exist. This is easy to do with ArcGIS (graphically or via Python), but I'm looking for something that doesn't depend on ...
4
votes
0answers
127 views

I can't create/save changes in shape files on QGIS

I can't create or edit shapes in QGIS, the files are created on my system but cannot "fill" it with the features. I'm using QGIS 2.14.2 64bit Windows 7 This is the error i get when trying to save a ...
1
vote
1answer
26 views

IL School District Shapefile

In order to help our client manipulate a map to show disparities in public school course offerings in Illinois at the school district level, we’re looking for a current year vector shapefile of the ...
0
votes
3answers
10k views

How to compare differences in two shapefiles? [duplicate]

I am a new user to Arcmap 10. I've been trying to figure out how to compare two polygon shapefiles. I need to figure out what the difference is from 2007 - 2013 (increase/decrease) in a couple of ...
2
votes
1answer
449 views

How to extract percentage of land cover from a raster according to multiple shapefiles?

I have a raster map that represents land cover of a region, and different shapefiles (total 120) in the same region. I want to know the percentage of every land cover for each shapefile. For example, ...
0
votes
0answers
15 views

Downloading shapefile from geoserver after applying CQL filter? [duplicate]

I have managed to download a zipped shapefile from geoserver but now I want to be able to download part of the layer in a shapefile. This is what I did in order to download the whole layer as ...
4
votes
3answers
68 views

Convert .csv with polygon geometry to .shp QGIS

Working on a Mac in QGI 2.12, I have a csv file with polygon geometry coordinates that I would like to save to a shapefile. It displays fine as a csv. However, when I try to use "save as," I get the ...
2
votes
0answers
29 views

Programatically populate field_4 after choosing values from other fields?

I'm working with QGis 2.8, editing the attribute table of a SHP file, named "myTable". I need to populate field_4 with the conditions listed below: For 1 to n (it runs across records of myTable) ...
3
votes
8answers
8k views

Exporting to DXF file from QGIS?

Is it possible to export labels based on Shapefile attributes into a DXF file? I use QGIS 1.7.4. I've been reading a CSV file and view it as a Shape Layer. With the help of attributes from the File ...
2
votes
1answer
1k views

Why does aggregate polygons consistently error out?

I'm using aggregate polygons on a dataset with three large study areas. It did not work. So I split it into separate areas and did it again. Two of the three areas (which were smaller than the third) ...
3
votes
1answer
178 views

Rasterize vector while adjusting extent and resolution to reference raster?

I have a vector file which I want to rasterize and adjust its resolution to the reference map, in QGIS. I tried spatial_sync_raster function in R to set all the rasters into the same resolution as ...
1
vote
0answers
30 views

Bulk Converting Data Using FME

I am currently in the process of converting a large quantity of Ordnance Survey Vector Map Local data from .gz to Esri feature class within a file geodatabase. The process is working correctly but ...
3
votes
1answer
100 views

How to export color of polygon from Autocad into QGIS?

I use Qgis 2.14. I have some problem with export .dgn to shp from Autocad. Qgis appropriates random colors to my polygons after export. Somebody knows how i can export original color of my Autocad dgn?...
0
votes
1answer
33 views

Comparing areas of overlapping shapes in QGIS

Given SHP files for a country's Districts in Year1 and Year2, how to output a table whose rows state the percentage composition of each Year2 District in terms of portions of Year1 Districts
0
votes
1answer
56 views

Creating raster image using Shapefile in ENVI?

I have shapefile containing polygon boundaries and want to change them as a raster image in ENVI 5.3. Although, this could easily be done in ArcMap or other GIS software, however, I will have to ...
1
vote
0answers
16 views

Calculation surface of building external walls from shapefile [duplicate]

I have two datasets (attached): 1) A shapefile of buildings containing the height of each building. 2) A parcel shapefile. Several buildings are assigned to a single parcel. I am interested in ...
1
vote
0answers
29 views

Help with Python shapefile Union Program

First I am a Python noob... I have searched the database for this answer, found a few that might be the answer, just way over my head (I am signed up for a intro python class this month, to help ...
-1
votes
2answers
20 views

Seeking Atlanta's limits shapefile?

I need a shapefile of the limits of the city of Atlanta, USA.
2
votes
0answers
38 views

Re-projecting shapefile from an unknown projection [duplicate]

I have been given a shapefile which is supposedly in a NAD1927_Zone16 projection. I need to align it with a raster image in a Lambert Conformal Conic (NAD 1927) projection. I've tried to use the ...
0
votes
0answers
24 views

Python module for counting ratios from SHP attributes

Using OGR, I am supposed to create a Python module that finds out which specific administrative region of a country has the highest density of roads. I have two input shapefiles: roads connected ...
2
votes
1answer
35 views

What is a UK boundary shapefile available for download via persistent URL (for cURL) with parish-level detail?

I'm in the process of generating a series of choropleth maps for a journal article and am writing this up in R as an .Rmd. My aim is to set this up as reproducible research, that is in a form which ...
2
votes
0answers
31 views

Basic statistics function on certain attributes stops at 6% on certain layer in QGIS?

I am trying to use the basic statistics function in QGIS on an attribute in a vector shapefile but it reaches 6% and then gets stuck and does not load anymore. It works fine on other layers/other ...
1
vote
2answers
68 views

How do I convert an active kmz file to a shapefile using either ArcMap or QGIS

I need to convert an active kmz file to shapefile. I have a layer file and a kmz file which feed data from a server. If I try to convert using the kml to layer tool in ArcMap it fails as there is no ...
58
votes
7answers
2k views

Are there any attempts to replace the shapefile?

Recently I've been spending a lot of time converting perfectly good field names like "Percent of citizens age 25 and over with a bachelor's degree or higher" into things like "edbchogtr" to meet the ...
3
votes
3answers
41 views

What is the easiest way to avoid shapefile columns being imported as PostGIS `numeric(p,s)` data type?

Considering the number of shapefiles I've imported to PostGIS (using shp2pgsql or ogr2ogr), I'm a little surprised I haven't come across this before. But I have a shapefile that has numeric columns ...
2
votes
2answers
1k views

shapefile for mumbai area or section wise

I am working on a project in which i need to plot data on Mumbai city map section wise or area wise but i am not able to get Shapefile for the same. Can anyone please provide me the link where i can ...
1
vote
0answers
28 views

DWG to SHP - suddenly a huge ammount of data in one file

I converted four DWG-Files with ArcMap to SHP. Suddenly one data had a huge ammount of data: file 1: DWG: 4,5 MB ----> SHP. 9,7 MB file 2: DWG: 12,7 MB --> SHP: 110 MB (!) file 3: DWG: 3,4 MB --...
0
votes
1answer
38 views

Finding neighbors for non adjacent polygons in R [closed]

I'm looking for a method or function in r-project that create a neighborhood matrix from a group of polygons that don't touch each other, like polygons of set of blocks separated by streets in a town. ...
0
votes
1answer
55 views

Creating SpatialPolygons in R

I am trying to do kriging with my data. But there is a problem here. I want to use krige command in gstat package. But I do not have "Spatial object with prediction/simulation locations". How I can ...
1
vote
1answer
19 views

Error in opening shapefile located on network

I have been able to successfully open a shapefile using Gdal when it is situated on my local machine. However, when I put the file on another machine on the network and try to open it, it fails. ...
1
vote
1answer
76 views

(Arcpy) read values from a txt file and convert the data into a shapefile

I´m a beginner at python programming and wanted to start with a litte and hopefully simple project. I tried to read float values out of a textfile and write them into a shapefile. The program is ...
1
vote
0answers
25 views

Why does QGIS spontaneously corrupt shapefile data? [duplicate]

I'm using QGIS 2.14 (Mac), but I have had the same problem with 2.8 (Ubuntu). When I am editing a shapefile, QGIS seems to spontaneously corrupt the data in unpredictable and catastrophic ways that ...
5
votes
4answers
4k views

Export to a Shapefile and maintain Domain Coded Values

I maintain a complex parcel fabric that uses coded value domains for a few fields. These are short integer fields with values from 1 - 6. These values represent say 1:Integrated Registered Survey Plan,...
0
votes
2answers
63 views

Multiple rename shapefiles and feature classes in python

I have multiple shapefiles, in different sources (D:\GIS\Folder A", "D:\GIS_Temp\Name". And some of them have space in their name (File X, File Y, etc). What should be the code that could rename all ...
0
votes
1answer
61 views

Global shapefile of biomes/ecoregions?

I'm looking for a shapefile with this kind of information, only at considerably higher detail. In North America, ecoregions are classified by levels and grouped by vegetation type at much higher ...
0
votes
1answer
96 views

How do I convert a DEM GeoTIFF to Contour Shapefile

I have a digital elevation model as a GeoTIFF and I'm looking to generate a Shapefile of contours with 5m bands on the command line. Is this possible? Ideally using GDAL and Python.
2
votes
2answers
63 views

Converting shapefile to postgis without giving bounding box

ogr2ogr -progress --config PG_USE_COPY YES -f PostgreSQL PG:"<myconnection>" -lco DIM=2 /path/to/myshapefilename.shp myshapefilename -overwrite -lco GEOMETRY_NAME=geom -lco FID=id -spat ...
3
votes
4answers
21k views
7
votes
1answer
183 views

Shapefile Polygon does not display in QGIS

I am attempting to import a Shapefile into QGIS. When I import it, the boundary is shown on the list, but when I try to view it in the mapping area, it does not show up. I can get it to show the ...
1
vote
0answers
29 views

Postal codes of China

Where can I find geodata with postal codes of China with an open license (commercial use is allowed)?
0
votes
1answer
98 views

Adding shapes and/or icons to legend using Leaflet within R?

Is it possible, using Leaflet within R, to make a legend in such way that includes a set of icons or shapes and their corresponding value?
3
votes
2answers
72 views

Polygon shapefile has irregularities when viewed in ArcMap?

i am using ArcGIS 10.4 for Desktop and when i try loading my shapefiles into the arcmaps it shows extra incorrect lines in my polygon shapefile is there anyway to fix this inconsistencies ...
2
votes
0answers
42 views

Filtering Small Areas of Shapefiles Using R

I'm trying to use the method proposed by the @ialm in the Question "How to speed up the plotting of polygons in R?" There, he loads the maps using getData from the raster package, I tested and it ...
3
votes
3answers
41 views

Formally testing whether building type tends to be close to another building type?

In arcGIS 10.1 (advanced licence), I have two polygon shapefiles, each representing two different types of building (let's call them A and B). Each type is actually used for two different purposes. ...
1
vote
1answer
387 views

Create shapefile based on geojson data with geotools (Java)

I'm using Geotools 14.0 for Java and I'm trying to generate shapefile based on data from GeoJSON. Here is my code: try { String url = "geojson.json"; File geojson = new File(url); ...
13
votes
3answers
3k views

Is there a public shapefile with the London Underground stations and lines?

Is there a public shapefile containing the stations and lines of the London Underground? I've been doing some intensive searching but I can only find the coordinates of the stations, or the lines in ...
1
vote
3answers
271 views

ESRI Shapefile not loading into SQL Server

I have been loading a number of shapefiles into SQL server 2012 using ogr2ogr.exe and the MSSQLSpatial driver. Up until this point, I have been very successful with doing so. However, I have now run ...