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)

1
vote
0answers
38 views

How to correctly upload Shapefile into PostGIS on ubuntu?

I want to know how to use upload shape file via Postgis. Can u please help me? .com/nsVuQ.png
3
votes
4answers
3k views

Postgis shapefile loader 2.1 error: dbf file can not be opened

The .shp, .dbf and the rest of files are fine, I open them in QGIS, AGOL with no problem. In fact, I've tried 3 different layers, and get always the same error. Anyone can please help, as I really ...
5
votes
3answers
4k views

Any tools to convert GTFS (General Transit Feed Specification) in SHP / KML?

I need to convert GTFS (General Transit Feed Specification https://developers.google.com/transit/gtfs/reference), data in some GIS data format like ESRI Shapefile or KML or something else. Do you know ...
1
vote
1answer
291 views

How to clear areas outside map in R

I succeeded thanks to the eblonde in the disscution (problem with polygon smoothing in R) to smoothing polygons in R. Code: inter1= read.table("c:/inter2.csv", header=TRUE) #add a category (...
5
votes
1answer
2k 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. What ...
2
votes
0answers
75 views

from shape files to a database [closed]

I've previously converted simple shape files to WKT so that I can store them in RDMS that has spatial capabilities. I'm a new user to QGIS, which I'm using to browse a shape file. But now I have a ...
1
vote
0answers
164 views

ArcMap KML Multigeometry to Shapefile

I have been troubleshooting this issue for quite some time now. I have a variety of tools available to me: ArcMap, QGIS, as well as OGR2OGR. Unfortunately, I have not had any success with any of these ...
1
vote
3answers
3k views

UK coastline shapefile?

I'm looking for a shapefile for the coastline of the UK. I'm guessing the Ordnance Survey 'geo-portal' is the best place to get this, but whenever I go to the Ordnance Survey site I get the shakes. (...
3
votes
2answers
584 views

Counting number of points in particular polygon for list of individuals using R?

I have distribution points for a set of individuals and a file of polygons-with matching IDs. What I would like to do is to go through and for each individual find the total number of points and the ...
2
votes
0answers
286 views

India Block Boundaries

I know this has been asked before (Where can I find block (sub-district) level boundaries for India?) and it seems it is still not possible to get better than district level data as a shapefile, but ...
1
vote
1answer
72 views

by 3d dxf to shp with field height

I have a question from a DXF file " topographic precision 3 cm " with 3d polylines to get one shp line with information 3d is possible?
3
votes
2answers
325 views

How to export a Shapefiles of an OpenStreetMap relation?

Given I have a relation such as this example. I have installed JOSM and QGIS as well as GDAL tools for the shell. I am aware of Overpass-Turbo. What is the best way to export geometry data from ...
1
vote
2answers
2k views

How to batch convert Shapefiles to GMLs?

I know how to do this within Quantum GIS but I have 30+ shapefiles that need to be converted to GML. Is there a Python script sample or plugin for Quantum GIS that I can use to convert my shapefiles ...
3
votes
1answer
324 views

Shapefiles not showing in OpenLayers using QGIS export to OpenLayers 3 plugin?

I am new to GISs in general and I am working with QGIS to generate layers to be shown on OSM using OpenLayers. My problem is the following: I have multiple layers in a QGIS project and I want to ...
0
votes
1answer
321 views

Merging polygons which have different coordinate system with map coordinate system?

in order to merge the polygon I go to editor tool and then select merge, however in my case when I want to edit it is giving me this statement" the layers are in a different coordinate system than the ...
1
vote
0answers
56 views

Source of elevation/topographical Shapefiles?

I'm writing an Android navigation application using Java in my own time as a learning exercise. It reads Shapefiles (with some pre-processing by me) downloaded from http://download.geofabrik.de/europe....
2
votes
1answer
142 views

Create a dynamic excel sheet linked to a shapefile's attributes

I am trying to create an excel sheet that is updated automatically when the features of a shapefile are updated. I know the shapefile's .dbf file is updated but I need the excel sheet to be formatted ...
4
votes
1answer
190 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
409 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
83 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
842 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
251 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
289 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
151 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
197 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
158 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
1k 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
81 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 and/...
0
votes
1answer
101 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. ...
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
567 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
72 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 Co-...
0
votes
1answer
81 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
283 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
130 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
104 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 = ogr.Open('...
2
votes
1answer
70 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
114 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: https://maps.google.com/locationhistory/b/0/kml?...
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
155 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
167 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 same....
3
votes
2answers
320 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 ...