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)

3
votes
1answer
5k 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 ...
2
votes
1answer
603 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 ...
2
votes
2answers
546 views

Displaying multiple regions shapefiles on 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 ...
4
votes
2answers
808 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 ...
3
votes
1answer
532 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
310 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
1answer
65 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
0answers
55 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. ...
3
votes
2answers
2k 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
283 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. http://www.geogratis.ca/geogratis/en/option/select.do?id=5460AA9D-54CD-8349-C95E-...
3
votes
0answers
125 views

QGIS Workflow Problem [closed]

I have 3 SpatiaLite layers (one without geometry but with fields that need to be filtered, one with points and one with polygons, both without any non-geometry fields) that need to be combined to a ...
3
votes
2answers
170 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 ...
0
votes
1answer
296 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). ...
8
votes
2answers
3k 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
977 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, ...
5
votes
2answers
2k 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-- ...
2
votes
2answers
289 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
1answer
65 views

Managing multiple dates in single column of shapefile using ArcGIS Desktop?

I have data example an organizations, which consists sl.no, name of organization, facility type, latitude, longitude starting date of facility.My problem is for particular facility i had two or more ...
3
votes
2answers
382 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 ...
13
votes
3answers
3k 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 ...
8
votes
3answers
10k views

How to write Shapely geometries to shapefiles?

Can someone demonstrate a simple way to write geometry data-structures from shapely into shapefiles? I am particularly interested in polygons with holes and linestrings. It would also be beneficial to ...
5
votes
3answers
1k views

Adding a GIS feature to existing database entry with QGIS

I've built a database with postgreSQL with tables, which include geometry columns. When I add some data to my non-geometry columns, I can see them in QGIS when I connect to my database using postgis. ...
0
votes
0answers
94 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
474 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
165 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 ...
1
vote
2answers
151 views

Why does my 113th Congress Shapefile match up with the wrong districts across the country?

I downloaded a Shapefile from the Census on the 113th congress broken down by district nationally: http://www2.census.gov/geo/tiger/TIGERrd13_st/nation/tl_rd13_us_cd113.zip Within the .dbf file, ...
1
vote
2answers
502 views

QGIS rounds up the coordinates to six decimals when saving layer changes

I have the problem that when I create a new point (in a point layer) or a new line (in a line layer of course) and I save the changes to the layer (so NOT the project save) then QGIS rounds up the ...
6
votes
1answer
1k 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
2k 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
3k 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 ...
1
vote
2answers
7k views

How to convert AutoCAD file to Shapefile for map from ArcGIS API 3.2 for JavaScript?

I have an AutoCAD file that I want to convert to Shapfile to appear in a map by API for JavaScript in .net. What do I do?
5
votes
2answers
3k 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; ...
4
votes
1answer
4k 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.
1
vote
0answers
54 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 ...
14
votes
1answer
772 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 ...
0
votes
3answers
3k views

How to convert contours and raster surface from Petrel to shapefiles and rasters that can display in ArcGIS?

We have Petrel which is used to produce a surface of a geological horizon below the earth's surface. In Petrel we have contours (vectors) and a raster image of the same area, also visualising ...
6
votes
1answer
375 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 ...
4
votes
1answer
1k 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 ...
4
votes
1answer
506 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
2answers
488 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 ...
5
votes
4answers
4k 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
2answers
2k 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 ...
5
votes
4answers
20k views

Reading Shapefile using C#? [closed]

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 (...
5
votes
2answers
2k 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 ...
3
votes
4answers
2k views

Converting Esri ASCII raster to Shapefile for CartoDB?

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 0....
0
votes
1answer
523 views

Transform ssf to shp [duplicate]

Good Morning Do you know a free program that transform *.ssf to *.shp files? Thanks Eduardo Abade
2
votes
1answer
980 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, ...
15
votes
1answer
11k views

Merging adjacent polygons in shapefile that has been split at tile boundaries?

I'm currently using building data from the Ordnance Survey Vectormap District and I've noticed that a lot of building polygons are split in 2 because of the way the OS split up the shapefile. This is ...
6
votes
2answers
1k views

Error getting text attributes from shapefile with python / pyshp

I have a shapefile, containing only points in XY-coordinates and a string attribute for each point. I would like to read the coordinates and the attribute for postprocessing in python, but can't get ...
4
votes
2answers
1k views

Splitting DXF layers into Shapfile layers in QGIS?

When i load a dxf into QGIS all the layers are present in the attribute table. Is it possible to split this "entities" layer in QGIS into its component parts and save each component part as an ...