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
3answers
931 views

Centralizing shapefile data into database

I've got hundreds of shapefiles from various different GIS projects that I want to start consolidating into a single database platform, currently attempting this with Postgres / PostGIS. Hardly any ...
0
votes
2answers
136 views

What GIS software did you purchase to work with Tiger data?

It looks like in Tiger line file the user must have mapping or Geographic Information System (GIS) software that can import TIGER/Line data. Has anyone worked with the TIGER/Line data. What GIS ...
2
votes
2answers
128 views

Why does exporting labels with buffers take so long?

I set white borders for text (city names) in qgis. If I export the map without white borders it exports quite quickly (png 600 dpi). If I set the white borders it takes hours! Is there any way I can ...
1
vote
2answers
1k views

shape file coordinate system

I added a shape file of Iran to Qgis. 'Tehran' has 35.6833° N, 51.4167° E coordiantes, however Qgis shows Tehran with 4772860,31296767. How i can view coordinates of a city or location in latitude ...
0
votes
1answer
715 views

Openlayers shapefile polygons hover effect

I have shapefile polygons. I'm using OpenLayers with OpenStreetMap tiles. Is it possible to create hover effect which will show up info window with some informations about that polygons? Is it the ...
2
votes
1answer
382 views

to extract 3d points from a shp file

I'm trying to work with the shapefile on python, the file " donnees.shp" contains 3d points I need to extract attributes from this file but my code returns an error: >>> import shapefile ...
2
votes
1answer
368 views

How to calculate the Zone of Impact using OpenWind

After downloading OpenWind, I am trying to calculate the ZVI for a single Turbine. There is no documention regarding this from the developers. At this point I just want to compare the output of the ...
2
votes
3answers
1k views

Rendering a shapefile with a custom projection in GeoTools

I have an image, a shapefile, and a method which can translate an x/y pixel location from the image into a latitude/longitude point or vice versa. I'm trying to use Geotools to render the shapefile on ...
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 ...
5
votes
0answers
54 views

How are the edges of a polygon defined? [duplicate]

Possible Duplicate: Are long lines in shapefiles to be considered geodesics or straight lines in the 2D latlong space? In various representations, such as shapefiles and kml, polygons are ...
3
votes
1answer
234 views

Is there no EPSG code to use for Behrmann equal-area projection in ogr2ogr?

I'm trying to use ogr2ogr to reproject some shapefiles. The projection I wish to use is Behrmann equal-area. I cannot find an EPSG code to use for the '-t_srs' part of the syntax. Is there any way ...
16
votes
3answers
3k views

How do you determine a shapefile's charset?

Is there a way to determine the charset used for a given shapefile?
2
votes
3answers
995 views

Transforming a polygon to ESRI shapefile?

First, apologies - I am a complete newb at this stuff and don't know what I don't know. I may use incorrect language. Essentially, I want to convert the shapes in a Microsoft Visio diagram into a ...
1
vote
3answers
584 views

Getting Field value for a given coordinate out of ESRI Shapefile using GDAL/OGR

I have a bunch of ESRI shapefiles that contain Land Cover data across Canada (provided by Geobase). I need to query the files and obtain the value of a certain field (called COVTYPE) in a given ...
2
votes
1answer
204 views

Cant' Find DotSpatial.Geometries.dll

I am trying to follow a simple tutorial on Dotspatial web page "Sample code that demonstrates how to create a Multi Polygon Feature Set" I add the DotSpatial.Data.dll to the project References but I ...
13
votes
4answers
323 views

Are long lines in shapefiles to be considered geodesics or straight lines in the 2D latlong space?

Is there a definition on how lines connect vertices in the shapefile format? In the simplest case, imagine a line with only 2 points, from 40,-118 to 40,-112 - that's somewhere random in the US - ...
2
votes
1answer
390 views

Splitting large shapefile into numerous smaller files based on number of objects in each smaller file

I have a shapefile containing approximately 600 000 point-objects. Unfortunately, for a couple of reasons I need to split this file into a larger number of shape-files each containing approximately ...
4
votes
2answers
1k views

Using QGIS, how can I add a bounding box attribute?

I have a shapefile where I am exporting the features to GeoJSON objects with ogr2ogr based on a simple where clause. One thing that I would like to be included in the GeoJSON object is the 'bbox' ...
2
votes
1answer
2k views

Why is my .prj file not being read by QGIS?

First off, I am new to GIS. I am using qgis (1.8.0), and have been given a shapefile containing .shp, .prj, .shx, .dbf, however qgis will not load the .prj file stating an invalid data source. ...
2
votes
3answers
805 views

How to compare and report the shift between two shape files

Ok, I have two shape files.One is an original route polyline file and another is an updated polyline file, where the shape is modified to google maps. How can I compare the updated shape file with ...
4
votes
1answer
827 views

How does QGIS handle opening files and how can I improve this?

We are using shapefiles with a large attached database to it (162 Mb for 133000 features) Opening this shape file on a remote server takes about 5 minutes whereas DivaGIS takes 7 seconds for the same ...
4
votes
2answers
1k views

Dividing Earth into continent polygons

Is there a simple (low res is fine) polygonal data set that divides the entirety of Earth's surface into continents, with no overlap and no area excluded? Specifically: North America, South America, ...
-1
votes
1answer
239 views

Finding the area of a polygon feature in a shapefile [closed]

Excuse the very simple question. How do i find the area of a selected polygon feature in a shapefile?
2
votes
2answers
566 views

Where can I get a multipoint shapefile?

I'm trying to find a multipoint shapefile to do some testing for an application I'm working on, but I cannot seem to find one (and do not have ArcGIS to create one). Can anyone suggest a place to find ...
2
votes
1answer
617 views

How to meassure the length of common edges between polygons?

I have a shapefile that contains several polygons which in fact represent the limits of several counties. My task is to find each length of each shared border. So in other words I want to know how ...
4
votes
2answers
807 views

Python - Check for number of shapefiles in a directory

I want to test: to see whether or not ONE AND ONLY ONE shapefile (which will be based on a filename wildcard) exists in a directory. Add these shapefiles to a list Use this list variable as an ...
3
votes
1answer
140 views

Spidertracks to GIS

I have some data that will be comming to me from helicopter flights and was recorded with Spidertracks software. Does anyone know how to convert flight tracks from 'Spidertracks' gps flight tracks ...
4
votes
1answer
9k views

How to import shape file into SQL Server 2008 R2 using only SQL scripts?

I am trying to import some shape files into SQL Server 2008 R2. I found this useful tool called Shape2SQL however I am not sure how I can import shape file directly using only SQL scripts as this is ...
1
vote
1answer
282 views

problem after merge shapefiles, can't show it on OpenLayers with GeoServer

I have 5 .shp files, after merge it with geomerge, I can't use it on OpenLayers with GeoServer. it's only show white layer and when i click it, it show error message: Internal error occurred ShapeType ...
3
votes
1answer
370 views

Python: shp file to GML using OGR

I am trying to convert a shapefile to GML 3.1.1 . I am using gdal 1.9.1 however the GML conversion it generates for a geometry feature is GML 2 and it also swaps the long/latitude coordinates. Are ...
5
votes
3answers
7k 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?
3
votes
1answer
825 views

How to save a newly created shapefile in PostGIS?

I am creating shapefile using shapefile.py and my database has records more that 65k which is the limit of the shapefile. How can I create shapefiles then? Is it possible that somehow I am able to ...
2
votes
2answers
2k views

Create points from lines

I used the Bearing Distance to Line command (Data Management) in arc to convert UTM coords (i.e. of a plot center), bearing and distance to the figure shown below. The end of each line represents a ...
4
votes
9answers
11k views
3
votes
1answer
549 views

Polygon with the same points over and over

I am in the process of reading shape files (provided to us by the vendor dealing with GIS products) using a C# program and loading them into a SQL database. I first read the text for the shape and ...
1
vote
1answer
631 views

Aligning coordinate systems: gpx, LiDAR, shapefile

I am working on a project based on a lidar data set (for use in LidarViewer in Linux, a basic x,y,z viewer) that was downloaded from #1 below at Opentopo.org and looking to add onto this data set with ...
0
votes
1answer
269 views

one row is discarded while importing shapefile into postgres

Please help me in following issue. I need to import a polyline shapefile into Postgres9.1 through shp2pgsql command.When i did like this, i got an error as "NOTICE: CREATE TABLE will create ...
5
votes
1answer
129 views

Tools for discovering spatial data defects

Spatial data often have defects that may include incomplete polygons, sleathers (non-uniform administrative boundaries), overlaps, having points that belong to more than one polygon, etc. I have a ...
3
votes
2answers
151 views

Selecting a suitable GIS for my project

I need to develop a web-based map using existing shape files. Using the web-map, we must be able to select a region and produce contours for that selected region. Can any one suggest the best open ...
4
votes
2answers
4k views

Arcpy - How do I specify the precision and scale of a new field?

I'm wanting to create a field with a maximum of 1 decimal place and then calculate a value into it: (I know that all my values are < 10) arcpy.AddField_management('C:/shapefile.shp', 'myField', ...
2
votes
1answer
406 views

QGIS apply style to shapefile

I'd like to create a Categorized style in QGIS, classify with it data in a shapefile and then save the shapefile with the new categorized style. Is it possible?
1
vote
2answers
181 views

How to have a nullable field included in a shapefile using the Geotools library?

I am trying to add a new field to a shapefile and need it to store null values. But by using SimpleFeatureTypeBuilder from the Geotools library and then using the Add command, it is not giving the ...
1
vote
3answers
598 views

Automatically assign numbers to point file in various order in QGIS

I know how to automatically assign numbers to a new point files using the $rownum function in the field calculator. However it does it from the top-left over and down like reading a book. I could ...
0
votes
0answers
51 views

ESRI Shapefile to ARCGIS Javascript JSON format [duplicate]

Possible Duplicate: How to convert SHP into GPX or JSON? We're in the proces of adding a new feature to our Web Application where we employ the use of ESRI's ArcGIS Javascript API alongside ...
8
votes
4answers
1k 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 ...
4
votes
1answer
1k views

Move .SHP from .MXD to gdb [duplicate]

Possible Duplicate: How to move SHP to gdb with ArcView license? Let's cut it short, I have numerous mxd with layer coming from .SHP and various servers WMS that I need to move to a gdb. ...
6
votes
2answers
957 views

Is it possible to change the field length of a shapefile to over 255?

The maximum field length that I can specify is 255 and because of that I'm having problems with the input attributes, which have a size greater than 255. What alternatives are there for having longer ...
2
votes
1answer
1k views

Basic User Questions: Tracing a Border in QGIS

The project: I'm plotting a dilapidated cemetery, I'm using GPS waypoint data to plot the headstones in QGIS. The map I'm making is to show the orientation of the graves, and who is in them. I ...
1
vote
3answers
833 views

Update shapefile data source with wildcard using python

I am attempting to update a layer's data source in Arcmap using python for lyr in arcpy.mapping.ListLayers(mxd, "*", df): if lyr.name == "project_whl": ...
2
votes
2answers
837 views

Unable to create shapefile using shapefile.py

I am trying to create shapefile from csv data using shapefile.py but i am constantly getting this error, Traceback (most recent call last): File "createShp_Davis.py", line 31, in <module> ...