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 (1)

9
votes
6answers
670 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
65 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
129 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": [ { ...
2
votes
4answers
2k views

Qgis: How to display special characters German “ÄÜÖß” in a Map?

I have a shape file with names for Regions. These don't seem to contain special characters but ugly hyroglyphes. What can I do do display them correctly. If I import the shape as UTF-8 it doesn't ...
0
votes
0answers
53 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
226 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
59 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
940 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
588 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 ...
5
votes
1answer
6k 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
92 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
72 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
359 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?
2
votes
2answers
880 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
99 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
385 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 ...
2
votes
2answers
1k 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
73 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)?
9
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
31 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
91 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
301 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
300 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
402 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
270 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
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 ...
2
votes
3answers
12k views

How to convert shape files (.shp) to Cad (.dwg ) format using Quantum Gis 1.7.0?

How to convert shape files to .dwg format using Quantum GIS 1.7.0 ? Thank you
1
vote
1answer
290 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
237 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
491 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
193 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 ...
0
votes
0answers
22 views

Shapefile is not a valid or recognised data source. [duplicate]

I have some shapefiles that I have been using before, some months back, but now I try to load them into QGIS but I get the message: districts.shp is not a valid or recognised data source. I realise ...
1
vote
1answer
337 views

QGis creating shape file of several points out of two Excel sheets

I am about to create a Qgis file on which it should be visible which companies are working together. As source I have got two Excel Tables. Table = Distribution Centers Table = Point of sales I ...
1
vote
1answer
116 views

Integrating shapefile in spatialite DB with spatialite gui

For a project, i need a to display datas of a shapefile in an Android app (Geopaparazzi). I'm doing it by integrating the shapefile into a spatialite DB with spatialite gui 1.5 (1.6 having issues with ...
3
votes
1answer
1k views

How to create a layer of directional/horizontal wells?

I have never needed to create a horizontal/directional shapefile (oil / gas well). What do you need besides the lat/long, basic well info? Direction/Length for the line? My question is - What goes ...
3
votes
1answer
1k views

How to overlay a Shapefile on a WMS layer using Geotools?

I am trying to overlay a shp file on wms layer using the example http://docs.geotools.org/latest/userguide/tutorial/raster/image.html. Each time I want to read the format of the file to get a reader ...
2
votes
2answers
406 views

How to rotate North oriented Map [duplicate]

I want to rotate my North oriented point shapefile to 45%,is there any way to rotate it QGIS or Mapinfo? Thanks, RKM
0
votes
1answer
460 views

In DIVA GIS how can I change the polygon co-ordinates of a .shp file?

I am using polygon layers from various sources to create species distribution maps however some of the layers have different polygon coordinates to others, therefore I cannot use them together as ...
4
votes
1answer
297 views

Splitting a shapefile into many shapefiles with open source

I want to create a shapefile for each of the 72,000 census tracts in the United States that includes the census blocks in that tract using open source software. I will probably start with a state ...
2
votes
1answer
486 views

Reprojecting Natural Earth “Admin 0 – Countries” shapefile to Web Mercator

I haven't received a reply posting this same question on the Natural Earth forums, so I figured I'd give it a try here. I’m trying to reproject the 1:10m "Admin 0 – Countries" shapefile into a Web ...
2
votes
1answer
445 views

Help building SQL query to get a list of streets of a city

From two layers in PostGIS (osm_places and osm_roads), I would need to have the roads belonging to a certain city. It would be fair enough to get the street names of all streets in a radius of X ...
1
vote
1answer
889 views

How to append a vector layer using Qgis and Python?

I am working on scripting some data processing using Qgis and Python, but I'm running across issues that I need to debug. Since my data is really large, and run-times can be lengthy, I would like to ...
1
vote
1answer
168 views

Arcpy CreateUniqueName usage: keep original input names

This is a continuation of the question I asked here: At this point I'm really just trying to get everything in one place and keep the original shapefile basename. I'll tackle merging like-named ...
1
vote
1answer
1k views

How to dissolve polygons and aggregate their data in QGIS? [duplicate]

I have a shapefile (one layer) with my country but I have a problem. It is divided into 4 entries (prefectures), and I want it as one, not 4. Also, there is a table with some data, and I want to ...
5
votes
1answer
3k views

How to programmatically add shapefile to data frame in Arcmap

I have a toolbox with python script which creates a shapefile from JSON txt file, but it does not show the generated shapefile in arcmap, i have to add it from the output location. What code shall I ...
0
votes
1answer
103 views

Raster and shp overlap not working with user CRS mercator

I created a GeoTiff raster in python, that is projected with the following CRS: *"+proj=merc +lon_0=34.9586601257 +k=1 +x_0=-0 +y_0=1453756.01544 +a=6370997 +b=6370997 +units=m +no_defs"* When I load ...
3
votes
2answers
858 views

How to find out the co-ordinate system using .prj file

I'm very new to GIS concepts. Is there a way or procedure of finding out whether the co-ordinate system is in UTM, latitude/longitude or in stateplane using .prj file? My .prj file contains the ...
0
votes
0answers
216 views

How to convert shapefile to tpk using python(ArcGIS 10.1)?

I'd like to convert shapefile to tpk using Arcpy.I surf in ArcGIS 10.1 help but i couldn't find any desire reference to help me . How can i convert shapefile to tpk using arcpy ? which function i need ...
1
vote
3answers
2k views

ArcGIS Server geoprocessing service examples for shapefile data export

I have a web application client built using ArcGIS Server Manager which is currently showing a single map composed by three data layers. The map data are provided as a map service by my ArcGIS Server ...
1
vote
1answer
71 views

Combining shape files and exporting

I am new to QGIS and I need to know if if is possible to merge 2 shapefiles that do not have a common field and then export to Excel. Example of shapefiles: Countries broken up in to Municipality ...