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)

1
vote
1answer
3k views

Where to find World Latitude and Longitude Grid (arctic circle, equator, tropics..) in shapefile/ e00?

i was wondering if you could teach me how to find World Latitude and Longitude Grid (arctic circle, equator, tropics..) in shapefile/ e00? I saw some of these datas affiliated with universities but ...
0
votes
1answer
951 views

How can i add sharpmap to visual studio2008?

i have just installed visual studio 2008. and i want to add sharpmap or any other tool so that i can add shape file in .net. I have selected sharpmap because by the search i have got that sharpmap is ...
1
vote
4answers
293 views

How to work with NREL data in QGIS?

I would like to use QGIS to display solar data from NREL. The file is supposed to provide solar radiation data of Colorado. However, I have some trouble to select this data in QGIS: In QGIS, I select ...
12
votes
2answers
3k views

API documentation for Gdal/Ogr with C#

I want to assign projection to shapefile in my web C# application, for this i am using Gdal/OGR/OSR C# bindings and add osr_csharp.dll and ogr_csharp.dll references. But i am facing some difficulty ...
3
votes
1answer
1k views

C# Library for converting Shapefile Projection

Is there any C# library which can take a shapefile as an input with projection information defined (e.g, EPSG 3011) and return a new shapefile with user specified projection (e.g, EPSG 4326) ?
1
vote
2answers
489 views

NA values in dbf when exporting shapefile from R with writeOGR?

I´m writing an esri shapefile from R (2.14.1) on windows, using writeOGR in the rgdal package, in the resulting dbf file, NA values in the spatialpointdataframe (in numeric columns) are not translated ...
2
votes
1answer
918 views

What is the most efficient way to create a shapefile from resultset using geotools

I am facing a problem to write to shapefile (geotools) with respect to time, memory etc. My workflow is something like reading spacial data from database Oracle with attributes and coordinates (can ...
4
votes
5answers
2k views

How to add a projection to a Shapefile using open-source tools?

I have been given some shapefiles WITHOUT a projection. So I need to add the projection in order to display it on google map. I found the projection information I need at ...
2
votes
1answer
605 views

How to write to shape file in MapGuide

Here the code I have written to a Shape file in MapGuide Open Source (in PHP running on IIS 7.5). The code is actually the modified class MarkupEditor (markupeditor.php) from the General Tracks (Gt) ...
7
votes
3answers
4k views

How to delete multiple selected polygons at once?

I'm new at this, a novice at best. I'm using QGIS 1.7.3. I simply want to select a large number of polygons on screen and hit the delete key to delete them and resave the shapefile. Can this be done?
10
votes
3answers
14k views

How to convert .shp to .csv including attributes AND geometry?

I have a .shp file with 60k+ entries, all of which are polygons with corresponding attributes (acreage totals, landowner names, tax ID #s, etc.). What I ultimately need is a .csv file with all of ...
3
votes
3answers
5k views

How to extract latitude/longitude values for specific points from a shapefile?

I have obtained public crash data for the state of Minnesota. I would like to be able to programmatically extract the latitude/longitude of each crash using this data in combination with a series of ...
15
votes
4answers
13k views

How to open a Shapefile in R?

I need to open a shape file from ArcMap in R to use it for further geostatical analysis. I've converted it into ASCII text file, but in R it is recognized as data.frame. Coordinates function doesn't ...
5
votes
3answers
6k views

How to convert coverage (.adf) to shapefile?

Is there any tool or software except ArcGIS which I can use for converting coverage (.adf) files to shapefiles?
1
vote
0answers
471 views

How to fix QGIS Server internal server error when using shapefiles?

i read all the questions with 500 server error i could find on the net but nothing seems to solve my problem: I installed qgis and all depending packages on a debian server. The first ...
23
votes
6answers
1k views

“Oddities” in the Shapefile technical specification

I've been writing a shapefile parsing library, and have encountered a couple of design decisions in the specification that I don't immediately understand. I'm hoping there's a wizened old ESRI ...
1
vote
1answer
2k views

How to generate shape file from Excel or CSV files? [duplicate]

Possible Duplicate: How can I convert an excel file with x, y columns to a shapefile? Probably this could be an easy question for most of the people. But I would like to know the way to ...
2
votes
1answer
812 views

Shapefiles on WMS Server

I've been reading about using WMS servers to server shapefiles. When a server does support shapefiles over WMS, what format does the client download the shapes in? Will it typically be an image format ...
3
votes
1answer
490 views

Extract data from QueryLayer to Shapefile

I have a QueryLayer that I need to export as a shape file. This was previously implemented as an ArcSDE feature class which we converted to a QueryLayer (running against SQLServer) in order to have ...
6
votes
1answer
2k views

Spatial distance join between polygon and points using R?

I'm figuring out how to do a Intersection (Spatial Join) between point and polygons from shapefiles. My idea is to get the closest points and those points that match completely inside the polygons. In ...
8
votes
4answers
1k views

Is there a mapping between OGR and python data types?

I'm writing a shapefile using OGR in python, creating fields on-the-fly from a python data source. Creation of a new field requires an OGR data type, is there a mapping between OGR and python data ...
2
votes
1answer
432 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
570 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
864 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
635 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
714 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
830 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
1k 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
605 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
5k 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
532 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
19k 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
86 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
816 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
754 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
750 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
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: ...
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
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 ...
6
votes
2answers
750 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
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
755 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
327 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 ...