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)

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 ...
4
votes
2answers
3k views

How do I add my own map layers to Leaflet

I have a Leaflet map and want to add two of my own small polygon layers (currently in shapefile format, but they could be converted to GeoJSON). Can this be done without a mapserver to publish them ...
1
vote
1answer
21 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
47 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 ...
14
votes
3answers
7k 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
77 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
272 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
62 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
0answers
97 views

ogr2ogr - extracting S-57 layers

I'm trying to extract the layer DEPARE from an S-57 datafile and convert it into a shapefile. I'm using ogr2ogr from OpenGeo Suite 4.5 (GDAL 1.11.1) on Windows 7 64 bit. The problem is that when I ...
0
votes
1answer
42 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
108 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
6
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 ...
5
votes
3answers
204 views

Missing Scottish Administrative Data in OS Opendata sets

I'm not sure if this forum is really the correct place to ask, but impertinence would lead me to believe that there may be some one on here that may know the answer. I'm using the Ordnance Survey Open ...
2
votes
3answers
113 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
53 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
19 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
72 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 ...
0
votes
0answers
8 views

How to convert DRA to SHP [duplicate]

Does anybondy know a software wich convert mapmaker vector file to a shapefile ?
2
votes
2answers
38 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 ...
7
votes
4answers
1k views

How to clip LAS data using shapefile polygons and open source software?

I am trying to clip or filter lidar files (las, xyz) using a shapefile that contains multiple polygons. Is there open source software that can do this spatial operation? My las files are enormous, ...
0
votes
1answer
42 views

Merging TIFF file with other shapefiles to use ArcGIS geoprocessing tools?

I'm using ArcGIS 10.1 for Desktop. I have a TIFF file and I already applied the Copy Raster to make it an ESRI grid (i.e. I did not specify any file in the output field). The problem is, when ...
2
votes
1answer
52 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 ...
4
votes
1answer
1k 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
27 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
974 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
53 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
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
1answer
33 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?
0
votes
0answers
54 views

How do I break up a shape file into contiguous area?

I've got a shapefile which is a union of non-contiguous shapes. I'd like to be able to break them up into individual groups. For example, suppose I have a polygon of the entire US, currently only ...
1
vote
0answers
74 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
109 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
132 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 ...
4
votes
1answer
77 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 ...
3
votes
2answers
58 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
335 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 ...
2
votes
0answers
40 views

When I download a shapefile from Geoserver my attribute data of shapfile changed

Hi dears I added many shapefiles and PostgreSQL database into Geoserver! But when I downloaded this Shapefiles again my attribute data is not legible in Farsi characters! Can anybody understand me? ...
3
votes
3answers
92 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
90 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
828 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
52 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?
1
vote
1answer
65 views

Display big data set on Google Maps

I have a pretty large polygon shapefile (almost 1.5 million buildings) that I want to display in Google Maps. As the KML would be far too big, I have to create tiles, right? I don't want to host my ...
3
votes
1answer
229 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 ...
1
vote
0answers
1k views

importing shp file in matlab

I have digitize 3 rivers on google earth and converted into shp file to use in matlab. I have checked the shp file in Arcgis and they are working. But while opening in Matlab, matlab shows some error. ...
20
votes
10answers
21k views

Best way to add Attribute data to a shape file

Hei GISers!! Thanks for your help with my previous question. My apology if this may be too simple a question for this site, but I am still learning the various aspects of GIS. Now that I can ...
3
votes
1answer
49 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 ...
1
vote
1answer
37 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 ...
28
votes
8answers
14k 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?
4
votes
0answers
43 views

How can I identify lines that intersect a certain raster layer area?

How do I identify certain roads ( of a line shapefile) that intersect with a layer that is produced from the reclassify tool (for raster data)? I am trying to identify which roads specifically are in ...
5
votes
2answers
512 views

How to stop writeOGR from abbreviating Field Names when using “ESRI Shapefile” driver

I'm currently using the following script to add some attribute data from a table to lots of individual shapefiles: library(rgdal) specieslist <- read.csv("SpeciesList1.txt", header=F) attdata ...
1
vote
0answers
31 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, ...