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
2answers
413 views

Shapefile postgis database to be queried by GeoDjango

I would like to create a Postgres database (postgreslq-9.1 and postgis-2.0.2) storing several shapefiles but I am uncertain on how to implement it so I'm searching for some advices. I have already ...
4
votes
5answers
2k views

Display ESRI Shapefiles in a map in a browser. (Not in google maps)

I have a series of shapefiles that I need to render as a map on a webpage. I have an ASP.Net server, although I would prefer something that will work on Linux servers. I would like to find an easy to ...
0
votes
2answers
755 views

How to convert shp to PostGIS dump?

Given a file my_file.shp such those from Gadm e.g. US administrative divisions, where the coordinate reference system is latitude/longitude with WGS84 datum. Input could actually be: Shapefile, ...
0
votes
1answer
75 views

Polygons Shrinking and Moving as if CRS Was Suddenly Out of Sync with Project

I long ago set the CRS for a linguistic geography project I'm working on involving Oklahoma data (EPSG:2836 - NAD83(HARN) / Oklahoma North), and I have been closely monitoring that the polygon ...
1
vote
1answer
117 views

How can I convert files from a county government to shapefiles?

I work for a company that creates software for multiple listing services and real estate agents. We're expanding our coverage area into a new market, and I've been given some files for two different ...
1
vote
1answer
142 views

KML to SHP with elevation not equal to Z value

Can I convert a Google Earth KML file to a shapefile with the elevation coordinates not as Z values? I can add a vector layer using a KML file and then save it as a shapefile but apparently the ...
1
vote
1answer
370 views

Unable to create shapefile in QGIS

I am very new to QGIS and although I've been able to download the software and get aerial imagery using the plugins menu, I'm getting nowhere with creating a shapefile that I can use to draw a polygon ...
1
vote
0answers
141 views

How to shift vertices of shapes in shapefile using FOSS python library?

I need to shift each vertice of shape in a shapefile (of any type:point, line, polygon, multiline etc.) with Python. I need to loop in all shapes, get the vertices, get it's coordinates and for each ...
0
votes
1answer
1k views

OS Vectormap GML files into PostGIS

I am having difficulty in efficiently dealing with OS Vectormap data that comes in GML format. In the past I used the Plugin for QGIS (OS GML Tools) to batch convert folders of compressed GML (.GZ) ...
0
votes
0answers
306 views

How does geoserver determine what SRID to pass to PostGIS [OPERATION ON MIXED SRID GEOMETRIES]

We are using Geoserver to render some data onto maps in a web application. The map shapes are read by Geoserver from a postgis database. The shapes are imported into postgis using the ogr2ogr utility. ...
0
votes
0answers
45 views

Creating Periodic table with geoserver

I'm trying to create a periodic table using geoserver and openlayers. I'm trying to do this in geoserver as I want the periodic table to change colors. But I'm new to geoserver and not sure which ...
21
votes
2answers
15k views

How to convert .shp into .gpx using QGIS?

I'm newbie using QGIS. I would like to convert .shp into .gpx. So, using Qgis, I open my shapefile and I tried to "save as" gpx but it gives an OGR error: creation of field ObjectId failed (OGR ...
1
vote
2answers
170 views

Fail to export shapefile created from X,Y table

I have a dbf file with X,Y coordinates. I chose to display X, Y data in ArcGIS and got a temporary shapefile. However, when I try to export the temporary shapefile, I got an empty one. There is ...
3
votes
0answers
273 views

PyQGIS joining a dbf to a shapefile [duplicate]

I am trying to join a shp and dbf file using the PyQGIS API. The code I'll use is below: from PyQt4.QtCore import * vector1 = QgsVectorLayer("path to dbf file", "test1", "ogr") id1 = vector1.id() ...
0
votes
0answers
101 views

How to add a field to a .zip shapefile?

I am exploring the possibility of using ArcGIS Online (Free Public Account and Explorer) with my new Global Studies students. (So far, the Free Public Account appears to be more user friendly and ...
1
vote
1answer
78 views

point shape file problem

I have a point shapefile which was created from a text file in Excel using the delimited text layer plugin in QGIS. My problem is that I am getting a point shapefile but when i try to insert this in ...
0
votes
0answers
61 views

QGIS: (Shapefile) Convert rings to fake-rings?

I hope I can make my question I posted yesterday clearer... sorry! Basically, I want to obtain the opposite of this: How to convert fake donut holes in polygons to real ones? Such polygons will ...
0
votes
1answer
96 views

How do I add a lot of data to a shape file in QGis?

I have some nice shapefiles from Agesic in Uruguay, I need to add to them some information (not as shapefile) that I got from Dinamige to the attribute table. These institution are not the point, the ...
0
votes
0answers
273 views

Why am I unable to save shapefiles layers? (other layers work fine)

I'm a very new user on QGIS. I've managed to find mostly all I needed to use the software, however today I came across some problems similar to those encounted by [someone else][1]. However, when I ...
1
vote
1answer
57 views

How to match a shapefile with seconds as units with other layers

I have some shapefile in coordinate seconds (longitude&latitude multiply 3600). I have open google street layer by openlayers plugin in qgis. how to match my shapefile with google street layer ...
3
votes
2answers
6k views

Choosing the correct value for proj4string for shape file reading in R “MapTools”

I am having a shape file of polygons and another CSV file which contains a list of points as (Lat, Lng) pairs.. I want to check for each (lat, lng) pair from the CSV file which polygon does it fall ...
9
votes
6answers
1k views

How to programmatically check if the number of shapes = number of table records?

I have a handful of approximately 1000 shapefiles that are corrupted (see attached error message). The shapefiles were generated from eCognition Developer 8. There is a script tool that seems to ...
0
votes
0answers
97 views

Which landmark to detect a CBD?

Anyone knows what shapefile (ArcGIS) available to detect a CBD (Central Business District), nationwide? Some use city hall as the landmark for a CBD. Is it applicable to use Courthouse? Where can I ...
2
votes
1answer
152 views

Which fields are standardized to describe a ShapeFiles feature?

I would like to store data into a database which is available here either as JSON or as ShapeFiles. The JSON looks something like this: { "type": "FeatureCollection", "features": [ { ...
0
votes
0answers
58 views

Vector grid out of range

I'm working with QGIS 1.8.0 trying to do some vector grid to a map. This shapefile (the original is a zip and has the following files .dbf, .prj, .sbn, .sbx, .shp, .shx) has some strange CRS and I ...
3
votes
1answer
291 views

Divide shapefile

I'm new working with QGIS 1.8.0 and wanted to know if its possible to subdivide a map (shapefile, which is round-like) into small squares but following the outer round contour of the map? I tried with ...
1
vote
1answer
79 views

How to work around “OGR-failure while deleting field 13. Invalid field index”?

this post might be related to this one: QGIS Field Calculator Results Removed When Saving Edits But there is no suitable answer for me It is not allowed to ask another time in the other post I ...
0
votes
0answers
2k views

How can I create new shapefile in QGIS1.8 from “Save selection as…”

when select a shapefile feature from census boundary file and use "save selection as" to create a new shapefile, program returns error: "Export to vector file failed. Error: creation of layer failed ...
2
votes
4answers
821 views

Dublin postal areas shp file?

I'm currently developing an application that uses shp files for Dublin. In particular I want to display the postal areas for Dublin but cannot locate an appropriate shp file. Can anyone advise where ...
7
votes
1answer
8k views

How to convert shapefile to SVG keeping internal data?

I am very new to GIS. I found a tutorial on how to make a choropleth using Python tools. I want to follow it but use my own data and map. However the tutorial uses a US map SVG file and I need to use ...
0
votes
0answers
109 views

FME incorrectly reading SHP file schema in reader

I am trying to read in a SHP file using the FME SHP file reader and some of the fields are not being read in correctly to FME. This is causing random values to be introduced into the dataset. The ...
2
votes
1answer
84 views

After joining data from csv file to shapefile, why are all values zero in categorized renderer?

I have joined data from a csv file to my shapefile. The attribute table shows a successful join. I have converted the variable of interest to INTEGER. But when I go through Style to categorize the ...
1
vote
1answer
463 views

export openlayers as .shp file in Qgis

Is it possible to save an openlayers map as a shape or tab file in Qgis. I would like to have a part of an area from google maps as a shape file for later use?
3
votes
2answers
1k views

Python GDAL/OGR: retrieved feature is NoneType

I'm doing some scripts in Python to deal with shapefiles, and I have an issue I don't understand. I'm looping over a shapefile, and I want to retrieve the geometry of each feature, but very often I ...
1
vote
2answers
115 views

Why can't I save csv as a shapefile

I am trying to follow the instructions given here, Tutorial: Making Heatmaps using QGIS and GRASS , to build a heat map with my own data. I taken the first step and imported a csv data table into the ...
3
votes
1answer
631 views

Projection of Shapefiles for Spain (INE)

I downloaded the official shapefiles for the municipalities of Spain from INE here. It has a lot of shapefiles, but I found out that the right one for what I need is esp_muni_0109.shp. I would like ...
3
votes
2answers
2k views

Checking if Lng and Lat fall inside polygons from ESRI Shape file

I have two input files. First: CSV file with a list of points each defined with Lng, Lat, Name Second: ESRI Shape file defining a number of polygons I would like to determine for each point I have ...
0
votes
1answer
87 views

Are .shp files coordinates in a certain direction?

I'm working on a project where I'm importing a .shp file into SQL Server. I'm using the Catfood.dll and I'm wondering if each point in the polygon are sequential (going in the same direction)?
10
votes
2answers
2k views

Shapefile to SVG with ArcMap (while retaining country attributes)

Does anybody know how to export the Natural Earth 1:110m shapefile to SVG with ArcMap while retaining the country attributes? From SVG I'm gonna try to convert it again over to RaphaelJS to achieve ...
0
votes
0answers
35 views

how to divide a Area shapefile into multiple segment, so that each segment will be a seperate feature in attribute table? [duplicate]

I'm very new to GIS, I'm using QGIS and here's what I want to do: I have a shapefile of an area . I want to divide that area into multiple segment (not grid), so that each segment will be a ...
0
votes
0answers
106 views

Why does a shapfile shift after transformation?

I have a shapefile created in the raster package (ER_14.3_2000_poly). > #read in a raster file > ER_14.3_2000<-raster('E:/Ecoregions Models/Outputs/ER_14.3/ER_14.3_ConsensusMap3.asc') > ...
3
votes
2answers
442 views

Extract PostGIS line features to GPX

I have a request to provide GPX files of certain trails (around 100) that are present in OpenStreetMap. Given a local PostGIS install with OSM data, I think the process would be something like: ...
6
votes
1answer
357 views

Importing a shapefile into Postgres: Can I use Multiple CPU Cores?

I'm importing some shapefiles into Postgres/PostGIS. I'm using Windows 8 and the shapefile importer/exporter GUI. It maxes out one CPU core. I'm wondering if there is a way I can use multiple cores ...
2
votes
2answers
531 views

Driver error when converting MapInfo file to Shapefile with ogr2ogr

I am trying to convert a MapInfo file to an ESRI shapefile using GDAL's ogr2ogr command as described here, but I am getting the following error: FAILURE: Unable to open datasource `Iceland2pts.mif' ...
5
votes
1answer
371 views

Can I edit shapefile while using a definition query in QGIS? [duplicate]

Is it possible to edit shapes while using a "definition query" or "query builder" in QGIS? I'm trying to do this in the same way I used to in ArcGIS. Thanks!
3
votes
1answer
3k views

Setting extent and geographic projection in R

I have a raster and a shapefile that I am attempting to view and process in R. The shape file "ER_11.1" has the following specs: > ER_11.1 class : SpatialPolygonsDataFrame nfeatures : 22 ...
1
vote
1answer
498 views

SAGA GIS ----> need to export shapefiles to SVG

I am trying to export three shapefiles to svg files but the problem I could not make these shapefiles polygon to black outlines to be export to svg files. How do I do that ? I tried to run that in ...
0
votes
1answer
273 views

Sort geometry + data table in ArcGIS with Permanently Sort Records (PSR) v1.0

When i run the algorithm gives an error: Order_ ASCENDING # # # # Start Time: Fri Mar 01 17:06:33 2013 000576 ERROR: Script Associated with this tool does not exist. Failed to execute (sortrecords). ...
0
votes
1answer
829 views

When I export shapefiles from ArcMap 10 there appears to be no xml file created?

When I create shapefiles in ArcMap, be it by selecting certain features from existing data or creating new polygons/points/lines, I look in My Computer and see a dbf prj sbn and sbx file. These ...
0
votes
1answer
265 views

How to symbolize features in QGIS?

Why is a shapefile shown as coloured independent features in ArcGIS shown in a single colour in Quantum GIS? What can I do to display this layer (wwf ecoregions) with the different ecoregions ...