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
70 views

How to write a script that will merge shapefiles? [duplicate]

We use an application called IntraMaps Roam. Our guys go out in the field, mark up their maps with GPS points, and then bring them back to the office. They will copy their shape files to the server ...
7
votes
3answers
1k views

Order of polygon vertices in general GIS: clockwise or counterclockwise

Two days ago I asked a question about the internal storing order for the vertices of a polygon in ESRI shapefiles. That question was answered (Are polygons stored clockwise or counterclockwise in a ...
2
votes
1answer
212 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 ...
1
vote
2answers
312 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 ...
0
votes
2answers
52 views

Help finding point in polygon via Spatialite with example karst zones data

I'm working on a school project involving Spatialite and point in polygon queries. I've successfully followed this example: http://blog.crazystyle.net/?p=255 I am now trying the same sequence of ...
2
votes
3answers
892 views

Comparing and reporting shift between two shapefiles using ArcGIS Desktop?

I have two shapefiles. One is an original route polyline file and another is an updated polyline file, where the shape is modified to google maps. How can I compare the updated shapefile with the ...
4
votes
3answers
2k views

Importing .shp to postgreSQL

I want to import a shp file to postgreSQL. First I create sql file and then run PostgreSQL. To create sql file, I run this command in windows cmd: shp2pgsql -s 4326 worldCountries.shp worldcountries ...
0
votes
1answer
344 views

Get shape file polygon attribute value at a specific point using Python (e.g. via PyShp)

I have a shape file comprising multiple polygons. These polygons have attributes. I am trying to write a script in Python that takes a co-ordinate point, determines in which polygon it falls, and ...
1
vote
2answers
66 views

Moving a shapefile point 500 m west

I am a novice to arcgis 10 so please forgive my ignorance.I have this 2000 survey points shapefile and I was told to , I guess is dislocate, generate new survey points, each new should be 500m west ...
1
vote
0answers
24 views

Create HexBins for shapefiles

I usually create hexbins using the MMQGIS tools in QGIS. I would create a hex layer and intersect it with a shapefile. I've tried to create a hex shapefile and importing it into a PostGIS and tried to ...
0
votes
1answer
22 views

Uploading shapefile into postgis

I am trying to import some shapefiles into postgis. Now I have an example database within my download of postgis. In this database I can import the shapefile by changing the DBF file character ...
0
votes
1answer
195 views

Shp2pgsql - exec() not allowed on external server

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise). We put these commands in a php variable and use the exec() command to execute them. This ...
1
vote
1answer
65 views

QGIS corrupting shapefiles?

I'm hoping someone out there might be able to help or suggest some tests to try and resolve some very odd QGIS behaviour of late... Our core GIS team of 4 users has been testing v2.10 prior to ...
1
vote
1answer
33 views

Legend information in shapefile

I am a novice to the field of GIS so please forgive my ignorance. I am required to plot a shapefile (.shp) on a basemap which is an openlayers map. The shapefile is published in GeoServer as a wms ...
4
votes
3answers
4k views

Using PyShp to convert polygons in *.csv to *.shp files?

I'm converting csv data to shapefiles using the pyshp python library. What I want to do is very similar to Using the python shape library: pyshp - how to convert .csv file to .shp, except that I ...
1
vote
2answers
2k views

Calculating sum of geometric length of shapefile in ArcGIS Desktop?

I have a shapefile with lots of line routes. I projected it and calculated the length using calculate geometry. How can I get the sum of all these routes in ArcGIS Desktop?
4
votes
1answer
67 views

Find shortest path between points avoiding shapefile?

I am an intermediate python developer with very limited GIS experience. I have a list of latitude/longitudes of a ship at sea. I need to join them into a polyline using the shortest distance between ...
1
vote
1answer
21 views

Creating a new layer from a spreadsheet and an existing shape file in QGIS

I have a map of US zip codes and a spreadsheet that associates data with specific zip codes. I want to show the zip codes where the most data exists using a gradient, but I am not even sure how to get ...
0
votes
1answer
30 views

How to convert shapefile of India into a system with longitude and latitude system?

I have two shapefiles of India. One is without PoK and other is with Pok. I want to convert the shapefile of India with PoK into a co-ordinate system with longitude and latitude (same as without PoK). ...
1
vote
0answers
12 views

join a polygon shape to the attributes contained in a shape containing three points

I need to join a polygon shape to the attributes contained in a shape containing three points ( all within the polygon ) with different information. Using the command merge attributes by position ...
2
votes
1answer
41 views

Generating graph edge list from polyline and point shapefiles?

I have a polyline shapefile of rivers/stream segments, and a point shapefile of intersection points (nodes) between the segments (edges). Each stream segment starts and finishes at an intersection ...
0
votes
1answer
20 views

Can you display mxd files on a app for iPads?

I would like to know if there is any apps that can displaying ArcGIS data? I have multiple .mxd's that i would like to display on a portable app.
68
votes
20answers
58k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
2
votes
1answer
33 views

How to calculate the form (or shape) factor of a polygon?

I am using QGIS to calculate the form (or shape) factor of polygons following what Louf and Barthelemy did here: http://rsif.royalsocietypublishing.org/content/11/101/20140924 The form factor is ...
1
vote
3answers
376 views

Calculating new shapefile areas after clipping using ArcGIS for Desktop?

I'm working with the WWF ecoregions, which use the GCS_WGS_1984 geographic coordinate system. I have clipped the ecoregions with a species range (consisting of two polygons), but the new attribute ...
0
votes
2answers
42 views

How to Dissolve Polygons Inside a Feature Class Based on Attribute Conditions

I have a large shapefile (saleArea.shp) which includes hundreds of small adjacent polygons. I would like to dissolve the polygons based on some conditions from tValues field into 5 bigger groups like ...
1
vote
2answers
275 views

Reducing Size of KML file (After converting from Shapefile)

I have a shape-file of size 224 mega byte. I am using ArcGis to convert it to a KML file. The process involves converting the shapefile to a feature layer and then converting the layer to KML. An ...
1
vote
0answers
40 views

CSV file locked for editing after join

I have created a table join between a vector shape-file and a csv file using pyQgs. Now i want to edit the csv file (not from inside QGIS) . But when i double click on the csv file , it says that ...
1
vote
0answers
23 views

Spanish municipality level shape file and population data

I'm struggling with the Spanish municipality level, it would be great if someone can help. I need to incorporate population data with the lat/long for each Spanish municipality and below are the ...
0
votes
1answer
42 views

QGIS Vector Data with blank attribute tables

I have vector data shapefiles for Manitoba, but there is no names in the attribute tables. It seems Manitoba is still working on their attribute data. Is there a shapefile I can download to get these ...
1
vote
1answer
329 views

ogr2ogr - extracting S-57 layers

I'm trying to extract the layer DEPARE from an S-57 datafile and convert it into a shapefile. I'm using ogr2ogr from OpenGeo Suite 4.5 (GDAL 1.11.1) on Windows 7 64 bit. The problem is that when I ...
0
votes
0answers
23 views

Creating an interactive map that uses a point shape file to display information

I have a raster map, a PNG of a fantasy map, which has points on it. I want to create a interactive map that displays information (text) whenever you click on a point. An example of what i'm after ...
0
votes
0answers
34 views

GeoPandas save to shapefile issue: Unable to open EPSG support file

When I try to use to_file() to write a GeoPandas GeoDataFrame to a shapefile I get the following error. df3.to_file('~/Desktop/testout.shp', driver = 'ESRI Shapefile'); ERROR:Fiona:OGR Error 4: ...
0
votes
0answers
26 views

Converting csv files into shapefiles using python [duplicate]

I have a csv file which i want to convert in a shapefile. i have seen many questions being asked on this topic but the main problem is all the polygons were of the same size but in this csv file the ...
7
votes
8answers
12k views

How to display ESRI shapefile in Android [closed]

It's the first time I work with Android and ESRI shapefile. I tried to find but could not find any tutorials to display ESRI shapefile in Android. Somebody can help me about this??? Thank you so so ...
0
votes
0answers
30 views

How to have a Shapefile (as a WFS Layer) on an OpenStreetMap map

Hello, I want to have a Shapefile (as a WFS Layer) on an OpenStreetMap Map. I achieved to have the display of the world map with OpenStreetMap alone on my browser, and the display of the Shapefile ...
1
vote
1answer
24 views

Convert Shapefiles into Raster — C++

I'm coding an algorithm which uses as an input a map from QGIS. The software has been implemented in C++ and my idea is to convert, automatically, a shapefile into a raster one. Is there any function ...
0
votes
1answer
225 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I ...
1
vote
0answers
24 views

WFS-T with Geoserver and a Shapefile

I have read that Geoserver fully supports WFS-Transactions. But for example here somebody also mentioned that shapefile-datastores would not be the best choice for using Transactions in Geoserver, and ...
2
votes
1answer
159 views

Simplifying TopoJSON causes leak of Natural Earth in d3

I'm working with topoJSON and D3 to display Natural Earth data on a globe. Obviously, we need to simplify our geometries while still keeping borders consistent. We've created a script as based on ...
0
votes
0answers
13 views

ArcGIS for WPF: Displaying only the selected object IDs

I apologize if my question is too vague but I cannot find any resources for what I want to do. I just started testing out the ArcGIS APIs and I'm using the "AddShapeFile" example where I can add a ...
3
votes
0answers
18 views

Determine if point lies within shape?

What would the best method be for determining whether an address (geocoded to a lat/long point) lies within a given shape in a GIS shapefile. Best case scenario, we are given a boolean result, that we ...
0
votes
2answers
23 views

Simplify 2 separate shape files, but ensure common edges are identical

I have 2 shape files. One shows the political regions of Scotland. The other shows the political constituencies of Scotland. I need to simplify them to display in a webpage. The problem is ...
2
votes
1answer
39 views

How can I export a shapefile from PostGIS with a GeoJSON query?

I tried to export a shapefile from my PostGIS installation using pgsql2shp as follow pgsql2shp -f tiles.shp -h <host> -u <user> -P <pass> <database> "SELECT id, the_geom FROM ...
4
votes
1answer
93 views

Creating shapefiles using textfiles in QGIS

I have a shapefile in QGIS which has polygons in it . There are several other attributes for each feature . I want to add another attribute to each feature . The value for this attribute is available ...
2
votes
8answers
7k views

Finding shapefiles of pipeline data?

Does anyone know where I can get or find shapefiles for pipelines (USA location)? Preferably free as I've never done pipelines before and I'm meeting a client next week that is doing pipeline work. ...
0
votes
2answers
427 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 ...
2
votes
0answers
32 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
15 views

Squared shield inside polygon with sides parallel to those of polygon

On the picture below there are white polygons which represents buildings. Inside white polygons are blue shields which represents frames for building (house) numbers. Is there a way to make sides of ...
0
votes
0answers
14 views

I'm looking for a shapefile of 1990 Census data for California at the Tract or Block level

Does anyone know if the 1990 Census data is available as pre-joined shapefile? I'm looking for 1990 Tract or Block-level data on Riverside and Kern Counties.