Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 21692

Spatial Analyst is an extension within ArcGIS that provides a range of spatial modeling and analysis tools.

1 vote
Accepted

R spatial: add new attribute to S4 class object?

The simplest answer... I had wrong position of the [i,] indexing. Instead of indexing the shapefile polys[i,]@data$open_edge <- TRUE the correct indexing is in shapefile attribute table slot polys@da …
maycca's user avatar
  • 3,386
0 votes
0 answers
103 views

problem saving GRID to .img keeping original names (export by attributes)?

I am really new in Python programming. I try to make a loop for Extract by Attributes tool in ArcGIS 10.1. I have a huge dataset of raster (760pc) and I want to extract a specific value. This part of …
maycca's user avatar
  • 3,386
1 vote
1 answer
559 views

R spatial: add new attribute to S4 class object?

I am trying to check if my shapefile polygons have open edge or not. To have an open edge, the polygon either has no neighbors, or is >5 m taller than its neighbours. So, I want to add this new field …
maycca's user avatar
  • 3,386
1 vote
0 answers
405 views

Identify adjacent and no-adjacent polygons between multiple shapefiles using R?

My spatial data are recorded multiple years, providing one polygon for a year. (Polygon is derived from raster data, so I can use rasters instead if it will be easier to run my calculations). I sta …
maycca's user avatar
  • 3,386
1 vote
1 answer
397 views

Only extracting values if point overlap raster using ArcPy

I have a set of 100 points and 100 rasters. Points are stored in one shapefile over large spatial extent and small, not-overlapping rasters are stored in gdb. Rasters are something like tiles. Togethe …
maycca's user avatar
  • 3,386
1 vote
2 answers
1k views

Adding polygon attributes (Shape_Area) to point data using ArcGIS ModelBuilder?

I converted my polygon feature class P1 stored in GDB to centroids by Feature to point tool. I would like to keep the Shape_Area and Shape_Length, native to original polygons, in my resulting Centroid …
maycca's user avatar
  • 3,386
2 votes
2 answers
417 views

Selecting features based on relative distances between features in single shapefile using Ar...

I have a set of polygons within a single shapefile. I want to keep only polygons, which are located >500 meters from another polygons in the same shapefile. I thought to apply NEAR Tool in ArcGIS to …
maycca's user avatar
  • 3,386
3 votes
1 answer
1k views

Con expression in two rasters ArcGIS, raster calculator

I would like to write a condition in ArcGIS 10.1 in Raster calculator. I have 2 overlapping rasters (Ras1.img, Ras2.img) with different attributes in attribute table: Ras1.img: Class - results o …
maycca's user avatar
  • 3,386
25 votes
3 answers
48k views

Merging multiple SpatialPolygonDataFrames into 1 SPDF in R?

I have created 2 polygons in QGIS. Using them in R, polygons become automatically SpatialPolygonsDataFrame (SPDF). I would like to merge them into single SPDF (as is super easy in ArcGis using Tool Me …
maycca's user avatar
  • 3,386
21 votes

Merging multiple SpatialPolygonDataFrames into 1 SPDF in R?

Super easy solution provided by @mdsumner: library(sp) library(raster) library(rgeos) library(spatstat) library(rgdal) library(maptools) setwd("C:/...") a<-readOGR(dsn=getwd(), layer="pol.a …
maycca's user avatar
  • 3,386
1 vote

Selecting features based on relative distances between features in single shapefile using Ar...

Thanks to @fatih_dur I realized that it is possible to use the same features in the Near Tool (spatial analysis) as the Input and Near feature Thus I created a model in ModelBuilder where I firstly …
maycca's user avatar
  • 3,386
0 votes
0 answers
135 views

Identify ID of original feature and its surrounding buffer? ArcGIS 10.1

I have a set of polygon features, stored in geodatabase (ArcGIS 10.1 Desktop). I want to create a surrounding buffers. I want further to be able to acknowledge the ID of original feature to ID of sur …
maycca's user avatar
  • 3,386
1 vote
Accepted

Adding polygon attributes (Shape_Area) to point data using ArcGIS ModelBuilder?

Just to complete @PolyGeo answer (as it has took me some time to figure out what and how to copy the polygon data... :-) When running Intersect tool over Polygon feature class (fc) stored in geodatab …
maycca's user avatar
  • 3,386
2 votes
1 answer
524 views

R {sp} spatial subset: keep so many polygons as number of overlapping points

I have a set of overlapping spatial points and spatial polygons. I need to subset the polygons by overlapping points, but, if my polygon contains 2 points, I need to keep polygon twice, etc. To keep …
maycca's user avatar
  • 3,386
1 vote
1 answer
454 views

MBG_Orientation: ranges from 0-180, instead of 0-360? (ArcGIS, Minimal Bounding Geometry)

I'm trying to understand the concept of the Orientation of the Minimal Bounding Geometry: Minimum Bounding Geometry (Data Management toolbox, ArcGIS Desktop 10.1). I run the tool Minimal Bounding geo …
maycca's user avatar
  • 3,386

15 30 50 per page