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)

0
votes
1answer
180 views

Shp2pgsql - exec() not allowed on external server

Me and my collegue are using the shp2pgsql and psql commands in php code (a Drupal module to be precise). We put these commands in a php variable and use the exec() command to execute them. This ...
64
votes
20answers
55k 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
710 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?
2
votes
1answer
166 views

How to write shapefiles more efficiently in GeoScript?

I've created a geoscript (in groovy) to create a shapefile from generated geometries with certain attributes. It's a heatmap consisting roughly 65.000 polygons with an attribute storing the ...
1
vote
2answers
44 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
56 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
57 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 ...
7
votes
3answers
2k views

How to clip LAS data using shapefile polygons and open source software?

I am trying to clip or filter lidar files (las, xyz) using a shapefile that contains multiple polygons. Is there open source software that can do this spatial operation? My las files are enormous, ...
0
votes
1answer
43 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
201 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
1answer
170 views

40k+ points from Shapefile, clustering them and populating on Google Maps/Webapp

I just started a new Python/Django webapp job related to GIS (and i'm totally new to GIS). Here is my task and what i have found so far, and i am stuck as to finding out what's the best way or the ...
0
votes
1answer
221 views

ST-Links convert Feature Class to DB Table error

I'm using ArcMap with the ST-Links SpatialKit Conversion tool to convert a Feature Class to a DB Table. But I'm getting an error: ERROR: 42601: type modifier is not allowed for type "geometry". I ...
0
votes
0answers
14 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
769 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
22 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
81 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
280 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
30 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
58 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?
1
vote
1answer
378 views

Where to Dowload Village layers for India with census 2011 information?

Does anyone know where I could download a layer of all villages in India together with their populations (hopefully from the 2011 census)?
0
votes
1answer
30 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
41 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
65 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
57 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 ...
2
votes
1answer
143 views

Simplifying TopoJSON causes leak of Natural Earth in d3

I'm working with topoJSON and D3 to display Natural Earth data on a globe. Obviously, we need to simplify our geometries while still keeping borders consistent. We've created a script as based on ...
1
vote
1answer
69 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
37 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
2answers
254 views

How to plot Storm Prediction Center (SPC) Shapefile using python

I am trying to make a plot of the SPC's thunderstorm outlook using Python. I have downloaded the shapefile from this website http://www.spc.noaa.gov/products/outlook/day1otlk.html. Then I use this ...
1
vote
1answer
40 views

jquery range slider to filter geoserver layer attribute

i would like to apply with jquery range slider a filter to an attribute of a geoserver layer. I prepared the code for the shape topp:state, attribute PERSONS. How is it possible filter the PERSONS ...
1
vote
0answers
49 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
13 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
40 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
47 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
45 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
40 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
101 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 ...
0
votes
1answer
234 views

Get shape file polygon attribute value at a specific point using Python (e.g. via PyShp)

I have a shape file comprising multiple polygons. These polygons have attributes. I am trying to write a script in Python that takes a co-ordinate point, determines in which polygon it falls, and ...
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 ...
0
votes
2answers
71 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: ...
1
vote
1answer
131 views

Selecting a valid format file

There has been an error when uploading a shapefile I want to start with some imported data. Upload a file. Please, select a valid format file # when upload a zip file: Oops! There has been an ...
1
vote
1answer
825 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. ...
3
votes
1answer
65 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 ...
2
votes
2answers
260 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?
0
votes
1answer
323 views

Example using sharpmap in mvc asp.net

I am wanting to open shapefile files in a ASP.NET MVC application, was researching and found sharpmap but have not found examples of how to implement the MVC. Does anyone have any examples to help me ...
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?
0
votes
1answer
37 views

Keeping Properties When Converting JSON to SHP

I'm trying to convert the Nielsen map of DMAs from a JSON to a shapefile. The properties of the json is as formatted like this: "id": 546, "properties": { "name": "dma:", ...
1
vote
2answers
47 views

pairwise (linear) distance between points of the same shapefile

Given a set of points representing villages stored in a .shp file, is there a way to compute the pair-wise distance (Euclidean) between them? What I would like to come up with is a sort of symmetric ...
2
votes
3answers
407 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 ...