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)

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 ...
4
votes
1answer
364 views

How to customize QGIS for vehicle tracking?

I'm doing a project on vehicle tracking using GIS - for that I'm using the open source software package QuantumGIS (QGIS). I would like to know how to customise QGIS using the python console to edit ...
3
votes
1answer
3k views

Free data with good accuracy of Europe and Mediterranean

I'm searching for free data like Europe's coastline and Mediterranean island's names etc. but with good precision. I found some shp file from this site http://www.naturalearthdata.com/downloads/ but ...
6
votes
1answer
3k views

GIS, R and shapefiles

I have some data that encodes locations in certain countries, such as the US and China, that I would like to map. The data includes location name in Latin, extended Latin and other scripts (Japanese, ...
3
votes
2answers
2k views

Using PHP to create a GIS Web application

I've developed many GIS Applications using ESRI ArcGIS 9.3 and 10.0 for ASP.NET . I'm wondering if i can do a GIS application using my SHAPE files and Pure PHP scripting . I've googled for that ...
1
vote
1answer
2k views

merging 2 polygon adjacent to each other using R

I have several shp files which are the components (or tiles) of a map, I have joint all these tiles together to have a large shp file. Then I realized some of the polygon is now splitted into 2 ...
3
votes
2answers
1k views

How to insert geometries from shapefile into existing table?

I'm running into a problem trying to figure out how I should insert a GIS coverage polygon into an existing table. I'm primarily using QGIS and the PostGIS Manager plugin to handle it. After some ...
3
votes
1answer
3k views

Converting kml to shape file via ogr2ogr including all attributes

Here is the example kml file I am using: <kml xmlns="http://www.opengis.net/kml/2.2"> <Document> <name>My Golf Course Example</name> <Placemark> <name>Club ...
2
votes
2answers
175 views

Color a layer of the map based on the location of dots on another layer

Thanks for helping me in GIS 101 Problem #2, now I have followup questions: I created a map as below: The map is created using the following script: ct <- ...
4
votes
1answer
3k views

How to plot points on maps using ggplot2 and R?

Thanks for help me in GIS 101 Problem #1, now I have geocoded a few hospital in Connecticut using google map, I have able to visualize them in QGIS, now I am trying to do it in R. ct <- ...
2
votes
0answers
441 views

How to overlay geographic data from multiple sources?

Being a newbie to GIS, I am trying to create a map using shapefiles and addresses found online, as an exercise. The steps are below: I downloaded a shapefile of Connecticut from the following link ...
1
vote
2answers
447 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 ...
1
vote
0answers
320 views

RadMap for Silverlight reading in Shapefiles

I have created shapefiles now which is basically a couple of polygons representing rooms in a building. They appear fine in QGIS, but when I try and load it into the application (RadMap in ...
5
votes
2answers
2k views

ogr2ogr kml to shp conversion created 184 shapefiles?! What am I missing?

I'm trying to convert this KML dataset of ice arenas to a shapefile using ogr2ogr (GDAL 1.8). After some initial troubleshooting to get the script running, it's creating 184 different shapefiles (736 ...
47
votes
6answers
1k views

Are there any attempts to replace the shapefile?

Recently I've been spending a lot of time converting perfectly good field names like "Percent of citizens age 25 and over with a bachelor's degree or higher" into things like "edbchogtr" to meet the ...
3
votes
3answers
4k 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 ...
3
votes
2answers
4k views

select column in csv file in Python

I would like to study a range of data using the same technique in ArcMAP (it will take too much time to do it one by one ;) !). I've been just recently playing with ArcMAP and Python (which can help ...
1
vote
1answer
2k 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 ...
6
votes
3answers
761 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 ...
1
vote
4answers
277 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 ...
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 ...
3
votes
1answer
967 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) ?
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 ...
7
votes
3answers
3k 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?
4
votes
2answers
6k views

How to change projection and show latitude / longitude in QGIS?

I am new to QGIS and pretty ignorant with the subject, but I want to be able to see the latitude / longitude of a point (with a mouse click) in Quantum GIS. I imported a shapefile (roads of finland ...
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
755 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 ...
0
votes
1answer
498 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 ...
2
votes
1answer
398 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. ...
10
votes
5answers
559 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
839 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
2k 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 ...
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 ...
4
votes
2answers
576 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
654 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: ...
9
votes
3answers
767 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
949 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 ...
4
votes
2answers
314 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 ...
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 ...
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
1answer
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 ...
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
1answer
694 views

projection/pyproj puzzle, and understanding SRS format

I have a shapefile that has a .prj file, with the following wkt contents: ...
3
votes
2answers
661 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
65 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
455 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
7k 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
210 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 ...