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
vote
1answer
181 views

Convert shape file to kml without losing symbols

I am using QGIS 2.2 and want to convert a shape file containing point coordinates with userdefined svg-symbols to a kml file. Everything seems to work. The orginal file is in WGS 84 / UTM zone 32N ...
2
votes
2answers
357 views

Are British National Grid (BNG) 1km grid shapefiles displayed accurately in ArcMap?

I have downloaded the UK Ordinance Survey's 1km grids in shapefile format for ArcMap. If you need to download them to have a look first you can find them here look for link in the first Answer to the ...
12
votes
2answers
11k views

Adding shapefile as layer in ArcGIS Desktop using Python/ArcPy?

I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shape file to the current map. (And then do stuff to it, but that's ...
1
vote
1answer
36 views

GeoJson based on shapefile : large coordinates

I'm quite new to GeoJson (for use with d3), and in need of some help. When I convert my available shapefile (.shp) with ogr2ogr to a GeoJson-file, the resulting coordinates are very big numbers (in ...
5
votes
1answer
756 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 ...
1
vote
3answers
40 views

Lossless conversion from shapefiles to XML/JSON/Text

I'm a software developer and I need to create a custom tool that imports ESRI shapefiles (shp + shx + dbf), manipulates the content and then exports new shapefiles. To avoid a complex binary reading ...
3
votes
0answers
23 views

What is the area that OGR extracts from the (geometry) shp files for polygons?

The ESRI July 1998 technical documentation for polygon shapefiles at page 10 makes no mention of either area measures or length measures (apart from byte/record-layout matters). Yet OGR enables me to ...
3
votes
0answers
47 views

Algorithm to find the boundary grid points [duplicate]

Let us consider a set S consisting of a collection of grid locations (i,j),i,j=1,\ldots,n, in 2-dimensional gridded plane. Here the point (i,j) corresponds to a rectangular grid in the X-Y plane. ...
2
votes
1answer
409 views

Parameter values to create a vector grid with 1km x 1km cells?

I created a shapefile from WKT in QGIS using the values from this link. I want to create a vector grid with 1kmx1km cells but I can't figure out what values need to be set for the X and Y parameters. ...
0
votes
1answer
118 views

Why do I get an error when I try and clip a shapefile to a shapefile using ogr2ogr?

I want to clip a shapefile to a shapefile. The input shapefile is a 1 m vector grid generated in QGIS. The tile I'm clipping to is just a simple polygon (the geometry is contained within the 1 m ...
0
votes
3answers
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 ...
2
votes
1answer
85 views

Writing shapefile metadata with geotools

Using GeoTools, I'm able to write features to a shapefile by essentially passing a SimpleFeatureCollection to a ShapefileDataStore. The feature collection provides both a schema and features including ...
1
vote
2answers
318 views

From OSM to shape. Parsing problem

I'm working at OpenStreetMap project for android at the moment. I want to retrieve OSM data from my app(nodes, markers and paths) and convert it to shape file (.shp, .dbf and .shx). Later, I'll load ...
0
votes
2answers
44 views

Given a shape file, how can I return the polygon containing a lat/lon location?

I have a shapefile generated by the ESRI product suite. I do not have any ESRI products and my budget does not support their purchase. Aside from fiscal issues, there may be technical limitations with ...
37
votes
21answers
43k views

Are there any free administrative boundaries available as shapefiles?

After learning about the US Census's TIGERLines datasets I'm addicted to GIS :) I've working with the following layers, from the USA data Country boundaries State boundaries County boundaries City ...
1
vote
1answer
35 views

Exporting selected records from a shapefile

I have a shapefile consisting of insurance data and point features. I select the features I want, and then I try to go to Data - Export, and a new .shp file. The process seems to run, but the output ...
0
votes
0answers
28 views

Google Tracks convert kml to shape and preserve attributes

I've been attempting to convert a Google Tracks kmz file to an ESRI shapefile using the GDAL and libkml(http://www.gdal.org/drv_libkml.html) which I built on my Ubuntu 14.04 (64-bit) system. The kml ...
1
vote
1answer
102 views

Calculating distance between latitude and longitude by using python

I have a database of 2000 points, which is in csv format of latitude and longitude. I want to find distance between these points all at once. And also showing these points in Map by using only pyQGIS. ...
5
votes
3answers
423 views

Can we merge shapefiles with different geometries (point and polygon) to get a single layer which shows both geometries?

I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map.
1
vote
2answers
1k 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
0answers
374 views

how to get ascii grid from corine land use data?

I'm trying to get ascii grid with land use data (by one parameter - CODE_00). Afterwards I will import it into simulation tool. But I cannot figure out how to convert ascii grid from shapefile. ...
1
vote
2answers
271 views

How to convert Shapefile to TopoJSON with grouping neighbor shapes by some criteria

I have a shapefile with countries, which I convert to GeoJSON using ogr2ogr and then converting that json to another TopoJSON, using topojson command-line tool. Everything works like charm, but now I ...
0
votes
1answer
36 views

Iterate through a shapefile

How do i iterate through a shapefile using shapely. This is my code but it keeps outputting the same id. I think that it keeps looking at the same record. fc = fiona.open("file1.shp") print fc.schema ...
1
vote
0answers
21 views

Convert CSPro .map to ArcGIS shape file?

I have census data that uses the widely-established CSPro software. It also comes with a Map viewer and the data files are .map and .mdf extensions. Does anyone know how to convert these into an ...
4
votes
1answer
1k views

Union, Dissolve, Buffer — multiple layers, all in one step?

I'm a new user of Quantum GIS (1.7.3) and I need to repeat a task multiple times, so I'm wondering if there is a quicker way to do the following (with three or more polygon layers - each layer has a ...
2
votes
1answer
71 views

Calculating area of polygon inside region?

I am new to geographic information systems and i need to calculate the area of a a polygon ( a circle to be precise) that falls inside the boundaries of a region, say a state or a country. For ...
1
vote
0answers
36 views

Assign a IGeometry to Feature.Shape

I'm trying insert a feature into a FeatureClass, but when I try to assign the geometry to featurebuffer the app return the next Error: The remote procedure call failed. (Exception from HRESULT: ...
1
vote
1answer
25 views

How to display shapefile without map in Android?

I have a shape file which has some building data and I want to display that building structure in android I have checked nutiteq sdk but they are providing shp file on map not only shape file can I ...
3
votes
2answers
76 views

What is the best way to get from wkt to shapefile in Python?

I am querying tables from a SQL-Server database and would like to convert the table into a shapefile. It has wkt geometries and wkb as columns in the table, along with other attributes that need to ...
0
votes
1answer
105 views

Open multiple hyperlinks in one point directly from QGIS?

I have an enormous shapefile and each point has about twenty different attributes. About five of these twenty are hyperlinks- is there anyway to open these directly from selecting a point in QGIS? ...
3
votes
1answer
35 views

How to set decimal precision in shapefile via javacode

we are using the below code : SimpleFeatureTypeBuilder builder = new SimpleFeatureTypeBuilder(); builder.setName("Location"); String wkt = "GEOGCS[" + "\"GCS_WGS_1984\"," + " DATUM[" ...
1
vote
1answer
32 views

Operations between shape layer and csv layer

I've got a question for you! I have a .shp layer containing point geometry with xy coordinates in the attributes (left) and a .csv layer containing a square Origin/Destination matrix(right): I ...
0
votes
0answers
17 views

Is it posible to export an attribute to a separate shapefile? [duplicate]

Is it possible to export an attribute to a shapefile? I have generated several polygons with the ‘Strip Map Index Features’ tool. Unfortunately I have to export every polygon manually to a separate ...
1
vote
2answers
40 views

Worldwide High-Resolution Water Body Shapefiles with Consistent Scale

Where from your website can I access worldwide vector water body shapefiles that have better resolution than the generic SRTM 90m data? Do you have coastlines and inland features (lakes, estuaries, ...
4
votes
3answers
138 views

Can you recycle shp and shx files in shapefile fishnet (vector grid) where only dbf data changes?

I'm periodically getting data from an external partner that is bound to a very large fishnet (vector grid) in shapefile format. The fishnet itself sits at around 400~ megabytes, but the only data that ...
4
votes
4answers
596 views

Now that NationalAtlas.Gov is retired/removed, where is the largest source of public shapefiles for the USA?

I used nationalatlas.gov for many years, downloading various shapefiles regarding water, roads, boundaries, environmental factors, and more. NationalAtlas.gov was a central public site that many GIS ...
3
votes
4answers
373 views

How to create a new Shapefile with the same attributes as an existing one?

It is quite a frequent occurrence that I want the data I'm about to add to a new shapefile, to have all the same attribute fields as one I created in a previous project. For example, I might have ...
2
votes
1answer
56 views

Shapefile Conversion to ERDAS Signature editor

I'm trying to run a supervised classification for an image. I was working with it in ArcMap and created some training data. I wanted to see if I could get a better result with Erdas Imagine using the ...
0
votes
1answer
154 views

Creating a layer in arcmap by dragging a table from an OracleDB

I am working on a project for a client, they gave us some data from their oracleDB, and when I connect to it in arc map I can just drag and drop the tables from the catalog window into arcmap and they ...
2
votes
1answer
174 views

Changing field / alias names in a shapefile using ArcMap10.2

I have a query regarding changing field and alias names in a shapefile. ArcGIS info for 10.2 says: ...For example, you can do any of the following: Define an alias for a field name so the field ...
2
votes
0answers
33 views

Shapefile name specific failure with Append in ArcGIS 10.2

Can anyone tell me why the append (Desktop Management) function is not working on my 64 bit Windows 7 machine with ArcGIS 10.2.2 under the specific conditions described below? All tests on my machine ...
1
vote
2answers
98 views

How to draw polygons in shapefiles

I've hit a snag and realize this is probably a very simple and basic question, but how do I draw a polygon in a shapefile that I've created from joined points of 2 .csv files? Which specific tool do I ...
21
votes
2answers
24k views

How to calculate polygon areas in QGIS?

Hi I would like to simply calculate areas of a area-shape file in square meters or in acres (ha). I didn't find that functionality in the vector tools. Could anyone here help me with that?
0
votes
1answer
35 views

Error Applying Symbology to Shapefiles

I'm trying to apply symbology to my dataset after it is populated to the map display, but I am getting the following error. Have I placed the ApplySymbologyFromLayer code incorrectly? Traceback ...
1
vote
1answer
16 views

Creating an online form with intergrated google maps

Not sure if anyone can help, but i am looking at creating an online form that includes a map (google or something similar) where the user can draw a poly and when the user hits submit, i get all the ...
3
votes
2answers
50 views

shapefile record has no attribute named bounds

This is the code that I am using to print the bounds of my shapefile. import fiona import shapely import shapely.geometry fc = fiona.open("filename.shp") shapefile_record = fc.next() shape = ...
3
votes
0answers
41 views

How to set Vertical Coordinate system when creating a 3D shapefile?

I'm working with GDAL v1.11 and am seeing the vertical CS stripped when exporting a 3D shapefile (from oracle spatial). This is the command I'm running: ogr2ogr -f "ESRI Shapefile" B_POINT.shp ...
2
votes
0answers
54 views

How complete are the Fusion tools in QGIS?

How complete are the Fusion tools in QGIS? I have them installed and (vaguely) working, but there are only about ten of them. Is the idea of having just a few tools available, that one can use ...
1
vote
1answer
128 views

ArcMap “Could not open the specified file”

Has anyone ever encountered this message? I am getting this when I try to open certain shapefiles. I am working on a problem that generates shapefiles from spreadsheets using ThinkGeo's .NET tools. ...
2
votes
1answer
825 views

How can I relocate a georeferenced image, shapefiles and grid using Spatial Adjustment tool?

I somehow georeferenced an image about 120 miles east of where I should have georeferenced it. This should be a simple fix, except that I then proceeded to digitize that extremely detailed image ...