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
23 views

Move the position of shape file objects systematicly

I have a shape file with a big number of polygon objects. The problem is that these objects have a systematicly shift. Is there any possibility to place them all at the right position automaticly? ...
1
vote
0answers
50 views

Can transferring a shapefile between local and network drive corrupt the attribute table?

Recently I ran into a troubling issue with ArcGIS (10.2.2) shapefiles. I transferred a shapefile with approximately 10,000 records from my local drive up onto a shared network drive at my office, ...
1
vote
0answers
36 views

Export shapefile layers to svg [closed]

I have an application that exports an SVG after reading in a shapefile (thanks to iant for the exporting bit). You can view the code here: Exporting Shapefile to SVG using Java & GeoTools? What ...
1
vote
0answers
68 views

How do I read the attribute data associated with my SHP?

I'm using DotSpatial to aid in processing some geospatial data. I'm using the code below to determine if a point (lat/lon location) is within a polygon contained in the SHP. If the point is in a ...
1
vote
1answer
172 views

Read shapefile as a numpy array

Is it possible to read a shapefile with ogr as a numpy array, in order to use it as a mask to filter out a geotiff image? What I would like to obtain is a numpy array from the layer below: from ...
1
vote
1answer
18 views

Redefined Topo and Shape file still wont overlay

I am trying to overlay a topographic map that is a raster and a road shape file. The road shape file was originally not defined. I defined the projection to NAD_1983_2011_Contiguous_USA_Albers and I ...
1
vote
1answer
86 views

How to map a point to a polygon label from a shapefile

I have a shapefile that breaks the city of San Francisco up into a number of different districts depending on who your supervisor is. I need to make a lookup tool that takes a single long lat value ...
1
vote
1answer
42 views

The shape does not fit the ggmap

I try to fit my shape to the google map. require(rgdal) in.dir <- getwd() sh <- readOGR(in.dir, layer = "Ytor", p4s = "+proj=tmerc +lat_0=0 +lon_0=15.80827777777778 +k=1 +x_0=1500000 +...
1
vote
0answers
94 views

Seeking shapefiles for Indian Metros?

I am looking for shapefiles with ward boundaries for the following Indian cities: Mumbai (electoral wards), Hyderabad, Ahmedabad, Surat and Kolkata. Does anyone has them or know where I can get them ...
1
vote
0answers
31 views

Wrong shape type

I am from statistics, and I need to do a fast cartogram. But I am getting this error from ScapeToad: Error processing record (a):160 PolygonHandler.read() - got shape type 1610612760 but was ...
1
vote
1answer
116 views

How can I increase Polygon area and draw on center of image in python?

I have draw Polygon area on image but it will draw on below side corner of image and small area. How can I increase Polygon area and draw on center of image in python. I am using below code. import ...
1
vote
0answers
36 views

Calculate invariant moments for a each polygon in shapefile

I am working in python and have polygon shapefile created from polygonized binary raster. I populate the attribute fields for each polygon in a loop. I need to calculate the invariant moments fr each ...
1
vote
0answers
37 views

Unable to see shapefile? [duplicate]

I am trying to add my shapefile which consists of buildings to my MapView. However, I am not able to see it. I am referring to Buildings.shp on my SD card. I am able to open and see the same shapefile ...
1
vote
0answers
56 views

QGIS 2.10 Edit shape files saving only once

I'm have some trouble while editing my shape files. I can save only once. So what I have to do is to save as another file, add to QGIS and edit again. Save as another file... And on and on... Does ...
1
vote
0answers
13 views

Loading Shapefile with Work Network creating Negative Scale

For the company I work for, we have our own servers and network we load upon start up to do our work within QGIS. However its about 50/50 when loading an outside shapefile that it works. When I load ...
1
vote
0answers
188 views

Speeding up ArcGIS arcpy.Merge_management for MANY files? [closed]

I'm currently running a script that is using the arcpy.Merge_management function to merge roughly ~1500 shapefiles together. When I tried this with much smaller test runs, it ran perfectly. Now ...
1
vote
0answers
89 views

Create HexBins for shapefiles

I usually create hexbins using the MMQGIS tools in QGIS. I would create a hex layer and intersect it with a shapefile. I've tried to create a hex shapefile and importing it into a PostGIS and tried to ...
1
vote
0answers
17 views

join a polygon shape to the attributes contained in a shape containing three points

I need to join a polygon shape to the attributes contained in a shape containing three points ( all within the polygon ) with different information. Using the command merge attributes by position ...
1
vote
0answers
84 views

CSV file locked for editing after join

I have created a table join between a vector shape-file and a csv file using pyQgs. Now i want to edit the csv file (not from inside QGIS) . But when i double click on the csv file , it says that ...
1
vote
1answer
122 views

Spanish municipality level shape file and population data

I'm struggling with the Spanish municipality level. I need to incorporate population data with the lat/long for each Spanish municipality and below are the details of my current files: I cannot ...
1
vote
0answers
87 views

WFS-T with Geoserver and a Shapefile

I have read that Geoserver fully supports WFS-Transactions. But for example here somebody also mentioned that shapefile-datastores would not be the best choice for using Transactions in Geoserver, and ...
1
vote
0answers
60 views

Rendering shapefiles (.shp) to TIF with labels? [closed]

I've basically copied the script below with minor tweaks from a few other posts here on stackexchange. When I run my code and all I get for output is a TIF that's white with a legend. For the life of ...
1
vote
0answers
22 views

Harmonizing Data Across Geographic Scopes/Layers

A common problem in the analysis of spatial data is deciding how to harmonize data from different levels of geographic resolution. For example, suppose Municipality $X$ crosses a county border, so ...
1
vote
0answers
19 views

Shields File Containing Shield Images

Is there any file that contains already made shield images that are frequently used and comes with the installation of TileMill, or is there any page I can download it from. Link would be appreiciated....
1
vote
0answers
22 views

Creating squared halo instead of circular in TileMill?

Is it possible to style a halo around text that has a square shape instead of a circle? If not, what are the alternatives to make a "halo" around number angular, in a shape of a square? Software I am ...
1
vote
2answers
946 views

How do I toggle (add/remove) shapefile layers in Leaflet.js?

If I create a shapefile layer var ac_shpfile = new L.Shapefile("data/AC.zip", {onEachFeature: function (feature, layer) { /* Add some colors based on shapefile features */ }}); and then add it to ...
1
vote
0answers
73 views

How to batch convert .rbin to .shp

I am trying to batch import or convert .rbin files to .shp files. Right now the only way I've found to do this is by using the software's Rbin viewer. This viewer will let me export one .rbin file to ...
1
vote
0answers
30 views

Join tables in QGis 2.01. Dufour

I performed a "join" going to the properties option in a shapefile (in this case is just a table), in order to join the attributes from another shapefile that has a field in common, specifically "...
1
vote
1answer
83 views

Iterating Table Fields to Create Individual Shapefiles

I am trying to create individual shape files from a single table that contains the following: Weather Station Names Station XY Cordinates 31 individual field columns of daily data for each weather ...
1
vote
2answers
111 views

Leaflet's shapefile plugin only compatible with Firefox

I created a html page (currently locally) and used Leaflet to create a basic map to which i plan to add several shapefiles. To do this, i use the leaflet.shapefile extension (https://github.com/...
1
vote
0answers
58 views

Detecting broken hyperlinks using ArcPy? [closed]

I am trying to use ArcGIS 10.2.2 to detect broken hyperlinks from a .shp and export them to a text file. Is this possible to do this with Python scripting? I only want to see the broken hyperlinks ...
1
vote
0answers
150 views

Cannot select linesegment in QGIS

Drawing a baseline in an attempt to make a grid. Have managed to draw baseline but cannot select using cad tools "select one linesegment" tool. Worked previously and I'm not aware that I'm doing ...
1
vote
0answers
213 views

Using a ShapeFile spatial index with ogr2ogr and ogr.DataSource.ExecuteSQL()

I created a spatial index foo.qix for a foo.shp with ogrinfo -sql "CREATE SPATIAL INDEX ON foo" foo.shp However, when I do a query with ogr2ogr and look at it in strace, it doesn't use that index: ...
1
vote
2answers
217 views

Seeking shapefile of administrative divisions of Cote d'Ivoire (Ivory Coast) post-2011

I've been trying to find a shapefile containing CIV's administrative divisions (preferably down to the level of sous-prefecture) reflecting the national reorganization of 2011 but have had no luck. ...
1
vote
1answer
178 views

Open source library to display offline shapefiles in Android?

I am involved in developing a Android application that needs to be able to make use of Esri Shapefiles. Hardware used will be 7" Android rugged tablets running Android 4.2 or later. It is an offline ...
1
vote
0answers
95 views

Loading .shp file into QGIS gives error message

When I add vector layer I select the .shp file and nothing happens When I add vector layer and I select the folder it gives error message "not a valid or recognized data source" The pop up box queries ...
1
vote
0answers
18 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 ...
1
vote
0answers
622 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
1answer
217 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
147 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
1answer
186 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
778 views

How to convert coverage to shapefile?

I'm using ArcMap 10.1 I recently downloading some files that are in .adf format. I need to convert them to .shp. I just simply need step by step instructions of how to convert the data.
1
vote
0answers
168 views

Joining shapefiles based on FID in QGIS [closed]

I want to join shapefiles (or a shapefile and a data file) based on their mutual FIDs and can't see the FID in the "Target Field" dropdown on the join form. I believe this is a basic need to have ...
1
vote
3answers
452 views

Extracting difference between two massive shapefiles using QGIS?

I have two massive shapefiles and I need to create a difference shapefile output between the two. I have a layer where I have satellite coverage (orange) and then a layer where I have high resolution ...
1
vote
0answers
744 views

Export to shapefile error in QGIS from POSTGIS table

I am attempting to export a postGIS layer to a shapefile in QGIS 2.6.1 Brighton. The table has 244,674 rows. The data displays perfectly well in QGIS but when I attempt to export to shapefile I get ...
1
vote
0answers
70 views

ogr2ogr latitute longitude conversion formats

trying to convert shape files into mysql tables. Able to create table and load data successfully using OGR2OGR. Only challenge I see is latitude/longitude is not exactly the same format as one of my ...
1
vote
0answers
324 views

Download WFS as Shapefile using ArcGIS Server

I've been looking everywhere for a way to output a shapefile in ArcServer. A sample ArcServer WFS getCapabilities says all the output is either in GML, KML, or JSON. This is is very easy using ...
1
vote
1answer
1k views

Import shapefiles into PostGIS using Python with psycopg2

I want to import shapefiles to PostGIS using Python with arcpy & psycopg2 to connect to PostGIS. I don't want to use the existing shapefile loader nor ogr, just write my own import tool. My steps ...
1
vote
1answer
55 views

I have a shapefile with polygons/areas, and a point (lat,lon). How to figure out which polygon/area this point belongs to?

I have a shapefile with areas (eg. a simple world map with countries - polygons, epsg:4326). I also have a point (lat, lon coordinates). What's the simplest/easiest way to figure out in which ...
1
vote
0answers
154 views

Displaying shapefiles on IOS app

I need to write a simple app for IPad that displays maps I was given. All maps are in one folder and they are shapefiles. I am able to open them in ArcGIS for desktop, however I am unable to attach ...