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
4answers
5k views

How to convert SHP to GPX or to JSON?

I would like to convert the tree inventory shape files of London (Canada) into a GPX file and if possible into a JSON file. You can download the archive from their Open Data website. It contains the ...
3
votes
2answers
782 views

Where to find Vietnam administrative level 4 shape file?

I am new to mapping, and would like to make a custom map using Vietnam's administrative boundaries shape file. I found a great source at gadm.org, but it is licensed for non-commercial use only. I ...
8
votes
3answers
1k views

How to stop writeOGR from abbreviating Field Names when using “ESRI Shapefile” driver

I'm currently using the following script to add some attribute data from a table to lots of individual shapefiles: library(rgdal) specieslist <- read.csv("SpeciesList1.txt", header=F) attdata ...
1
vote
0answers
36 views

Using Python Opensource Libraries to check users who visited a store [closed]

I have a few files with location information: 1) User Lat Long Pings in Parquet Files (can be converted to CSV) format - this contains userid, timestamp, lat and lon 2) US County/State Shapefile 3) ...
0
votes
0answers
9 views

How to calculate area percentage from polygons from one shapefile within another? [duplicate]

I'm working on a project where I have to create python code that takes land-use data and adds a percentage field for each land-use category in a Census Tract shapefile. I've been trying to work with ...
0
votes
0answers
31 views

Multiple join of Access data with ArcGIS shapefile

I am looking for a solution for joining constantly modificated data to my shapefile. The shapefile consists of polygons. Each one has a code. In the Access database, I have varias colums for one code ...
1
vote
1answer
61 views

GDAL Python OGRFeature .GetGeometryRef vs .Clone().GetGeometryRef

Just recently I was trying to get the geometry of a polygon stored in an ESRI Shapefile. In the script I was trying to read the polygon as follows: import ogr path = "shape.shp" ds = ogr.Open(path, ...
2
votes
0answers
76 views

NetCDF to Shapefile with Python and GDAL?

I need to save my outputs, which are netcdf files or panda python tables, to shapefiles. They cannot be rasters because the software I am loading them into accepts shapefiles only. I have googled ...
0
votes
1answer
122 views

town, village, prefecture shapefiles for China?

I'm looking for boundary files for towns, villages and prefectures in China that are free. I've came across http://chinadataonline.org/, but they are limited. Can anyone tell me where to look?
0
votes
0answers
42 views

Number of polygons in shapefile too high

I downloaded administrative shapefiles from www.gadm.com/country (China). The Python (Basemap) code below tells me that there are 2365 polygons in it. However the .csv and .dbf files included with the ...
0
votes
1answer
35 views

How I can show details a marker in openlayer through MapServer?

I have a problem but no solutions. Can you help me? I have a mapfile read from shapefile: MAP IMAGETYPE PNG EXTENT 779275 2222000 788430 2233835 SIZE 800 800 SHAPEPATH ...
1
vote
1answer
49 views

How to do spatial join in FME by preferring points with same attribute

First of all, I'm new to FME, but I'll try to be specific with my question. I have two different shapefiles with point features. These points have information on bridges and overpasses etc. but are ...
0
votes
0answers
37 views

Getting historical administrative boundary GIS files for India?

I am currently working on a project for which I need to get GIS maps of India at a district-level in the 80's and 90's. India's district and state boundaries have changed considerably over the time ...
0
votes
0answers
30 views

Using shapefiles as a reference for accuracy assessment in ecognition

I classified my project and got an esri shapefile with points in it. Those points are hand made samples with the right class assigned to them. Now I need to use those samples to check my own ...
1
vote
2answers
433 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 ...
1
vote
2answers
85 views

Speeding up Python code to convert multiple csv to shapefile?

I am trying to work with some crime data from https://data.police.uk/data/ The data is organised in several .csv files, one for each month and each crime is geocoded with Lat and Long. As the file ...
6
votes
3answers
4k 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
0answers
36 views

Searching for UN regions/sub-regions shapefile

for a visualisation project I need the boundaries of the UN regions as defined here : http://unstats.un.org/unsd/methods/m49/m49regin.htm That's 21 polygons for the sub-regions. I have been looking ...
1
vote
1answer
163 views

How to add Lat/Lon (decimal degree) values in Attribute table field in ArcGIS?

I have a point shape file (WGS 1984, GCS) with some random data points. I want to add the latitude and longitude in attribute field.
2
votes
2answers
223 views

How to add polygon layer into raster data?

I performed a supervised land-use classification with Erdas. Landsat data was used in ArcGIS to Digitize urban areas as polygon shapefile. I want to insert these polygons into the land-use raster ...
1
vote
1answer
48 views

QGIS: multiple values in a single field of the attribute table

This is my first question on this site: it is probably already been exposed many times, but try to forgive me if I could not find it. Secondly, English is not my native language, I will try to be as ...
1
vote
2answers
79 views

ESRI Shapefile not loading into SQL Server

I have been loading a number of shapefiles into SQL server 2012 using ogr2ogr.exe and the MSSQLSpatial driver. Up until this point, I have been very successful with doing so. However, I have now run ...
1
vote
2answers
117 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. ...
0
votes
1answer
19 views

Layers not overlapping in QGIS? [duplicate]

I downloaded a bunch of wpts from my gps. I converted them to .SHP format with a CRS WGS 84 in QGIS, and started a new project. I then exported some satelite imagery from the internet as a tiff and ...
0
votes
1answer
29 views

Merge adjacent polygons

I want to write software that merges groups of (mainly) adjacent polygons. For example, merge the US counties into sales regions. Then, display either the boundary of these sales regions or fill them ...
3
votes
1answer
99 views

Creating centerline of polygon using PostGIS?

I am aware of Finding centrelines from polygons in QGIS? but I am looking for another Open Source GIS way to do this. Is there a possibility to create centerlines in PostGIS? I have this shapefile ...
1
vote
1answer
79 views

QGIS Two people working on one shapefile at once?

Is it possible for two people to work on the same shapefile at the same time? Atm we split the data into two shapes and merge them after editing (version 2.12), but we are looking for a more ...
3
votes
2answers
93 views

Projection for Calculating Distances in Continental United States?

TL;DR Question: I want to calculate distance from point to edge of nearest polygon for 2,000 points in Continental United States. What is the best projection to use? Full Question: I have two ...
4
votes
1answer
95 views

Polygon inner rings/holes issue

I am working on a script to smooth polygons. Essentially it, separates the inner and outer rings/polygons and send the coordinates to a smoothing def/function. The "smoothed" coordinates are then ...
0
votes
1answer
111 views

How to edit a tiff aerial image in ArcMap 10.3

(beginner with arcmap) I have aerial images in tiff format and I need to edit them in order to draw polygons on them. When trying to edit them I get a message that says that there are no layers ...
2
votes
3answers
976 views

Join CSV file to shapefile

I wanted to join a CSV file to a shapefile. When I identified a field to facilitate the join, e.g., map <- spChFIDs(map, as.character(map$ID)) it returned Error in spChFIDs(SP, x) : ...
1
vote
2answers
283 views

Load a shape file in postgresql DB with php

I am trying to load a shapefile in a postgis database using the exec() command. I have read the format I have to follow from here and I checked several similar questions from the forum. Based on the ...
1
vote
1answer
61 views

Bringing multiple non-projected CAD .dwg files over to ArcMap as a projected ESRI .shp

Is there a streamlined method to bring over CAD .dwg files that have unknown coordinate systems into ArcMap as ESRI .shp files and project the coordinate system of each new .shp accordingly? I have ...
1
vote
0answers
44 views

GIS shapefile of corporate headquarters located in the US?

I am conducting MSA (Metropolitan Statistical Area) level analysis where I am tracking the number of corporate headquarters in the top 50 MSAs from 2000 to 2014. I am looking for a shapefile like this ...
1
vote
1answer
321 views

Open/Free Area Code Shape Files for the US/Canada

I would like to map magicJack's areacodes and exchanges against known area codes and exchanges to create a coverage map, just to see what it would look like as compared with, say, a mobile phone ...
6
votes
6answers
10k views

Why can't I export XY data to a shapefile?

I have added a table from Access to ArcMap, and then used 'Display XY data' to plot points. When I then try to export the Events to a shapefile I get an error message telling me: "Error exporting ...
3
votes
2answers
7k views

How to convert a shapefile to WKT?

I'm trying to convert a shapefile into the simple Well Known Text (WKT) format in the example below (from http://en.wikipedia.org/wiki/Well-known_text). MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)), ...
0
votes
0answers
27 views

Axis order in user Shapefile

I have a shapefile which has the following PRJ GEOGCS["WGS 84", DATUM["World Geodetic System 1984", SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], ...
0
votes
1answer
25 views

Converting Tabfile to a Shapefile with NodeJS?

How to convert a file with NodeJS? npm ogr2ogr not good for me. OS : win 8.1
0
votes
0answers
34 views

Watershed delineation for multiple points in a single shapefile

I have a shapefile with 23 points along a 11 km river and I wish to create upstream watershed boundaries for each point without having to split the shapefile into 23 individual points. I have snapped ...
4
votes
1answer
209 views

Finding overlapping attributes in two different layers using QGIS?

I have two layers - one with country borders, and one with river basin borders - and I need to find a way to generate a list of basins that occur in each country. Is there a way to find overlapping ...
3
votes
1answer
48 views

How do I fix distortions when reprojecting cshapes world maps?

I am using the cshapes package in R as a source of historically accurate country borders. While the default WGS 84 maps plot fine, I would like to reproject the maps. This introduces some distortions ...
1
vote
1answer
67 views

Merging vector with many polygons to single vector polygon in QGIS?

I am trying to add the boundaries of one shapefile (A) that are contained within a single polygon to the shapefile (B) of that single polygon. Both are at the same projection. I have tried clipping, ...
1
vote
1answer
24 views

Polygons created for holes after running ST_Collect

I ran an ST_Collect query on a polygon dataset using ogr2gor -dialect sqlite -sql SELECT ST_Collect(geometry),id FROM wl_test GROUP BY id The result is a multipart polygon, which is what I want, ...
6
votes
5answers
3k views

What is hierarchy (object model) of features in ArcGIS?

I'm new to GIS. My understanding of shapefiles is that they are (contain?) featureclasses, that contain features (points, polylines, polygons). Is there a clear hierarchy for these files. Would the ...
4
votes
1answer
272 views

How do you import .sbx, .dbf, .prj, .idx, and .sbn files in to ArcMap

I tried to open bathymetry map to the ArcMap but I just can open .shp file but I could not open other files accompanied with shp file because of the file type. How do I import .dbf, .prj, .sbn, ,sbx, ...
0
votes
0answers
28 views

Removing non-interactable “ghost” points

Non-professional here, working with ArcGIS 10.3 mapping soil data for an agricultural study and I have an issue with residual point features from a file I thought I removed. After I turn off all of ...
2
votes
1answer
52 views

How to write QGIS script to load Output file to Map Project with Desired Name?

Good news: the following line of code does produce the output as a shapefile with the name I want ("MyFile") and where I want it ("path"), path = "/Users/User1/Desktop/" ...
1
vote
1answer
172 views

Understanding ArcGIS Online Unable to load … status: 413 error?

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. ...
2
votes
2answers
100 views

Convert from shapefile or raster formats to LAS (preferably free)

I am looking for a solution to convert either from ESRI shapefile format to LAS or from a common raster format to LAS. I have access to following software: ArcGIS 10.2 for Desktop (arcinfo with ...