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
0answers
43 views

Create Polygon with inner polygons from KML or Shapefiles?

I am creating a windows forms application and I want to create a polygon from a KML or Shapefile as a layer on top of a Google Satellite map. Today I am using GMap.NET that got an polygon object but ...
1
vote
2answers
156 views

Avoiding R for windows gui front-end has stopped working error?

I am trying to load huge number of points (shape file) in R. But when I load it, the program displays following error message and just stops. "R for Windows GUI front-end has stopped working" My OS ...
1
vote
2answers
85 views

Vertical lines in a polygon shapefile

I am working with a GIS problem using a single input of a polygon shapefile. Consider an irregular polygon. I want to draw vertical lines across the extent of the polygon at equal spacing. How I ...
19
votes
12answers
14k views

Converting Shapefiles to Text (ASCII) files? [duplicate]

How can I convert a shape file (GIS) to text? or, How can I extract the information in a shape file?
3
votes
1answer
181 views

Debugging ogr2ogr “AddGeometryColumn failed” and “Terminating translation prematurely after failed translation of layer”

As noted in the title, I'm getting the following error: ERROR 1: AddGeometryColumn failed for layer pretty_polys, layer creation has failed. ERROR 1: Terminating translation prematurely after failed ...
2
votes
3answers
201 views

convert a shapefile into graph with nodes and edges

Is there a way to convert a shapefile into graph with nodes and edges(except networkx). I'm using qgis and I want to convert a road vector layer into a graph, so that I can use it to apply shortest ...
1
vote
0answers
104 views

Convert polygon data into extreme lon/lat coordinates using QGIS

I'm very new to QGIS. I have a shape file of census blocks and want to use the data to plot points within each boundary using Google Maps api. I figure the best way to do this is to find the extreme ...
0
votes
1answer
59 views

How to get specific coordinate system to get arcGIS point shapefile in r?

I have a Point shapefile from arcGIS 10. I want to get it in r and also want to get it a specific predefined coordinate systen for my data. I can read the shapefile in R but summary in r Shows ...
1
vote
2answers
78 views

Unable to load shapefile as feature class into geodatabase file, with only 3 of the fields

I'm trying to automate importing census boundary shapefiles to feature class in a Geodatabase File, but somehow could not get it to work with this code: ### ======================== load boundary ...
1
vote
1answer
28 views

32bit to 64bit topology errors

Can generating a shapefile from a pgdb cause topology errors due to floating point conversion? I am running into gaps in a line layer of really small distances (order of 10^-4; CRS EPSG:2227 usft). ...
1
vote
2answers
364 views

Looking for a GeoJSON describing the french departments

Is there any place where I could find a GeoJson describing the borders of the french departments, or do I have to convert a .shp file?
2
votes
4answers
1k views

How to convert KML with tracks to Shapefiles?

I downloaded a KML track from Google Latitude. The service allows to download the tracked route from the user's profile providing a link such as: ...
4
votes
1answer
102 views

Convert ESRI Shapefile to Raster using R - biggest polygon area to raster cell value?

I want to create a raster from an ESRI shapefile. Multiple polygons may exist in one raster cell. If so, I want to assign the attribute variable which occupies the biggest area of the raster cell. ...
2
votes
0answers
49 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 ...
1
vote
3answers
286 views

Create ESRI shape file with attributes from mySQL

I have some geometry which can be perceived as regions within a country and wish to create a shape file which contains all the regions along with some attributes (e.g. name, population, area code, etc ...
6
votes
3answers
200 views

Is the filename of a shapefile the same as its Feature Class name?

This is a very basic question, but I'm not finding the answer on Google or here... I have a bundle of files I have to submit in an incredibly specific format. Our sub-consultants gave us a set of ...
1
vote
0answers
17 views

Good KML conversion program [duplicate]

I recently used the GPSlogger app and created KML files from my routes. I haven't been able to successfully convert them to shape files. Does anyone know a good downloadable program that converts ...
2
votes
0answers
60 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 - ...
0
votes
1answer
120 views

Why is shapefile layer not visible on WMS layer in QGIS?

In my QGIS project I have added a WMS layer for which the CRS is WGS84 EPSG:4326. Now I want to show my shapefile layer which has the same CRS. QGIS shows the layer separately but does not show with ...
6
votes
5answers
5k views

How to change the order of features in a shapefile?

I have a shapefile and I want to change the order of the features. Is that possible using ArcMap?
3
votes
2answers
51 views

Counting number of points in particular polygon for list of individuals using R?

I have distribution points for a set of individuals and a file of polygons-with matching IDs. What I would like to do is to go through and for each individual find the total number of points and the ...
1
vote
1answer
51 views

correct projection of GADM data

I'm trying to use a map of Austrias districts from the GADM project. The Shapefile can be found here: AUT_adm.zip (All other formats provided by the project appear exectly equal.) The coordinate ...
1
vote
1answer
54 views

Bulk SHP/KML Processing Tools

I need to accomplish two things in bulk: Convert SHP to KML Modify the fill and outline color and opacity either of SHP or KML files What tools can you recommend for these two tasks? I've tried ...
1
vote
1answer
42 views

Bringing information from one shapefile into another using ModelBuilder?

I’m trying to use the ModelBuilder to fasten up my work in ArcGis but I don’t know how far I can use it and what’s possible. Here is my problem: I want to analyse agriculture parcels regarding to the ...
2
votes
1answer
106 views

Creating perimeter around multiple polygons using ArcGIS for Desktop?

This may have a simple answer that I'm just missing. I have multiple polygons in one shapefile I would like to make a larger Polygon around all of them. Is there a tool that is able to do this? ...
2
votes
1answer
412 views

Showing unknown SRS (native SRS) when importing shapefile into GeoServer

I am facing a problem on an unknown SRS when I am importing a shapefile into GeoServer. I am trying to import a shapefile into GeoServer but when I am publishing the shapefile, it is giving the ...
2
votes
1answer
63 views

QGIS show gdal_polygonized file in EPSG:54004 instead of EPSG:3857

I am polygonizing a TIFF with the gdal_polygonize.py and the resulting Shape is shown in QGIS in the wrong projection - EPSG:54004 instead of EPSG:3857. I have a TIFF in EPSG:3857 and polygonize it ...
-2
votes
1answer
66 views

Sending Shapefile to SQL Server 2012?

How can I send a shapefile to an SQL Server table? I have searched and found a tool called ShapetoSQL but I am developing a c# Windows application so I am looking for an Open Source solution.
2
votes
1answer
50 views

Intersect shapefile with raster, then determine proportion of each raster value?

Using the arcpy module in Python, I want to find the proportion of each pixel value within the boundary of an overlaying polygon. (The polygon is in a shapefile.) For example, there are 10 possible ...
4
votes
1answer
231 views

How to generate xml for use with geoxml3

I have a kml and shp I would like to convert to an xml to use with geoxml3. How would I go about doing such a thing? The xml I generate should look something like this: <?xml version="1.0" ...
1
vote
0answers
17 views

European Rail Freight Map (shapefile or other ArcGIS format)? [duplicate]

I need European Rail Freight Map (shapefile or other ArcGIS format) for a GIS project. Does anyone have this data?
1
vote
1answer
26 views

How to use polyline Z in shapefiles?

I am researching about shapefiles. I am not able to understand the usage of polyline Z parameters. I have searched the internet but I didn't come across any example where this parameter is being ...
1
vote
1answer
291 views

How to open .shx files?

I want to see the contents of an .shx file to see how the index information is stored in these files so that I can get some help in writing my own shape files. Can any one guide me on how can I open ...
1
vote
1answer
82 views

ogr2ogr reprojection works on command line but shifts output when same command run from inside python?

Reprojection with ogr2ogr works fine on command line, but shifts the polygon to northeast when same command is run from inside python using os.system(...) Any ideas why this could be? I hard-coded ...
2
votes
2answers
2k views

Exporting shapefile to PostGIS database in QGIS

How do I export a vector shapefile to PostGIS database? I am asking what format I have to export it.
0
votes
0answers
68 views

Shapefile to Rectangle Overlay/Intersect Test?

I have a shapefile and a repository of images that have corner Lat/Long points. I want to search that images who overlaps/intersects to shapefile. Here is the scenario that I am doing, creating a ...
1
vote
0answers
72 views

Adding information from excel into ArcGIS [closed]

I am working in ArcGIS and have a excel sheet with data pertaining to properties. I want to add this data to a map in ArcGIS of which i have property boundaries as a shapefile? I have a common folio ...
14
votes
1answer
360 views

How to query OSM for all beaches facing west? - QGIS preferred

I want to identify all beaches on this planet (or a given subset of it) that are facing westwards (+/- 20-30 degrees). My idea is to use OSM as the data source. Extracting all polygons that have the ...
1
vote
1answer
34 views

Filtering out a subpart of a polygon shape file

I have ArcGIS 10.1 for Desktop software. I am working with a polygon shape file (having n rows) in ArcMap. The project demands splitting this file into two polygon shape files having n1 and n2 rows ...
2
votes
1answer
91 views

Unicode Decode Error for shapefile in Python

I have Python script for converting shapefiles to Geojson. My code works well if I use some usa data, but when I want to use some other encoding, it gives me this error: Traceback (most recent ...
2
votes
1answer
25 views

Cant find Define Line Portion tool

I am following the procedure on this help page: http://resources.arcgis.com/en/help/main/10.1/index.html#//00390000002z000000 However when at step 3, I can't seem to find the Define Line Portion ...
0
votes
3answers
204 views

Import shapefiles on my postgis table using R

Using R, I would like to import shapefiles that are in a directory on a geometric table i have on postgresql / postgis. What is the instruction that allows me to do it? EDIT: here is my code to ...
2
votes
0answers
39 views

Generating a map from a shapefile using ms4w mapserver [duplicate]

I am trying to generate a map from a shapefie. Through some initial searching, I wrote the code below but I am getting just a white page. Below is my code: MAP # To enter comments into a mapfile ...
1
vote
1answer
165 views

MapServer (MS4W) test page from shapefile shows only blank white square?

I am trying to create a test page with mapserver and shapefile. At the moment I just want to get the map shown on my test page. I have gotten the EXTENT coordinates by opening shapefiles with QGIS - I ...
1
vote
2answers
38 views

Drawing the boundaries on coordinate file and classifying the points

I have imported the data on coordinates in Excel which are classified into 3 types: Class 1, Class 2 and Class 3. When I Add delimited text layer, I get the following output: I have two basic ...
3
votes
1answer
67 views

How write query in “Select_analysis” that compare string from one column with another column?

I have a shp file (s.shp) with column "A" and column "B". I try copy from this file only that rows where string value from column "A" is part of string value from column "B" e.g. A 0.1 0.2 0.3 ...
1
vote
1answer
123 views

Converting shapefile to KML using JavaScript or PHP?

My client needs to generate maps from shapefiles. Through my initial search, I came to know that we need to convert shapefiles to .kml then we can generate maps from google maps. So I searched for a ...
2
votes
0answers
167 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
2answers
602 views

Getting/downloading shapefile from OpenLayers/Web page and saving to local disk

I have developed a web application where i am using GeoServer and OpenLayers. I have displayed some Layers over Google map in a ASP.Net Web Page. I want to know is there any Method or Script available ...
1
vote
2answers
49 views

How to add polygon layer into raster data?

I performed a supervised land-use classification with Erdas. Landsat data was used in ArcGIS to Digitize urban areas as polygon shapefile. I want to insert these polygons into the land-use raster ...