I'm trying to automatically generate a smart grid index for data driven pages, though frustratingly, the grid index created by the Grid Index Features tool, seems to start the grid at the bottom left corner (see below)  And isn't mart enough to move re-position itself to remove redundant grids, ideally, if it were intuitive it would shift and thus could remove grid one from the equation.     Has anyone come into this issue? Or found a workaround to create a nice grid index? Would love to get your insight to this problem.
123811
From time to time I have to produce mapbook to show points of interest. First step to create pages, using regular mesh:    I don't like the solution because a) there are some pages with single points (e.g. page 25) sitting on the edge and b) too many pages.  First issue is easy to fix using code, - move rectangle of page extent to center of relevant points extent:    I still don't like it, it looks very crowded because number of pages remains the same.  Remember, they all end up being actual A3 paper pages in multiple copies of report !.  So I've cooked a code that reduce number of pages. In this example from 45 to 34.    I am not sure if this the best result that can be achieved,  What is the best strategy (pseudo code, publication, Python library) to shuffle through points in order to minimise number of given size rectangles to capture all of the points? Surely, someone discovered it in game theory, military art or fishing industry  This is update to original question:  This shows real extent and page size required:    Closer zoom showing 10 out of 164 pages:      Rectangle size can change as soon as it stays within the limits, i.e. smaller is fine.
97938
Is there any way to auto-gererate an index for the makeidx package? I've written ~270 pages and didn't think of adding \index{} everywhere.  Do I really need to go over everything and add \index{}?
108171
i want to divide a shapefile with many tiles into a lot of smaller tiles. I am searching for a smart solution, because manual edits are out of questions    Anyone can help or know a nice function?
97804
I am a novice to arcgis 10 so please forgive my ignorance.I have this 2000 survey points shapefile and I was told to , I guess is dislocate, generate new survey points, each new should be 500m west and 500m south from the original point. How can I do that in arcgis 10? I remember there use to be in a move button, but I canot find it now. Can you help me?
107515
Is it possible to utilise the Data Driven Pages (DDP) tool in ArcMap or ArcPy to create a set of maps with the same extent but showing different layers?   To clarify I regularly make large sets of maps for projects all in the same location often with the same baselayers but modified to focus on different aspects for the relevant section of a report such as monitoring locations, land-use, key features etc. which all require separate .mxds to be created and maintained.   A DDP type system would allow me to utilise the dynamic text and ensure a standard template / output throughout, it would also make life a lot easier when updating a general figure number or comment as a report is written in one .mxd rather than multiple for a client.  I'm using ArcMap 10.1, but having read through the  I assume this would have to be done with ArcPy as I've been unable to figure out how to do it within ArcMap. I'm aware that QGIS has the , although I'm not as familiar with its capabilities but would happily use it as an alternative.
105638
I have around 1,000 satellite images in tiff format, and I want to create a shapefile which will serve as an index to the rasters. This is something similar to a raster catalog, but I do not want to build a raster catalog.  Some obstacles I can forsee, is that the image are georefrenced, so they are not rectangular in shape (I am talking about the data area).  To clarify, I require the polygon to cover only the non-zero (or non nodata) pixels of the raster, and not the entire rectangular raster. Most of the answers so far, give a rectangular polygon, which covers the data, as well as the non-data pixels.  My Image     Result given by  tools I have examined (like raster catlog, various Arcscripts, custom Python script given in one of the answers):     Result that I want:
44385
I am using Windows 7 enterprise and QGIS version 2.12.2 Lyon.  Have found an unexpected result when I use QGIS to generate a topographic position index (TPI) raster from a 30m by 30m DEM.  I find a pattern of what I believe to be aberrantly valued pixels forming a square grid pattern that are approximately 900 m on each side.  I expected the resulting raster to not have this grided appearance.  UPDATE: I have looked at my hillshade, slope, aspect, terrain ruggedness index and roughness rasters generated using the same tool and they all have this same "grid" (although it is much less apparent than in the TPI raster).  Here's a screenshot of the original DEM I used:   Here's a screenshot of the resulting TPI.  Notice the grid pattern formed over what I suspect to be an accurate TPI raster layer.   Here's how I created the TPI Raster: Raster – analysis – DEM:
124227
A friend told me that he would like to try playing a gridless game next - still on tabletop, but without the gridlines. Is there any difference in the game except for movement? There are some things I don't know how to go about like line of sight, flanking, and traps and invisible enemies. Any help?
92446
I would like to analyze data included in a pdf file. The file contains information on characteristics of 16km grid cells for a specific study area. The file also includes a map displaying the grid. I know the coordinate system and datum that has been used to create this map.   I would like to create the exact same grid in QGIS as to merge the data from the pdf file with further geographical information on the study area. I am a total QGIS noob and I don't know if what I want to do is possible at all.   What I have done so far is: I copied, digitized and and georeferenced the map contained in the pdf. I then set the CRS according to the information I got from the pdf. I then tried to "reproduce" the grid with 16km cells using the QGIS vector grid tool.      Now, here's my problem: the side length I enter into the vector grid tool is in degrees not km. I have measured the length of the grids in degrees (using the QGis distance measurement tool). If I try to create the vector grid using the degree measure for the side length I get cells that are approx. the size of the original map at some parts of the map but not at others. Finally, even if I got a grid of the same size as the original, I am not quite sure how to adjust the location of the grid I created to the exact same location as the original one.
87831
Problem to solve: Generate a random 2D dungeon map for a tile-based game where all rooms are connected.  I am looking for better solutions than what I currently have.  My current solution is that I run two algorithms. The first generates the dungeon with its rooms. The second make sure that all rooms are connected. I am curious what other soltions may exist. Faster and / or easier etc. Speed is not really a concern, but if speed can be gained at no real cost, well, that is a good thing. More important is that I, and others that read, may learn different ways to approach and solve the problem.  Below are my current implementation. Rooms currently have no exits or exits in any 2, 3 or 4 directions.  Generating the dungeon rooms  Setup: Set the current room to the top left room.   Get a valid room type for the room (where valid room type is a type with no exits out of the dungeon and that have exits that matches the exits of the room above and the room to the left. Only need to check above and to the left due to step 2 below). Put down the room and advance the x-coordinate one step. If the x-coordinate exceeds the dungeon width, set the x-coordinate to 0 and advance the y-coordinate one step. If the y-coordinate exceeds the dungeon height, we are done. Repeat from #1.   I then check to see if all rooms are connected If they are not all connected I run a second algorithm that, in a non-sexy but definately good enough way in terms of dungeon layout, goes through the rooms and change them so that all end up being connected.  Checking to see if all rooms are connected  Setup: Create a 2D map of integers representing paths and initialize the entries to a "unprocessed" (not yet traversed) value, -1. Set a start path index integer that keeps track of the current path to 1. Set the current room to the top left room by adding it to a stack of rooms to check.    If the stack contains rooms to check, pop it set the path index of the room to the current path index. If the stack does not contain any rooms, increase the path index and try to get a room by advancing column by column, row by row, until we get a room that has not been processed yet. If no room can be found, we are done. Check to see if the room has an exit to the left. If it has add the left room to the stack if it is not already on there. Repeat step 2 for down, right and top directions (since we are using a stack that means the rooms are traversed in clockwise order, starting with the top direction). Repeat from step 1. If the path indices count is greater than one, there are disconnected rooms.   If there are disconnected rooms I then group the rooms by their path index, get the index of the biggest path and connect all other rooms to those rooms. This is a work in progress, but my (current, "brutish") plan is to go through each room in a room group (except the first) check to see if there is a horizontal or vertical path to the biggeset room group, and if so, create a horizontal / vertical path there by injecting / updating the rooms inbetween. Rinse and repeat. Ugly, yes, but it is something that will not be noticable in terms of visual pattern so it works in that sense.
5290
I have 3 levels in my information architecture for my desktop dashboard. In the vertical navigation which measures H:500px W:200px I have;   Top level: 8 items Second level: 9 items in total (one of my top level item has 7 second levels) Third level: 12 items   Would you use an accordion style (which will make the menu long when expanded) or a sequential drill down menu? and why?  Cheers,  Chris
82710
The Strip Map Index Features tool is listed amongst the  at version 2.2.  A workaround when needing a strip map index to be created, with an Angle field being populated so that each page can be rotated correctly, would be to use the  but is anyone aware of a workaround for creating a strip map index on a machine when only ArcGIS Pro (with its ArcPy) is installed?
105548
I make a new column in my attribute table and it has a default value (for example 0). I want to (probably using the field calculator) have the result that row 1 has the value 1, row 2=2 and so on, just like a numbered index.  I'd be thankful for a code example for the field calculator (including the use of $rownum (I think I need this for switching to the line)).
22532
In ArcMap 9.3, we had issues with our toolbars always stacking up instead of remaining where they were placed.  This was mainly an issue on dual monitor workstations and we would occasionally see the issue on a single monitor workstation.  When we reported the issue to Esri, they said it was a known bug: NIM003161.  I won't have an opportunity to install ArcGIS 10 on a dual monitor workstation for a couple of months and I was wondering what the user experience is when opening saved MXDs on dual (or triple) monitor workstations.    Are toolbars staying put?  I looked up bug #NIM003161 and its status is on-hold and last modified on March 25, 2010 and the version fixed is still blank.  That part worries me a little, but I'm hoping Esri just hasn't gotten around to updating that bug.
42962
I've created index with makeidx package. It works. What really need is to print the first letter above every group of keys (i.e. referring to the image I want to print the red letter, that I have manually inserted).
75829
If I have an attribute table with columns A B C D, is it possible to move the columns to different positions, say, B C A D? When making a new column with the field calculator it would be useful to put it somewhere other than last position or to be able to move key columns close to it.
58182
Does anybody know where I can find a shapefile of the major components of the Indian electricity grid?   Ideally, I'd get transmission/other high-voltage lines, substations, generating units, and transformers. I know there are power maps out there (like ), but I want to match these transmission lines up with geographical data, so more precise locations would be helpful.