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)

-1
votes
2answers
197 views

styles when merging shapefiles in qgis

Trying to create something for mapstory.org It wants it in all one shapefile. So I create a polygons and lines (with time attributes) in qgis 1.8 Then merge them all into one shapefile, how can you ...
1
vote
2answers
486 views

How to convert OSM data to a projected Coordinate system

What is the easiest way to get OSM data into a shapefile projected data format for QGIS? Sounds simple but I've run into problems with this before.
9
votes
2answers
5k views

How can I get a shapefile from a postgis query?

My data is in a PostGIS database. I would like to generate a shapefile from a query. How can I do that?
4
votes
3answers
4k views

How can I get the proj4 string or EPSG code from a shapefile .prj file? [duplicate]

I have to work with a shapefile defined in an unusual projection, which my GIS software does not know about. How can I get the proj4 definition or the EPSG code for the projection?
0
votes
0answers
41 views

Convert Shp to Dxf with QGIS [duplicate]

8.0. I have asked this before and seen similar but not the same (all of which I Have not got an answer to so not a duplicate). But is there a way to export a shp as a dxf so that it will not crash ...
5
votes
3answers
244 views

GIS file format for space and time data?

I need some advice with GIS file format choice. Here is my problem: I have about 100 stations. At each station water temperature is measured daily for 1 year I want to load this data to QGIS and be ...
1
vote
2answers
312 views

Where can I download Southern California Interstate Highway System in a Shapefile?

Does anybody know where I can download the Interstate highway system (as a shapefile) for Southern California (the area around San Diego in particular)? Thanks, in advance!
2
votes
5answers
1k views

Counting road intersections and blocks

I have a shp file that consists of the road system of Mexico City. I would like to count the number of road intersections (crossings) and blocks (which I would define as a segment starting from one ...
1
vote
3answers
462 views

Looking for a simple method to find the shortest path with Shapefiles

I am having shapefiles for a particular map location, the shapefile consists of points and polylines. Now I want to find the shortest path between the points. What is perfect and simple method to find ...
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)), ...
2
votes
1answer
142 views

Natural Earth: How to get the position of all provinces that belong to a state

This question is about Natural earth 1:10 states and provinces.shp file. I'm using ogr2ogr and want to know the name of the id i need to pass . In purpose of pulling out the right states regions. ...
1
vote
0answers
336 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.
0
votes
0answers
50 views

Where to find Data with site that have hazardous, toxic or radioactive substances?

Does anybody know where to find data that lists the location of sites that have hazardous, toxic or radioactive substances? I'm working on a HUD project and need to be able to find out if sites for ...
5
votes
3answers
305 views

How to combine stacked polygons within a shapefile?

The image below shows my shp-file. Every polygon has the same transparent color. So a darker blue means, that several polygons are stacked! How do I cut every polygon with each other so no polygons ...
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 ...
2
votes
1answer
326 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
258 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 ...
3
votes
2answers
379 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
309 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
194 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
58 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
51 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
640 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
147 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. ...
3
votes
0answers
92 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
136 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
193 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). ...
7
votes
1answer
1k 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
609 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
1k 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-- ...
1
vote
1answer
180 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 ...
3
votes
2answers
173 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 ...
5
votes
3answers
3k 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
389 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
80 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
284 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
100 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
139 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, ...
2
votes
1answer
359 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
688 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
854 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 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 ...
0
votes
1answer
3k 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
2k 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; ...
3
votes
1answer
1k 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
47 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 ...
12
votes
1answer
407 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
2answers
1k 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
214 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 ...