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)

0
votes
0answers
1k 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
347 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
131 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
94 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
208 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
85 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
153 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
205 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
147 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
216 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
425 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
122 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
234 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
241 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
1k 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
107 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
468 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 ...
8
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
436 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
154 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
87 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
130 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
221 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 ...
0
votes
0answers
20 views

Read (old?) Trimble files into ArcGIS? [duplicate]

I have a number of files that I believe are from a Trimble GPS. The file extensions are: .cor .gic .gip .gis .giw .gix .obs .obx .SSF I need to be able to map the data in ArcGIS (these are old ...
0
votes
3answers
761 views

How to find the attributes of a shapefile from the command line?

I'm following Mike Bostock's tutorial "Let's Make A Map." He explains how to filter a shapefile using ogr2ogr based on the attributes of the features. I can open a shapefile in QGIS and look at the ...
4
votes
1answer
211 views

Convertion of multiple csv automatically to shp

I have more than two hundreds similar csv files with columns (x, y, value1, value2, objectName). I need to convert them automatically to shp files with x and y columns as the coordinates. Could you ...
3
votes
0answers
121 views

Filtered SimpleFeatureCollection really slow on Map and other operations

I'm working with a shapefile having about 85.000 features. I need to select some of these using a filter and then showing these on a map. Now... If I draw the entire shapefile's features the creation ...
6
votes
2answers
1k views

Error getting text attributes from shapefile with python / pyshp

I have a shapefile, containing only points in XY-coordinates and a string attribute for each point. I would like to read the coordinates and the attribute for postprocessing in python, but can't get ...
3
votes
1answer
149 views

Problem with projection in layer

I'm having problems with visualizing a layer which is in EPSG:4326 Apparently the geometry looks perfect, but I don't know why, it's not in real coordinates. I have projected it to 4326 with QGIS, ...
6
votes
2answers
86 views

Define projection at the record level

Hopefully this isn't too dumb a question, but is it possible to define projection at the record level, instead of a whole layer or table? I want to create a "project" database for all the work my ...
1
vote
1answer
228 views

Sum of point attributes inside hexagons using QgiS UI

I'm very new to Qgis so I would very much appreciate any help you can give me. I have a point shapefile that corresponds to locations of animals captured. I've joined a table to this shapefile with ...
3
votes
2answers
899 views

Merging Shapefiles With Geotools

I am trying to merge some shapefiles with different schemas in geotools. Im aware of ogr2ogr, but for now I would like to figure out this problem with Geotools. The steps I'm taking are: 1) Create a ...
1
vote
0answers
282 views

Open/Free Area Code Shape Files for the US/Canada

I would like to map magicJack's areacodes and exchanges against known area codes and exchanges to create a coverage map, just to see what it would look like as compared with, say, a mobile phone ...
0
votes
0answers
80 views

Merge (a lot of) features using QGIS or other open source

I have one shape-file with a lot of features (polygons) and if I try to merge these into one big polygon in QGIS it takes days to complete the merge. So I wonder if there is another way? I saw this ...
1
vote
2answers
93 views

Reverse querying

Is it possible to run a reverse query? In other words, I have a master shapefile and a derived shapefile containing data extracted from the master file, but don't know what criteria the extraction ...
2
votes
1answer
949 views

How to merge multiple ADF files to a single shape file? [duplicate]

I have a set of adf file which use the same structure. How can I merge all ADF to shp file? Does the ogr2ogr command can help in this case?
2
votes
1answer
234 views

How to convert format and CRS of many shapefiles to kml (or csv, json..)?

I tried to use QGIS to transform shp files in kml and to translate the CRS to use in a google maps application. My problem is that I have a lot of shp files that i can open in a bulk manner by drag ...
10
votes
2answers
309 views

Determine minimum number of polygons from shapefile to cover an area of interest

I have a large number shapefiles representing areas of interest for an analysis that will be conducted using various sources of satellite imagery (IKONOS, RapidEye, etc.). Unfortunately, the imagery ...
2
votes
0answers
170 views

How can I retrieve/query data from shape file for forms/grid in website?

I've made a site using openlayers and geoserver. currently im serving WMS layers from geoserver (shape files). I want to add in my site a search form that the user can search for data (which I have in ...
0
votes
1answer
823 views

How to remove shapefile polygon vertex marker points in QGIS 1.8.0

I have created a shapefile layer and drawn a polygon to show the boundary of a woodland. How can I edit the polygon to remove the crosses that denote the intersection of two points on the boundary?
3
votes
2answers
300 views

How to fix the “Corrupt Shape file '<shapefile>' encountered — record size 218972988 is invalid” error in FME Workbench?

I have inherited a project where part of the workflow is the execution of numerous FME Workbench files. It has worked flawlessly for several hundred runs, but it gets tripped up on a very large ...
1
vote
2answers
962 views

Python - GDAL : Polygon to point shape file

I want to read all the points in a polygon shape-file and use their coordinates to make a new point shape file. then find the min and max of the X coordinates. So here is the code I wrote for the ...
3
votes
2answers
1k views

Python: how to create a point shape-file from a text file

I'm writing a python code to read the points in a polygon shape-file and save them in a point shape file. I'm not sure about my approach so if you have a better idea (even if it is totally different ...