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)

4
votes
0answers
36 views

How can I identify lines that intersect a certain raster layer area?

How do I identify certain roads ( of a line shapefile) that intersect with a layer that is produced from the reclassify tool (for raster data)? I am trying to identify which roads specifically are in ...
4
votes
0answers
336 views

Trying to fill polygon fills the entire map

I have been given some shp files to be displayed using Mapserver. Until now I was able to find the correct projections, display the map, and show labels. However, I have problems with polygon colors. ...
3
votes
0answers
30 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
48 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 ...
3
votes
0answers
67 views

Issue with dissolving a polygons layer in QGIS 2.4

I downloaded a dataset of roads and parks from OSM. I then buffered the roads and merged with the parks. Now - all i want is to dissolve / union all the features in the merged layer. I fail to do it ...
3
votes
0answers
151 views

How to extract zipped shapefile and check its shape type using arcpy module without writing on disk

I have a zipped shapefile saved on my disk. I want to extract it in memory and check the shape type. I'm using arcpy module and want to stick to only default modules comes with python installation. I ...
3
votes
0answers
91 views

Filtered SimpleFeatureCollection really slow on Map and other operations

I'm working with a shapefile having about 85.000 features. I need to select some of these using a filter and then showing these on a map. Now... If I draw the entire shapefile's features the creation ...
3
votes
0answers
140 views

Shapefile and geocoding to retrieve an area name

I'm very new to GIS and all things geospatial! I have dbf, prj, sbn, sbx, shp and shx files that have been provided to me. The shapefile contains information on parts of the country that have been ...
3
votes
0answers
258 views

Creating a ShapeFile spatial index programmatically in .Net

I am creating a shapefile programmatically using DotSpatial using the following example syntax / pseudo code FeatureSet features = new FeatureSet(DotSpatial.Topology.FeatureType.Polygon); ...
3
votes
0answers
764 views

How to join data from a CSV to a shapefile using QGIS

I'm new to GIS and new to StackedExchange. I need help joining a CSV of Accessibility data to a LSOA shapefile in QGIS. The process explained here does not work for me and I don't know why. The ...
3
votes
0answers
438 views

Open shape file in ArcGIS Runtime WPF SDK as Graphics/Feature layer

I googled and followed this tutorial http://www.arcgis.com/home/item.html?id=953a530ada30477d95cc69e788268bc9 and figured out how to import Shape files and Rasters into Runtime. However, it seems ...
3
votes
0answers
748 views

How to Export a Shapefile as KML Using R

All, I have exported an ESRI shapefile (polygon) to KML using R, but the resulting layer shows only the outer extent of the polygon. How can I fill in the area with a color? Any help is greatly ...
3
votes
0answers
474 views

How to export multiple Shapefiles to one KML file in QGIS?

As the title says, is it possible to export multiple Shapefiles to one single KML in Quantum GIS (Similar to "Map to KML" in ArcMAP)?
2
votes
0answers
28 views

When I download a shapefile from Geoserver my attribute data of shapfile changed

Hi dears I added many shapefiles and PostgreSQL database into Geoserver! But when I downloaded this Shapefiles again my attribute data is not legible in Farsi characters! Can anybody understand me? ...
2
votes
0answers
57 views

Extracting metadata from shapefile in FME?

Does anyone know how to extract metadata information from a shapefile in FME? To be exact, i want to extract the schema (data structure) of the data such as the field names, etc. from a shapefile and ...
2
votes
0answers
15 views

Converting pre-ADF coverages to current shapefiles?

I have a set of old coverage files, published at 1995-1996 in a CDROM by an official mapping authority. They were, therefore, made with ArcView 1.x and don't have the ".adf" extension. The files that ...
2
votes
0answers
44 views

How to create dynamic maps based on updated attributes in SHP file

I am novice GIS'er. I can create maps and do basic transformation of the SHP file using QGIS. I also succesfully applied formatting based on attributes. I am able to add new attributes to SHP file in ...
2
votes
0answers
46 views

SHP, SHX and DBF files became empty (zero byte) overnight on QGIS

This literally happened overnight. I was working on a shapefile in QGIS 2.4 last night but my files (SHP, SHX and DBF) all become zero byte this morning. Has this happened to anyone before? How ...
2
votes
0answers
43 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 ...
2
votes
0answers
63 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 ...
2
votes
0answers
39 views

does the census bureau provide clipped / water-bounded files as nice as certain cities?

this question says they do but when i compare what i can find in the cartographic boundary files section of the census bureau's gis page, they don't look as good as certain shapefiles provided by the ...
2
votes
0answers
38 views

OpenLayers preview problem?

I just want display shapefile (.shp) that I have made in QGIS in openlayer geoserver. but There is a strange object that appears. I want to ask how to get rid of the strange object.
2
votes
0answers
21 views

Path on network returning wrong results

I have created a shapefile of polylines that represent a path with multiple intersections. Then I have used the networkx python library to create a network. At the first the results were satisfactory. ...
2
votes
0answers
61 views

Kartograph - AttributeError: _Shape instance has no attribute 'parts'

I am new to GIS and open source tools so bear with me. I am attempting to convert a shapefile to svg by running kartograph as a python module. My source file (provided by the local GIS ...
2
votes
0answers
19 views

Querying a shapefile and returning values?

I have a lot of experience making maps in ArcMap. I don't have much experience programming or working with APIs. Here's the (simple) problem: I create a shapefile of a region and then load the ...
2
votes
0answers
59 views

Identifying certain polygon from overlapping set

To clean up a large shapefile, I am looking for a way to do the following: I have the ID of many polygons which need getting rid of stored in a list. These polygons are villages and a second ...
2
votes
0answers
58 views

Exporting feature class from Geodatabase to shapefile, shortens/abbreviates field values in resultant file?

I'm exporting feature class (File Geodatabase) to shapefile, after exporting the field values in resultant shapefile is shortening, like if a field value is Andhra Pradesh then in Feature class ...
2
votes
0answers
69 views

CRS problem: not recognizing the CRS of shapefiles to be the same for all

I'm attempting to aggregate (average) the attributes a point layer to polygon attributes (i.e. block groups and counties) via a spatial join. Both the points and polygons are in the same projection - ...
2
votes
0answers
201 views

How to convert shp to csv

I am trying to convert my shape files to csv through a batch processing in Java using Geotools. The problem is I have more than 500 shape files (point features). The code is working fine for a small ...
2
votes
0answers
50 views

Merge shapefiles to one tool not working?

When using the data management tool "Merge shapefiles to one" in QGIS why is it copying one of my shapefiles instead of merging the two together as it should?
2
votes
0answers
39 views

Memory layer or QgsVectorFileWriter Error?

Currently this excerpt of code will not save to file (as it is supposed to). The memory layer is visable and editable. Yet even when manually saving the layer, any priorly added features ...
2
votes
0answers
105 views

Ecoregions shapefiles: subsetting, extracting and summarizing data from raster

I am attempting to subset and project an ecoregions shapefile from : EPA ECOREGIONS my data set is found here: SHAPEFILES and RASTER When I run this code, two major problems occur: 1) I cannot get the ...
2
votes
0answers
115 views

Convert a classification image to aggregated polygon in shapefile using gdal/python

My goal is convert a 2D numpy array to shapefile. The matrix results from a classification, so the numbers have a meaning. I solved my problem, but the solution is somehow involuted and complicated. ...
2
votes
0answers
92 views

R - how to create a pre-determined number of identical square polygons to use for a choropleth map?

I am trying to plot crime data density (again!) over a city map, say of NY. As a well known problem there are plenty of examples on this ...
2
votes
0answers
60 views

PostGIS does not export shortest path to Shapefile

I am trying to draw a bunch of lines overlaying the globe map in a WGS84 projection. To this effect I have created a PostGIS DB with a table that has one column containing linestring data. My problem ...
2
votes
0answers
85 views

Global height data as polygons — Natural Earth doesn't have it?

I love the bathymetry data from Natural Earth. I've been looking for the last few days for the same basic data but for land. I'm trying to find general elevation shapefiles, as polygons. I don't need ...
2
votes
0answers
72 views

Identify different networks inside a line shapefile

I'm dealing with a quite big line shapefile containing road tracks. The roads are connected to each other, creating distinct networks. These networks are independent and they are not connected to each ...
2
votes
0answers
141 views

How to add multiple shapefiles with VB.Net

I have created a toolbar add in for arc with a button that opens a form with 3 selections that are shapefiles, once the shapefile is selected I click the Add Layer button. Currently I can only get one ...
2
votes
0answers
279 views

Shapefile From Excel Sheet Crash When Selected Spatialy or By Attributes

Using ArcGIS 10.2, I am receiving an Excel sheet, on a daily basis, which contains 105 columns(Fields) and includes has X and Y values. For whatever reason (which I cannot understand) all data types ...
2
votes
0answers
50 views

ArcGIS - Table columns lose formatting when I make a new copy of shapefile (Decimals, Thousands separator, Highlighting)

When I make a copy of a shapefile or I join two shapefiles and then create a subsequent shapefile, my number type columns (in the attribute table) will default back to numbers with many decimals and ...
2
votes
0answers
86 views

Is there a way to build topology and work with topology relations in PyQGIS?

Is there a way to build topology and work with topology relations in PyQGIS? I'm asking because I need to run some custom generalization algorithms on my data, and I need to preserve topology. ...
2
votes
0answers
113 views

AIS Data Transformed or CVS Format

I am looking for AIS Shipping Route Data. I have not had much luck finding it in either SHP format or even in CVS format does anyone have a real good source of finding this type of data? To add to my ...
2
votes
0answers
163 views

Hitting Memory Limits of PostGIS ST_ConcaveHull / Incomplete Shrink Wrap

I am trying to use PostGIS 2.0 on Postgres 8.4 to do some mapping. I am working with the NOAA Shapefiles, specifically their US States & Territories file located here: ...
2
votes
0answers
243 views

PyQGIS joining a dbf to a shapefile

I am trying to join a shp and dbf file using the PyQGIS API. The code I'll use is below: from PyQt4.QtCore import * vector1 = QgsVectorLayer("path to dbf file", "test1", "ogr") id1 = vector1.id() ...
2
votes
0answers
347 views

Geoserver - empty native SRS field

I'm converting layers from shape files to postgis with the below command: shp2pgsql -s 22175 -c -W "latin1" path/file.dbf' table_name db_name | psql -d db_name Next, I add this layer to the ...
2
votes
0answers
77 views

Applying depth to Shapefile

Apologies if this question has been answered before. I'm digitizing a historic coastline and would like to add a single depth figure to it in order to merge it with a current contour model. Is there ...
2
votes
0answers
232 views

How to convert shapefile to mapinfo file preserving special characters?

I have to convert a bunch of shapefiles to mapinfo files on a machine without a MapInfo license, so I am using ogr2ogr to perform this task. The problem is that when opening the mapinfo files in ...
2
votes
0answers
140 views

How to cut lines in a shapefile following a GPX-source?

I have a OSM-Shapefile containing all roads of a given area. I need an overlay cut out of this source-Shapefile that contains only some routes that I want to highlight on my map. I have some ...
2
votes
0answers
224 views

KML files to IPad securely? Altitude and shape problems in Google Earth

Does anyone know any options for maintaining privacy of the files and getting them onto iPad using Google Earth? Using Google account to link to Google Earth, privacy settings in Google my maps are ...
2
votes
0answers
332 views

create geotiff from shapefiles

I need to colorized geometries from shapefiles and convert them to raster image (geotiff). I tried to use geotools's VectorToRasterProcess and ImageWorker ("d:\gis\tmp\32 27 25 w4.shp" is path to my ...