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
2answers
280 views

ArcGIS Javascript API: Adding a shapefile with more than 1000 points

I am able to add shapefiles with less than 1000 points by using the ArcGIS Portal REST API as shown in this example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html ...
0
votes
1answer
284 views

Converting mapsforge .map file to OSM or shp

I have found solution for converting OSM file into .map file but is there a way for converting .map file back to osm or shp or any other well-known vector file type? by .map file i mean mapsforge ...
1
vote
2answers
19 views

Looking for a shapefile of the US Southwest Border Sectors

I'm looking for a shapefile similar to the following image: I'd just like the outlines of the sectors. I'm only concentrating on the southwest border which is San Diego all the way to Rio Grande ...
6
votes
8answers
11k 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 ...
0
votes
0answers
40 views

Export from SDE to Shapefile Bug

I'm exporting data from a large-ish SDE feature class (888,628 features) to a shapefile. I'm using the ArcMap GUI export process (add the SDE feature class as a layer, right click >> Data >> Export ...
0
votes
1answer
291 views

Shapefile - problem with number of points in LinearRing

I am new to shapefiles and I've got a bit lost. I am trying to plot pooling sections in my region (Madrid) with different colors. But I get Error: IllegalArgumentException: Invalid number of ...
2
votes
0answers
14 views

What is a UK boundary shapefile available for download via persistent URL (for cURL) with parish-level detail?

I'm in the process of generating a series of choropleth maps for a journal article and am writing this up in R as an .Rmd. My aim is to set this up as reproducible research, that is in a form which ...
2
votes
1answer
318 views

pgsql2shp ERROR: incompatible mixed geometry types in table

I have multi-linestring in .shp files and I split the lines with postgis, but that result is only geom column. It does not works with shape file exporter error: incompatible mixed geometry types ...
0
votes
2answers
26 views

shp2pgsql: how to know the schema.table?

I want to import a shapefile using shp2pgsql. I am using Mac with Postgis 2.2. Based on this reference: A conversion and upload can be done all in one step using a UNIX pipe: shp2pgsql -s ...
2
votes
1answer
22 views

Loading Data with shp2pgsql and “Syntax error at or near shp2pgsql”

I want to import a shapefile using shp2pgsql function in the psql shell on Mac. I have created a spatial database (example_gis). By refering to this guide, having connected to this database, when I ...
1
vote
1answer
1k views

Importing Census TIGER Shape Files to SQL Server 2012?

I've been doing my research on how to import shape files into Microsoft SQL Server 2012. and am still unable to figure out how to do it after hours of playing around with it. I'll document what I've ...
0
votes
2answers
3k views

Cannot open shapefiles in ArcGIS Desktop 10.3

I have shapefiles and mxds that were working fine in 10.1. I then downloaded version 10.3 ArcGIS Desktop Advanced. Now when I open the mxd, all of the data links are broken. when I open properties ...
6
votes
2answers
2k views

Python script using SAGA and arcpy for converting 'on the fly' LAS point cloud to shapefile?

Summary: I have created a process to import a LAS point cloud, clip it, select the ground points and save the output as an XYZ.txt for clients to use. This uses a python based script (will become a ...
5
votes
1answer
362 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
0
votes
1answer
522 views

Writing ISO 19139 compliant XML metadata from a spreadsheet

I am looking at a way to migrate the metadata from a spreadsheet into ISO 19139 compliant XML metadata documents for a collection of shapefiles. I can parse the data out of the spreadsheet into ...
2
votes
1answer
70 views

Why do layers with different CRS overlap fine but cannot be merged by location?

Perhaps someone could clear this up for me? I have a shapfile with the CRS Selected CRS (EPSG:29902, TM65 / Irish Grid) I also have a number of XY points which take the CRS, Selected CRS (EPSG:4326, ...
1
vote
0answers
25 views

QGIS: Release file lock on file used in a processing algorithm at the end of script

I am using runalg (qgis:joinattributesbylocation) on two QgsVectorLayer objects. At the end of my script I'm trying to delete all the files created during the script. I can delete everything except ...
3
votes
1answer
232 views

Problem with precision when convert from WKT to shapefile

I have a problem with converting from WKT to shapefile in pygdal. In wkt I have fields with precision (for example real 7.2). When I create a shapefile I have field numeric with no precision (numeric ...
1
vote
0answers
17 views

Converting .shp to wkb after v.clean

I've been trying to get to through this by reading manuals, but I can't seem to understand what I'm doing. I have source data with overlaps that exist in a table with associated WKBs(SRID 4326). I ...
7
votes
4answers
9k views

Converting osm file to shapefile (or data frame) in R

I was looking for a road shapefile for Australia today. I ended up going to Geofabrik. Open Street Map has data in .osm format. But they do not have one in .shp for Australia. If possible, I want to ...
0
votes
2answers
36 views

Strange coordinates for San Francisco: 5979762, 2085921 from Shapefile

I have a Shapefile (.shp, .dbf, .shx, .prj) that's supposed to represent street data for San Francisco, which I'm writing a parser for. The problem is, when I parse the bounding box according to the ...
2
votes
1answer
37 views

How can I subtract one (very very large) set of features from another?

I'm trying to subtract a very large set of features (water areas) from another, relatively small set of features (land area). In principle, I should be able to do this in QGIS using Vector > ...
1
vote
1answer
173 views

Trouble Converting from a shp. to gpx file and up loading to GPS

Currently I have a series of random points within a shapefile that I would like to upload to my GPS. Every time I try to upload the points via "Save file" it come up with an error message (posted ...
3
votes
2answers
77 views

How to add a shapefile programatically using PyQGIS

I am trying to add a Shapefile outside of the QGIS environment using PyQGIS. Ideally this would be done without creating a map in QGIS. I've started with the code below but am receiving the following ...
1
vote
1answer
34 views

shape files of Mumbai ward map

I am looking for shape files for Mumbai ward wise map. This is required for my research work on disease mapping. Please could anyone share any link for the shape files.
0
votes
1answer
23 views

How to measure distances between multiple polygons whilst avoiding buildings

I am trying to map habitat corridors for different species of animals. A map with both habitat areas and buildings as shape files (shown in the image below) Maximum distance an animal will leave ...
1
vote
1answer
1k 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
0answers
25 views

ArcMap 10.1 Partitioning value (100 tonnes/ha) of underlaying shapefile, to multiple features in same shapefile in areas that they overlap

I have tried searching for an answer but can't think of a way to generalize my question to other scenarios. Looking for answers using ArcMAP 10.1. I currently have two shapefiles. One contains ...
0
votes
0answers
26 views

Insert shapefile drawn features into PostgreSQL

Sorry my question is repeated, unfortunately i didn't get the proper solution for the problem. I have a LeafLetjs map on which I draw features like: points, polygons, markers, lines etc and I am ...
1
vote
1answer
34 views

Reprojecting: trouble converting MapInfo data to shapefiles in QGIS

I was given a dataset generated in MapInfo. I need to use these files in QGIS, so I imported the .TAB files and saved them as ESRI shapefiles. I then realised the original dataset uses a custom "user ...
28
votes
4answers
35k views

How to open a Shapefile in R?

I need to open a shape file from ArcMap in R to use it for further geostatical analysis. I've converted it into ASCII text file, but in R it is recognized as data.frame. Coordinates function doesn't ...
3
votes
1answer
460 views

How to create a new shape file from jts geometries?

What I use: Java 1.7, JTS 1.13, geotools.api 14 What I have finished: Creating correct JTS geometries from OSM relations, ways and nodes. What I want to achieve: Create a csv file which contains the ...
0
votes
0answers
36 views

Are there any addresses that straddle two or more congressional districts?

I'm using a shapefile of TIGER data provided by the Census Bureau for locating an individual's congressional district. In PostGIS I'm running an ST_Intersects query in order to take a (lat, long) ...
2
votes
1answer
32 views

Export RAT (KEA driver) to Shapefile

I have a dataset of rasters (driver kea) whose has, let's say, 20-30 attributes in their RAT. I'm realizing how to have these attributes in shapefiles (without using proprietary software). I've read a ...
1
vote
1answer
3k views

importing shp file in matlab

I have digitize 3 rivers on google earth and converted into shp file to use in matlab. I have checked the shp file in Arcgis and they are working. But while opening in Matlab, matlab shows some error. ...
2
votes
1answer
403 views

How to extract percentage of land cover from a raster according to multiple shapefiles?

I have a raster map that represents land cover of a region, and different shapefiles (total 120) in the same region. I want to know the percentage of every land cover for each shapefile. For example, ...
3
votes
0answers
30 views

Uploading Shapefiles to Garmin?

I am trying to upload shapefile polygons onto my Garmin 60Cx GPS. I use the Trace tool and load shapefiles via Minnesota DNR's application. There are almost always gaps in the shapefile on the GPS, ...
3
votes
6answers
3k views

Unable to export data to ShapeFile in ArcGIS

I've imported an Excel sheet into my ArcGIS project but am unable to convert this to a ShapeFile. When I try, via export data, I get an error message saying either 'output name is not valid', whatever ...
8
votes
2answers
2k views

Removing rows in shapefile in R

I've imported a shapefile into R, and joined it to a table. My shapefile contains all the census ids, while my table only contains selected census ids. I'm now trying delete all the rows didn't get a ...
2
votes
0answers
28 views

How to create MBtiles file from “.osm.pbf” file using TileMill?

I am using Mapbox Offline Map in my app using MBTiles. Previously I was using shapefiles for creating offline maps. After searching a lot I am not getting Australian shapefiles. But my friend ...
3
votes
1answer
33 views

How to use custom shapefiles in OpenTripPlanner?

I have some .shp files and I wanted to try to use them in Open Trip Planner. I run the command: java -Xmx2G -jar otp-0.20.0-SNAPSHOT-shaded.jar --build /path/to/my/shapefile/ --inMemory but I get ...
2
votes
0answers
60 views

Insert shapefile draw features into PostgreSQL database using java EE (pragmatically)

I am working with PostgreSQL 9.4 and Java EE i want to insert shapefile or layer's features into PostgreSQL, is there any solution so i can insert the whole shapefile into database. OS Windows10. ...
0
votes
0answers
22 views

Convert rasterfile into shapefile for ArcGIS Online upload/integration

I am looking for a way to integrate a heatmap (rasterfile - created in ArcGIS 10.1) into an ArcGIS Online project. <- Since it only allows Shapefiles (& .txt & .csv & GPX) and no ...
0
votes
1answer
41 views

A patch of water that is part of a shapefile is painted as land [closed]

So I've set up OpenMap in a Java application, but the default world map shapefile (dcwpo-browse.shp) that comes with OpenMap wasn't sufficient enough, since the area I specifically needed wasn't fully ...
1
vote
2answers
30 views

Meaning of ERROR 001707 when sharing layer as layer package file from ArcGIS Pro?

I have had no success when trying to share a layer as a layer package file from ArcGIS Pro 1.2. The procedure that I use to reproduce this is: Start ArcGIS Pro 1.2 Create a New Project using the ...
1
vote
1answer
882 views

Import shapefiles into PostGIS using Python with psycopg2

I want to import shapefiles to PostGIS using Python with arcpy & psycopg2 to connect to PostGIS. I don't want to use the existing shapefile loader nor ogr, just write my own import tool. My steps ...
1
vote
3answers
123 views

Shifting .dwg file to align with a shapefile

I'm trying to integrate data in a .dwg file collected by surveyors into an ArcView 10.2 project I have projected as NAD83 UTM Zone 10 N. The survey data is in an undefined coordinate system but I ...
1
vote
1answer
57 views

LeafLetjs: GeoJSON invalid object error

I am getting GeoJSON data from postgresql, but it seems to be invalid. How can I validate it? After getting GeoJSON format data I want to put on map for projection. I am using LeafLet, java EE, ...
1
vote
1answer
37 views

How to find the area with most intersection for buffer regions?

Find the area with the most intersection This question relates to previous question asked - How to find the intersection areas of overlapping buffer zones in single shapefile?. I tried to ...
14
votes
1answer
744 views

The next big thing in standardized spatial data exchange format?

I remember reading something a few months back, in the latter half of 2012, about a coordinated group effort to design a new standard for sharing geographic / spatial data. It has or aims to have the ...