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)

3
votes
0answers
35 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 ...
3
votes
1answer
50 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: http://www.naturalearthdata.com/downloads/10m-physical-...
1
vote
0answers
57 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
56 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, ...
-2
votes
1answer
137 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.
1
vote
1answer
96 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. ...
1
vote
1answer
181 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 ...
2
votes
1answer
455 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
49 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
2answers
75 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,] ...
2
votes
1answer
86 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, text=self....
0
votes
0answers
122 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
1k 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
164 views

Keeping Properties When Converting JSON to SHP

I'm trying to convert the Nielsen map of DMAs from a JSON to a shapefile. The properties of the json is as formatted like this: "id": 546, "properties": { "name": "dma:", ...
0
votes
1answer
58 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) ...
0
votes
1answer
101 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") wetb<-...
0
votes
1answer
33 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 ...
1
vote
1answer
160 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
162 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
80 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
165 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)) for(...
1
vote
2answers
687 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
21 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 ...
0
votes
1answer
90 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 ...
2
votes
1answer
134 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 ...
0
votes
0answers
42 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 ...
5
votes
2answers
688 views

Rapid digitizing of Point Data using ArcGIS Desktop?

I have several big maps with a lot of points that I have to digitize. All these Points have different Values (depth in Meter, double) and will be stored in 1 Shapefile. Is there a way to speed up my ...
1
vote
1answer
61 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 ...
13
votes
7answers
11k views

ogr2ogr convert all shapefiles in a directory

I have a directory with several shapefiles. How can convert all these shapefiles to MapInfo with ogr2ogr. I know how I can convert one file. And I can make a batch script writing a line for each file. ...
3
votes
1answer
72 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 ...
1
vote
0answers
141 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 ...
1
vote
1answer
70 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
1answer
1k views

Why does Add Field to Layer File give “ERROR 000840: The value is not a Feature Layer”?

I'm trying to add a field to a layer file, but it always gives an error. What I did was making a closest facility layer and save the result as a layer and after that I tried to add a field, but then ...
0
votes
2answers
177 views

Shapefile not displaying in ArcGis Android SDK 10.2.6-2

I am trying to load a shapefile (not displaying at the moment) using the following: Hardware: Android rugged tablet running Android 4.2 SDK: ArcGis 10.2.6-2 Shapefile: http://rdw.sandag.org/...
2
votes
2answers
178 views

some shp to dxf converted lines don't show in Autocad

I have a group of vector files that I intend to convert to "DXF" format. But after the conversion, only contour lines(white lines in the red polygon) are not displayed in Autocad. I read some related ...
1
vote
1answer
41 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.
1
vote
0answers
317 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 ...
2
votes
1answer
106 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 ...
0
votes
2answers
66 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
405 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?
2
votes
1answer
180 views

Merging ShapeFiles with QGIS for UK counties

I want to draw a map for all the counties of the UK including Northern Ireland. Since I cannot find a source of counties including both Northern Ireland and Britain, I tried to merge two shapefiles ...
1
vote
0answers
200 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: ...
2
votes
0answers
72 views

What is the most suitable way to get the boundary of a state or a country or the whole world dynamically?

I am working on a project where I have to create filled map charts based on the data client has provided. The data has latitude and longitude information. Based on the selected level (city or state or ...
1
vote
1answer
133 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 ...
2
votes
1answer
2k views

Importing shapefile (.shp) in Adobe Illustrator

I am working in ArcGIS, in order to enhance the quality of map , I need to import the shapefiles with all layers, to adobe illustrator. Can anyone suggest the steps doing this?
0
votes
1answer
149 views

How can we export shapfile to svg format using Pyqgis

I am doing a project where i have to export file from shapefile to svg format using Pyqgis. i have read some articles regarding simplesvg plugin but i don't know how can we achieve the same task using ...
4
votes
1answer
385 views

QGIS Export Shapefile

i am trying to export selected feature using pyqgis. till now i have tried these codes. after using this i can select feature but dont know how to export selected feature to new shapefile. canvas= ...
1
vote
1answer
547 views

Changing colours in GeoPandas?

I have a very simple map (http://www.nyc.gov/html/dcp/download/bytes/nybb_15b.zip) and I have never before worked with shapefiles in any way. Can someone tell me what I need to do in order to change ...
2
votes
3answers
524 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 ...
0
votes
1answer
74 views

Merge shapefiles heatmap

I have to merge few shapefiles into one and create a heat map out of it in qgis. I'm a first user of the QGIS, I tried to do it there: vector-management tools-merge files into one, but it kept to make ...