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)

4
votes
1answer
176 views

What versions of dBase do shapefiles support?

I have been looking around like crazy, not finding any specification which versions of dBase shapefiles support (ESRI shapefiles). I found that GeoTools uses dBase III only, and Wikipedia says dBase ...
2
votes
2answers
4k views

How do you open shapefiles with ogr2ogr [closed]

I'm following along the D3 tutorial, and on this line: ogr2ogr \ -f GeoJSON \ -where "adm0_a3 IN ('GBR', 'IRL')" \ subunits.json \ ne_10m_admin_0_map_subunits.shp run into the following ...
0
votes
1answer
385 views

Open multiple hyperlinks in one point directly from QGIS?

I have an enormous shapefile and each point has about twenty different attributes. About five of these twenty are hyperlinks- is there anyway to open these directly from selecting a point in QGIS? ...
2
votes
0answers
82 views

Divided road segments from XTools Pro need unique, informative IDs

I can divide segments with my road using XTools Pro, but I want to give a useful identifying number to each segment. For example: If D100 road has been divided into 20 segments, the segments must ...
4
votes
1answer
2k views

Transform shapefile to WGS:84 (EPSG: 4326) in Qgis

I am struggeling with an enoying problem here. I received several shapefiles from an colleague that he told me is in WGS:84. If I look at the metadata in Qgis it tells me the following: In layer ...
1
vote
2answers
803 views

How to publish shapefiles with GeoServer?

I have multiple shape files of my country, its states and cities. I want them to display in map i.e. First layer is country, then states-layer and then cities layer. I only know that to do this, first ...
1
vote
1answer
248 views

Natural Earth: How to get the position of all provinces that belong to a state

This question is about Natural earth 1:10 states and provinces.shp file. I'm using ogr2ogr and want to know the name of the id i need to pass . In purpose of pulling out the right states regions. ...
2
votes
2answers
286 views

How to reproject this vector layer?

I have a dxf file and use this tool to convert it to shapefile. Then I apply some affine transformations and get a shapefile that does not fit the shapefiles downloaded from osm (EPSG:4326). I know ...
1
vote
1answer
148 views

How to rescale vector data? [duplicate]

I've got some old maps in dxf format. QGIS imports them correctly but with a nonsense scale. It can export the data it gets to shp of course. Does anyone know how to rescale vector data so it can be ...
5
votes
3answers
1k views

Producing 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? For clarification the original question asked how ...
1
vote
1answer
34 views

Trouble in Natural Earth Shapefile “jumps” read using GeoTools

I'm using GeoTools 12.0 to read in Natural Earth data. I'm really happy with the performance, and ease of implementation. But, I'm having trouble reading in very large polygon data. The 110M Ocean ...
1
vote
1answer
191 views

Adding shapefile layers in QGIS causes previous layers to disappear

This is my first time having such trouble, but I'm only a casual user. I have a base raster layer of the school I work for and I've been adding vector shapefiles on top of that in separate ...
17
votes
3answers
13k views

Free tool to convert ArcGIS layer package (*.lpk) to shapefile (*.shp)?

I have received a *.lpk file from Esri's ArcGIS platform that I would like to convert to a shapefile. How can I do this, using only free software?
2
votes
0answers
152 views

Extracting metadata from shapefile in FME?

Does anyone know how to extract metadata information from a shapefile in FME? To be exact, i want to extract the schema (data structure) of the data such as the field names, etc. from a shapefile and ...
2
votes
4answers
992 views

PostGIS importing shapefile error w/ official manager

I'm having some trouble when trying to import an shapefile of the Sao Paulo Brazil's state (I downloaded it from the web and I'm using the own PostGis manager to import it). Here's an image! The ...
3
votes
0answers
80 views

How to simplify polygon shapefile and maintain topology? [duplicate]

I'm looking for a straightforward answer that actually works...not a 'duplicate question' flag. None of the other solutions posted in similar threads actually work...they all have dead-end answers ...
0
votes
1answer
98 views

clipping ESRI shapefiles along with shx and dbf

I've seen other answers detailing how one can clip a .shp file with ogr2ogr but this just returns a clipped set of geographic features. I also want to clip the .shx and the .dbf in the same manner. ...
2
votes
2answers
574 views

ArcGIS 10.2 Shp File Read-only

How do you make the shapefile a Read-only so the client can not make any edits using 10.2.2 ArcGIS. It is not within a geodatabase, just a stand alone shapefile. I am using Windows 8
7
votes
5answers
2k views

Problem loading OS OpenData multipoint shapefile into PostGIS

I am trying to load the OS OpenData Strategi shapefile dataset into a PostGIS database. I have had no problems with the polyline and polygon shapefiles, but I am unable to get the point shapefiles to ...
2
votes
3answers
502 views

Moving (translating and scaling) a polygon in a shapefile

Updated Question: I have an ESRI shapfile of the US, with Alaska, Hawaii, etc, broken down by county. I'm extracting the polygons (each representing a county) from the shp file, and then displaying ...
0
votes
2answers
70 views

ShapeFile with Z Co-ordinates

I have 3 shapefiles, two of them wihtout the Z Co-ordinates elevation but 1 of them has a Z co-ordinate elevation. I can load two ShapeFiles into my SQL Server Database which does not have Z ...
0
votes
1answer
78 views

How to set zoom level for labels of highway in JOSM?

I'm new in using JOSM and open street map data . I import a shapefile of highways in JOSM and use it for styling the highways.Some highways are trunk ( in open street map standard ) and some of are ...
2
votes
1answer
261 views

Finding an ogr2ogr equivalent of SelectLayerByLocation

So I'm trying to take individual grid point buffers and only select the regions that the points intersect with (via SelectByLocation). Generally I run the following code to: Explode multipart ...
2
votes
2answers
124 views

Coordinate Not Match - Convert Shapefile to Geojson

I'm a newbie at GIS programming and I have a problem with file conversion. I've tried to convert shp file to geojson, and the coordinates do not match. But when I try to convert it to kml, it goes ...
2
votes
1answer
102 views

Merging shape-files freezes

I am trying to merge shape-files in QGIS it stops each time at 19%. The program doesn't show me any error messages so I don't know what is going on. Both shapefiles are 1.9 GB. Also I noticed that ...
5
votes
1answer
2k views

better way to duplicate a layer using ogr in python?

I'm splitting a large shapefile into many smaller ones using ogr. I'd like to just copy all of the field and layer config information from the original. Here's how I'm doing it now: src = ...
2
votes
1answer
69 views

Problem with unicode Characters (arabic) in josm

I'm using josm for converting a shapefile to .osm format. When I import the shapefile to josm the arabic characters do not show correctly (see the image below). The dbf of the shapefile shows the ...
2
votes
2answers
2k views

How to incorporate drop-down list within cells of shapefile attribute table using ArcGIS Desktop?

A question has been brought to my attention. When working with a shapefile within either 10 or 10.1. Is it possible to create a python script or some sort of programming language to accomplish this ...
1
vote
0answers
112 views

Importing csv file in QGIS including names and description [closed]

I'm just getting to learn QGIS. I want to make a map (Google maps) where I can map all our customers from our database. Including names and even better: description, address, telephone, etc. All this ...
3
votes
5answers
3k 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
1answer
42 views

How to save shape file as type 1 point file in Qgis?

QGIS saves point shapefiles as type 8 - Multipoint as default. I need QGIS to save as type-1 Point file. How?
1
vote
0answers
154 views

Neighborhood boundaries and building footprints for Johannesburg?

Are there any sources for free (or commercial) and distributable neighborhood and building footprint datasets for Johannesburg out there? I've already looked on: Google OpenStreetMap joburg.org.za ...
1
vote
3answers
163 views

Why dissolve creates many extra features?

I have a shp file in Arcmap 10 that has ~16600 polygons. Some overlap. I want any polygons that are overlapping to be dissolved into single polygons. I want non-overlapping polygons to remain the ...
3
votes
2answers
297 views

How to output coordinates from a shapefile to a GMT or CSV file in QGIS?

I want to get the coordinates for a line shapefile as csv or gmt files. I click create "new layer" - "new shapefile layer" - I check the "line" box and then "OK". Then I make my shapefile. When I ...
6
votes
1answer
978 views

Determine if shapefile and raster overlap in python

I am building a script in python using osgeo/gdal. I have a set of shapefiles and a set of GeoTiff raster files. I would like to have my script ignore shapefiles if they do not intersect with the ...
4
votes
2answers
115 views

Canadian Shapefile from Statscan is wrong?

It's great that Stats Can produced this for free! However, it's useless if it's wrong. I'm using the shapefile for territory planning so the FSA (postal code) data needs to be 100% accurate. But ...
1
vote
2answers
446 views

British National Grid to KML results in offset polygons

I have a shape file of English wards from ONS. It is similar to the files available here: http://www.ons.gov.uk/ons/guide-method/geography/products/census/spatial/2011/index.html except I had to ...
3
votes
3answers
561 views

Update point shapefile attributes from polygon shapefile using QGIS

I have two shapefiles: one point and one polygon. The point shapefile have five attributes that describe the points. The polygon shapefile have one attribute: name of the polygon. I am a beginner to ...
1
vote
0answers
266 views

Importing 2014 TIGER County Shape Files to 2012 SQL Server?

Last year, I figured out how to import TIGER Census Block shape files into 2012 SQL Server with no issues. I assumed I would use similar code to do the county shape files but I keep getting a few ...
5
votes
1answer
1k views

How to create a routable road network from Ordnance Survey data?

I've been following the "Beginners Guide to pgRouting" in an attempt to create an in-house application that provides drive-time isochrones. I have a server, postgreSQL and PostGIS and pgRouting - no ...
0
votes
0answers
366 views

GIS shapefile data for Singapore Urban Planning areas

Is there any free resource to obtain Shapefile data for Urban Planning area boundaries in Singapore?
3
votes
1answer
667 views

Geotools shapefile and geotiff displaying problem in JMapPane

I'm trying to get a JMapPane to show up in a JPanel, but without success. Below is the JPanel instance containing the map. I am importing a geotiff and a shapefile layered in that order. Not only does ...
3
votes
1answer
351 views

Relocating & resizing complex shapefile with OpenSource Software

(please excuse my poor english) I do have a polygone shapefile of an archaelogical site with elevation data of 10cm steps and I dont get hands on the raster data as it was collected by the drone. My ...
0
votes
0answers
46 views

How to eliminate sliver polygons with QGIS [duplicate]

I need to remove sliver polygons within a shape, but using QGIS 2.6 generates some failures to the process. I mean the program freezes or shuts down and I don't know why. Maybe there's a bug or it ...
1
vote
1answer
53 views

Convert shapefile to multiple single-value TIFFs

I have a shapefile that is composed of multiple overlapping polygons that represent extent of habitats of certain species. Here is a 1 MB example of such file from International Union for the ...
1
vote
0answers
71 views

Can't get pyshp to work when converting csv to point file [closed]

I've been hammering at it for ages, but I just can't get pyshp to work. The csv file looks like this: lon,lat -122.5163113, 45.55324148 -95.1719409, 29.97979461 153.0072888, -27.45988559 etc, ...
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 ...
3
votes
1answer
82 views

Show raw bytes that make up an attribute in a shapefile

I am processing shapefiles, and I'm trying to track down an encoding problem. I want to check the raw bytes of an attribute to see if this shapefile (and hence the step that created it) is the source ...
-3
votes
1answer
128 views

Combining many individual precipitation shapefiles to show by year in ArcMap?

I have 10 years of each year precipitation in shapefiles and would like to combine them into one to show years in ArcMap layer. Do I need to use the append or union ?
0
votes
1answer
161 views

How does QGIS Topology Checker check the topology of SHP and OSM files? [closed]

Can anybody make me clear if .shp & .osm (OpenStreetMap Data) are holding topological data/relations or not. if .shp files are not holding then how qgis plugin topology checker checks for the ...