Linear collection of items

learn more… | top users | synonyms

2
votes
1answer
139 views

What is the purpose of arcpy.Array()?

I am wondering what the purpose of arcpy.Array() is. It seems an intermediate step between creating a list of objects and performing some sort of conversion, for example, such as in the sample code ...
1
vote
1answer
84 views

Store into a list multiple lists

I have list of 50 lists of pairs of SpatialLinesDataFrames. That means I have something like: [[1]] [,1] [,2] [,3] [1,] spldf1 spldf3 spldf5 [2,] spldf2 spldf4 spldf6 ...
1
vote
1answer
62 views

Multiply two lists of raster from two subfolder

I have two subfolders, which contains rasters for each country but which express different variables. I am trying to figure out a way to Loop a multiplication of each raster into a folder with its ...
1
vote
1answer
60 views

how to separate a list of features from its shapefile_

I tried to copy all features in a list of dictionaries. the code looks as follows: def iterate_features(self): feature_set = arcpy.SearchCursor(self.address) for feature in feature_set: ...
1
vote
1answer
97 views

How do I use a generic List with my Arc Objects code?

/// <summary> /// Gets a list of all geoms in a Feature Class /// </summary> /// <param name="FClass">The Feature Class</param> /// <returns>a List of ...
0
votes
1answer
23 views

Clipping Features in list creates error

I need to clip all of the feature classes in the .gdb to a layer then add the results to a results dataset. However it returns the error. "Error 000210:Cannot create output ...
0
votes
1answer
128 views

Creating a loop for Lines data (spatial data)

I am trying to build a lines shapefile with the contour lines from the 20 meters isobath from along the East African coast. This contour line of 20 meters has different segments and I have this ...
1
vote
0answers
12 views

Append object from another layer to the new layer through form (drop-down list)

I'm trying to get to know is it possible to append object from another layer to the new layer through form (drop-down list)? Do I need to create an application? If yes please tell me what language ...
0
votes
0answers
65 views

Extracting multiple values from list and storing them in data frame using R?

I have a list of 3 SpatialPolygonsDataFrames. Every element has a number which is the perimeter. I want through a loop to store the numbers into one cell of a data frame like: 154,526,442. I tried to ...
0
votes
0answers
45 views

Attribute Table Column to Python List (QGIS 2.0)

I have a column of strings in my attribute table and I want to create a list out of this column. How can I do this? my attribute column of interest (CompanyNam) looks like this: Eva Ela REW Scot ...
0
votes
0answers
89 views

Layer Tree Collapse Alongside OpenLayers3

I have the following JSFiddle that includes a layer tree for my OpenLayers3 map. It is currently set up so that when you click on the branch 'parent', the layers collapse. I'm looking to make it so ...
0
votes
0answers
169 views

Convert raster_stats list output to array / csv file

I usually program in R, but recently I have started to use python for most of my spatial programming. My python skills are still limited, and please excuse the simplicity of the question. I am ...