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)

0
votes
0answers
17 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.
0
votes
1answer
52 views

Distance to coastline?

I have a shapefile of Ireland, and some xy coordinates plotted on top of it. Is it possible to calculate distance to the coastline, for each XY? I am an ArcGis beginner.
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 ...
1
vote
1answer
73 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
2answers
183 views

Reducing Size of KML file (After converting from Shapefile)

I have a shape-file of size 224 mega byte. I am using ArcGis to convert it to a KML file. The process involves converting the shapefile to a feature layer and then converting the layer to KML. An ...
0
votes
1answer
55 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
23 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 ...
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 ...
3
votes
1answer
28 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: ...
0
votes
1answer
188 views

Shp2pgsql - exec() not allowed on external server

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise). We put these commands in a php variable and use the exec() command to execute them. This ...
1
vote
0answers
24 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 ...
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
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, ...
-2
votes
1answer
74 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
27 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. ...
4
votes
3answers
4k views

Using PyShp to convert polygons in *.csv to *.shp files?

I'm converting csv data to shapefiles using the pyshp python library. What I want to do is very similar to Using the python shape library: pyshp - how to convert .csv file to .shp, except that I ...
1
vote
1answer
25 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
46 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 ...
2
votes
1answer
175 views

Extract data from netcdf using a shapefile polygon in python

I need to subset data from a NetCDF using a specific shapefile. The data are sea surface temperature and ocean color at 1/4 degree resolution. I have 4 polygons describing the US. Northeast ...
0
votes
0answers
20 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
55 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
28 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
1answer
224 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I ...
0
votes
0answers
52 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 ...
1
vote
1answer
86 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
58 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:", ...
2
votes
1answer
149 views

Simplifying TopoJSON causes leak of Natural Earth in d3

I'm working with topoJSON and D3 to display Natural Earth data on a globe. Obviously, we need to simplify our geometries while still keeping borders consistent. We've created a script as based on ...
0
votes
1answer
36 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
53 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
1answer
19 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
27 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
63 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
32 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 ...
1
vote
1answer
472 views

Where to Dowload Village layers for India with census 2011 information?

Does anyone know where I could download a layer of all villages in India together with their populations (hopefully from the 2011 census)?
0
votes
1answer
35 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
56 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
51 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
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
2answers
282 views

How to plot Storm Prediction Center (SPC) Shapefile using python

I am trying to make a plot of the SPC's thunderstorm outlook using Python. I have downloaded the shapefile from this website http://www.spc.noaa.gov/products/outlook/day1otlk.html. Then I use this ...
-3
votes
0answers
47 views

Defining Coordinate system

I am working with a bunch of shapefiles that have no coordinate system attached to them. I was wondering if there is a tool that I can define a new coordinate system for them and bring them in to GDB! ...
0
votes
1answer
45 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
55 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
11 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 ...
1
vote
1answer
963 views

ArcMap “Could not open the specified file”

Has anyone ever encountered this message? I am getting this when I try to open certain shapefiles. I am working on a problem that generates shapefiles from spreadsheets using ThinkGeo's .NET tools. ...
5
votes
2answers
562 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
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 ...
11
votes
7answers
8k 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
36 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
34 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
21 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 ...