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)

6
votes
4answers
2k 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 ...
2
votes
1answer
224 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 ...
2
votes
1answer
97 views

Coordinates are not aligning

The two shapefiles (shp) are not aligning like they should (note the img). The layer and the two shp files have all the same coordinates - NAD_1983_StatePlane_North_Dakota_North_FIPS_3301_Feet The ...
3
votes
3answers
1k views

How to transfer data from spreadsheet into shapefile?

I am looking at Deprivation in the UK and there is some good data in the form of spreadsheets on this website http://www.communities.gov.uk/publications/corporate/statistics/indices2010 I would like ...
19
votes
4answers
6k views

How do you determine a shapefile's charset?

Is there a way to determine the charset used for a given shapefile?
5
votes
3answers
1k views

Fastest way to merge a feature

I am writing a arc engine application that can take a shapefile, and merge a set of polygons together. Here is the code that I am using to merge the polygons: private static void mergeFeatures(...
2
votes
2answers
2k 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
1
vote
1answer
163 views

How do you search for a particular attribute from the attributes table?

I am working with a postcode shapefile which has over 8000 attributes and wish to search for particular attributes without having to scroll through thousands of others, is there a way of searching and ...
8
votes
4answers
2k views

Fastest spatial storage format?

I am wondering what storage method will result in the fastest reading of the map vectors for rendering. SHP? PostGres? SQLite? (They do not change often and I do not need spatial functions for these ...
3
votes
2answers
968 views

Getting/downloading shapefile from OpenLayers/Web page and saving to local disk

I have developed a web application where i am using GeoServer and OpenLayers. I have displayed some Layers over Google map in a ASP.Net Web Page. I want to know is there any Method or Script available ...
0
votes
1answer
328 views

Where to get raster files of Earth, united states [duplicate]

Possible Duplicate: Open access repository of general GIS spatial data? I'm brand new to GIS programming so please excuse my lack of knowledge. I am developing a GIS web app using MapGuideOS ...
2
votes
6answers
7k views

Error importing Shapefile to PostGIS using Importer GUI

I'm trying to import a shapefile into a PostGIS database using the graphical importer. I just installed POSTGRESQL, and PostGIS. The GUI looks like this: After testing that my database worked, I ...
1
vote
1answer
91 views

Online resources for creating shp files performing basic GI functionality

I am looking to build polygons, based on files containing a grid of points. The representation of the polygon would be an aggregation of the points. As the end wares are ESRI, I was wondering if ...
1
vote
1answer
833 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 ...
3
votes
1answer
309 views

Polygon Shared Boundaries in GML

Last week I was told on a phone conference that GML supports shared boundaries in Polygon's. I have been unable to find any documenatation to substantiate the claim. Here is the situation: I have a ...
2
votes
2answers
417 views

Shapefile CRS changed after exporting from QGIS. Are they equivalent?

I added a shapefile as a vector layer in qGIS 1.7 so that I could join in additional attribute data (not geodata) from another DBF file. The Shapefile that I added has this CRS (as far as I can tell ...
4
votes
1answer
2k views

Extract parcel layers from vector pdf

So, I have an interesting problem... I have a PDF file which has over 100 pages and each of these pages is displaying a map in vector format. By using some third party program I was able to find out ...
4
votes
4answers
9k views

Tool for converting .shp file to .tab file?

I am searching for any free tool which can convert ShapeFile (.shp) to MapInfo (.tab) file.
5
votes
3answers
3k views

Python: Combine multiple Shapefiles

i have got a lot of Point-Shapefiles (r20010101.shp, r20010202.shp, r20020101.shp...). Each of them has the same amount of points at exactly the same location. In a column that is named after the Date ...
2
votes
0answers
2k views

Adding shapefile causes ArcMap Drawing Errors (General function failure)

I am creating a map that is a hodgepodge of databases, stand alone shapefiles, and a couple image services. Everything seems to go as expected until I add a certain shapefile to the mix. Then all of ...
1
vote
1answer
553 views

Using kriging with data in GDB

I have series of data in my GDB I am running the program under VBA and what I want to do is using the data by the tool Kriging. This is what I thought: First, Kriging needs data that must be a ...
5
votes
1answer
3k views

Extracting Lat/Lng from Shapefile using OGR2OGR/GDAL [closed]

I'm trying to extract lattitude/longitude values for the streets in this shapefile: http://gispub02.sfgov.org/website/sfshare/catalog/stclines_streets.html I've seen it reommended in many places that ...
4
votes
1answer
1k views

Convert from shapefile to GPX with selected attributes

I have a points shapefile that originally came from a GPX file (imported using QGIS). The original GPX file contained waypoints only and has disappeared. The shapefile has many attributes, but only ...
13
votes
7answers
21k views

Where can I find a shapefile of city boundaries in the US?

Where can I find a shapefile that contains boundaries for the major cities in the United States? I have tried the census website but could not find anything.
23
votes
2answers
4k views

Python Efficiency — Need suggestions about how to use OGR and Shapely in more efficient way

I'm looking for some suggestions about how to make my python code more efficient. Normally efficiency doesn't matter for me but I am now working with a text file of US locations with over 1.5 million ...
8
votes
3answers
7k views

Converting Shape Polyline-M to Polyline using ArcGIS Desktop?

I have some pretty old software that I am forced to use (no option). It's old enough that it doesn't recognize shape files of type Polyline-M, it only recognizes shape files of Polyline. I have a ...
6
votes
3answers
3k views

2010 Census Tiger County shp file with defined coastal land area

I am looking for a 2010 Census Tiger Shape file that hugs the coastline and doesn't include the ocean in county boundaries. I have a pre 2010 file that did this and I can't seem to find a 2010 ...
7
votes
3answers
325 views

How to check if parcel is located by golf course

Is there any simple way for me to run millions of parcels through some type of script to see if a shape file parcel is on a golf course? For example if I have a layer that has all the golf courses and ...
14
votes
7answers
4k views

Free tool to simplify parcel shapefiles?

Is there any tool available which let's me run millions of parcel shapefiles and simplify them?
9
votes
4answers
440 views

Identify corrupt shapefiles or rasters via Python or ArcObjects

I'm interested in a way to identify rasters (e.g., ESRI GRID format) or shapefiles that are corrupt that would prevent them from being used in an analysis tool. I have a large number in structured ...
5
votes
2answers
1k views

Converting feature class with domains to SHP file

I have a feature class which has coded value domain associated with it. The code and the description are different. For example, I have coded value domain for pipe diameter. For pipe diameter of 8" I ...
3
votes
5answers
4k views

Export shp spatial data to Corel

Hi I need an printable administration map of a country. I would like to use it in Corel Draw for some colour manipulations and poster printing. I have found the map on http://www.diva-gis.org/ but it ...
0
votes
2answers
549 views

How to find the Local Government Area name using lat/long?

I'd like my iPhone app to respond to the device owner with his/her Australian LGA (local government area) name using their lat/long. I've found this page below with a Shapefile: http://www.abs.gov....
7
votes
2answers
3k views

what is the best way to programmatically convert between WKT and Proj4 string?

some shapefiles have a .prj file associated with it. and the .prj file contains the projection info of the shapefile in the format of WKT. Sometimes I need to convert WKT to proj4 string, and ...
6
votes
3answers
926 views

Using Google Earth Enterprise & ArcGIS platform together?

I have been fielded a few questions about Google Earth Enterprise (GEE) -which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be ...
2
votes
1answer
2k views

cad drawing overlay

I want to overlay a cad drawing on a google map using geoserver. Any tips on how i can do this. Do i need to convert to cad file to a shapefile. Im presuming i do. If so what tools are available ...
2
votes
1answer
970 views

Export from SDE to SHP in ArcGIS 9.3.1 - problem: not exporting all fields

I'm exporting a layer from SDE to SHP by python script, and I'm doing it in 2 phases: the first includes select by location (for picking the relevant features) and the second phase includes the Select ...
0
votes
0answers
367 views

Extract Points from a Shapefile [duplicate]

Possible Duplicate: Shapefiles to Text I have several shapefiles from which I need to extract all of the points, with all of their attributes, including position coordinates. I only have ...
3
votes
4answers
4k views

ogr2ogr, convert from shp to postgis error

I am trying to import a shapefile into PostGIS using the ogr2ogr tools that are built into the FWTools package. In my import process I am receiving an error that I don't know how to deal with. ERROR ...
48
votes
11answers
22k views

Identifying Coordinate System of Shapefile when Unknown?

I have a Shapefile but its coordinate system is Unknown, and there is no *.prj file. How I can identify it now? Are there any tools that could help?
9
votes
7answers
14k views

Fixing corrupt shapefile?

I have a shapefile that I was working on in ArcGIS Desktop 9.3 get corrupted somehow and it gives me the error "Number of shapes does not match the number of table records.". What I would want is to ...
27
votes
4answers
5k views

Bulk load multiple shapefiles into PostGIS

I've got over a hundred data layers in shapefile format that I want to upload into a PostGIS database. They are all in the same projection, but represent different data layers so they do not have the ...
3
votes
2answers
262 views

Programmatically reordering ArcGIS layers

I programmatically create several layers for my map and I want my layers to be on top of the layers from the original map. Is there a way I can do that? I also want to be able to put "bring forward/...
2
votes
1answer
415 views

Loading texts with shapefile in ArcMap

I am currently trying to load different shapefiles in ArcObjects programmatically. Currently I can load lines, polylines, polygons and ellipses (even though that's just a fancy polygon as far as ...
4
votes
5answers
1k views

Converting LatLng coordinates to point shapefile

I have more than 50,000 LatLng coordinates defined under SWREFF99 1800 projection. I want to know, is it possible to convert these coordinates into a point shapefile ? if yes, then how can I do this ?
4
votes
2answers
3k views

ogr2ogr srs options: where is the well known definition determined?

In the ogr2ogr documentation it says that when using -a_srs srs_def: Srs_def can be a full WKT definition (hard to escape properly), or a well known definition (ie. EPSG:4326) or a file with a WKT ...
2
votes
2answers
246 views

Project geometry features upside down

I have shapefiles containing polygons and lines that are used in a mapfile for projecting them through Mapserver. Is there a way in changing the projection of the layers by 180 degrees(i.e. upside ...
18
votes
4answers
12k views

How to add attribute field to existing Shapefile via Python without ArcGIS?

I have a Python script that adds an attribute field to a Shapefile if doesn't exist. This is easy to do with ArcGIS (graphically or via Python), but I'm looking for something that doesn't depend on ...
4
votes
3answers
1k views

Looking for a way to change the default shape file label in ArcGIS 10

Is there a way to change ArcGIS's default shapefile label Font: Aerial Size: 8 to something we are using over and over again? As shown in attached screen shot, i'd like to include a label expression ...