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)

1
vote
0answers
10 views

Calculation surface of building external walls from shapefile

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 ...
0
votes
0answers
18 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
19 views

Seeking Atlanta's limits shapefile?

I need a shapefile of the limits of the city of Atlanta, USA.
2
votes
0answers
34 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 ...
2
votes
0answers
21 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 ...
0
votes
0answers
20 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 ...
-3
votes
0answers
17 views

not matching shapefiles [on hold]

I have two shapefiles (s. below) and they are not matching, I know that there is a problem with coordinate systems, but I tried so many things. 1. coordinates from google maps Geographic Coordinate ...
1
vote
2answers
57 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 ...
3
votes
3answers
34 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 ...
1
vote
0answers
25 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 ...
1
vote
1answer
55 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 ...
0
votes
1answer
31 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 ...
0
votes
2answers
48 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
44 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
11 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
43 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.
1
vote
1answer
15 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. ...
2
votes
2answers
56 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 ...
2
votes
0answers
29 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 ...
-4
votes
0answers
28 views

GIS Multiple Choice Questions [closed]

Does anyone have a set of mcqs for GIS? Or know where I could get (separate and apart from a google search?
1
vote
0answers
21 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
0answers
43 views

Qgis 2.14. How to export color of polygon?

I use Qgis 2.14. I have some problem with export .dgn to shp. Qgis appropriates random colors to my polygons after export. Somebody knows how i can export original color of my Autocad dgn?
1
vote
0answers
21 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
33 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. ...
0
votes
1answer
33 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 ...
3
votes
2answers
57 views

Label and symbol with condition in layer properties under style tab

I have forest areas. I want to put tree.svg with condition. Layer properties-> style-> background -> shape ->svg Something like this: if (myfield<1300 , then show, ...
-1
votes
0answers
30 views

Oil fields shape files

Does anyone know of a good source for oil and gas deposit shapefiles. Middle East especially, but worldwide of interest too.
-1
votes
1answer
25 views

Script Convert KML to Layer [closed]

I have a KML file (https://meocloud.pt/link/a60a4408-0b89-4163-9a4d-c91c181bbab4/ROI.kml/) and I want to convert to SHP in ModelBuilder using this script that I found on-line, but it doesn't work. Can ...
2
votes
0answers
25 views

How to programatically populate a 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) ...
1
vote
1answer
30 views

Finding shapefiles of all major cities in world (National and state capitals) at sub-district level?

One option is GADM. Having explored this data, while it satifies my need for some cities, its hard to find this data at such a granular level (lower than district level) for most of the cities.
3
votes
3answers
109 views

How can I delete Shapefiles in QGIS?

In the Browser it's not possible to delete Shapefiles. In ArcMap you can delete Shapefiles easily within the Catalog. How can I delete Shapefiles in QGIS without minimizing the QGIS-Window, navigating ...
3
votes
2answers
68 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 ...
3
votes
3answers
34 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 ...
1
vote
2answers
20 views

Looking for a shapefile of the US Southwest Border Sectors

I'm looking for a shapefile similar to the following image: I'd just like the outlines of the sectors. I'm only concentrating on the southwest border which is San Diego all the way to Rio Grande ...
0
votes
0answers
42 views

Export from SDE to Shapefile Bug

I'm exporting data from a large-ish SDE feature class (888,628 features) to a shapefile. I'm using the ArcMap GUI export process (add the SDE feature class as a layer, right click >> Data >> Export ...
2
votes
1answer
25 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 ...
0
votes
2answers
26 views

shp2pgsql: how to know the schema.table?

I want to import a shapefile using shp2pgsql. I am using Mac with Postgis 2.2. Based on this reference: A conversion and upload can be done all in one step using a UNIX pipe: shp2pgsql -s ...
2
votes
1answer
25 views

Loading Data with shp2pgsql and “Syntax error at or near shp2pgsql”

I want to import a shapefile using shp2pgsql function in the psql shell on Mac. I have created a spatial database (example_gis). By refering to this guide, having connected to this database, when I ...
1
vote
0answers
25 views

QGIS: Release file lock on file used in a processing algorithm at the end of script

I am using runalg (qgis:joinattributesbylocation) on two QgsVectorLayer objects. At the end of my script I'm trying to delete all the files created during the script. I can delete everything except ...
2
votes
1answer
72 views

Why do layers with different CRS overlap fine but cannot be merged by location?

Perhaps someone could clear this up for me? I have a shapfile with the CRS Selected CRS (EPSG:29902, TM65 / Irish Grid) I also have a number of XY points which take the CRS, Selected CRS (EPSG:4326, ...
1
vote
0answers
17 views

Converting .shp to wkb after v.clean

I've been trying to get to through this by reading manuals, but I can't seem to understand what I'm doing. I have source data with overlaps that exist in a table with associated WKBs(SRID 4326). I ...
0
votes
2answers
36 views

Strange coordinates for San Francisco: 5979762, 2085921 from Shapefile

I have a Shapefile (.shp, .dbf, .shx, .prj) that's supposed to represent street data for San Francisco, which I'm writing a parser for. The problem is, when I parse the bounding box according to the ...
2
votes
1answer
37 views

How can I subtract one (very very large) set of features from another?

I'm trying to subtract a very large set of features (water areas) from another, relatively small set of features (land area). In principle, I should be able to do this in QGIS using Vector > ...
1
vote
1answer
34 views

shape files of Mumbai ward map

I am looking for shape files for Mumbai ward wise map. This is required for my research work on disease mapping. Please could anyone share any link for the shape files.
1
vote
1answer
34 views

Reprojecting: trouble converting MapInfo data to shapefiles in QGIS

I was given a dataset generated in MapInfo. I need to use these files in QGIS, so I imported the .TAB files and saved them as ESRI shapefiles. I then realised the original dataset uses a custom "user ...
0
votes
0answers
26 views

Insert shapefile drawn features into PostgreSQL

Sorry my question is repeated, unfortunately i didn't get the proper solution for the problem. I have a LeafLetjs map on which I draw features like: points, polygons, markers, lines etc and I am ...
0
votes
0answers
36 views

Are there any addresses that straddle two or more congressional districts?

I'm using a shapefile of TIGER data provided by the Census Bureau for locating an individual's congressional district. In PostGIS I'm running an ST_Intersects query in order to take a (lat, long) ...
3
votes
0answers
31 views

Uploading Shapefiles to Garmin?

I am trying to upload shapefile polygons onto my Garmin 60Cx GPS. I use the Trace tool and load shapefiles via Minnesota DNR's application. There are almost always gaps in the shapefile on the GPS, ...
2
votes
0answers
29 views

How to create MBtiles file from “.osm.pbf” file using TileMill?

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend ...