The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
1answer
74 views

How would I group values in a field based on range of number using python, and then update the attribute table?

An example of what I'm trying to accomplish is described below, however they don't describe how to use the data update cursor to update the attribute column. data - Group values based on range of ...
0
votes
2answers
50 views

PostgreSQL/PostGIS - group by series of values

I need to sum up linear objects' length and to group them by intervals of several years. I have one table storing my objects like this : - gid serial NOT NULL, - year INTEGER, - the_geom ...
0
votes
0answers
26 views

Sort Proximity Results Into Groups Based on Distance from Center

The scenario is as follows: I have a database of pizza places with review averages. I want users to be able to find pizza places near a location and have them sorted by distance. Pretty straight ...
1
vote
1answer
68 views

How to do point-to-point near analysis conditional on common attributes of the two layers in Arcgis 10.2 (advanced)

I am measuring the closest straight distance from cities of interest (in a layer) to their capital cities (in another layer). Basically, distance between a city and a capital city is calculated if ...
3
votes
1answer
117 views

How to add an ID based on attributes in ArcMap 10.1

Given are: a polygon shapefile/feature class (FC) containing municipal districts a point shapefile/FC containing locations of, lets say, trees. My goal is to append an unique value (1, 2, 3, ...) ...
2
votes
4answers
114 views

Best way to 'join' polygons

I'm looking for the best ways to 'group' a budge of block polygons in a new polygon that should be the town. My block layer is something like this: Or zoomed: And I'm looking to get something ...
1
vote
0answers
49 views

Geoprocessing Ungroups Layers

Is there a fix for this, am I only imagining this, or is it a bug: ArcMAP 10.1 for Desktop Build 3035 on a 64 bit Windows 7 system When I run a geoprocessing task that modifies the input data (such ...
0
votes
1answer
39 views

Wrong output wth group by and aggregate function in spatialite

I have a grid and for every cell I want to set the column "landuse" according to the largest intersecting polygon. SELECT grid.PKUID, landuse.landuse, ...
15
votes
5answers
196 views

How to start a local GIS Users Group

My immediate geographic area is lacking an organized local GIS Users Group. I belong to a group that meets a couple times a year, but its about 1.5 hour drive. I'm thinking about starting up a Users ...
3
votes
2answers
405 views

How to group and count attribute data?

I have a problem with group same data to count it. for example, i want to group same code to one and count them. i can do it when i use MapInfo (Pic 1) but i can't in QGIS. (Pic 2: i can classify ...
0
votes
0answers
63 views

group all layer index file after adding to TOC

I have added all the tif file of shape file to the map (Desktop).what i need to do group all tif file as one layer to TOC.How to do? Please help me.I am using c#.net
2
votes
2answers
441 views

GROUP BY clause in the UpdateCursor arcpy.da

I need to specify a "group by" clause for UpdateCursor arcpy.da. From here I found out that it's possible to do using an optional pair of SQL prefix and postfix. But there are no examples and I'm ...
2
votes
2answers
394 views

Help with Python and adding a grouplayer to arc, renaming it from a folder name, then adding layers to it from that folder

I am trying to use os.walk to go through a directory tree, pull out all the .shp files in it, create a grouplayer in the mxd, rename the grouplayer the folder name, then add the layers from that ...
0
votes
0answers
103 views

How to draw polygons around known clusters

I need to split up an area into non-overlapping, but contiguous territories. I have n points on a map, which are partitioned into k sets. The partition is only partially geographic, meaning that ...
3
votes
2answers
1k views

group by timestamp interval 10 minutes postgresql

I need some help on this: I need to group by a period of time spliting up by 10 minutes: I have this query below that returns me a result set SELECT timestamp FROM table_1, ...
2
votes
1answer
273 views

field calculation in arcgis

i have a data which contain a code of area an value of area in shapefile, ex.: area|value 1|33 1|43 1|31 2|12 2|43 3|66 3|76 the question is how to calculate total value per area with arcgis, i ...
4
votes
0answers
298 views

How to Perform a Grouping Analysis of Points to Divide a Polygon into n Number of Sub-Regions?

I'm attempting to create n sub-regions from a polygon based on a cluster analysis of a bunch of overlapping raster layers (physical layers, eg. depth, currents, waves...). Briefly, I can create a ...
2
votes
3answers
748 views

get layer names from a group within a group

Trying to get the layer names from a group that are inside a group. I have the code the gets the layer from a group, but not group inside group. any ideas? Dim pDoc As IMxDocument Set pDoc = ...
5
votes
2answers
197 views

Grouping lines together to form one line after a distance threshold is met: ArcGIS 10

I have lines on a map showing the most direct way from point data to the coastline (polygon). I would like to group the lines if they are close to each other by a distance that I can set. Where the ...
5
votes
2answers
834 views

How to copy a group of layers between QGIS projects?

In ArcGIS I am used to being able to have a couple of MXD documents open and copy-paste groups of layers from one MXD's table of contents to another. This can save a LOT of time ensuring consistent ...