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)

1
vote
0answers
57 views

Export shapefile from spatialite

I am using a spatialite db to perform a union and dissolve over a vector file. The vector inside the db looks like this: when I export the table with: ogr2ogr -f "ESRI Shapefile" -overwrite ...
1
vote
2answers
74 views

Can I merge a polygon and a point Shapefile?

I have two shape files that I want to merge. One is of polygons, the other is a point file. The polygons are missing information in the attribute table that the point file has. In general, the two ...
1
vote
2answers
32 views

On line shapefile, how to compare attribute between consecutives edges

I have a line shapefile with speed restriction attribute on each edge. I like to verify differences between two consecutive edges for all shapefile edges. Example: One line has speed restriction set ...
1
vote
1answer
201 views

Converting .fdshape to .shp or other QGIS readable format

I have been searching for a solution to being able to read .fdshape extension files in QGIS with no luck. It seems that the data had to be converted from .shp to .fdshape in the first place so I was ...
0
votes
0answers
22 views

Can ogr2ogr “reverse clip” (or “clip out” or “erase” or “difference”) one shapefile from another? [duplicate]

Is there a means in ogr2ogr to "clip out" one shapefile from another? I know ogr2ogr -clipsrc B.shp out.shp A.shp will remove any part of A.shp that is NOT in B.shp. Is there an ogr2ogr command to ...
0
votes
1answer
43 views

How to choose a shapefile interactively in R

I am writing a function in R where i want the user to choose a Esri shapefile from its destination folder. Since a shapefile is made of several files how can i select them. For a point feature class i ...
1
vote
1answer
24 views

Create statistics by features in QGIS [duplicate]

I've a polygon layer for parcels in a landscape protection area and a point layer, contains zoological data (e.g species, entities, etc.). How can I make a statics for each polygon, contains the list ...
1
vote
1answer
62 views

How can I eliminate leftover border/boundary in QGIS?

I am trying to generate a shapefile which contains the unincorporated areas of St. Louis County, Missouri. I'm using two shapefiles: St. Louis County from the 2012 census, followed by St. Louis ...
2
votes
5answers
2k 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 ...
2
votes
3answers
1k views

Creating new shapefile based on its attributes with python?

I have a shapefile which has an attribute year. I used to generally copy and paste these features in the dataframe and then using the definition query just show polygons which were established before ...
0
votes
1answer
19 views

Join line segments sharing a common attribute, using GDAL

I'm having trouble rendering a shapefile consisting of trail routes broken down into many short segments. So I'd like to combine them into a small number of line features, which share a NAME and touch ...
0
votes
0answers
30 views

How to build .vrt of shapefiles?

I've a huge number of shapefiles and I would like to create a VRT as I do with gdalbuilvrt for raster. I find here https://github.com/dwtkns/gdal-cheat-sheet that it should be possible and the format ...
7
votes
3answers
2k views

How to avoid creating corrupt Shapefiles during Editing?

I have one of my GIS technicians digitizing some lines in QGIS in shapefile format. I don't know how he did it (and neither does he), but somehow the shapefile became corrupt. It was creating random ...
1
vote
1answer
61 views

Is there a way to export the style, along with a shapefile, to a kml in QGIS?

I see there were plugins in the past that may have done this such as qgis2kml and qgis2google, but they no longer exist.
1
vote
0answers
46 views

How to clip a big shapefile from another shapefile's extent

I am working on mangroves in Sundarbans (Bangladesh / India), using Landsat pictures. I need to equalize them in reflectance, before classification, for the evolution of the biomass in this region. I ...
4
votes
2answers
2k views

merge shapefile using ogr2ogr and retrieve the attribute of both

Ciao, I have two shape files that I want merge (overlay/intersect) having in the destination the attributes of the two sources file. ogr2ogr file_merged.shp tl_2010_us_uac10_conus_albersUA.shp ...
65
votes
20answers
56k views

How to convert between KML and Esri's shapefile (SHP) format?

My users are sending me point data that were digitized using GoogleEarth. How can I convert their KML to a shapefile?
3
votes
2answers
752 views

Keeping color of shapefile constant in ArcGIS Desktop?

I am using ArcGIS Desktop 9.3 when I use a color for the shapefile it changes everytime when I close and open ArcMap. How I can constantly keep the color of the shapefile that I work with?
1
vote
2answers
47 views

Replacing shapefiles in MXDs using only Python options available prior to ArcPy?

I am trying to come up with a python script that will go through a designated folder, locate all MXD files within the folder, and then check each MXD to see if it contains a specified shapefile, which ...
4
votes
1answer
58 views

How to check spotheight in closed polyline contour data using ModelBuilder or ArcPy?

I'm new in using ModelBuilder or Python script. So, i have a set of contour data and a good contour data should contain a spotheight* in every closed polyline contour data. Is there any solution to ...
1
vote
1answer
63 views

Trouble Converting from a shp. to gpx file and up loading to GPS

Currently I have a series of random points within a shapefile that I would like to upload to my GPS. Every time I try to upload the points via "Save file" it come up with an error message (posted ...
0
votes
1answer
52 views

Grid-type shapefile from raster GeoTIFF

I need to produce a shapefile from a raster. I need to be able to specify either an interval, or manually define the intervals. The input file is a GeoTIFF. I would like to use GDAL and/or Python. ...
5
votes
3answers
207 views

How to know if shapefile is georeferenced?

I have a shapefile which is located in province in indonesia. it contains many sub-province if i removed sub regions inside a shapefile, and it leaves a small region, and my question is that small ...
0
votes
0answers
15 views

calculating total area of multiple polygons in qgis [duplicate]

I wish to know the total area of all polygons within a shapefile layer. So far I have added a new column to the attribute table that shows me the individual area of the polygons.I tried to copy the ...
0
votes
2answers
816 views

How to show .shp file on Mapview(ArcGIS Android SDK 2.0.0)

I'm using ArcGIS Android SDK for first time. I have worked on a sample project and am able to get a World map using this.. map = (MapView) findViewById(R.id.map); map.addLayer(new ...
1
vote
1answer
30 views

Trying to limit my shapemap to state boundary lines in R

I have a feeling I'm either trying to do this incorrectly, or I'm just not searching for the correct terms, but I cannot figure out how to do what I want to do. I am trying to plot the ranges of fish ...
2
votes
1answer
134 views

Extracting intersection areas in R

I have two polygons. One contains fields(X,Y,Z) and the other contains soil types (A,B,C,D). I want to know what area of every field contains which type of soil. I tried the following: ...
1
vote
1answer
431 views

Google API for Boundary coordinates

Is there any Google API (or any other) which can provide boundary information (i.e. Lat, Lng) for a particular location. Location can be a city, district or a region with in a city. For Example Dammam ...
0
votes
0answers
40 views

Why is ArcGis change precision of double field after copy?

I create the attribute table of a shapefile and while I copy it by using the "copy features" tool it change the precision from 11 to 14. I create two fields with the name poly_x and poly_y and they ...
1
vote
1answer
36 views

QGIS fails to clip and produces empty shapes

I've seen this type of question a few times and have tried all the different suggestions but no luck. I have 2 layers, one polygon and one line. I want to keep the lines based on a selected polygon. ...
-4
votes
1answer
78 views

How to convert inp to shp with Python? [closed]

How would I convert an EPANET .inp file into python lists in order to convert it to .shp files?
0
votes
1answer
33 views

Properly placing my raster over a shapefile on my map

I have an ASCII file that I converted to a raster. My heading on the ASCII file is: NCOLS 156 NROWS 720 XLLCORNER -170989.3011812 m YLLCORNER 1417628.464462 m CELLSIZE 1 ...
1
vote
0answers
61 views

Linking to PDFs via attribute field of shapefile for ArcGIS Online?

I am working with some data that cannot be presented in an attribute table. Therefore I would like to attach a specific PDF to each point within a shapefile. Is there a way this can be done in ...
1
vote
0answers
69 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: ...
0
votes
2answers
67 views

How to get average values per coordinates in ArcMap/R?

I have a point shapefile. It has multiple points at different spatial locations. Within each point there are multiple values that I want to get the average of. In this case the new file would have one ...
1
vote
1answer
92 views

Clipping LAS data with multiple shapefiles

I am looking for a method to clip with multiple shapefiles (139 shapefiles polygon) a lidar.las file. I'm using the software Fusion, as described in: How to clip LAS data using shapefile polygons ...
1
vote
1answer
49 views

Joining Parcel/Building Attributes Based on Coordinates

GIS noob here: I downloaded a building footprint shape file for a city and imported it as a vector layer in QGIS. I was hoping to see street address information in the attribute table, but there was ...
12
votes
2answers
13k views

Adding shapefile or feature class 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
0answers
67 views

How to import UTF-8 encoded Shapefiles into SQL Server?

I am trying to load a shape file to sql, using ogr2ogr and Shape2SQL tools. The shape file uses UTF-8 encoding, specified in a .cpg file, and confirmed when opening the file with QGIS. However, as ...
0
votes
0answers
16 views

.shp to GMT, fault lines appear connected

I used ogr2ogr to convert a .shp to GMT. Trying to plot fault lines, but when I plot the faults in GMT they all seem to be connected. The .shp data is in log/lat, which is what I want for the GMT ...
1
vote
1answer
45 views

arcgis 10.2 .shp with no projection info but .xml file

I need help opening a shp file which has no projection info in ArcGIS 10.2 I have .shp , .shx , dbf and .xml file. The .xml file details are below . QUESTION : can i make .proj from below ...
1
vote
1answer
51 views

How to insert non-spatial features into a Polygon shapefile - FME 2015

Here is the issue: I have the original data (a shapefile with spatial a non-spatial features) which I need to transform: (highlighted those non-spatail features) I need to make some ...
0
votes
1answer
58 views

Plotting shapefile on map using ArcGIS API for JavaScript?

We are using dojo framework to develop our portal.We have bind the arcgis map in our web portal.Is there any arcgis JavaScript API which will accept the path of the shape file and plot that shape ...
1
vote
1answer
51 views

How to adjust a complete shapefile of multiple points on ArcMap taking other few as reference?

I recieved a shapefile with georeferenced trees, but they didn't used a GPS to get the coordinates (not sure how they did it, some traditional stuff maybe?). So, the position doesn't match exactly on ...
0
votes
1answer
136 views

Google Earth Pro to ArcGIS 10.2 WITH Attribute table

I'm trying to use a publicly available map of NYC's CSOs from Google Earth Pro in some GIS analysis. I've saved the file as a KML, and uploaded to GIS by converting it to a SHP, but the attribute ...
2
votes
2answers
2k views

Where can I download a free dataset containing major ports across the world?

I am working on an analysis and would like to incorporate major maritime ports from across the world. Some initial searching turned up a dataset produced by General Dynamics, however it will be ...
1
vote
2answers
92 views

Using Geotools: How to convert these strange coordinates from a shapefile into regular lat and long?

I use this dataset from the European Union: http://www.eea.europa.eu/data-and-maps/data/administrative-land-accounting-units Opening the shapefile with Java' Geotools, I see coordinates like: ...
3
votes
1answer
69 views

Is it possible to define a custom CRS for a shapefile in QGIS that uses hundredths of a US foot?

I have several polygon shapefiles whose coordinates are defined as 100x their original coordinates projected from the Washington State South HARN State Plane in us-ft (EPSG 2927). I would imagine the ...
3
votes
2answers
290 views

How to delete empty fields from a Shapefile with QGIS or ogr2ogr?

I have a Shapefile with a lot of empty columns but many of them are empty. Using QGIS or ogr2ogr, how do I remove all attribute columns where everything is NULL?
33
votes
11answers
14k views

Identifying Coordinate System of Shapefile when Unknown?

I have a Shapefile but its coordinate system is Unknown, and there is no *.prj file. How I can identify it now? Are there any tools that could help?