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)

9
votes
7answers
3k views

how to overlay shapefile and raster?

I have a shapefile with polygons. And I have a global raster file. I want to overlay the shapefile's polygons onto the raster grid and calculate the mean raster value for each polygon. How can I do ...
1
vote
1answer
191 views

Automatically determine polygon overlap 'islands'

I have a shapefile with many polygons. Some partly overlap with each other, some are not overlapping. I'm considering a polygon to be overlapping given a minimum area of overlap. 'Islands' of partly ...
0
votes
1answer
107 views

How can I export a point shapefile from ArcGIS to R

I am having several problems in exporting my point shapefile from ArcGIS 10 to R. I tried to save the shapefile as a CSV, but R reads all in one row; somebody in another question answered to use ...
2
votes
2answers
1k views

Shapefiles for US city and Zip level

I already have the information for US states and Counties. I have the information in the Json files. I want the information for ALL US city and Zip Code information. Any leads appreciated. I cant ...
2
votes
4answers
1k views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
4
votes
5answers
14k views

How to cut one ESRI Shapefile with another ESRI Shapefile? [closed]

I have one ESRI Shapefile as a map with many objects in it. I have another ESRI Shapefile only with borders in it. This shapefile is bigger in size (covering a bigger area) with many border lines. ...
2
votes
1answer
710 views

How to provide meanings (metadata) of attributes/fields with shapefiles?

Usually when doing GIS projects, especially when working as a freelancer, you're just provided with a bunch of shapefiles and you have to figure out yourself what all the table attributes mean. ...
3
votes
2answers
258 views

Calculate distance in QGIS, wrong geographic projection?

I'm trying to do the following: I have 2 shapefiles, one containing all the public schools in NY, another one containing the hotspots in NY (both in points form). Now what I'm trying to do is ...
1
vote
1answer
99 views

BBox missing when converting TIGER to GeoJSON

I can't get the bounding boxes of polygons if TIGER/Line shape files when converting them to GeoJSON using FWTools. The other default information is present and there is no difference between the ...
2
votes
3answers
710 views

How to find and apply reprojection parameters?

I have a data set in one projection, and a shapefile in another, and I am trying to combine the two. I am using Python. I apologize for posting a "help me transform coordinates" question on this site ...
2
votes
0answers
871 views

Coverting annotation into a shapefile

I have created an annotation feature class in Arc10 and when viewed within the database, looks great. However, whenever I go into catalog and export the annotation feature class to a shapefile, it ...
0
votes
1answer
222 views

How to read shapefile of road segments into Python data structure to get begin and end point coordinates? [duplicate]

How can I take a shape file that has road segments and read it into a data structure in python that I can use to get begin and end points with? For example x, y to x2, y2. It's not a large shape ...
5
votes
1answer
520 views

ogr2ogr selecting features by attributes

I am writing a shapefile after some processing; however, in the final step I need to do some selection by attributes from the the shapefile. I am using the command in a shell with the aim of using it ...
12
votes
5answers
438 views

What in-depth spatial database systems tutorials exist?

Is there a good tutorial that explains in depth the internals of a GIS and a spatial database system such as PostGIS with examples and without any background assumption? I'm specifically looking for ...
2
votes
1answer
658 views

How can I clip this shapefile in Arcmap?

I'm trying to clip one shapefile with another in ArcMap 10.1, but every time I try I get an error saying "overlay not polygon". I'm pretty new to GIS - is clip the right tool to be using here? I've ...
3
votes
1answer
707 views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = ...
1
vote
1answer
561 views

How to convert shapefile to KML file using ArcPy? [duplicate]

Python script that checks to see if a specific layer file exists in the current workspace and, if it does, converts the layer file to a KML file. Does it work with a shapefile? Code so far: for file ...
0
votes
1answer
252 views

Why do Shapefiles and GeoJSON behave differently in GDAL Python?

I have a test.shp. I loop over the file, buffer the features, and write the buffers to a new file. I tested writing the buffers to a Shapefile and to a GeoJSON. If I try to use the new buffer layer ...
7
votes
1answer
349 views

Python3 libraries for GIS analysis

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+ ...
2
votes
1answer
299 views

How I can insert feature attribute after feature drawing complete

I am new to OpenLayers. I am trying to insert wfs feature information to my map after drawing like this. I can draw a WFS feature like (polygon, line, point) on map and after drawing the feature ...
0
votes
0answers
946 views

Add new rows to a shapefile

I'm using QGIS. When I enable editing of a shapefile's table attributes and select, 'open attribute table,' is it possible to add new rows to the shapefile's table attributes? The problem I'm trying ...
2
votes
1answer
336 views

How to modify the coordinates of a SHP geometry using Geotools?

I have a shapefile with some polygons. I would like to change the height for this elements using Java. The rest of the attributes should be the same. I've thought using GeoTools but I haven't found ...
9
votes
5answers
1k views

Looking for USDA plant hardiness zone shape file

given that this is a USDA resource I really thought that it would be available online somewhere, but for the life of me I cannot find a shape file for the USDA plant hardiness zones anywhere. anyone ...
1
vote
1answer
127 views

Load Raster Values into Shapefile [duplicate]

I have a shapefile containing many points. Some of these points fall within an area for which I have raster data. I would like to load the values of the raster which underlie each point into the ...
0
votes
1answer
93 views

Missing a Geom field in PostGis

I am working in a Database preaparation for that I exported a shapefile from Qgis to PostGis.The Problem is this: In Qgis I can see a Polygon feature but when the same polygon feature is exported to ...
2
votes
2answers
193 views

Creating a circle with points

I want to arrange 96 points as a circle/ring. Is there a way to make this automatically, for example "Buffer", "vertices"...? Kind regards, Stefan
1
vote
0answers
84 views

XML with polygons to Shapefile?

I would like to know how can I convert this xml with polygon coordinates http://api.antwerpen.be/v1/geografie/statistischesector.xml into a shapefile. I'm sorry if this is a silly question but I am ...
2
votes
1answer
74 views

How to run shapefile.py

I'm script challenged and trying to repair a shapefile with a missing .shx. This tool sounds ideal: https://code.google.com/p/pyshp/, but the four step instructions are not enough. Can someone give me ...
6
votes
2answers
144 views

Select 90% matching attributes

I have a shapefile (.shp) of 180k roads with information of street name. I need to do a Dissolve on that road network to make only one feature per name. But I have a problem by doing that task ...
1
vote
1answer
199 views

Load partial shapefile into Postgis / GeoDjango project

I have a shapefile with Canadian postal codes, but am only looking to load a small subset of the data. I can load the entire data file and use SQL or Django queries to prune the data, but the load ...
3
votes
3answers
2k views

QGIS - Convert Vector points to GPS waypoints and route

I'm new here. I have a shape file with a series of points (around 300) using British National Grid. I need to put them on my Garmin Etrex 10 as waypoints. Can someone tell me how to convert this ...
1
vote
1answer
145 views

Adding new vector layer. Should .shp file only be added or .shp plus corresponding .shx, .dbf, etc.?

I am a very definite QGIS newbie. I have been creating a map using files that had been used in ArcGis. Each time I wanted to add a new vector layer I opened an .shp file and specified CRS as WGS 84. ...
4
votes
2answers
109 views

Good algorithm to detect “wrong” features in a vectorial coverage

I am working with a bunch of shapefiles. Each shapefile consisting in rectangles with an integer attribute representing the strength of a signal. I serve these vector files as overlays on a base map, ...
0
votes
1answer
191 views

US Voting precinct data

I am looking for a source for data to determine voting precinct boundaries in the United States. My thought is that they might be on the Census website but under a name that doesn't make it obvious. ...
0
votes
2answers
415 views

FME: Identify a string within a field and populate another field with that same string

I have a shp which needs to be split according to attributes in a field. The problem is that the field contains other Characters and dates. For Example the Field is called "Landtype" and contains the ...
3
votes
1answer
119 views

Need shapefile for worldwide bathymetry [duplicate]

I need a (free, no cost) shapefile for bathymetry of entire world, specifically from depths of zero to 200 metres, ideally in 50 or 100 m contour intervals. Has to be a shapefile. Help please!
1
vote
2answers
226 views

County-Level Ethnic Shapefile: United States

My professor usually provides the shapefiles that we deal with in our analyses of the United States--population, votes, etc., but I'd like to know how I can get these myself. I'd like, in particular, ...
1
vote
2answers
237 views

Best way to figure out which regions a point is in a shape file?

I'm trying to figure out the best way on Android to figure out if a point in region as defined in a shapefile. For instance, I might want to know what country I'm in using the Geo Common's Shapefile ...
1
vote
1answer
2k views

How to add X/Y data from Excel file (saved as CSV) on shapefile? [duplicate]

I need to add my X/Y coordinate data as points from my Excel I need help with adding points (using X/Y coordinates). Can anyone help? import arcpy from arcpy import env env.workspace = ...
1
vote
4answers
3k views

Area Boundaries, London

Hope someone can help me with this. I'm having a little trouble finding a data set which has polygons of London districts as listed here: http://en.wikipedia.org/wiki/London_districts I've checked ...
5
votes
1answer
967 views

Buffer polygon inward by percentage of area [duplicate]

I would like to buffer a polygon inward by a percentage of its area, using the polygons below as an example. How could I shrink each polygon inward resulting in a 35% reduction of area? I am using ...
0
votes
1answer
106 views

Comparing ShapeFile Data in C# [closed]

I have made a List containing all the original data (.shp files), and I have another List containing the modified data. I basically want to check all the modified file data against the original... So ...
2
votes
1answer
452 views

Using a shapefile in QGIS makes it unusable in ArcGIS?

We currently use Arcgis 9.2, and we are looking at moving forward with other software, and we have been testing QGIS recently. Basically we are trying to copy the existing projects we have, and ...
7
votes
4answers
5k views

How do I use ogr2ogr to convert a GML to shapefile in Python

I am trying to convert a GML to an ESRI shapefile using ogr2ogr utility in a python script. I have successfully installed the GDAL/OGR package via osgeo but I am now struggling to find/understand ...
2
votes
1answer
394 views

Moving a shapefile point to specific coordinates

In QGIS is there a simple way to move a shapefile point in a shapefile point file to specific coordinates? Without exporting the points to WKT changing the x,y values and then importing the WKT via ...
0
votes
0answers
28 views

calculating mean and standard deviation for raster values using whole pixels within a polygon [duplicate]

i have a raster image and a corresponding shape file. i would like to calculate the statistics of the values within polygons which have a common attribute but only using pixels which are fully ...
2
votes
1answer
152 views

Reproject gif.gz raster to WGS84 in QGIS

I am a steep learning curve into QGIS. I have a raster of global fire maps from the modis site: http://lance-modis.eosdis.nasa.gov/imagery/firemaps/firemap.2013221-2013230.8192x4096.gif.gz I would ...
1
vote
2answers
86 views

How to determine elevation of points in shapefile from second shape file using ArcGIS for Desktop?

I am a bit new to arcgis and have run into a snag. I have a series of points in a shapefile that only have x and y coordinates. Additionally I have a series of other points in a separate shapefile ...
2
votes
1answer
129 views

Problem converting coordinates

I'm trying to convert punctual values from lat/long to EPSG:6372, a projection for Mexico, defined by the Instituto Nacional de Estadística y Geografía (INEGI). I found a converter online but somehow ...
1
vote
3answers
211 views

Conditional Statement for attribute data

I'm trying to write a conditional statement that references another field within the same shapefile layer. I want it to only do so if the one field is " Null " and leave is alone if there is already a ...