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)

7
votes
5answers
184 views

GIS analysis to find duplicate geometries

I have a big shapefile that contains all the buildings and houses of the town that I work in (approx. 90,000 features). The data of the buildings/houses are saved by the town's surveying engineers and ...
10
votes
4answers
32k views

Opening and extracting data from Shapefiles?

We are in need of US highway data. We found it for Florida at the state GIS website. We downloaded the data for Florida highway intersections from here (this is a zip file). How do we use these ...
2
votes
2answers
27 views

How to merge shapefiles of two countries with QGIS [duplicate]

I want to merge the shapefile of Nigeria and Cameroon admin level 1. I downloaded the files from gadm but I cannot merge the files with QGIS or find a shapefile of Africa having countries at states ...
0
votes
1answer
24 views

How to create a shapefile or gml from a Oracle database using SDE.ST_Geometry?

I have a ORACLE database 10g(Oracle Database 10g Enterprise Edition Release 10.2.0.3.0) with a SDE.ST_Geometry field and i want to make a program in python so i can create several shapefiles based on ...
1
vote
0answers
13 views

organizing attribute table: multiple sets of variables per point

I would like to have hints on the best way to organize my dataset (I am working with ArcGIS 10.1, advanced license). I would like to build a points layer, each point being a weather station in the ...
4
votes
1answer
1k views

Union, Dissolve, Buffer — multiple layers, all in one step?

I'm a new user of Quantum GIS (1.7.3) and I need to repeat a task multiple times, so I'm wondering if there is a quicker way to do the following (with three or more polygon layers - each layer has a ...
1
vote
2answers
300 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
1
vote
2answers
248 views

How to convert Shapefile to TopoJSON with grouping neighbor shapes by some criteria

I have a shapefile with countries, which I convert to GeoJSON using ogr2ogr and then converting that json to another TopoJSON, using topojson command-line tool. Everything works like charm, but now I ...
2
votes
1answer
58 views

How to cut and paste polygons in QGIS so they don't overlap?

I use QGIS, and I need to cut and paste polygons so they don't overlap. Here's what I mean: I have shapefiles for cities that I'm pasting into a new polygon shapefile. I also have shapefiles for ...
5
votes
2answers
85 views

Adding new record with specific coordinates into shapefile using ArcGIS for Desktop?

I need to create a new point record in my shapefile. When I use the Create Features tool in the Editor tool, I can click anywhere on my map to create a point, but when I go into the attribute table to ...
0
votes
1answer
150 views

geopandas error when writing to_file() “ValueError: 'long' is not in list”

I'm having a problem getting the "to_file()" function to work with geopandas import geopandas as gpd f = gpd.read_file('fin.shp') f.to_file('fout.shp') Error Output: ...
0
votes
1answer
118 views

Creating a layer in arcmap by dragging a table from an OracleDB

I am working on a project for a client, they gave us some data from their oracleDB, and when I connect to it in arc map I can just drag and drop the tables from the catalog window into arcmap and they ...
0
votes
1answer
84 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
2answers
45 views

Convert shapefile with lists to data frame in R

I would like to ask some help for converting a shapefile to data frame. I downloaded data related to roads from Natural Earth. I imported the shapefile using shapefiles package like the following. ...
-2
votes
1answer
50 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 ...
1
vote
2answers
152 views

Problem when converting sosi to shapefile with ogr2ogr on Linux

I am trying to convert a SOSI file (Norwegian geodata format) to a shapefile. I have set up gdal, but apparantly there is a lot of things that I dont have support for. When I do a ./configure, this is ...
1
vote
1answer
115 views

Changing field / alias names in a shapefile using ArcMap10.2

I have a query regarding changing field and alias names in a shapefile. ArcGIS info for 10.2 says: ...For example, you can do any of the following: Define an alias for a field name so the field ...
1
vote
0answers
57 views

Using r, readShapeSpatial fails with simplified mapshaper.org shape

So I'm mapping out the postal regions of my country and it's an enormous, 5.4million row dataframe. I don't need every single little twist and turn of the boundries, so I was super excited to ...
2
votes
0answers
52 views

Identifying certain polygon from overlapping set

To clean up a large shapefile, I am looking for a way to do the following: I have the ID of many polygons which need getting rid of stored in a list. These polygons are villages and a second ...
12
votes
4answers
397 views

What is the difference between Coverage, Shapefiles and Geodatabases in ArcGIS?

I was wondering about the difference in spatial data storage methodology used by Coverages, Shapefiles and Geodatabases in ArcGIS. Coverage was the initial format, followed by Shape Files and now ...
1
vote
3answers
44 views

How to find all distinct values from a single column of an attribute table with GDAL (Python)?

I am working with GDAL and modify ESRI shapefiles with it. I am searching a possibility how to find all distince values from a single column of an attribute table with GDAL (Python). In SQL it would ...
-3
votes
0answers
30 views

Exporting group layers from Table of Contents (TOC) to Folders of shapefiles?

I have some group layers in the Table of Contents (TOC). Each group of layers references a few shapefiles from different source folders. I would like to export each group layer name as a folder and ...
4
votes
2answers
153 views

How to save .shp to .csv so that the Name is in the first “column” of the .csv?

I am trying to convert a point shapefile to .csv with locations in QGIS. The problem I am having with the conversion is mainly that, in the resulting .csv file I would like to have the Name and then ...
2
votes
2answers
1k views

Looping through list of shapefiles to rename them using ArcPy?

I am trying to upgrade a simple script to list all shapefiles in a folder and if necessary in any folders within and then loop through the list of shapefiles and rename them. import arcpy # Set ...
0
votes
2answers
34 views

problem with csv.writer output Python 2.7 [closed]

I cobbled together a script from hacked bits around the net that works pretty darned well except..... The screen return is perfect but the csv contents (filename and path) have deliminators in them. ...
5
votes
2answers
66 views

Is there a standard for the specification of .prj files?

We use shape files for data exchange. I've looked at the .prj files: different programs produce different prj files. Is there a standard how the parameters must be specified in a prj file? AFAIK the ...
1
vote
1answer
30 views

Problem with projection of Slovenian Shapefile in QGIS

I hope someone can help me for this: I'm doing my masters thesis in Slovenia (in the field of wildlife management), for this I got a Shapefile of slovenian data by the University. As a main layer, I ...
0
votes
2answers
44 views

Parse PHP/HTML to shapefile or similar

I've been experimenting with scraping spatial data from a web page (www.majidata.co.ke). I've managed to find the source of the vector data from within a webpage though and have saved a chunk as HTML ...
1
vote
1answer
71 views

Export to SHP with ArcPy with query

I have a shapefile with table with area code (field areacode). How can I export with ArcPy each unique area code so I get a SHP file for each one? It takes too long to select the layer and query ...
0
votes
1answer
134 views

CartoDB st_makeline with geography datatype

Hi I am using an online cartodb account to try and create a shapefile based on flight routes between one airport and another. So far, I have uploaded my lat/long points for each connected airport, ...
3
votes
2answers
105 views

How to iterate through features in a shapefile using R?

I am interested in iterating through a point shapefile to perform tasks on a point by point basis using R. In Python, this can be accomplished using the following workflow: import arcpy shp = ...
1
vote
0answers
32 views

Why does the postGIS file lose geometry?

I am loading shapefile data from a GPS into PostGIS via Leica ZenoOffice. This apparently imports fine with it's geometry in the attribute table. However, when I add a postGIS layer in QGIS the file ...
0
votes
2answers
59 views

How to show shapefiles with Bing map in asp.net

I want to display my shapefile data on bing map using ASP.NET. Its an web application. I don't want to use any third party tool for shapefile conversion.
3
votes
2answers
326 views

How to fix link between layer and shapefile in ArcGIS 10?

Does anybody know how to fix a link between shape file and layer file in ArcGIS 10? Every time I add layer file, there is a small exclamation mark next to icon and I have to define a source (path to ...
1
vote
1answer
27 views

Using ArcGIS for Server and ArcSDE for importing shapefiles?

Is there a way to use ArcGIS Server web services to perform the task below? I have .NET ArcObjects code to import shapefiles to Spatial DB which works on ArcGIS for Desktop. This code used ArcSDE to ...
1
vote
0answers
18 views

Cannot produce pie chart in QGIS 2.2

I have a shapefile to which I joined two tables from a MySql database. I used one column of the first table to color the polygons in my shapefile which works fine. Three columns out of the second ...
-2
votes
1answer
62 views

Converting GeoNames csv file to shapefile?

How can I convert a Geonames csv file (downloaded from http://download.geonames.org/export/dump/) to a ShapeFile?
2
votes
3answers
62 views
3
votes
2answers
931 views

Convert KML to shapefile without losing attribute data

So I want to convert KML files to SHP shapefiles to load it onto PostGIS. Currently I'm using ogr2ogr to do the conversion for me, but it wipes out all the attribute data. How do i preserve this ...
7
votes
1answer
77 views

Adding Route Shapefile (PolylineM) to QGIS?

I'm new to QGIS (and to this amazing forum as well) and I already have an issue : I received a Route Layer in SHP format (PolylineM). I've easily loaded this file into QGIS but it doesn't seem to ...
0
votes
2answers
49 views

Exporting to 2D (Arcview 3.0 compatible) shapefile in QGIS?

I need to run my shapefiles through a web mapping application which is incompatible with 3D shapefiles. At present I run them through the FME Universal Translator in Mapinfo, which enables you to ...
3
votes
3answers
124 views

Can a shapefile, or other file, be made from Excel without coordinates

I have two Excel spreadsheets I'd like to make into shapefiles, or some equivalent. I have access to ArcGIS at work and want to try using GRASS as well. I have seen the help on doing so, but only if I ...
0
votes
0answers
80 views

What vector file type yields the greatest detail with the Heat Map plugin?

I'm using .shp files built from .csv files and having quirky results. Perhaps there is a better way to begin. The heat map appears to be accurately describing the data but calculates a huge area in ...
4
votes
2answers
529 views

Reduce the resolution of a shapefile in R (or QGIS if necessary)

I'm using shapefiles of history U.S. state boundaries from NHGIS to make maps in R. These shapefiles are much higher resolution than I need when making maps at the scale of the country: over 2 million ...
2
votes
1answer
137 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. ...
1
vote
0answers
19 views

Mapwindow and XTools error: XSI is an undeclared namespace

I have tried MapWindow and XTools and have gotten this same error both times when trying to import a KML file into Shapefile format. Does anyone know how I can eliminate this error message? "There ...
2
votes
1answer
36 views

shapefile to gmt format

I have an ESRI shapefile of the contours of my study area, and I want to convert it into a format that is acceptable by GMT, so I can make an elevation map of my study area. Is that even possible? ...
1
vote
1answer
27 views

How can I clip multiple geotiff tiles with a shapefile without greatly increasing their size?

I'm using gdalwarp to clip a number of geotiffs (tiles of a larger map) to a polygon described by a shapefile (which is about the size of the overall map, i.e. much larger than individual tiles) ...
0
votes
1answer
29 views

GDAL: Update spreadsheet from polygons in a shapefile

I am a beginner with GIS data, and have been looking for an answer but have not yet found it. I have a spreadsheet with lat/long points. I also have a shapefile with several numbered polygons over a ...
0
votes
2answers
46 views

Shapefile to Network xml

I have a shapefile representing the US freight highway network available from Oak Ridge National Lab. I'm trying to prepare this as a .xml network for processing with MATSim. The output structure is ...