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
1answer
34 views

Problems with dividing multipolygons into polygons

I have a shapefile with countries boundaries downloaded from here and I am trying to upload it to PostGIS database with ogr2ogr. This file contains features of polygon and multipolygon types and ...
0
votes
1answer
29 views

Split a shapefile into smaller files on linux command line

I have a shapefile which has ~350,000 entries. This is too big to handle. I'd like to split it into many smaller files, such that each file has 10,000 entries (this means there'd be ~350 shapefiles). ...
3
votes
1answer
81 views

Selection by adjacent polygon features

I have a large polygon shapefile with lots of features from a model output, I need to remove anomalous features which are joined by a single vertex and part of a cluster of two. (example highlighted ...
2
votes
3answers
9k views

Export shapefile to KML for Google Earth - using QGIS

I am a real beginner with QGIS. I have shape files of my study site. I would like to have the nice google earth background. I would like to be able to see my files in Google earth, then I can zoom ...
1
vote
2answers
65 views

Remove small areas from SHP shapefile in Qgis? (Python R etc)

I have a very complex file showing remnant vegetation data. I wish to remove very small areas (preferably with a threshold that I can set) and generate a file that shows only larger blocks of ...
2
votes
0answers
98 views

How to convert Shapefile to KML in Python

My goal is to extract certain shapes from a shapefile, and render the chosen shapes in a KML file. From searching gis.stackexchange, I was able to piece together the necessary components, and the ...
0
votes
0answers
13 views

Two layers of the same region with the same coordinate system does not lay in the same place! [duplicate]

I know that my problem seems to be frequent but I couldn't find any good till answer. I have two layers for the same place (area and roads) in my ArcGIS, both of them has the same coordinate system ...
7
votes
3answers
472 views

Performing Feature to Point (no advanced license) using ArcPy?

I have a set of polygons I have calculated the centroids of, but am having trouble finding a way to output these values to a point shapefile. I dabbled with arcpy.MakeXYEvents_management, but it only ...
4
votes
1answer
136 views

Import a shapefile to postgis with ogr2ogr gives: Unable to open datasource

I want to use ogr2ogr in order to import a shapefile in a postgis database. I have successfully installed ogr2ogr and I run from the pgsql the following command: ogr2ogr -f "PostgreSQL" PG:"host=...
1
vote
2answers
66 views

Extraction of raster with shapefile python

I have a raster tiff file containing vegetation index & also a shapefile of fields. I want to extract the field wise values from that raster file using GDAL. How can I do this? I can read the ...
2
votes
2answers
134 views

How to convert .csv with WKB to shapefile (.shp) using open source solutions?

I have a .csv file with hundreds of rows pulled out via PostGIS. The geospatial information is in "the_geom" field which seems to be in WKB-format. How can I convert this to shapefile using simple ...
1
vote
1answer
226 views

Loading shapefiles into ArcSDE geodatabase using web application?

We are developing a web GIS using Flexviewer and we want to allow users to upload a shp file and insert it into a ArcSDE geodatabase. I think there are two steps at least. upload the shp file (zip) ...
1
vote
0answers
34 views

Wrap the set of points to the minimum polygon

Given I have a set of points which represents the circles which are intersected. As result I'm trying to receive the boundary which represent the polygon which wraps all circles. Please take a look ...
0
votes
1answer
57 views

What has prevented a “better” format than shapefiles from being widely adopted? [closed]

Reading through this answer got me thinking: Why hasn't a better format than the shapefile been widely adopted? Shapefiles have (as I'm sure most of us have noticed) many annoying quirks, ...
0
votes
2answers
229 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?
2
votes
1answer
45 views

Why aren't my integer columns available for graduated styling?

I have a layer with graduated styling based on an integer column. When I duplicate the layer to make a similar styling based on another integer column, none of the columns are available for graduated ...
1
vote
1answer
90 views

Tableau: Using UK Shapefiles in PostGIS Database

I'm trying to use Tableau to display data. Some of this data is suitable for mapping, and therefore I'd like to create maps in Tableau to display this data. Unfortunately, neither the basic view nor ...
1
vote
2answers
38 views

QGIS error in merging large point shapefiles

While trying to merge 2 large point shapefiles using the merge shapefiles tool under the data management. These point files have over 20Gb and have the same coordinate system. Problem is, that the ...
1
vote
1answer
61 views

Shapefiles failing to merge

I am attempting to merge two shapefiles together. Both are line features. I have merged these files before and it worked successfully however due to problems during editing I have to start again and ...
1
vote
1answer
86 views

QGIS Set label text quadrant as above baseline or below the top of the ascent

In the product description for a topographic map over Sweden there is a recommendation to use an abbribute field containing digits to quadrant placement of labels in a point shapefile containing all ...
5
votes
4answers
2k views

Shapefile layers in QGIS don't display unless I zoom out

I have two shapefile layers in a Qgis project that have problems with zooming. One is a line I copied/pasted in a new layer from a set of height contours and the other one is a polygon layer I created ...
2
votes
3answers
196 views

How to export shapefiles from QGIS to PostGIS?

The tutorials I've been seeing such as this one https://saarapakarinen.wordpress.com/2015/06/13/tutorial-creating-a-postgis-database-for-qgis-part-2/ They mention a SPIT plugin that I can't find ...
7
votes
1answer
289 views

How do I optimise performance on a local QGIS + PostGIS installation?

I'm learning how to manage a local PostGIS (ver 2.1) database, with spatial indexing enabled on the shapefiles that I've imported (using the PostGIS Shapefile Import/Export Manager). I have imported a ...
1
vote
0answers
15 views

Shapefile misforming when overlaid on map

I thought I was attempting something pretty simple - adding a shapefile over a terrain map. This is how the image looks when the shape file is added to Google Earth: However, when I process the data ...
7
votes
2answers
139 views

Identify this state outline file

Some time back, I came across a site that was offering sets of US state outlines that were intended to be attractive/artistic rather than geographically accurate. I only have this copy of the outline ...
2
votes
1answer
27 views

In Which Province is a Post Code (Adding Attribute from Another Layer)?

I have two polygon shapefiles. One is post codes, the other is provinces (in China). I'd like to add a "Province" field to the post code database (i.e. DBF file). This field would indicate the ...
2
votes
1answer
47 views

Performing Statistics operation on field in Attribute table?

I am working with the Shapefile consisting set of points. One of its field (let's call it X) contains numeric data, ranging from 0 to 1. In order to find out the average value of field X, I opened ...
5
votes
3answers
323 views

Missing Scottish Administrative Data in OS Opendata sets

I'm not sure if this forum is really the correct place to ask, but impertinence would lead me to believe that there may be some one on here that may know the answer. I'm using the Ordnance Survey Open ...
1
vote
2answers
43 views

Iterate feature class by Date created to select recent shapefile

I would like to select only newly created shapefile (today's). Every time new shape file are created from trimble pathfinder office which i need to upload to Arcgis server feature class. Model below ...
0
votes
0answers
20 views

Failed to download zipped-shape file with bounding box from geoserver

I have build an application with leaflet in order to draw a rectangle on a map and download the data for the specific bounding box. I download the data in different formats such as Zipped shape file, ...
1
vote
0answers
20 views

FME Desktop Distorts shapefile to TDRBM(.bas) translation

I am trying to convert esri shapefile into Tobin TDRBM II Data Distribution Format (.bas) but this distorts my data and create files with extension .bas.csv instead of .bas.I removed .csv and tried to ...
1
vote
1answer
64 views

Recurring SQL Expression Parsing Error on Query Builder

I am using Query Builder in QGIS 2.14.2-Essen to select one country (Peru) among 237 for which to show two layers (states_provinces, boundary lines) from the Natural Earth database. I am paying close ...
1
vote
1answer
51 views

QGIS processing framework Python loading shapefile

I would like to write a Python script in the QGIS processing framework allowing the download of files from specific addresses. Instead of starting my script with: vectorLyr = vector I would like to ...
0
votes
0answers
36 views

Difference Google map vs shp in Matlab

I am new in GIS however I already has spent a lot of time trying to solve my problem. My final goal is to have a list of maps in shp-standard for simulations. I did the following step: 1. I found a ...
3
votes
0answers
32 views

How can I export to CSV a list of addresses that fall within a shape file?

I currently have a shape file (KML, but I also have it in other formats as well) that outlines neighborhoods within a city. I also have a list of vacant property addresses in CSV. I'm currently ...
0
votes
1answer
39 views

Fiona does not specify CRS

I try to write a geoJSON from a shp with the fiona package. Works, but fiona does not include the CRS information. with fiona.open(path) as shp: takeCRS = shp.crs takeSCHEMA = shp.schema ...
1
vote
3answers
453 views

Extracting difference between two massive shapefiles using QGIS?

I have two massive shapefiles and I need to create a difference shapefile output between the two. I have a layer where I have satellite coverage (orange) and then a layer where I have high resolution ...
1
vote
1answer
38 views

Importing shapefiles into CartoDB

I'm trying to make a survey of all regions in Sweden for an article that me and my colleague are working on. When I'm trying to import the shapefiles into CartoDB it says " Unfortunately this file ...
1
vote
1answer
46 views

Shapefile-Autocad-Fields

I converted my shape file to autocad. How can I see my fields in autocad.
0
votes
0answers
22 views

Convert shapefiles with ajax call to ogre

I am trying to use OGRE online converter to convert shapefiles to different format, referring https://ogre.adc4gis.com/ I am making an AJAX call to send the file and get the response, but the response ...
3
votes
1answer
659 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 ...
3
votes
1answer
46 views

ESRI shape curves specification

The documentation for ESRI's File Geodatabase API (downloadable from http://www.esri.com/apps/products/download/) says regarding its MultiPartShapeBuffer Class: These functions provide access to ...
2
votes
1answer
205 views

Intersect shapefile with raster, then determine proportion of each raster value?

Using the arcpy module in Python, I want to find the proportion of each pixel value within the boundary of an overlaying polygon. (The polygon is in a shapefile.) For example, there are 10 possible ...
3
votes
1answer
45 views

Match polygons of two independently created shapefiles to create dataframe

I have two independently created shapefiles A) shapefile 1 lists the german postal codes and can be downloaded from https://blog.oraylis.de/2010/05/german-map-spatial-data-for-plz-postal-code-regions/...
18
votes
4answers
12k views

How to add attribute field to existing Shapefile via Python without ArcGIS?

I have a Python script that adds an attribute field to a Shapefile if doesn't exist. This is easy to do with ArcGIS (graphically or via Python), but I'm looking for something that doesn't depend on ...
4
votes
0answers
157 views

I can't create/save changes in shape files on QGIS

I can't create or edit shapes in QGIS, the files are created on my system but cannot "fill" it with the features. I'm using QGIS 2.14.2 64bit Windows 7 This is the error i get when trying to save a ...
1
vote
1answer
32 views

IL School District Shapefile

In order to help our client manipulate a map to show disparities in public school course offerings in Illinois at the school district level, we’re looking for a current year vector shapefile of the ...
0
votes
3answers
10k views

How to compare differences in two shapefiles? [duplicate]

I am a new user to Arcmap 10. I've been trying to figure out how to compare two polygon shapefiles. I need to figure out what the difference is from 2007 - 2013 (increase/decrease) in a couple of ...
2
votes
1answer
472 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, ...
0
votes
0answers
15 views

Downloading shapefile from geoserver after applying CQL filter? [duplicate]

I have managed to download a zipped shapefile from geoserver but now I want to be able to download part of the layer in a shapefile. This is what I did in order to download the whole layer as ...