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)

1
vote
1answer
388 views

Create shapefile based on geojson data with geotools (Java)

I'm using Geotools 14.0 for Java and I'm trying to generate shapefile based on data from GeoJSON. Here is my code: try { String url = "geojson.json"; File geojson = new File(url); ...
13
votes
3answers
3k views

Is there a public shapefile with the London Underground stations and lines?

Is there a public shapefile containing the stations and lines of the London Underground? I've been doing some intensive searching but I can only find the coordinates of the stations, or the lines in ...
1
vote
3answers
271 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 ...
3
votes
3answers
142 views

How can I delete Shapefiles in QGIS?

In the Browser it's not possible to delete Shapefiles. In ArcMap you can delete Shapefiles easily within the Catalog. How can I delete Shapefiles in QGIS without minimizing the QGIS-Window, navigating ...
3
votes
2answers
60 views

Label and symbol with condition in layer properties under style tab

I have forest areas. I want to put tree.svg with condition. Layer properties-> style-> background -> shape ->svg Something like this: if (myfield<1300 , then show, C:/PROGRA~1/...
-1
votes
1answer
34 views

Script Convert KML to Layer [closed]

I have a KML file (https://meocloud.pt/link/a60a4408-0b89-4163-9a4d-c91c181bbab4/ROI.kml/) and I want to convert to SHP in ModelBuilder using this script that I found on-line, but it doesn't work. Can ...
1
vote
1answer
30 views

Finding shapefiles of all major cities in world (National and state capitals) at sub-district level?

One option is GADM. Having explored this data, while it satifies my need for some cities, its hard to find this data at such a granular level (lower than district level) for most of the cities.
-3
votes
1answer
476 views

Sending Shapefile to SQL Server 2012?

How can I send a shapefile to an SQL Server table? I have searched and found a tool called ShapetoSQL but I am developing a c# Windows application so I am looking for an Open Source solution.
4
votes
4answers
3k views

QGIS exporting attributes in a KML file

Here is what I am doing: Create a layer by uploading a shape file into QGIS Select Attributes of that file Export selected attributes with the "save only selected features" check box when I save the ...
1
vote
2answers
21 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
12k 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
51 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
2answers
45 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
46 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 ...
0
votes
1answer
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 ...
0
votes
1answer
595 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
89 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
48 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
234 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
23 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
11k 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
41 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
45 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 > ...
3
votes
2answers
167 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
55 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
27 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 ...
0
votes
0answers
36 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
41 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 ...
31
votes
4answers
39k 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 ...
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
53 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 ...
3
votes
0answers
44 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
3k 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 ...
3
votes
1answer
41 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
76 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
25 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
49 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
36 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
3answers
153 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
75 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
49 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 find ...
14
votes
1answer
775 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 ...
0
votes
1answer
46 views

Converting shapes using OGR2GUI

I am trying to convert a MapInfo .TAB file to a Shape file while setting the projection of the target to NAD83 UTM Zone 19. The latest version of OGR seems to not have this projection available in the ...
1
vote
1answer
291 views

Using Openflights database in QGIS?

I would like to have a shapefile with the airports position and the routes of the planes I've found Openfilghts but I can't use it in QGIS. Seems that the format of the DB .dat is not supported by ...
0
votes
1answer
103 views

Using Spatial Adjustment to georeference shapefile?

I am having trouble using spatial adjustment to georeference a shapefile that I created from a CAD drawing to a basemap of satellite imagery. At first, the shapefile had an unknown coordinate system,...
1
vote
1answer
27 views

Where can I find Hawaii public transit data?

I am looking for public transportation routes and stops for Hawaii public transit. So far I have found a shapefile for TheBus routes and stops for the island of Oahu from the state of Hawaii Office ...
1
vote
0answers
14 views

Create a map of only one country in DIVA-GIS

I made a map of china with the places where the climate is suitable to plant Brussels sprouts. The bounderies of China are in a shapefile. However the layer with the colormap showing where the climate ...
0
votes
1answer
58 views

Crop Raster from using Polygon shapefile in R

I am trying to crop a raster by a polygon in R to the state of Sergipe-Brazil. My raster is a raster brick criated by 7 .tif files which are EVI (vegetation index) time series. Since the EVI archives ...