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)

4
votes
1answer
28 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" ...
1
vote
2answers
29 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
75 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 ...
0
votes
0answers
17 views

kml to shape file (ogr2ogr)

I am trying to convert kml to shape file. I'm using ogr2ogr (gdal version = 2.0.0). Here is the command : /home/vineet/Project/gdal-2.0.0/bin/ogr2ogr --config SHAPE_ENCODING UTF-8 -update -append ...
2
votes
1answer
53 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 ...
1
vote
1answer
217 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) ...
0
votes
0answers
38 views

Thought sr.lock preventing doing anything with created shapefiles? [on hold]

I thought sr.lock prevented me from doing anything with shapefiles I create, but actually it was a data problem. I am running ArcGIS 10.2 Desktop on a Windows 10 OS. I have point shapefiles that I ...
1
vote
0answers
23 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
49 views

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

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, ...
3
votes
1answer
742 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
2answers
195 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
36 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
50 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 ...
2
votes
1answer
238 views

How to write shapefiles more efficiently in GeoScript?

I've created a geoscript (in groovy) to create a shapefile from generated geometries with certain attributes. It's a heatmap consisting roughly 65.000 polygons with an attribute storing the ...
0
votes
0answers
23 views

Shapefile analysis with ArcGIS10.1 [on hold]

I am using ArcGIS 10.1 for Desktop and I am struggling to make a shapefile with a map. I made the shapefile but I could not include a map with longitude and latitude. I have data about tuberculosis ...
0
votes
2answers
27 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
54 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
39 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
1k 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
134 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
229 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 ...
0
votes
0answers
20 views

Remove date from beginning of filename, add to the end [on hold]

I have a group of files I'm trying to database (with improper naming conventions starting with dates) i.e. 20160524_Whatever_Whatever I'd like to remove the date and _ and append it to the end of the ...
1
vote
0answers
12 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 ...
6
votes
2answers
131 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 ...
1
vote
1answer
233 views

How can I clip multiple geotiff tiles with a shapefile without greatly increasing their size?

I'm using gdalwarp to clip a number of geotiffs (tiles of a larger map) to a polygon described by a shapefile (which is about the size of the overall map, i.e. much larger than individual tiles) ...
1
vote
1answer
22 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 ...
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
1answer
195 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
2
votes
1answer
44 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 ...
2
votes
1answer
334 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 ...
5
votes
3answers
310 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 ...
0
votes
1answer
302 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
31 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 ...
1
vote
2answers
255 views

Shapefile to KML Conversion Problems in QGIS 2.6.1 on Mac

I am currently using QGIS 2.6.1 on a Mac with OS 10.9.5. I am trying to export a shapefile using QGIS to KML format. I am having success with the export but the data is skewed halfway across the ...
1
vote
1answer
2k 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)?
1
vote
2answers
175 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
0answers
19 views

Generar un atlas, identificando cada elemento por separado [closed]

I can make an atlas , which in each plane only one element of the shape me appear ??? and the rest do not interfere ??? Hola como puedo realizar un atlas, en el que en cada plano solamente me ...
5
votes
1answer
363 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
0answers
16 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
16 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 ...
2
votes
1answer
190 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 ...
1
vote
1answer
35 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
44 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
28 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
26 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
26 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
344 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
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
1k views

Shapefile of European Parliament constituencies?

Is there any shapefile (or similar vector data set) of European Parliament electoral constituencies? Some countries (e.g. Germany) are basically one constituency, but others (e.g. UK) are not. Is ...
1
vote
1answer
26 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 ...