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)

7
votes
5answers
10k views

I am struggling to convert .dwg to .shp, ideas?

Any ideas as to how can I convert dwg to shp? I tried Kosmo and gvSIG. gvSIG kind of worked but it seems like I lost information.. in addition everything was converted into lines, no polygons. I can ...
28
votes
8answers
17k views

Open Source Tool capable of reading Esri File Geodatabase (.gdb)?

I have an ESRI File Geodatabase (.gdb) file that I would like to convert to shapefile (or any other non-proprietary format). Are there any Open Source tools to do so?
2
votes
1answer
660 views

I have several layers (polylines and polygons) that are of the same area but they don't overlap in ArcMap as they should, what do I do?

For my GIS project for my class, I have downloaded several vector layers from different websites (polyline of the continental divide, a boundary polygon of New Mexico, a rivers and water bodies layer ...
2
votes
4answers
386 views

mapserver not displaying anything

I've been reading through Tyler Mitchel's Web Mapping Illustrated and also downloaded a copy of the itasca sample from maptools.org. Then created some shapefiles in OpenEV and modified the itasca.map ...
11
votes
5answers
2k views

how can i convert a shapefile to lat and lon boundaries?

i have a shapefile of country subdivisions and i would like to extract an array of bounding lat and lon for each division.. is it possible to do?
11
votes
2answers
3k views

How to add custom Feature attributes to Shapefile using Python?

I am seeking a way to take an existing Shapefile that has a Feature set of 200 countries. Each country Feature has an attribute of "NAME." My objective is to create a Python script that adds an ...
5
votes
1answer
180 views

How display outlines in a Map, only from a scale, but the colored polygon in all scales?

I want to display a shape with UMN-Mapserver. It has different coloured polygons and also outlines. But I want to display the outlines only, from a specific scale. I could add MINSCALE 150000, but in ...
31
votes
4answers
20k views

Which character encoding is used by the DBF file in shapefiles?

Which character-encoding is used by the dbf-file in Shape-files? It seems it is handled different, based on the program and the local encoding-settings of the machine. Which encoding is 'right' - ...
14
votes
6answers
1k views

Creating simple image from vector data

Can anyone suggest a quick (and preferably open source) way to create an image from a shapefile. For example, I have a shapefile containing parcel boundaries, I want to create a png file depicting ...
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 ...
1
vote
2answers
363 views

Programmatically modify MapTip Expression

If I load a layer via a shapefile and set ((ILayer)myLayer).ShowTips = true; How can I change the tip content (I want to point it to a different column or have a expression of multiple columns) ...
3
votes
1answer
604 views

Opening a shapefile with roads, how to display the roadnames?

I am using ((AxMapControl)myMap.AddShapeFile( directory, shapeFileName) To display a shape file which has road data. Now the roads display properly, but the road names aren't displaying. How can ...
14
votes
5answers
2k views

Does Re-Projecting ShapeFile only update content of *.prj file?

if i wish to change the projection of some shapefiles from .. lets say NAD83 (4269) to WGS84 (4326) ... and by using some 3rd party app .... does this mean the .prj file is only updated .. and not the ...
4
votes
1answer
2k views

Mapnik Style Filter on River/Lakes Shapefile attributes (from Natural Earth Data)

As a followup to this question, I downloaded the vector data here: http://www.naturalearthdata.com/downloads/10m-physical-vectors/ and I successfully created the rasterized water/land mask I ...
5
votes
2answers
932 views

How does shp2pgsql define schema?

Can anyone explain how it is that the shp2pgsql loader for loading shapefiles into PostGIS goes about defining the schema for a table when importing a shapefile? To further explain, shapefiles are ...
3
votes
2answers
600 views

TIGER/Line processing

Does anyone know of scripts for merging TIGER/Line shp files? It is for extracting the road features only, but for the whole of USA. They are provided as shp files for one county at a time here: ...
5
votes
1answer
3k views

How to use QGIS to fix an invalid geometry without it telling me I'm not allowed?

I have a shapefile, and it's got a self-intersecting geometry in it. I'd like to fix the self-intersection, but it will require a few moves. When I attempt to move a point using the QGIS edit tools, I ...
1
vote
2answers
2k views

“Item not found in this collection” when trying to set the Shape on IFeatureBuffer

I'm working on code to open a 3rd party data file and convert it into a collection of features in a custom layer based on FeatureLayer. I have had no issue importing the data itself (nodal data for ...
1
vote
2answers
3k views

How can I convert Shapefiles (SHP) to KML? [duplicate]

Possible Duplicate: How can I convert KML to ESRI’s shapefile format? I have SHP files, I want KML files, what tools can convert?
22
votes
12answers
21k views

Converting Shapefiles to Text (ASCII) files? [duplicate]

How can I convert a shape file (GIS) to text? or, How can I extract the information in a shape file?
49
votes
21answers
56k views

Are there any free administrative boundaries available as shapefiles?

After learning about the US Census's TIGERLines datasets I'm addicted to GIS :) I've working with the following layers, from the USA data Country boundaries State boundaries County boundaries City ...
6
votes
1answer
236 views

What is the best way to store Flickr's Shapefiles Public Dataset in SQL Server 2008?

I'm wanting to import specific locations from the Flickr Shapefile Dataset into SQL Server would like to know what is the best way to store the data in SQL Server 2008? Link the the 1.0 Dataset: ...
17
votes
9answers
11k views

How can I convert an excel file with x, y columns to a shapefile?

How can I convert an excel file with x, y columns to a point shapefile? There are some somewhat optional requirements in addition to the correct creation of a shapefile: Column types (as per ...
68
votes
20answers
58k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
24
votes
10answers
54k views

How to convert MapInfo TAB and/or MIF to SHP using free tools or ArcGIS for Desktop core product?

How do I convert MapInfo TAB and/or MIF files to SHP using only free tools or ArcGIS itself? I've not had much luck trying to do this in the past and I don't want to have to shell out for the ArcGIS ...
14
votes
8answers
20k views

Where can I find Canadian postal code geometries?

Where can I find the shapefiles for Canadian postal codes?
5
votes
1answer
741 views

How to Convert a Line Shapefile into a CSV with Nodes and Links?

Is there a way to convert a linear shape file into a csv file of the following format: Node_1, Node_2, attribute_1, ...., attribute_x 1 2 "hello" 567845.334 I have looked at ...