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
2k views

How to remove shapefile polygon vertex marker points in QGIS 1.8.0

I have created a shapefile layer and drawn a polygon to show the boundary of a woodland. How can I edit the polygon to remove the crosses that denote the intersection of two points on the boundary?
1
vote
1answer
127 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
2answers
3k views

QGIS conversion of Microstation .DGN to .SHP?

I'm attempting to convert a .dgn file to .shp using QGIS. I'm reading that support is only provided for v7 microstation files, is this still the case? I've been using ogr2ogr -f "ESRI Shapefile" ...
1
vote
1answer
192 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 ...
6
votes
1answer
358 views

Maritime route prediction avoiding land masses

I am working on a project where the following functions have to be implemented: Predicting the locations of the ships (in maritime environment) at a future time. (Can be done with Kalman filter, IMM ...
2
votes
2answers
531 views

Writing shapefile metadata (shp.xml) programmatically

I want to write the Metadata for a Shapefile, which are saved in the ".shp.xml"-File. I know, I can look at and write those Metadata with ArcCatalog, but I want to do this programmatically. Is this ...
1
vote
1answer
473 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
147 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 X,...
1
vote
4answers
9k views

How to read coordinates from shapefiles and overlay on Google Maps?

I have shapefiles i.e. *.shp, *.dbf and *.shx files. I need to read geo coordinates from these files and overlay the area on Google Maps at the right location. I believe that *.shp and *.dbf ...
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) ...
2
votes
3answers
9k views

Export shapefile to KML for Google Earth - using QGIS

I am a real beginner with QGIS. I have shape files of my study site. I would like to have the nice google earth background. I would like to be able to see my files in Google earth, then I can zoom ...
2
votes
1answer
242 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
364 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
47 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 ...
5
votes
1answer
309 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: http://www.nws.noaa.gov/...
1
vote
3answers
302 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
175 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
277 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
1k views

Using Select By Attribute on shapefile in ArcPy?

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
105 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
80 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
63 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
104 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
389 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
58 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
315 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 116.33710,39....
0
votes
0answers
106 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
61 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
329 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
1answer
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 ...
1
vote
1answer
83 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
156 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
115 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 ...
8
votes
1answer
9k 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
90 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
522 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
396 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 ...
3
votes
2answers
2k 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
554 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
123 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
39 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
96 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
109 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
774 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
500 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: ...
5
votes
2answers
2k 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
8answers
7k 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
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 ...
2
votes
1answer
152 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 ...