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)

1
vote
0answers
54 views

PostGIS automatically creating geometries after importing using QGIS DB Manager

I have a shapefile consisting of linestrings, in which some of the features have null geometry. Yet, after importing it to PostGIS, using QGIS' DB Manager, a geometry is created for those features ...
0
votes
1answer
362 views

How can I connect my point pattern shapefile with my polygon window in R?

I would like to do some spatial statistics in R. I have a point layer called '1983' that represents the distribution of one species, and a polygon layer called 'SA-R' that represents the study area. ...
0
votes
1answer
224 views

Persistent datum conflict error. Datums are the same

I'm clipping a number of features using other feature layers, and was careful to get everything into WGS84 beforehand, using what I thought were the proper datum transformations. Now I keep getting ...
1
vote
1answer
145 views

shapefiles for global border crossings

I am trying to find a shapefile or set of shapefiles that contain global border crossings. Basically, what are the points of transit between one country and another. Does anyone know if this data is ...
1
vote
2answers
343 views

How can I create a pdf map at a high resolution while still keeping the file size manageable?

I have numerous layers in shapefile format that contain a lot of data across a large area. I am trying to create a .pdf file that shows all of the area and I want it to be in good quality, so that ...
3
votes
2answers
117 views

A python tool like GNU's diff for shapefiles?

I often use the GNU diff tool to compare two files or even two folders for differences. I was wondering if there is a Python based tool out there that does basically the same for shapefiles? In the ...
1
vote
2answers
327 views

How to fix shape file projections

I have a project with several shape files. The files overlapping however. I have to go to unusable extents to even see the file on the same screen. I have tried using to project to as suggested here ...
2
votes
1answer
194 views

Why is shapefile not drawing in expected location after (or before) using Define Projection tool? [duplicate]

I have downloaded this zipped shapefile of bus routes from the City of Houston data portal. I then performed these steps in ArcGIS Desktop 9.3.1: Extracted the shapefile from the *.zip Added this ...
0
votes
1answer
54 views

help with editing shapefile

I am not sure how this is done but I Have a shapefile with state borders for a country. What I would like is to sort of delete/dissolve the state borders and be left with only the country border. In ...
0
votes
1answer
117 views

How to get feature for a given bbox from shapefile by ogr

I have some features point,line,polygon with shapefile format, now I want to get features for a given boundbox, is it possible to remove the features out of the bbox? And for a polygon, I think it is ...
0
votes
0answers
141 views

QGIS: field calculator is not working with shapefile created manually

I have an issue the field calculator of GIS 2.2 field calculator. I've not encounter problem to update values with the field calculator (I'm using the $row_num function) if the shapefile was created ...
1
vote
0answers
76 views

Shapefiles for all the individual countries in the world [closed]

I'm searching for shapefiles that I can later convert into SVG (with something like kartograph.py). Essentially I'm just looking for the outline with (if possible) a dot where the capital is on the ...
1
vote
1answer
57 views

How to cut short a shapefile?

I have a large world map in a shapefile from which I need to crop a smaller region. I am planning to use in in java based simulation. How to do that? I am completely new to GIS world so can anyone ...
0
votes
2answers
97 views

QGIS Connection PostGIS and shapefile

I'm working on QGIS with a database created in PostGIS and a shapefile. Inside the database, I have geometry type data about location of some points, instead on the shapefile there some selected ...
1
vote
1answer
1k views

Opening .shp file under Add Vector Layer

When I try to open streets.ship file from the exercise data file downloaded for working in the Quantum GIS Training Manual, I get an error message: Invalid Data Source C:/Users/new ...
4
votes
1answer
142 views

Problem opening a shp in another application

I helped a colleague converting waypoints from a gpx file to a shape file. My colleague has only arcMap. I gave him the shp and when he opened it in ArcMap, it did not show anything in the attribute ...
2
votes
2answers
2k views

Problem with merging and dissolving a shapefile in R

I am migrating from ArcMAP to opensource GIS. I've succesfully installed R and many packages in a Ubuntu 12.04 machine. I am used to linux and programming in C, but not to R and its syntax. I am ...
0
votes
0answers
90 views

need help creating layer with geom type wkbGeometryCollection with gdal python

I am having trouble creating a layer with geom type as geometry collection. Thus I am unable to output to a shapefile. I have attached code below. dstLayer is null. This does not happen if geom type ...
1
vote
1answer
53 views

QGIS hides few graduated points after reopening project

I have a strange problem in QGIS 2.2 (problem is also present in QGIS 2.1). When I add a point (shapefile) layer, apply graduated style and change point size, everything looks fine. Then I save ...
5
votes
2answers
768 views

Error exporting data from Oracle to shp using ogr2ogr

I have an oracle table which I would like to query/make a selection. I would then like to export the selection to a shp file. I'm using gdal and ogr2ogr. Following the guidelines here and here I ...
0
votes
1answer
85 views

Creating a New Shapefile from Joined Access Table

I'm dealing with a very large amount of polygons. Once I join the land use access table to the parcel shapefile, it takes forever for Arc to draw the polygons. I'm trying to select all residential ...
0
votes
0answers
31 views

I want to make a table that displays shapefile information

I have a parcel I'm working with that has multiple layers laid over it. I'd like to make a table that displays various attributes of those different layers. For example, within that shapefile, I'd ...
0
votes
1answer
68 views

How to merge 2 shapefiles in ArcObjects

Using ArcObjects SDK for Java, I have the full path of 2 shapefiles: String in1, String in2, and I want to merge them using the geoprocessing tool Merge. I tried to several methods: ...
3
votes
2answers
145 views

How to add iteration in model to join fields from several shapefiles into final one?

I have one grid (Atl1x1.shp) to which I need to add 9 Fields from 9 different shapefiles which are also grids (that is, 1 column from each shp, all with the same name). These shapefiles have the same ...
5
votes
3answers
861 views

Fastest way to merge a feature

I am writing a arc engine application that can take a shapefile, and merge a set of polygons together. Here is the code that I am using to merge the polygons: private static void ...
1
vote
1answer
185 views

extract shapefile attributes from raster colors

I have two layers: a shapefile with states and counties (shp) a raster file (with colors and some text and borders, but not a perfect map) (tiff) I want to use the colors in the raster file to ...
1
vote
1answer
273 views

Why is POINT type layer not displayed correctly in my mapserver map?

I have 14 shapefiles from same source with the same WKT: PROJCS["GRS_1980_Transverse_Mercator", GEOGCS["GCS_GRS_1980", DATUM["D_GRS_1980", SPHEROID["GRS_1980",6378137,298.257222101]], ...
0
votes
1answer
194 views

Filter geojson or shapefiles

I'm trying to create a geojson file with a few shapes of roads from OSM. Now, I've been able to get shapefiles of the greater region (province) these roads are in from http://download.geofabrik.de/ . ...
2
votes
2answers
747 views

Android app: GPS Logger and POI recorder, with offline map

I am looking for a good app that can do one or many of my below listed requirements. They are listed with the most fundamental functions first. Preferably the app can do all of it, but it should at ...
2
votes
1answer
67 views

how do I reestablish all feature class references in mxd after their names change?

I have 200 shape files which have been named using an integer at the beginning of the name...i.e 01.03.shp 01.04.shp etc. They are all symbolized within an mxd document. I need to import these shapes ...
0
votes
0answers
136 views

Convert Shp to KML error org2org Error4

I am attempting to convert Shp file to Kml using command line org2org application. I have used this in the past to convert more simple shp files and was sucessful. However I get an error message when ...
1
vote
2answers
864 views

How to select features in layer using dataset statistics (stdev and mean) and ModelBuilder?

I am trying to solve following problem. I need to select features from the shapefile by attribute in Model builder. The attribute should be a statistics which you can calculate by the tool :"Summary ...
1
vote
4answers
538 views

Needed shape file for Australia and New zealand

I was trying to find a shape file which has Australia and New zealand together(states) so that i could convert to jvectormap for ANZ. where i can find it?
1
vote
0answers
135 views

How to create a circle vector layer with 12 sectors with Python and to save average value of underlying raster in each sector?

Hi I am writing a code with Python 2.7 using Arcpy 10.1 and I guess I am doing stuck with a silly problem that lies under my eyes. I have created a grid of points (with "Create fishnet" function) over ...
1
vote
1answer
156 views

Trouble using ogr2ogr w/ -s_srs to combine inconsistent EPSG files into my postgis DB

I'm having trouble combining shapefiles from TIGER and different local governments into a single postgis db to query legislative locations. I've imported all data to multipolygon geom, but found some ...
8
votes
1answer
408 views

Automatically aggregate German ZIP codes by the first two digits in a shapefile

I have a shapefile which contains all German Zip-Codes in a a five-digit format (e.g. 80637). For what I intend to do, this is way to much detail. I would like to aggregate all Zip-Code areas by the ...
3
votes
3answers
1k views

Workflow to convert a DWG CAD file to a shapefile

I'm trying to develop a workflow where I can convert a .dwg file to .shp. I don't have a good understanding of which tools I should be using. My preference is to use software that runs on OSX, is ...
3
votes
2answers
161 views

Why do I get an empty shapefile when converting this KMZ in QGIS?

I have downloaded a KMZ file containing global elevation information. I have tried to convert the data to a shapefile using qgis (save as shape option) and using the zonum solutions website but both ...
0
votes
1answer
203 views

How to create input data for the LRS plugin from an excel table without coordinates?

I'm working with QGIS 2.2.0. I want to add a shapefile from an excel file that has informations I want to use in the LRS plugin. The excel file has no geographic information. Every time I try to save ...
0
votes
1answer
122 views

How to join information from an excel table to a road feature in QGIS?

I'm working with GQIS 2.2.0 Valmiera. I've made a shapefile of a road that consists in a single line. Now I want to add information that I have in an excel table about several point in the road. How ...
0
votes
1answer
147 views

Trouble joining table in arcgis. Joining field is 'greyed out'

I'm trying to join a shape file with a excel file I converted into a CSV. I had done this before with the same shape file but with a different CSV but this time when I try to select the column it's ...
1
vote
0answers
133 views

Building a road path using openlayers and shapefiles? [closed]

I'm looking to learn OSM and Openlayers. From what I can tell, I need OpenLayers to display the map on a website and I need shapefiles to do any manipulation on the map regarding its topographical ...
4
votes
2answers
349 views

Converting shapefile to raster: Character attributes

I've got a shapefile that I would like to convert into a raster, but the trick is that the attribute I want a raster version of is character data. I'm familiar with geoprocessing using GDAL (in the ...
5
votes
2answers
2k views

Extract Raster from Raster using Polygon shapefile in R

I am new to R and using the raster package. I have a problem extracting polygons from an existing raster file. If I use extract(raster, poly_shape) function on the raster it always creates a list ...
0
votes
0answers
48 views

How to raster vector- and shape-files correctly

does anybody know how to convert vector- and shape-files correctly? Doesn't work with tab Raster/convert/vector to shape files. The output always contains strange input-data (wrong and strange ...
4
votes
0answers
32 views

Projecting polygon when calculating its area? [duplicate]

I have a broad range of polygons (in vector format and in SpatialPolygonsDataFrame class), some going east-west, others going south-north, while even others span polar regions or very large ranges as ...
0
votes
1answer
67 views

why can't i export geometry data from a shapefile?

I saved the layer using "vector save as" box but even when adding GEOMETRY=AS_XY in the layer box, the csv only showed the id and no gemetry data.
4
votes
3answers
160 views

How to shrink polygon on two sides?

I have a polygon which I know is a rectangle, although it may be at any orientation: I want to shrink this polygon by a third of the width from two sides, so that I just get the strip in the middle ...
2
votes
1answer
148 views

Why is this line split in two?

Even though this is a single line, it is stored as a two-part polyline. I can split it and rejoin at the break, but whatever I do it won't join the two into one line. (This is most obvious if you turn ...
0
votes
1answer
192 views

How to solve an instalation problem requiring “liblwgeom” to work with “shp2pgsql”

I am trying to import shape file to postgis. I have problem configuring shp2pgsql. I am getting this error : dyld: Library not loaded: @loader_path/../lib/liblwgeom-2.1.1.dylib Referenced from: ...