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)

2
votes
0answers
38 views

How to clip a .osm.pbf file to a shapefile in R

I have (1) an OpenStreetMap file of a large area in .osm.pbf format that I would like to clip with (2) a shape file .shp of a smaller area using R. The output output I would like to get is a ...
0
votes
1answer
97 views

run command line shp2pgsql in c# function?

i'm developing an application web with asp.net/c# and i would in a button importing the shapefiles into postgis, and i'm trying with this code, this code i'm using it in cmd.exe in windows it imported ...
0
votes
1answer
603 views

Extracting data from large intersect dataset using ArcGIS Desktop? [closed]

I have a big dataset imported into ArcMap. For each point, I created a buffers of 200m. And I apply Intersect to all the buffers, resulting in a huge dataset of around 2183962 objects. Previously, I ...
1
vote
1answer
48 views

Downloading GIS Map for Pakistan into QGIS

I'm looking to add canals and bunds to my raster and have found some GIS maps at: Canals Bunds Bunds Image Network Plan Map Image - looks to contain both canals and bunds I'm not clear on how to ...
0
votes
0answers
4 views

Shifted shapefiles with same coordinate system in ArcGIS [duplicate]

I have a strange situation with one of my GIS projects. I received from a client three shapefiles in the same coordinate system (Stereographic 1970 - a projected system). All three files should align ...
8
votes
3answers
3k views

Order of polygon vertices in general GIS: clockwise or counterclockwise

Two days ago I asked a question about the internal storing order for the vertices of a polygon in ESRI shapefiles. That question was answered (Are polygons stored clockwise or counterclockwise in a ...
0
votes
1answer
53 views

In MapBox Studio, how to create a centred label of a polygon created from Shape file?

To get the undesired result below, I: Uploaded a zipped Shape file to MapBox Studio. Using the shape, created a layer of polygons to display area boundaries. Using the same shape, created a text ...
0
votes
0answers
29 views

Feature Layer parameter showing only Polygon Shapefiles

I have created a Python Tool in ArcGIS where most of the paramaters musts be ONLY Polygon Shapefiles. You can also look on my previous question: Filter the Feature Layer parameter in Python Script ...
6
votes
2answers
2k views

Why is the dynamic text on data driven pages not displaying a value from the grid attribute table?

Relating to my question here, I've been trying to return a value from the attribute table using the following code: <dyn type="page" property="lu1p"/> However, even if I try to use a ...
7
votes
3answers
3k views

Convert Postscript (*.ps), Encapsulated Postscript (*.eps), or Adobe Illustrator (*.ai) files to shapefile?

Are there any programs which can convert from Postscript, Encapsulated Postscript, or Adobe Illustrator file formats to a shapefile? What about adding geo-referencing? I'm also open to recipes using ...
2
votes
0answers
57 views

How to convert the BLOB value for the features geometry of type st_geometry kept in ArcGIS databse on Oracle [closed]

I am using ArcGIS Oracle database and I am trying to access feature geometry points as string. But the problem is that the points are kept as blobs and I cant convert to meaningful string. select ...
2
votes
0answers
217 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 ...
1
vote
1answer
56 views

ArcGIS for Desktop exporting empty shapefile

I have a feature class in ArcGIS for Desktop 10.3. This feature class contains 12 point features. I am attempting to export this as a shapefile; Rightclick feature class -> Data -> Export Data ...
1
vote
0answers
23 views

QGIS OBIA join attributes by location xml file

I was trying to follow this tutorial for object base classification However, when I reach this step, it becomes confusing. I run the join attributes by location just as it said, and the output are ...
2
votes
1answer
67 views

Using Python to convert line shapefile to raster, value=total length of lines within cell

I have already read the similar question Convert line shapefile to raster, value=total length of lines within cell using R. And I want to realize the function using Python. ===== My attempt ==== ...
4
votes
1answer
70 views

Making multiple layers editable in QGIS?

I am using QGIS and I want to eliminate fields from 300 shapefiles. All layers are loaded and selected. Is there a way to enable all 300 for simultaneous editing?
3
votes
1answer
107 views

How to automatically assign current map scale to a shape created in QGIS?

In QGIS, would it be possible to automatically assign the current map scale to a feature created during an edit session and save it into a field in the attribute table? I have a series of OS maps of ...
2
votes
1answer
41 views

Correlation of yield data within a buffer zone

Working with QGIS 2.12.1-Lyon, I am trying to compare one point (single shape file) with multiple others that fall within a buffer zone of 10m i.e. comparing one shape file with another. The end ...
1
vote
1answer
502 views

How to join data in a spreadsheet to a shapefile ? [duplicate]

Possible Duplicate: How can i transfer data from a spreadsheet into a shapefile? I have data for Indices of Multiple Deprivation for the UK from this website: ...
2
votes
1answer
415 views

Loading texts with shapefile in ArcMap

I am currently trying to load different shapefiles in ArcObjects programmatically. Currently I can load lines, polylines, polygons and ellipses (even though that's just a fancy polygon as far as ...
1
vote
2answers
423 views

Bulk uploading shapefiles to PostGIS? [duplicate]

Possible Duplicate: Bulk load multiple shapefiles into PostGIS Is it possible to bulk upload shp files into postgis. Im currently playing around with postgis, qgis and geoserver (as a ...
2
votes
2answers
35 views

Assigning column names dynamically

I have an interesting problem: I need to batchprocess a few files. I do that in a for-loop, where some operations are performed. Later on I want to write the outcome into an existing shapefile which ...
1
vote
1answer
27 views

Splitting shapefile into separate shapefiles based on feature class using Arcmap 10.3?

I'm trying to split up this nested watersheds by name. I want each watershed to be it's own shapefile. Is there a faster way to do this besides highlighting each watershed and then exporting it? ...
2
votes
1answer
54 views

Aggregating up spatial information

At present I have a dataset which is broken down by Electoral Divisions (circa 3,500). However, due to issues with some of my variables I need to choose a larger spatial unit - Local Electoral Area ...
3
votes
1answer
78 views

How do I change the shape file (.shp) format to Object File Format (.off) file

I got a map and its format is .shp. What tool can be used to change it to one of the following file formats .off, .ply, .wrl, .obj, .m, .gim. ?
2
votes
4answers
974 views

Ordnance Survey 1 km Grid

I am wanting to get a copy of the OS 1km Grid layer. I have found these previous questions: Ordnance Survey grids - download or generate? and Ordnance Survey Grids But neither provide the ...
4
votes
1answer
12k views

Click a marker icon to open a pop-up, using OpenLayers

Background Looking to create a pop-up that performs an Ajax request when the user clicks a marker on an OpenLayers map. The markers, however, have different icons. The following is working code that ...
3
votes
1answer
82 views

How to do operation after using over() for a shapefile in R?

I am copying the answer of Counts the number of points in a polygon in R library("raster") x <- getData('GADM', country='ITA', level=1) class(x) # [1] "SpatialPolygonsDataFrame" # attr(,"package") ...
3
votes
1answer
74 views

Export Shapefile for a custom region

Is there any way to export a region on google maps to a shape file or any other format? For example, I have the following region on google maps. I wish to export it to shapefile.
2
votes
2answers
58 views

PostGIS bbox with two tables

I am new to using PostgreSQL/PostGIS. I have two tables that I've imported from two shapefiles. One table is based on points called "shape_points" and the other based on polygons called ...
30
votes
3answers
13k views

Simple thematic mapping of shapefile using Python?

I wish to visualize geographical data in Python, without using ArcGIS/ArcPy, and make a map. On the internet I found how to make a thematic map using Python: Here is some code that I tried: ...
1
vote
2answers
51 views

How to select polygons by duplicated attribute value from a shape file?

I have a shape file that contains many polygons(>200,000). Some of these polygons are assigned the same ID number. None of the polygons overlap other polygons. I need to find a way to select out all ...
1
vote
2answers
463 views

Correlation analysis of two polygon shapefiles with nominal data

I am working on a research- trying to model vegetation types based on factors affecting their distribution. In that case I have observed a strong relation between vegetation and soil types, from just ...
0
votes
2answers
73 views

Deleting multiple polygons at once in ArcGIS 10.1?

I have a cloud mask shapefile that accidentally identified buildings as clouds. I want to delete this mass of polygons in Arcmap 10.1 by highlighting all of them and pressing delete. Then re-saving ...
1
vote
0answers
15 views

How can I draw points on my mobile and then pass it to my computer? [closed]

we are doing a survey to know how many people still use outside bathrooms in the Caribbean, I want to go house by house using a shapefile image on mobile and point the location of points of interest ...
26
votes
3answers
53k views

How to calculate polygon areas in QGIS?

Hi I would like to simply calculate areas of a area-shape file in square meters or in acres (ha). I didn't find that functionality in the vector tools. Could anyone here help me with that?
1
vote
1answer
108 views

ArcMap doesn't recognize geodatabase files under “Add Data”

I have a folder filled with geodatabase files of the following formats: ATX, FREELIST, GDBINDEXES, GDBTABLE, GDBTABLX and SPX. I would like to convert these to shapefiles using ArcMap. I've been ...
4
votes
2answers
125 views

Problem Merging multiple shapefiles with different CRS in QGIS

I am trying to merge multiple shapefiles into one, but I encounter one error, not all of my shapefiles end up merged. I am able to load all of my shapefiles but when I attempt to merge them, the ...
2
votes
0answers
58 views

Change default “save as” folder QGIS

I would like to change the default path for saving layers ("save as" in the main layers panel). Now the default is C:\Program Files\QGIS Lyon\bin (in which I even don't have the rights to save ...
7
votes
4answers
1k views

How to create a multi-story building infrastructure web map? [closed]

I have absolutely no experience working with GIS before. During a recent meeting, our client was bouncing around their complaints about how detailed our annual reliability reports were and openly ...
3
votes
3answers
3k views

Creating point to center of polyline?

I'm trying to create a points in the middle of polylines. The data is now in the form of shapefile. Is there an easy way to do this?
1
vote
0answers
46 views

Uploading item/file as hosted layer to ArcGIS Online using ArcREST?

I am using ArcREST python package, specifically the add_item.py example to upload a shapefile to ArcGIS Online (AGOL). The example is straightforward and I have successfully uploaded a shapefile to ...
1
vote
1answer
31 views

Truncate a Shapefile field with SQL and ogr2ogr

I want to create a new attribute which is the first 8 characters of another, using ogr2ogr. To my surprise, this didn't work: ogr2ogr -f "ESRI Shapefile" a.shp b.shp -sql "select FID,left(FLOORKEY,8) ...
2
votes
3answers
13k views

Merging Two or More Layers using ArcGIS for Desktop?

I am working with three clipped layers that are shown in the TOC. I created these layers from a large watershed shape-file. However, each clipped layer includes the layer before it and only expands on ...
4
votes
1answer
134 views

Interpolate temperature data (shapefile) using R

The answer below solved my fist question, so I edit my question as follows: I have a shapefile given with the attributes lat, lon, elevation and temperature. So far I have a script that interpolates ...
0
votes
0answers
26 views

changing shape file polygon values on the command line or in a library

I am using gdal_polygonize to create shapefiles. As gdal_polygonize only seems to work for integer values, I gave the different value ranges in my original raster data individual IDs. Now in the ...
1
vote
2answers
46 views

Using PostGIS to query shape files

I am very new to PostGIS (started using it this morning). My goal is to determine if a lat/long point is contained inside a polygon that is described in a shape file (The shape file has a single ...
0
votes
2answers
54 views

QGIS capabilities [closed]

Our office is considering to make an offer of a large scale master plan project. The end-user files are required to be shape files, or at least ArcGIS compatible files. (The base map for desing is ...
3
votes
0answers
148 views

After upgrading to Qgis 2.14 Essen, cannot load layers from .zip [closed]

I had a project in 2.12 Lyon that used many .zip files for access to .shp files. Now, after upgrading, I cannot add any content from .zip. This is Win10 Machine and I have the option checked to scan ...
1
vote
1answer
88 views

CRS transform from EPSG 4326 (WGS 84) ? to EPSG 27700 (OSGB 1936 / British National Grid)

I have a table which is an import of a shp file from www.geofabrik.de/ England > Roads. I've tried to change the CRS to EPSG 27700 but when I add this back to QGIS along side other layers which are ...