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)

0
votes
1answer
937 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) ...
2
votes
1answer
182 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
264 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
41 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 ...
3
votes
0answers
228 views

Hitting Memory Limits of PostGIS ST_ConcaveHull / Incomplete Shrink Wrap

I am trying to use PostGIS 2.0 on Postgres 8.4 to do some mapping. I am working with the NOAA Shapefiles, specifically their US States & Territories file located here: ...
1
vote
3answers
221 views

Conditional Statement for attribute data

I'm trying to write a conditional statement that references another field within the same shapefile layer. I want it to only do so if the one field is " Null " and leave is alone if there is already a ...
1
vote
2answers
158 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
272 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
2answers
561 views

Help writing script using a shapefile - select by attribute

I am trying to take an existing shapefile and narrow down the attributes using the 'select by attribute' The problem I am trying to solve is: Find parcels that have an acreage >= 100. The code I ...
0
votes
0answers
93 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
76 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
60 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
93 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
187 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
1answer
266 views

How to match google openlayer and shapefile data?

i've installed openlayers plugin and opened google satellite layer in qgis. for a point in beijing china. it's show 12961957,4852605 coordinate in blew status bar. and it should be ...
0
votes
0answers
76 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
4answers
2k views

How to get street names from OpenStreetMap?

I have some SHP layers that contain some streets and buildings data, and i'm showing it with openLayers (by GeoServer). they are not contain the names of the streets or the numbers of the buildings. ...
0
votes
0answers
57 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
259 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 ...
0
votes
0answers
1k 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 ...
1
vote
1answer
69 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 ...
2
votes
1answer
135 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
101 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 ...
6
votes
1answer
7k 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 ...
2
votes
1answer
79 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
404 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?
1
vote
1answer
228 views

Sum of point attributes inside hexagons using QgiS UI

I'm very new to Qgis so I would very much appreciate any help you can give me. I have a point shapefile that corresponds to locations of animals captured. I've joined a table to this shapefile with ...
2
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 ...
0
votes
2answers
412 views

Geotools writing shapefiles without geometries [duplicate]

When I am writing a shapefile according to CSV2SHP tutorial, it contains features without geometries. I use version 10-SNAPSHOT. For example the result of ogrinfo looks like below: D:\>ogrinfo ...
1
vote
2answers
107 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 ...
0
votes
0answers
34 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
1answer
81 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)?
0
votes
0answers
97 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
1answer
478 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
391 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: ...
4
votes
2answers
1k views

Is it possible to route shapefiles using python and without ArcGIS, QGIS, or Pgrouting?

The question is pretty much in the title. Is there a way to route through a road line shapefile using python and some library without having to resort to converting the data into PostGIS/pgrouting or ...
10
votes
7answers
5k views

Is there a Free Opensource Shapefile Writer for .NET?

I am looking for a well documented, OpenSource Library that can create and write to a shapefile from .Net. I need lower lever access:i.e. I should be able to write feature by feature. Does such a ...
9
votes
6answers
827 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 ...
2
votes
1answer
150 views

Why is this line split in two?

Even though this is a single line, it is stored as a two-part polyline. I can split it and rejoin at the break, but whatever I do it won't join the two into one line. (This is most obvious if you turn ...
0
votes
2answers
287 views

Calculating distance to a feature from a reference line

I have multiple shapefiles, each containing a coastline for a specific year. I want to calculate the perpendicular distance to the shoreline from a fixed vertical reference line. Please recommend me ...
2
votes
2answers
473 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' ...
3
votes
1answer
2k 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 ...
3
votes
2answers
5k 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 ...
1
vote
1answer
368 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 ...
2
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 ...
1
vote
1answer
249 views

How do I convert shapefiles and display them on top of Google Maps?

I generated a set of maps of my region. Each municipality has some associated data. I would like to overlay that data on a google map and display them in a website. (I don't like the flash format) Do ...
6
votes
1answer
333 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 ...
5
votes
4answers
2k views

Export to a Shapefile and maintain Domain Coded Values

I maintain a complex parcel fabric that uses coded value domains for a few fields. These are short integer fields with values from 1 - 6. These values represent say 1:Integrated Registered Survey ...
0
votes
1answer
623 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 ...