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)

2
votes
1answer
414 views

ArcMap v10 - Polygon Layer - Keeping one polygon above another

I have a shapefile with polygons of differing colors. I am using a white hash pattern to represent partial ownership. In short - Polygon #1 is Green and Polygon #2 is a White Hash pattern. ...
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 ...
10
votes
5answers
563 views

Database versus Files for Solo Developer

I'm just getting started in GIS and am interested in using it to create maps of mountain biking trails in my area and nearby. I've been learning QGIS and have made enough progress to generate a decent ...
4
votes
2answers
847 views

How to cut a shape file?

I want to use a shape file of the Corine Land Cover. This covers all of Europe, but I am only interested in the area of Scandinavia. How can I cut this file using free software (preferably a ...
9
votes
1answer
3k views

Instantiating spatial polygon without using a shape file in R

So, the usual way we read a shapefile in R is via the maptools package, like this: sfdata <- readShapeSpatial("/path/to/my/shapefile.shp", proj4string=CRS("+proj=longlat")) However, I have a use ...
4
votes
2answers
606 views

Extract all pixels of given RGB value and render as MultiPolygons

Given a geotiff image with a colortable in it, what is the easiest way to extract each color as its own "layer or shapefile or multipolygon object"? Specifically, I am looking for a programmatic ...
1
vote
1answer
681 views

Overlapping map tiles with mapnik's generate_tiles.py script

I'm trying to generate map tiles using the mapnik's generate_tiles.py script, but the resulting tiles are overlapped. Example The tiles have the following directory structure: ...
0
votes
2answers
2k views

How to import data from excel and associate it with individual shapes?

New user on ArcMap - Working with shapefiles... Question: the shapefile I am working on, a polygon is a plot of land, each plot of land has a history of owners. I am currently having to copy/paste ...
9
votes
3answers
794 views

Alternatives to Shapefiles as open-source, cross platform dataset types

I am working on software that is very ESRI oriented, but a future version will likely not be using ESRI software. It uses Shapefiles and Geodatabases. I'm planning on getting all of my data to ...
3
votes
2answers
992 views

Simplify Shapefile

I have a shapefile that contains neighborhood boundaries that I want to simplify. Right now I am thinking of converting the shapefile to Google maps KML so I can insert the boundaries into the map as ...
2
votes
1answer
168 views

Using ArcPy to fetch Information from a .GDB

I am new to GIS and I would appreciate if you could guide me a little. I have a .gdb folder with data and I need to process that data to find educational institutions which are within say X Km of the ...
3
votes
3answers
569 views

Do you know of any sites where I could find some cool recreational shapefiles?

Do you know of any sites that I could find some cool recreational shapefiles? An example would be shapefile of the golf courses, ski resorts, or maybe baseball fields in the united states?
7
votes
1answer
4k views

Converting a polygon into a raster using R

I'm trying to convert a shapefile into a raster within R. My approach is to read in the raster as follows: library(rgdal) # Loads SP package by default demo <- readOGR('F:/data/', 'shapefile') # ...
3
votes
2answers
3k views

How do you add file name to an attribute field?

Does anybody know how to add the shape file name to a field in the file's attribute table? I've found a description: 'You have to use inline variable in CalculateField like %Name% in expresssion ...
0
votes
1answer
517 views

Choosing best projection/SRID

I created a shape in OpenJump and exported it to shape(ESRI) file and then imported it to SQL2008 via shape2sql , the problem is that it shows bigger than what I want, In OpenJump it shows 1meter ...
6
votes
4answers
18k views

Looking for free Shapefile editors

I want to create and edit Shapefiles for my application, and I'm looking for a free shape (ESRI) file editor - free for creating and editing. Thanks in advance.
1
vote
0answers
85 views

List of methods of determining the projection of a shapefile when .prj is missing [duplicate]

Possible Duplicate: Best practices for identifying the unknown coordinate system of a Shapefile It would be helpful to mention what information is needed to perform each technique. What are ...
6
votes
3answers
794 views

How to convert factfinder2.census.gov map data to KML?

I've downloaded a map from http://factfinder2.census.gov/faces/tableservices/jsf/pages/productview.xhtml?pid=DEC_10_SF1_P1 (limited to San Francisco census tracts), and I'd like to convert it to KML ...
6
votes
1answer
730 views

projection/pyproj puzzle, and understanding SRS format

I have a shapefile that has a .prj file, with the following wkt contents: ...
11
votes
3answers
725 views

Which data format typically displays fastest in ArcMap?

My organization is working on an application running on ArcGIS Engine. Previous versions of the application used primarily Shapefiles for displaying roads, parcels, buildings, etc. Since I was ...
0
votes
1answer
71 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: ...
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 ...
4
votes
2answers
212 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 ...
6
votes
2answers
712 views

How is the default label field chosen by ArcMap?

I have 2 questions: I know how to manually go to Layer Properties>Labels tab>Label Field and choose my label field. I also know that I could set up my primary label field and save the setting as a ...
4
votes
2answers
6k 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
730 views

Seeking shapefiles of business locations

Does anyone know where to find shapefiles of businesses such as grocery stores or gas stations? Thanks!!
4
votes
2answers
321 views

How to register shapefiles to an image?

I'm generating images from various sources and the projections are not necessarily known ahead of time. The images are subject to interpolation and other alterations while being rendered, but I can ...
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 ...
3
votes
2answers
716 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 ...
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 ...
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.
2
votes
4answers
487 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 ...
2
votes
2answers
653 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 ...
13
votes
3answers
7k views

How to encode shapefiles from LATIN1 to UTF-8?

Is there a way to encode shapefiles from LATIN1 to UTF-8?
2
votes
1answer
344 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 ...
20
votes
4answers
5k views

How to bypass 10 character limit of field name in ShapeFiles?

I'm exporting geometry with attached text attributes from oracle database to esri shapefile format (.shp) with Java and Geotools library. Attribute columns in our database have names with more than ...
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
488 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
0answers
706 views

How to create a routable road network from Ordnance Survey data?

I've been following the "Beginners Guide to pgRouting" in an attempt to create an in-house application that provides drive-time isochrones. I have a server, postgreSQL and PostGIS and pgRouting - no ...
1
vote
0answers
464 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 ...
7
votes
3answers
640 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
117 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!. ...
6
votes
1answer
163 views

How is the “place” determined for this Tiger 2010 shapefile address record?

In most cases, an ADDR.DBF record links to an EDGES.DBF record that links to a FACES.DBF record that links to a PLACE.DBF record that contains the place. Sometimes, the place key in FACES.DBF is ...
2
votes
1answer
349 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 ...
6
votes
3answers
2k views

Convert PS/EPS/AI to shapefile?

Are there any programs which can convert from Postscript, Encapsulated Postscript, or Adobe Illustrator file formats to a shapefile? What about adding geo-referencing? I'm also open to recipes using ...
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 ...
0
votes
1answer
295 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 ...
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.