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)

2
votes
3answers
50 views

Looking for Parish Boundaries Datasets for QLD Austraila

Every so often, I am asked for a parish boundary dataset. I can never find them as I am of the belief that they are no longer used. Has any one had any experience with parish boundaries in Australia ...
0
votes
1answer
32 views

How to do union that results to a SpatialPolygonDataFrame in R?

I have the following code coastline<-readOGR(dsn=".",layer="shp") wetlands<-readOGR(dsn=".",layer="shp") wetb<-gBuffer(wetlands,width=500,byid=T) ...
0
votes
0answers
44 views

How to cut big shapefile into several smaller shapefiles?

I'm converting my shapefiles to gpx files to use them in garmin gps, but if the shapefile is too big, I lose data in the conversion. I get a gpx with holes in and I cannot work with it in the field. ...
0
votes
0answers
22 views

How to export shapefiles and other attributes to KML using QGIS?

Is it possible to include all the attributes in the table of a shapefile when exporting it from QGIS to KML? I want to view all other data inside my table in Google Earth.
1
vote
2answers
45 views

Leaflet's shapefile plugin only compatible with Firefox

I created a html page (currently locally) and used Leaflet to create a basic map to which i plan to add several shapefiles. To do this, i use the leaflet.shapefile extension ...
3
votes
1answer
33 views

QGIS Convert bathymetry shapefile from fillable to strokeable

In Java I would like to stroke the bathymetry depth lines instead of filling the area. I'm starting with the Natural Earth Bathymetric Data: ...
1
vote
0answers
31 views

Detecting broken hyperlinks using ArcPy? [closed]

I am trying to use ArcGIS 10.2.2 to detect broken hyperlinks from a .shp and export them to a text file. Is this possible to do this with Python scripting? I only want to see the broken hyperlinks ...
1
vote
1answer
28 views

Shape Files and adding Label Data

Introduction: I'm still fairly new to GIS and have only had about 3 weeks experience. I set up an OSM server locally with .osm.pbf data and it worked just fine. When I pulled the map in the browser, ...
1
vote
1answer
79 views

Big performance difference reading shapefiles between QGIS and R

I'm trying to read the belgian landuse ESRI shapefile from geofabrik.de: http://download.geofabrik.de/europe/belgium.html In QGIS it's just a matter of seconds, but in R using the readOGR function ...
1
vote
1answer
31 views

Merge a table with a shapefile (not the same dimension)

I am trying to merge a table with a shape file using R. The shapefile's database is bigger than the table and I need to have null or zero values where the two data sets don't match. Table data no. ...
0
votes
0answers
45 views

How should i combine these rasters?

I have two buffers that i want to combine. I tried overlay with fun=function(x,y){return(x*y)} but 0*5 = 0 so it produces NA's.I don't know how to combine them the one buffer should be 500 and the ...
1
vote
1answer
38 views

Multipoint shapefile won't display

I have created a multipoint shapefile file and added lat/long data for a few hundred points (by copying and pasting columns of data from excel). The new shapefile is the same coordinate system as my ...
3
votes
0answers
33 views

Extract the outer points of a Point Shape into a Line Shape? [duplicate]

I've installed QGIS 2.8.2 since a few days and have no experience with this application. I try to extract the outer points of a Point Shape into a Line Shape, like a shell for the inner points. All ...
2
votes
1answer
31 views

How can I save a modified shapefile in ArcGIS Pro as new shapefile?

I downloaded a zipped shapefile and modified it in ArcGIS Pro. How can I save changes as a new shapefile? I see only the option to save as Layer File. If it is not possible, how I can edit an ...
-2
votes
1answer
83 views

Where can I find spatial data for UK administrative boundaries?

I am specifically looking for UK local authorities, wards, postcodes in shp file format.
2
votes
1answer
59 views

Changing the extent of a Shape file in ArcMap for distrubution modelling in R

I am currently trying to create a species distribution model in R using maxent. The shape file I have is a map of an island. When viewed in ArcMap it has a set extent--in Lat and Long. I can ...
0
votes
0answers
24 views

Find line where the beginning or end of line touches a polygon with minimal radius

I need to check, If a point from a beginning or an end of a line is nearby a polygon. The target is to check, whether the line is nearly connected to a polygon. The data are coming from a shapefile. ...
0
votes
1answer
57 views

Importing shapefiles with unknown spatial reference into feature dataset?

I was wondering if I import shapefiles with unknown spatial reference into a feature dataset, with desired coordinate system, would that work?
2
votes
1answer
25 views

JAVA GIS create shapefile from FeatureLayer

The title kind of saids it all. I am attempting to export a featurelayer to a shapefile and am not having any luck finding a library which includes this functionality or relevant code to see where to ...
0
votes
0answers
57 views

Feature Points Shapefile missing Spatial Reference Information

I'm working with ArcMap 10 and I have a feature points shapefile from the Florence (Italy) municipality open data (http://opendata.comune.fi.it/statistica_territorio/dataset_0040.html). Each point is ...
2
votes
1answer
33 views

Multiple display of vector layer in a qgis plugin interface

def initGui(self): """Create the menu entries and toolbar icons inside the QGIS GUI.""" icon_path = ':/plugins/cropEt/icon.png' self.add_action( icon_path, ...
0
votes
2answers
56 views

Extracting a number of rows from a column in R

It's a shapefile that has a column with population. a$POP2001 It has 200 rows.I want to extract the settlements that contain less than 1000 residents, so i did this: s<-a[a$POP2001<1000,] ...
1
vote
1answer
103 views

How to reproject a raster from lat/lon to UTM in R?

i have to turn it into a UTM in order to make the buffer functional. wets<-readOGR(dsn=".",layer="shapefile") r.raster <- raster() extent(r.raster) <- extent(wets) res(r.raster) <- 100 ...
0
votes
1answer
27 views

GDAL Truncating/Normalizing Field names

While creating a ESRI-Shapefile using GDAL, it keeps truncating/normalizing my field names. Any reason why it does this? If the Field name is more than 10 characters it seems to do this. For example ...
0
votes
1answer
39 views

How to rasterize a shapefile in R? [duplicate]

I have several shapefiels that i have to turn into raster. Here's the coastline coastline<-readShapeSpatial("shp") r <- raster(ncols=90, nrows=45) jd<-rasterize(coastline,r) plot(jd) ...
1
vote
1answer
31 views

Python ogr filter attribute SQL

I have a shapefile with 4 attribute fields (MC_ID, MC_info, C_ID, C_info). I want to change some MC_ID values selecting the features by C_info. For example: I want to set MC_ID = 2 for C_info = g19, ...
2
votes
2answers
66 views

How can i update postgis data from shp?

Now,I know how to insert a shapefile to PostGIS by using shp2pgsql.exe. If I have an updated shapefile and I only want to update the updated rows, how can I know the table being updated?
2
votes
0answers
33 views

Merge Spatial polygons from shapefiles

I have downloaded the shapefiles from the following website: http://download.geofabrik.de/europe/france.html Each zip contains a "landuse" shapefile and I want to merge all of them in one single ...
0
votes
1answer
41 views

How to plot a shapefile with colors according to a column numbers in R?

reclass = function(x){ ifelse(x == 0, 10, ifelse(x > 0 & x <= 20, 0, NA)) } arch$ranks<-as.factor(unlist(lapply(arch$ranks,reclass)) arch.col = topo.colors(nlevels(arch$ranks)) ...
0
votes
1answer
54 views

How to rasterize a vector dataset in R?

I would like to compare vector vs raster data. So i try to fix a problem using both ways. I made it in vector first : coastline<-readShapeSpatial("shp") wets<-readShapeSpatial("shp") ...
0
votes
0answers
20 views

Problem with passing ranks to different buffers

This issue is really troublesome.i have a SpatialPointsDataFrame which refers to a city.I needed to perform a join with a dbf in order to attach the population column which i did thanks to a couple of ...
1
vote
1answer
78 views

arcgis online can not load shp file

I am trying to load .shp file to arcgis.com online. I put it to zip file and has .dbf .prj .qpj .shp .shx files in zip. It can be opened in QGIS, CartoDB, but when I trying to import arcgis online. ...
1
vote
2answers
74 views

How to programmatically import a Shapefile into Oracle DB using Java?

What's the best approach to import a user uploaded shapefile into an Oracle DB? The dbf, shx and shp files of the Shapefile come in a ZIP Archive. Currently, we unzip programatically and then parse ...
0
votes
0answers
13 views

Grass 7 import shapefile problems

I'm just messing about with Grass 7 (installed fine on Ubuntu 14.04 - well no errors at least). I'm trying to import a shapefile using v.in.ogr and when presented with the dialog box, browse for my ...
2
votes
1answer
57 views

How to join a dataframe with a dbf via a common column in R?

I have a SpatialPointsDataFrame with the data of a city and i want to join it with a dbf that contains the population via a common column that they have. How do i do that so the first one has the ...
1
vote
1answer
31 views

How to easily change/edit existing field datatype in shapefiles? [closed]

I am editing attribute tables of multiple shapefiles for a future project. I need the field data types to be very specific and uniform among all the shapefiles. I am running into the problem that the ...
1
vote
1answer
26 views

Creating centreline for every polygon in submarine canyon database using ArcGIS for Desktop Basic?

I have the Basic license for ArcGIS and so I cannot use the collapse dual lines to centreline tool or the river bathymetry toolset by ESSA as they both need an advanced license. Any idea how I can ...
1
vote
0answers
42 views

Cannot select linesegment in QGIS

Drawing a baseline in an attempt to make a grid. Have managed to draw baseline but cannot select using cad tools "select one linesegment" tool. Worked previously and I'm not aware that I'm doing ...
2
votes
1answer
99 views

How to plot certain values of a column in R?

Lets say we have a shapefile of cities with a column called category cities@data category A B A C A A B C How can i plot the A category only etc? Tried c<-cities$category[A] ...
3
votes
1answer
38 views

Association shape files to custom data in r

This is probably an obvious question. I have an Australia Shapefile (can be found here http://www.abs.gov.au/AUSSTATS/abs@.nsf/DetailsPage/1259.0.30.001July%202011?OpenDocument) and some custom data ...
0
votes
1answer
48 views

How to rank according to a distance in a shapefile using R?

I would like some help on the theory behind this. I have done this in GRASS easily but doing it in R is not the same. Here's the table with the info, there are more tables similar to that but refer ...
1
vote
1answer
29 views

symbology with 2 fields - one for the color and another for the shape?

for example, i have two fields: 1 - a, b, c 2 - X, Y, Z and i want to do like this: a - square, b - circle, c - point X - blue, Y - red, Z - pink and when i have a and Y - it whould be red square.
2
votes
1answer
36 views

Need to make a shapefile by tracing over a Google Earth image

Basically, what I'm trying to do is create a very simple polygon shapefile of some new areas defined by boundaries specified by my company. These boundaries don't match any known shapefile as it's a ...
1
vote
1answer
67 views

Points of LinearRing do not form a closed linestring - one point intersection

I'm trying to index geojson data using elasticsearch. There is some kind of polygons that causing an error: "Points of LinearRing do not form a closed linestring". Looks like it happens because ...
1
vote
0answers
48 views

Does anyone have a Morocco shapefile that includes Western Sahara at the Provincial level?

The 2004 Moroccan census data is available at hcp.ma. I was wondering if anyone had a Moroccan shapefile at the provincial level or commune level that matched the data available on the census and ...
0
votes
2answers
46 views

Delete observations that fall outside of shapefile

I have data that locates places by xy coordinate. I have plotted them on a shapefile. As you can from the sample map I have uploaded, many of the xy coordinates are incorrect and locate places ...
1
vote
1answer
57 views

Postal code shapefile for france?

Can anyone tell me of an open source where I can get the shapefile for France at a postal code level?
1
vote
0answers
59 views

Using a ShapeFile spatial index with ogr2ogr and ogr.DataSource.ExecuteSQL()

I created a spatial index foo.qix for a foo.shp with ogrinfo -sql "CREATE SPATIAL INDEX ON foo" foo.shp However, when I do a query with ogr2ogr and look at it in strace, it doesn't use that index: ...
1
vote
1answer
53 views

find the population density of some points in qgis/postgis

I have the tiger census data of population density in each block group. I also have a different kind of data: traffic accident data, where an accident has a lat/lon pair. My goal is to find the ...
1
vote
1answer
52 views

Seeking shapefile of administrative divisions of Cote d'Ivoire (Ivory Coast) post-2011

I've been trying to find a shapefile containing CIV's administrative divisions (preferably down to the level of sous-prefecture) reflecting the national reorganization of 2011 but have had no luck. ...