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)

2
votes
1answer
3k views

How to convert a shapefile to WKT?

I'm trying to convert a shapefile into the simple Well Known Text (WKT) format in the example below (from http://en.wikipedia.org/wiki/Well-known_text). MULTIPOLYGON (((40 40, 20 45, 45 30, 40 40)), ...
1
vote
0answers
270 views

“topo to raster” tool

is there any analogue of "topo to raster" tool (ArcGIS) in QGIS? I need to creates surfaces from shp for some cases from points and for some from lines and this instrument is very convenient.
8
votes
1answer
2k views

Issues Accessing ESRI File Geodatabase within Quantum GIS Desktop

I am trying to access ESRI file gdb from Quantum GIS. I am on Windows 7, 64-bit. I have found many useful threads on how to set up this functionality within Quantum GIS. The method I went for is ...
3
votes
1answer
2k views

ESRI Javascript API Export to Shapefile and CSV

I am working on a Javascript Web Application using the ESRI Javascript API v3.3. My application allows the user to edit and query data and also provides a table for attributes. I would like the user ...
6
votes
2answers
733 views

Google Earth Enterprise & ArcGIS - How do you use them together?

I have been fielded a few questions about Google Earth Enterprise--which I don't know anything about, I'm having a time finding answers to the two following questions, which can probably be summed up ...
1
vote
1answer
251 views

Can't preview a shapefile in GeoServer 2.2.4

I have problem with previewing layers in GeoServer. I installed Geoserver 2.2.4 (following instructions in manual) and everything was going well. I managed to login to it and create my own new ...
2
votes
2answers
221 views

How can I display multiple regions shapefiles on an iOS device

How can I display multiple shapefiles on an iOS device? My client is asking to display all the states in a different color, and again cities in a different color and all the fields in a different ...
2
votes
1answer
280 views

need help for script checking topology using ogr in python

My main goal is to create a new feature indicating if the line features intersect each other as well as if they are not connected to a feature. My problem is how to identify the intersecting and not ...
3
votes
2answers
316 views

How to cut a SHP based on another SHP using R

I have a Shapefile of points with certain information. I have another Shapefile with polygons corresponding to the states of the country I am working with (in this case Mexico). Since I only want to ...
2
votes
1answer
282 views

R: How can I create a polygon from several polygons and a line?

I have some spatial objects that I want to combine, namely three polygons and a line. The ultimate goal is to create a polygon that I can overlay on an area of a map of administrative divisions of the ...
1
vote
1answer
167 views

How to reproject this vector layer?

I have a dxf file and use this tool to convert it to shapefile. Then I apply some affine transformations and get a shapefile that does not fit the shapefiles downloaded from osm (EPSG:4326). I know ...
2
votes
4answers
1k views

ArcInfo Grid ASCII to ESRI Shapefile conversion

I have an ArcGIS grid ascii file (Ramankutty Cropland at 5 minute resolution) that begins as follows: ncols 4320 nrows 2160 xllcorner -180 yllcorner -90 cellsize ...
3
votes
2answers
537 views

How to overwrite a Shapefile

I want to be able to overwrite a shapefile if it exists. I think my code needs some tweaking. I am using v10. I am able to delete the actual .shp file but the .dbf, .shx, etc still remain, so if I try ...
0
votes
2answers
134 views

loading CanVec directory full of .shp files

I'm totally new to QGIS, and trying to view a Canadian Topo map as published on an iMac - I don't want to change it. ...
1
vote
1answer
57 views

why sql file generated by postgis was different in notepad and pgAdminIII?

When i imported a shapefile which contains some polygons into PostGIS by command line on Win 7, a problem puzzled me: The sql file generated by shp2pgsql opened with notePad has the geom ...
1
vote
1answer
155 views

Global Mapper - .SP1 conversion to Shapefile

Does anyone know how to convert an .SP1 file to an shapefile from Global Mapper to ArcView 10.1? The .SP1 is a GPX file.
1
vote
0answers
50 views

How to remove polygons in shapefile based on attributes in R [duplicate]

I have a shapefile where some attribute data is blank. I can delete those rows attribute table using na.omit. However, the polygons remain when I map the shapefile. I'm using R to make these changes. ...
2
votes
1answer
1k views

encoding problem with QGIS 1.8 and CSV import

I have following problem with QGIS 1.8. Lisboa (standalone installer, Win 7 Pro 64bit) - I import CSV - text in CP1250 separated with ";" and using "," as decimal separator. I correctly set the ...
7
votes
1answer
939 views

Removing rows in shapefile in R

I've imported a shapefile into R, and joined it to a table. My shapefile contains all the census ids, while my table only contains selected census ids. I'm now trying delete all the rows didn't get a ...
2
votes
1answer
248 views

Creating shapefiles using Java and Accumulo

I have tracking data with latitude and longitude stored in an Accumulo database table. We want to move toward using Geoserver for some layer display features on the client side. Right now I'm ...
9
votes
4answers
6k views

using shapely: translating between Polygons and MultiPolygons

[EDIT: the solution to this was simply to use OGR to read shapefiles. See geographika's example.] In an ESRI shapefile, there is no distinction between Polygons and MultiPolygons. Furthermore, there ...
4
votes
1answer
819 views

How to programatically populate a shapefile field with polygon areas in OGR?

I'm trying to programatically populate a shp field with polygon areas: import sys import ogr ds = ogr.Open( 'tttttttttt.shp', update = 1 ) if ds is None: print "Open failed./n" sys.exit( 1 ...
3
votes
2answers
131 views

I am unable to draw a shape layer

When I add a new shape layer or want to edit an existing one, nothing is happening. I even don't see the dots where I'm clicking. Maybe the problem is I deleted some layers (by opening the .qgs as a ...
5
votes
2answers
938 views

Fastest way to convert shapefile to postgis in java

I have been using geotools to read shapefiles and import them into postgis. Unfortunately, when large files are being imported, this leads to a massive lag time --8000% of shp2pgsql piped into pgsql-- ...
4
votes
1answer
644 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 ...
2
votes
1answer
489 views

QGIS opening shp file: why does it crash?

I am trying to open a shp file from the EEA (Urban Atlas), and with some of the shp files qgis keeps crashing as soon as I try to load it. QGIS 1.8.0 is running on Windows 7; I reinstalled QGIS, ...
3
votes
2answers
160 views

Merging polygons at county level to state level

I have a shapefile that represents counties (admin 2) only, but I need to create a state level (admin 1) polygon file (I'm using QGIS). I will need to sum up (or average) the relevant data at each ...
11
votes
2answers
1k views

Is there a public shapefile with the London Underground stations and lines?

Is there a public shapefile containing the stations and lines of the London Underground? I've been doing some intensive searching but I can only find the coordinates of the stations, or the lines in ...
0
votes
0answers
75 views

What vector file type yields the greatest detail with the Heat Map plugin?

I'm using .shp files built from .csv files and having quirky results. Perhaps there is a better way to begin. The heat map appears to be accurately describing the data but calculates a huge area in ...
1
vote
0answers
252 views

Can I create a custom Shapefile for SAS with QGIS?

Okay - I am in the process of configuring GIS within our organisation and am waiting for QGIS to be installed. My aim is to use QGIS to compile a custom shapefile of the business regions used by our ...
0
votes
1answer
98 views

How can I create a button to add a POI layer?

I am making a map of a city with openlayers. I have the shapefile data of the POI (hospital,bank,school etc.) I want to add the layers with buttons not in layerswitcher. Like whereis.com's quick ...
5
votes
0answers
693 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 ...
3
votes
1answer
889 views

How to convert jpg file to shapefile? [duplicate]

I am developing a GIS application like this: By now my steps are: I have got a jpg file, 5040 x 8179 dimension. In this map, the roads, rivers, towns etc. are marked. I am using .Net to develop ...
6
votes
1answer
578 views

Create multiple shapefiles from one table

I've imported a table into ArcGIS which I'd like to split into multiple shapefiles. The splits would occur between groups of records separated by any of 3 columns. In other words, col1, col2, and col3 ...
3
votes
1answer
853 views

How to convert shapefile to vector emf?

I want to convert a shapefile to an EMF file. The EMF file must be a vector image, not a raster image. Please suggest to me some good packages or tools. Thanks in advance.
5
votes
2answers
404 views

Display of zoomable image thumbnails instead of symbols on maps

sincere congratulations on your ingenous QGIS and the many extremely useful extensions. In my research on African archaeology I work a lot with geotagged pictures (drawings; photos; plates etc.) which ...
5
votes
2answers
1k views

Split a shapefile into multiple shapefiles based on a particular Field [duplicate]

I have a shapefile where there are 3 fields OBJECTID, NAME , LOCALITY. I want to create new shapefile that contains the geometry, projection etc. of the parent shapefile and according to the locality; ...
12
votes
1answer
377 views

The next big thing in standardized spatial data exchange format?

I remember reading something a few months back, in the latter half of 2012, about a coordinated group effort to design a new standard for sharing geographic / spatial data. It has or aims to have the ...
4
votes
2answers
932 views

Why don't some layers line up afer converting Mapinfo TAB to Shapefile?

I have 6 MapInfo layers / TAB files which I need to convert to ESRI ShapeFiles, preferably using QGIS. When a colleague opens these in MapInfo 10, they all look fine and line up correctly. When I open ...
1
vote
1answer
310 views

tools and ETLs for migrating data benchmarking - from shapefile to SQL SERVER

i need to migrate my shapefiles to my database SQL SERVER, and i don't know what's the best tool or ETLs to choose, i already tried FME Desktop and i succeded to load the shapefiles on my db, but ...
1
vote
0answers
46 views

Spatial adjustment for vector shp files in QGIS [duplicate]

How to do spatial adjustment for vector shp files in QGIS? I have a set of 4 cadastral maps of adjacent locations. I have converted them form DWG to DXF and then to vector shapefiles. They are not ...
5
votes
2answers
1k views

Retain ESRI symbology in Mapinfo TAB

Is there anyway to retain/easily transfer symbology from ESRI to Mapinfo? The only process I found was posted in 2010 - https://groups.google.com/group/mapinfo-l/browse_thread/thread/883223ff4ae56809 ...
2
votes
1answer
640 views

How do I map data by zip code?

I have a set of data that corresponds to zip code, and I'd like to turn that into a map. From what I've gathered thus far, zip code shapefiles are difficult to find and work with due to the fact that ...
6
votes
1answer
196 views

GIS storage format for better performance - Android device

We have developed an android application which loads different eco-zones and does geo-fencing based on current GPS location. We have converted a shapefile to KML, then to JSON format, for loading in ...
2
votes
2answers
632 views

Why are edits in shapefile table not saved?

I have created a shapefile (point data) and wish to change some parameters in the files table data. I can edit the data and see the coresponding change in my my symbology. However, when I save the ...
4
votes
1answer
286 views

Export KML to SHP in Javascript

I need my Javascript browser application to convert/export KML documents into ESRI shapefiles. Is there any JS library that can do it? I tried googling, but no answers so far (at least, not in ...
4
votes
4answers
1k views

Updating 30 Shapefiles, adding attribute and populating based on data

I need to add an attribute to each shapefile attribute table in ArcMap, I was thinking to do it in SQL, but I'm not sure how to go about doing it since I'm very new to ArcMap. Can someone explain to ...
2
votes
4answers
7k views

How to Read a Shapefile using C#?

I am new to ArcGIS and trying a few things.. I'm trying to read shape file(which is supply as an input) using c# and I want to generate a .pdf file which contains underlying metadata information ...
2
votes
1answer
314 views

Using a map from ESRI Server in a radMap

I was wondering if there was a way to use a map that I have stored on an ESRI server in a telerik radMap. I am not very familiar with the radMap control so any help would be appreciated. I have found ...
2
votes
1answer
400 views

Create a shapefile from geometry

Please excuse my lingo, I am still learning some aspects of geo spatial and arcpy. I have a python script that takes a shapefile. The shapefile consists of a polyline. I have traversed the polyline, ...