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)

6
votes
1answer
1k views

Determine if shapefile and raster overlap in python

I am building a script in python using osgeo/gdal. I have a set of shapefiles and a set of GeoTiff raster files. I would like to have my script ignore shapefiles if they do not intersect with the ...
4
votes
2answers
121 views

Canadian Shapefile from Statscan is wrong?

It's great that Stats Can produced this for free! However, it's useless if it's wrong. I'm using the shapefile for territory planning so the FSA (postal code) data needs to be 100% accurate. But ...
1
vote
2answers
453 views

British National Grid to KML results in offset polygons

I have a shape file of English wards from ONS. It is similar to the files available here: http://www.ons.gov.uk/ons/guide-method/geography/products/census/spatial/2011/index.html except I had to ...
3
votes
3answers
606 views

Update point shapefile attributes from polygon shapefile using QGIS

I have two shapefiles: one point and one polygon. The point shapefile have five attributes that describe the points. The polygon shapefile have one attribute: name of the polygon. I am a beginner to ...
1
vote
0answers
273 views

Importing 2014 TIGER County Shape Files to 2012 SQL Server?

Last year, I figured out how to import TIGER Census Block shape files into 2012 SQL Server with no issues. I assumed I would use similar code to do the county shape files but I keep getting a few ...
5
votes
1answer
1k views

How to create a routable road network from Ordnance Survey data?

I've been following the "Beginners Guide to pgRouting" in an attempt to create an in-house application that provides drive-time isochrones. I have a server, postgreSQL and PostGIS and pgRouting - no ...
0
votes
0answers
376 views

GIS shapefile data for Singapore Urban Planning areas

Is there any free resource to obtain Shapefile data for Urban Planning area boundaries in Singapore?
3
votes
1answer
705 views

Geotools shapefile and geotiff displaying problem in JMapPane

I'm trying to get a JMapPane to show up in a JPanel, but without success. Below is the JPanel instance containing the map. I am importing a geotiff and a shapefile layered in that order. Not only does ...
3
votes
1answer
386 views

Relocating & resizing complex shapefile with OpenSource Software

(please excuse my poor english) I do have a polygone shapefile of an archaelogical site with elevation data of 10cm steps and I dont get hands on the raster data as it was collected by the drone. My ...
0
votes
0answers
46 views

How to eliminate sliver polygons with QGIS [duplicate]

I need to remove sliver polygons within a shape, but using QGIS 2.6 generates some failures to the process. I mean the program freezes or shuts down and I don't know why. Maybe there's a bug or it can'...
1
vote
1answer
54 views

Convert shapefile to multiple single-value TIFFs

I have a shapefile that is composed of multiple overlapping polygons that represent extent of habitats of certain species. Here is a 1 MB example of such file from International Union for the ...
1
vote
0answers
72 views

Can't get pyshp to work when converting csv to point file [closed]

I've been hammering at it for ages, but I just can't get pyshp to work. The csv file looks like this: lon,lat -122.5163113, 45.55324148 -95.1719409, 29.97979461 153.0072888, -27.45988559 etc, there'...
9
votes
7answers
14k views

Fixing corrupt shapefile?

I have a shapefile that I was working on in ArcGIS Desktop 9.3 get corrupted somehow and it gives me the error "Number of shapes does not match the number of table records.". What I would want is to ...
3
votes
1answer
85 views

Show raw bytes that make up an attribute in a shapefile

I am processing shapefiles, and I'm trying to track down an encoding problem. I want to check the raw bytes of an attribute to see if this shapefile (and hence the step that created it) is the source ...
-3
votes
1answer
128 views

Combining many individual precipitation shapefiles to show by year in ArcMap?

I have 10 years of each year precipitation in shapefiles and would like to combine them into one to show years in ArcMap layer. Do I need to use the append or union ?
0
votes
1answer
162 views

How does QGIS Topology Checker check the topology of SHP and OSM files? [closed]

Can anybody make me clear if .shp & .osm (OpenStreetMap Data) are holding topological data/relations or not. if .shp files are not holding then how qgis plugin topology checker checks for the ...
0
votes
2answers
63 views

How to link a shapefile with points to a shapefile with lines?

I have a shapefile with points (nodes) and a shapefile with lines (pipeline) which I have extracted from a water distribution network. I have been able to transform the points into the right ...
0
votes
0answers
146 views

error converting shapefile to geoJSON with Ogre online tool

I am using on online tool built with ogr2ogr to convert shapefiles to geoJSON: http://ogre.adc4gis.com/ It's worked well except for one shapefile, and I can't see why... The shapefile has only six ...
1
vote
0answers
1k views

Points In Attribute Table Will Not Display In Data View

I am using ArcMap 10.2.2 and opening a shapefile of points. My issues is this: the points do not appear in the data view. In other words, I cannot view the points in the display where they usually ...
1
vote
1answer
312 views

How to get the layer name with a arcpy code

Using the FeatureToPoint tool I've having difficulty calling just the name for file without the extension or path. Here is the part of the script that I'm creating that Im stuck on. eg. C:\user\...
2
votes
1answer
2k views

Seeking shapefiles of business locations [duplicate]

Does anyone know where to find shapefiles of businesses such as grocery stores or gas stations?
5
votes
2answers
2k views

Can't export a polygon shapefile to MySQL using ogr2ogr?

I am having problems with ogr2ogr and keep getting different versions of the error: ERROR 1: MySQL error message: The used table type doesn't support SPATIAL indexes. Description: ALTER TABLE '...
0
votes
1answer
447 views

Creating a layer in arcmap by dragging a table from an OracleDB

I am working on a project for a client, they gave us some data from their oracleDB, and when I connect to it in arc map I can just drag and drop the tables from the catalog window into arcmap and they ...
0
votes
0answers
94 views

ArcGIS Online : 'Unable to import this shapefile (a is undefined)'

After saving a shp file from QGIS I get this error adding the shp to ArcGIS Online: 'Unable to import this shapefile (a is undefined)' I tried saving in different projections (WGS1984 (EPSG:4326), ...
0
votes
1answer
203 views

How to use shapefile in QGIS on Debian?

I am extremely new to GIS and I just received a shapefile, as a zip file that includes the following files: filename.SHX filename.SHP filename.prj filename.dbf filename.cpg but I am not sure how I ...
2
votes
0answers
70 views

Converting pre-ADF coverages to current shapefiles?

I have a set of old coverage files, published at 1995-1996 in a CDROM by an official mapping authority. They were, therefore, made with ArcView 1.x and don't have the ".adf" extension. The files that ...
2
votes
1answer
124 views

Script to convert a shapefile to an OSM poly file on WIN 7?

Is there a commande line tool running on WIN 7 which is able to create OSM poly files (polygon filter file format) from shapefiles? The tools listed here do not seem to fit my needs. The only ...
3
votes
2answers
272 views

PyQGIS: Speed up for adding features and attribute arrays?

Context: I'm writing a dynamic import tool for QGIS (2.2 to 2.5) with python. Datatype: Binary Datasets with environmental simulations from HPC which might contain millions of features and terabytes ...
1
vote
1answer
132 views

Remove cell boundaries of raster pixels converted to vector format

I have a solar radiation shapefile with 10 km x 10 km cells. When I put it on QGIS, many pixels with boundaries take place. Please see the following image: How can I remove them in Qgis?
2
votes
2answers
203 views

“Phantom” features showing up in QGIS 2.4

I tried searching for this, but am unsure exactly what my problem is. I am using QGIS 2.4 on Windows 8.1. I have a project in which I have been digitizing from OpenMaps. Last night I was doing some ...
2
votes
2answers
1k views

Shapefiles *.dbf data, encoding problem

I have to work with the Shapefiles, and all is fine except data in *.dbf When I have first deserialized file, I have thought, that I'm doing smth wrong, but when any soft like (QGIS, SAGA, ESRI ...
0
votes
1answer
162 views

How to save time without date in shapefile's DATE filed using ArcGIS 10.2?

I am trying to save a time in a shapefile's DATE field (without a date, because shapefile can only store something one simultaneously - date or time). I use field calculator with PYTHON parser. I am ...
5
votes
1answer
879 views

Shapefiles - Polygon type - is it in fact multipolygon?

I'm wondering about the ESRI shape file with shape type 5. When reading the spec I see that "A polygon may contain multiple outer rings.". Does this mean that these outer rings must be combined to ...
1
vote
1answer
2k views

how to allow null values in a feature-layer

I'm using ArcDesktop 10.2. I have 30 x,y locations that have 20 fields of numeric data, stored in an Excel spreadsheet. Some cells have no data, and I want those cells to be represented as null values ...
1
vote
0answers
82 views

How i can have the same xMin,yMin for vector files in Qgis 2.4

i have a .shp file(polygon) in EPSG:2100 - GGRS87 / Greek Grid and an other .shp(points) in the same system(EPSG:2100 - GGRS87 ) but different xMin,yMin. The first has xMin,yMin 583309.00,4152885.94 ...
0
votes
1answer
77 views

Slow in zoom, pan

I am working on GIS tool but it is very slow when try to zoom, pan or open attributes. can any one suggest is there any way to make it fast?
1
vote
1answer
124 views

Public GIS data for lots within sections of township and range for NM, USA

Anyone know where to find a publicly available shapefile/fc of lot divisions within sections for township and range of New Mexico? I've been to several government websites that offer this type of ...
2
votes
0answers
279 views

How to create dynamic maps based on updated attributes in SHP file

I am novice GIS'er. I can create maps and do basic transformation of the SHP file using QGIS. I also succesfully applied formatting based on attributes. I am able to add new attributes to SHP file in ...
-1
votes
1answer
230 views

How to create a Network Topology in a shapefile that contains only nodes(geometry points)?

I want to use pgrouting with the shapefile but when I use : alter table network.publictransport add column source integer; alter table network.publictransport add column target integer; select ...
1
vote
1answer
81 views

Why does ArcGIS Online project my files right where they should be but, ArcGIS for desktop does not

When loading shapefiles into Arc Map 10.2.2 I get the message saying "unknown spatial reference", then my files are not projected where they should be and are usually too small to see regardless how ...
1
vote
0answers
41 views

Region partitions (shapefiles) comparison in ArcMap 10

I have 2 shapefiles, in each file the region is divided into zones. Each zone from 1st ("large") file is "almost" a union of a few zones from 2nd ("small") file. Specifically, for each union in "...
0
votes
1answer
227 views

How to set feature coordinates to values in attribute table?

I have some shapefiles that were produced programatically, and everything came out okay EXCEPT that the geometry information was not written correctly. The coordinates for each feature are null. ...
2
votes
0answers
84 views

SHP, SHX and DBF files became empty (zero byte) overnight on QGIS

This literally happened overnight. I was working on a shapefile in QGIS 2.4 last night but my files (SHP, SHX and DBF) all become zero byte this morning. Has this happened to anyone before? How ...
1
vote
1answer
2k views

Problem 'unable to open datasource" with ogr2ogr to reproject shape file

I have no idea why i get the following error: FAILURE: Unable to open datasource `Sydney2.shp' with the following drivers. I have already checked successfully the shape with ogrinfo. I am using the ...
2
votes
1answer
121 views

Is it possible to render a large number of shapefiles to a pdf document using Python?

I'm extremely new to GIS, and recently made a map by loading a bunch of shapefiles into QGIS using a python script. However, it took 15 mins to scroll in or out on the image, and the pdf export ...
3
votes
1answer
849 views

Where can I find a shapefile of hexagons that covers the world?

I'd like a persistent .shp that covers the world in hexagons (preferably of a decently small area)–does anybody know where I could find something like this, or perhaps what software I could use to ...
4
votes
1answer
1k views

Mapnik + OpenStreetMap + Shapefile with Raster Images + Mod Tile + PostGIS

I am new to GIS. I have a Shapefile (.shp, .shx and .pbf). The .pbf file contains path to PNG files located on my machine only. I was able to save the Shp data to PostGis via Shape2Gis tool. Now ...
5
votes
1answer
544 views

Ogr2Ogr exported this boundary 90 degrees incorrectly

I've got some GEOGRAPHY data in my Sql Server 2008. I wish to export it as a shapefile (so I can import it into QGIS) and when I do, it's rotated 90 degrees to the left and then flipped 180 degrees to ...
2
votes
1answer
216 views

Convert Layer to Shapefile without losing Feature definitions

I have created a worldmap with custom defined Features, representing State/Zip-Code sales areas. I want to convert them into a Shapefile, so I can convert the Shapefile into a polygon definition file ...
6
votes
3answers
926 views

Using Google Earth Enterprise & ArcGIS platform together?

I have been fielded a few questions about Google Earth Enterprise (GEE) -which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be ...