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)

-3
votes
1answer
144 views

Exporting file geodatabase (GDB) to Folder of shapefiles?

I have a geodatabase with several feature dataset and feature classes associated with it. I want to export each feature dataset as folder and feature classes associated with each feature dataset will ...
-3
votes
2answers
156 views

Batch Conversion software for latitude and longitude into shapefile format [closed]

I have a huge list of latitude and longitude and I want them to be converted into a shapefile format using some batch processing.
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?
13
votes
3answers
6k views

Free tool to convert .lpk to .shp file

I have a .lpk file from ESRI that I would like to convert to a shapefile. How can I do this, using only free software?
8
votes
2answers
2k views

How to count points in shapefile within polygons of another shapefile?

I'm creating a map with two shapefiles. One is a polygon of counties. The other is points of cities. I used the function intersect to group the cities in each county. I'm trying to get the number ...
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?
6
votes
2answers
1k views

GeoServer: Shapefile or PostGIS?

I'm going to build a web application, which will render around ten maps using GeoServer. I will be also changing the attribute data in the application for some layers. So, what is the recommended ...
6
votes
1answer
2k views

Updating Lat/Longs and actual position of point shapefile

Greetings everyone, quick question regarding lat/longs and updating a point features actual location. I have a point shapefile with over 3000 points that are updated frequently, when they are updated ...
5
votes
2answers
686 views

How to access Shapefile metadata using OGR?

I'm trying to use ogrinfo to get some details on a shapefile I downloaded. Currently, the only way I know how to do this is to load it into QGIS and manually click around to find any information on ...
5
votes
1answer
282 views

ogr2ogr selecting features by attributes

I am writing a shapefile after some processing; however, in the final step I need to do some selection by attributes from the the shapefile. I am using the command in a shell with the aim of using it ...
5
votes
3answers
457 views

Can we merge shapefiles with different geometries (point and polygon) to get a single layer which shows both geometries?

I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map.
5
votes
1answer
740 views

Using ArcPy to batch merge based on shapefile name?

ArcGIS 10 SP4 Python 2.6.5 I have quite a few shapefiles that are in many different directories. I'd like to pull out groups of like shapefiles, merge them, and move the results into a FGDB. I've ...
5
votes
1answer
3k views

Use python to add layers to TOC

I've been battling with adding layers to the TOC for some time now. I have managed to single layers added but need to loop through a folder and add all layers. Shapefiles I cannot get to add at all. ...
5
votes
3answers
1k views

How to produce a singlepart featureclass with unique IDs for each spatially non-connected polygon?

What is the best method to convert a singlepart shapefile (i.e. one record that contains several non-connected polygons) into a mutlipart shapefile? --EDIT For clarification the original question ...
5
votes
2answers
1k views

Shapefiles for U.S. Area Codes (NANP)

I have a bunch of telephone numbers (just the area codes), and I'd like to geolocate them and make a map, but I haven't had too much luck googling for shapefiles for Area Codes. Surely these are in ...
5
votes
3answers
1k 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 ...
4
votes
3answers
525 views

Best choice for building static maps: PostGIS, SpatiaLite or Shapefile?

I usually build static topographic maps, which are mostly printed. I'm often using OSM and rasterfiles (mainly different DEMs). The areas I'm mapping seldom exceeds 20.000 km². I'm using exclusively ...
4
votes
4answers
2k views

Updating 30 Shapefiles, adding attribute and populating based on data

I need to add an attribute to each shapefile attribute table in ArcMap, I was thinking to do it in SQL, but I'm not sure how to go about doing it since I'm very new to ArcMap. Can someone explain to ...
4
votes
2answers
1k views

merge shapefile using ogr2ogr and retrieve the attribute of both

Ciao, I have two shape files that I want merge (overlay/intersect) having in the destination the attributes of the two sources file. ogr2ogr file_merged.shp tl_2010_us_uac10_conus_albersUA.shp ...
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. ...
4
votes
1answer
3k views

Converting tax map polygons from Shapefile to table of map number and corner coordinates

Fairfax County, Virginia provides a Shapefile here which shows the boundaries of the tax maps as polygons. Each polygon simply consists of four corners, and what I'd like to do is create a table ...
3
votes
2answers
46 views

Digital Elevation Model and Shapefile not aligned in openWind

I have a digital elevation model and a shapefile containing point features for the location of wind turbines. These two layers appear to be aligned in QGIS but when I open them in openWind, they are ...
3
votes
2answers
351 views

Join a CSV file to shapefile using gdal/ogr?

I have a shapefile with several attributes, for example YEAR, COUNTY, and AREA. I also have a CSV file with more fields that I want in the shapefile, such as POPULATION. Both the shapefile and the CSV ...
3
votes
1answer
89 views

Most efficient way to batch clip in FME?

I have one large shapefile and 100 smaller shapefiles that are smaller areas within the large shapefile. Using the Clipper transformer, I want to clip the large shapefile using each of the smaller ...
3
votes
1answer
431 views

How to convert all shapefiles in folder into KML using ArcPy?

I was trying to convert all the shp in a folder into kml. featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses: # Set Local Variables composite = 'COMPOSITE' pixels = ...
3
votes
1answer
199 views

Divide shapefile

I'm new working with QGIS 1.8.0 and wanted to know if its possible to subdivide a map (shapefile, which is round-like) into small squares but following the outer round contour of the map? I tried with ...
3
votes
5answers
2k views

How to convert KML with tracks to Shapefiles?

I downloaded a KML track from Google Latitude. The service allows to download the tracked route from the user's profile providing a link such as: ...
3
votes
2answers
137 views

I am unable to draw a shape layer

When I add a new shape layer or want to edit an existing one, nothing is happening. I even don't see the dots where I'm clicking. Maybe the problem is I deleted some layers (by opening the .qgs as a ...
3
votes
1answer
1k views

How to convert jpg file to shapefile? [duplicate]

I am developing a GIS application like this: By now my steps are: I have got a jpg file, 5040 x 8179 dimension. In this map, the roads, rivers, towns etc. are marked. I am using .Net to develop ...
3
votes
4answers
1k views

What are the advantages either way between GML and ShapeFiles?

After a good start many months ago of getting into GIS through QGIS, I had to drop what I was doing and did not touch it for quite some time. I am now able to get back into it and have a need to load ...
3
votes
1answer
130 views

Points warped when exporting to shape

I have recently purchased a Trimble GeoXH (used) and have done a few surveys. I have done differential correction in Trimble Pathfinder Office and all points seem fine. When exporting to shape and ...
3
votes
1answer
2k views

How to export shp to kml?

I already browsed your FAQs, and could not come up with a good answer, I am trying to export shp files to kml to be placed on Google Earth. On a previous version of QGIS it was as simple as right ...
3
votes
3answers
688 views

How to merge a large amount of polygon-features in a script?

We have a very large shapefile with over 30000 features and want to merge it with a script on a server. Currently we try it with QGIS, but the processing takes way too much time. Is there a way to do ...
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 ...
3
votes
2answers
413 views

mapserver displays raster image in mirror

I've installed Mapserver and used a map file to set a raster layer and vector(shp) layers on top of it. However, although displayed in the expected order, the png file is displayed in mirror(compared ...
2
votes
5answers
232 views

Unable to export data to ShapeFile in ArcGIS

I've imported an Excel sheet into my ArcGIS project but am unable to convert this to a ShapeFile. When I try, via export data, I get an error message saying either 'output name is not valid', whatever ...
2
votes
4answers
216 views

Polygon Shape Data for North America

Does anyone know where I can get data like this for north America (for use in SSRS). It does not have to be exploded. If I add Bing maps my 36 page PDF is 250MB when exported!
2
votes
3answers
253 views

How can I work with very large shapefiles (~1 GB) in QGIS?

I'm performing some basic spatial analyses on a large database of traffic injuries in California between 2003 - 2011. Because the dataset is large (nearly 1 GB of points), I'd like to first cut it ...
2
votes
1answer
58 views

Valid values of mollweide projection in QGis

i just imported a vectorlayer (without any reference points) to qgis as mollweide projection to save it to longlat. What i am wondering about is a mathematical problem: Not every x,y coordinate on the ...
2
votes
1answer
149 views

Why is shapefile not drawing in expected location after (or before) using Define Projection tool? [duplicate]

I have downloaded this zipped shapefile of bus routes from the City of Houston data portal. I then performed these steps in ArcGIS Desktop 9.3.1: Extracted the shapefile from the *.zip Added this ...
2
votes
2answers
299 views

Convert shapefiles in nested folder to geodatabase

I currently have approximately six hundred old .mxds, and all the data source links are broken due to an upgrade in the GIS computer. In the past, all the spatial data was stored as shapefiles in ...
2
votes
2answers
179 views

How to convert Point coordinates into CSV format?

The GDAL documentation describes how to convert a ShapeFile into CSV data. The layer create options (-lco parameter) allows to prepend the coordinates of Point features to the actual attributes ...
2
votes
1answer
110 views

Problem converting coordinates

I'm trying to convert punctual values from lat/long to EPSG:6372, a projection for Mexico, defined by the Instituto Nacional de Estadística y Geografía (INEGI). I found a converter online but somehow ...
2
votes
1answer
2k views

Importing shapefiles to SQL Server

I often use the brilliant SQL Server 2008 Spatial Tools to import shapefiles into SQL Server 2008. This works absolutely fine but it leaves me wondering, how do Microsoft expect end users of SQL ...
2
votes
1answer
2k views

How to resize shapefile features proportionally in QGIS?

In Quantum GIS (1.8.0-Lisboa) on Windows (OSGeo4W Install), how exactly would you resize a feature proportionally. The only way I've found to do this is by hand using either the Freehand Editing ...
2
votes
1answer
284 views

OGR - Weird GeomType -2147483645 on polygon shapefile

I am trying to import a shapefile (multipolygon) in an app with ogr but I got an error about invalid geom type. If I inspect the data with ogr like this: datasource = ogr.Open("c:\\temp\\data.shp") ...
2
votes
3answers
10k views

How to convert shape files (.shp) to Cad (.dwg ) format using Quantum Gis 1.7.0?

How to convert shape files to .dwg format using Quantum GIS 1.7.0 ? Thank you
2
votes
2answers
592 views

Problems converting CSV to Shapefile using pyshp

I have a python script which converts csv data to shapefiles. It converts but won't get angle from csv. Can anyone help me? The CSV data looks like this: fid_nr;x;y;angle ...
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
1answer
612 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 ...