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 (1)

3
votes
2answers
787 views

Where can I download all 3,141 County US Polygons clipped with high resolution shoreline data?

After having done quite a bit of research I have been unable to find a single shapefile download which includes all of the current 3,141 counties with their associating data clipped with the highest ...
0
votes
1answer
85 views

Error running geotools tutorial for CSV2SHP?

Although I run this tutorial I always get following error message: Nov 22, 2011 5:10:50 PM org.geotools.referencing.factory.epsg.ThreadedPostgreSQLEpsgFactory isAvailable WARNING: ...
2
votes
4answers
535 views

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities?

Where can I find a shapefile of zoning for the city of Phoenix and other municipalities? I would rather not have to geo-reference a picture and digitize over it, there must be some data already out ...
6
votes
1answer
1k views

Get shape filename in attribute field using field calculator

I apologize for crossposting against the ESRI geoprocessing forum, but it seems like this one gets answers. I'd like to have a modified append tool (ArcToolbox) that takes multiple shapefiles with ...
9
votes
3answers
8k views

How to create a shapefile in ArcGIS 10 using arcpy?

How can I create a shapefile using Python in ArcGIS 10? I have lat & long. From this I need Python code which will create a shapefile and display it in ArcGIS 10. Thanks.
4
votes
2answers
218 views

Append Point Shapefile Location by GPS'd text file

In my industry it is common to create preliminary design maps for point locations that have a unique identifier. Upon the actual construction on the design, points change location based on ...
4
votes
2answers
2k views

usa electric transmission powerlines shape files sources

Does anyone have a good source for these? I have some old (1993) data from the US National Renewable Energy Laboratory (NREL) and Cubewerx' WMS (Cubewerx are a spatial data provider); neither of which ...
1
vote
0answers
489 views

QGIS Layer Properties Field Tab

When I setup my layer properties I selected some of the attributes to be hidden on the Fields tab. I would like to change the EDIT WIDGET from hidden to a different function however some of them are ...
4
votes
2answers
7k views

Using ArcMap, how may I convert a shapefile to use decimal degrees?

I have a shapefile that currently uses meters as the measure for its coordinate system, but the map framework I wish to use expects decimal degrees. I'd like to reproject my shapefile to use decimal ...
3
votes
2answers
3k views

Import Shapefile to Postgres

I am trying to import a shapefile to Postgres using the following: shp2pgsql c:\location\water_areas.shp water > water.sql I am receiving the following message: c:\location\water_areas.shp: ...
2
votes
1answer
758 views

Seeking shapefiles of business locations

Does anyone know where to find shapefiles of businesses such as grocery stores or gas stations? Thanks!!
14
votes
6answers
1k views

Creating simple image from vector data

Can anyone suggest a quick (and preferably open source) way to create an image from a shapefile. For example, I have a shapefile containing parcel boundaries, I want to create a png file depicting ...
13
votes
4answers
1k views

Python module to delete SHP features (without Desktop GIS installed)

I have a piece of software (not Arc) that runs nightly on a non-production machine which updates shapefile features from an external database. Periodically I would like to delete all of the features ...
4
votes
1answer
3k views

How to add field in attribute table by python

I have research on the question (How to add an attribute field to an existing Shapefile via Python) but could not implement it. If you can give me examples on how to add field name in attribute ...
2
votes
2answers
668 views

How to set right coordinate system?

I have shapefile (points) which I got from adding xy data in ArcMap from Excel table. I had Latitude/Longitude data. It is area of northern Australia. For example (5 points): Longitude 136.882 ...
7
votes
1answer
2k views

How to convert Shapefile geometries to WKB using OGR?

I got the geometry of a feature of the shapefile, and i want to save that geometry in the postgis (in WKB formats like it happens when we import shapefiles using shp2pgsql and psql commands). How do I ...
2
votes
1answer
350 views

Error while importing shapefile using shp2pgsql: Coordinate values are out of range

I have a shapefile with 180 points. I'm using shp2pgsql-gui via pgAdminIII. This is an error it gives me when I try to import shapefile. Failed in pgui_exec(): ERROR: Coordinate values are out of ...
6
votes
3answers
2k views

Create Shapefile with auto increment primary key in QGIS

Is there a way to create an auto increment primary key column when creating a new Shapefile in QGIS?
3
votes
3answers
497 views

How can I import only a subset of the polygons in a Shapefile using QGIS?

I have a shapefile that is covering a huge area, with lots of polygons. The area I'm insteresting in is small and limited. Is there any way to only import (using "add vector layer") the polygons from ...
5
votes
1answer
635 views

How to convert a line Shapefile into a CSV with nodes and links?

Is there a way to convert a linear shape file into a csv file of the following format: Node_1, Node_2, attribute_1, ...., attribute_x 1 2 "hello" 567845.334 I have looked at ...
7
votes
3answers
646 views

How to script shapefile editing with open source tools?

I would really like not to disturb anybody and find my answer by a Google search, but I don't really know where to start. I have a .shp vector layer with several points on streets, each having a list ...
2
votes
0answers
119 views

How to fix Graphserver warning “osmdb has no edges!”?

I'm really new to GIS. I have some shapefiles data that I'm trying to import in graphserver. I'm doing: gs_osmdb_compile output3.osm output3.osmdb And the result is: WARNING: osmdb has no edges!. ...
10
votes
2answers
1k views

Which Windows GIS editors support the creation of 3D shapefiles besides ArcGIS with 3D Analyst?

I need to find and easy and affordable way to generate 3D linear shapefiles in Windows so one of our users can inspect our tool. We incorrectly assumed that he had 3D shapefile source data available ...
2
votes
1answer
356 views

Why does this python function return a value of 0 in field calculator?

I am trying to calculate the percentage of a total which the median value makes. I have a column with the median column labelled (i.e. 1st,2nd,3rd,4th column is median), the columns of values and the ...
0
votes
1answer
304 views

Why does collapse dualline to centreline only create an outline of the dataset?

I'm trying to collapse all divided roads in one centreline and to integrate any other spurs or errors in the dataset to create one set of centrelines. I have used Merge Divided Roads but it leaves a ...
2
votes
2answers
2k views

Setting up WMS with PostGIS, MapServer and Apache

I am trying to setup a web map service (WMS) for rendering a few shape files that I have stored in a PostGIS database. I decided to use MapServer for rendering engine and has installed it on my Ubuntu ...
3
votes
1answer
2k views

Add or Import Metadata to a shapefile

Is there a way to add metadata to a shapefile in Qgis? I have the shape file and an xml metadata file and I want to import in shape file.
10
votes
4answers
1k views

How to reproject spatial data using free libraries?

How can I use free libraries to transform spatial data? For example, I want to change the projection of a Shapefile within the code of my C# web application. How do I do that?
6
votes
3answers
2k views

How to load OSM data into PostGIS preserving all Tags?

I am new to the field of GIS and am trying to view source tags in OSM. I have downloaded the shapefiles from http://downloads.cloudmade.com and have loaded them into Postgres. When I view the data, I ...
9
votes
3answers
1k views

Polygon shapefile with null values

Does anyone know where I can find a sample shapefile that has null entries in it (preferably a polygon shapefile)? I'm not sure how to create one with null entries. Thanks, Jeff
2
votes
1answer
236 views

exporting lat/long points from shp file gives crazy results

i downloaded a shape file from the dept of city planning of NYC I use shp2pgsql to create a table (nybb) I use http://prj2epsg.org/search to determine my srid is 2263. which i then set. select ...
1
vote
1answer
302 views

How to aggregate points with same value into polygons from a shapefile using GDAL or any other opensource solution

I have a shapefile with around 19,000 points. Its basically export from a raster. No i need to extract polygons, by aggregating the points which have same value.The field who's value i am going to use ...
10
votes
5answers
5k views

ArcGIS 10 creating a shape file from current dataframe extents in layout view

Where is the tool for this? Have looked around and the closet thing i can find is Toolbox's Grid/Strip Map Index tools under Data Drive Pages. I just want to be able to create a single polygon ...
2
votes
3answers
477 views

How Can I Correctly Transform (Unproject?) from LCC

I am a complete n00b when it comes to GIS, so please bear with me. I started out by posting here: http://stackoverflow.com/questions/6963991/how-can-i-transform-the-coordinates-of-a-shapefile . In ...
1
vote
0answers
302 views

Convert FeatureLayerClass to shape file error : Item not found in collection

so following this link http://edndoc.esri.com/arcobjects/9.2/NET/91e3e8a0-d355-43d2-a201-0a8ceb719334.htm I am able to convert my featureLayer into a shape file and export it. However, some how for ...
10
votes
2answers
4k views

How do dissolve polygons from shapefile using open source tools?

In my current project I'm visualizing data on a map representing some values for each administrative areas of a country. I'm given a shapefile of this country, which I'm converting to GeoJSON for use ...
6
votes
5answers
2k views

What is the hierarchy of features in ArcGIS? Is it different in other software?

first post - new to GIS. My understanding of shapefiles is that they are (contain?) featureclasses, that contain features (points, polylines, polygons). Is there a clear hierarchy for these files. ...
5
votes
3answers
635 views

Looking for a .NET Dijkstra component using Shapefile

I'm totally new to stackexchange and i'm in this beautiful informative place for one problem. I'm a .net programmer and i need to write a program that reads a shapefile and performs routing operation. ...
1
vote
1answer
432 views

How to join data in a spreadsheet to a shapefile ? [duplicate]

Possible Duplicate: How can i transfer data from a spreadsheet into a shapefile? I have data for Indices of Multiple Deprivation for the UK from this website: ...
5
votes
5answers
3k views

How can one execute an SQL script in field calculator in ArcGIS 10?

I am trying to transfer over row data from a table to columns in a shapefile table. There is a common "SA" variable between the two (i.e. the study area number) but there is more than one land use ...
4
votes
2answers
948 views

Kicking someone off a shapefile in ArcMap

I have ArcMap open, and someone else has the same shapefile open as me. How can I kick them off so that I can edit? I get the following error message: "Unable to save edits, cannot acquire a lock"
6
votes
1answer
12k views

QGIS - Change unit of measure from degrees to meters

I am running QGIS 1.7.0 on windows, and I donwloaded a shapefile of census block group boundaries from TIGER. This file appears to be in the WGS 84 coordinate system, and when I open it in QGIS the ...
5
votes
3answers
1k views

Why doesn't the split tool return any records in the attribute table?

I've been trying to split a large land use shapefile using a set of study area polygons as the split feature, but when the function finally finishes running (the land use dataset is quite large), all ...
6
votes
2answers
1k views

Why is the dynamic text on data driven pages not displaying a value from the grid attribute table?

Relating to my question here, I've been trying to return a value from the attribute table using the following code: <dyn type="page" property="lu1p"/> However, even if I try to use a ...
11
votes
2answers
501 views

How to clean such a bad shapefile for routing ?

I am trying to clean a shapefile to make it usable for routing with pgrouting, postgis, postgresql. Here an intersection, it seems to be connected but when we zoom …. It is not: Same here : ...
6
votes
2answers
485 views

Calculate stop times/distances of transport lines - tools and procedure?

I need to calculate stop times of bus lines (extrapolation) I have: Shape file with all stops shape file with control points where bus time was taken Shape file with all bus routes csv file with ...
2
votes
1answer
210 views

From a shapefile, copy specific rows (defined by a separate table) to a new shapefile

I have a polygon shapefile of origin zones. I also have a polygon shapefile of destination zones. I also have a table that lists origin-destination pairs. I would like to create a multi-part ...
1
vote
1answer
780 views

Last edited information missing when used QGIS - Dxf to Shp

I am doing as constructed drawings which require the information to be in a GIS system and more specifically drainage as constructed drawings. I must have a separate file for Pipes and Pits. First I ...
2
votes
1answer
86 views

Coords not aligning

The two shp files are not aligning like they should (note the img). The layer and the two shps all have the same coords - NAD_1983_StatePlane_North_Dakota_North_FIPS_3301_Feet The surface shp came ...
2
votes
2answers
1k views

are there any shapefiles for a simple road network of the UK that are similar to what you would find on google maps?

I wish to add a shapefile to ArcMap that displays a road network which is similar to what you may find on google maps. I dont require a detailed ordnance survey map, just the roads