|
POST
|
I reckon you just need a layer to which you can join your list of customers. Depending on the degree of accuracy you need to plot your addresses you may have options to buy a layer, use a free one (where are you based? UK postcode layer is free to download), or make your own.
... View more
12-08-2014
11:54 PM
|
0
|
0
|
759
|
|
POST
|
Dan Patterson's version of this tool may be better for you - it automatically calculates the length and width of the rectanges it generates (and there are no licence restrictions). http://www.arcgis.com/home/item.html?id=564e2949763943e3b9fb4240bab0ca2f
... View more
12-05-2014
12:23 AM
|
1
|
2
|
724
|
|
POST
|
Ha ha thanks Tim. Yes that's what I'm looking for...... well kind of..... typical ESRI: "usability, what's that?"
... View more
12-03-2014
07:36 AM
|
0
|
0
|
807
|
|
POST
|
Is there somewhere I can get a comprehensive list of which ArcMap tools are available at which licence level?....preferably in the form of an excel sheet so I can filter it.
... View more
12-03-2014
06:59 AM
|
0
|
3
|
3677
|
|
POST
|
Just discovered these 'Street Edge', '1st Edge' tools - very useful..... essential infact in my workflow. But is there a reason why, when you subdivide a SHAPE the front face tends to be an internal face, but, much more usefully, when you subdivie a BLOCK the front face tends to be external? - as per the image. If the front face was external I wouldn't need to use these manual tools. Front-->Red Left-->Yellow Right-->Green Back-->Blue
... View more
12-03-2014
06:39 AM
|
1
|
0
|
2837
|
|
POST
|
Version = 2014.1 Input = Shapefiles My shapefiles represent generalised footprints of groups of buildings so my first step is to Subdivide my shapes into individual footprints using the subdivide tool. I start with 666 objects in my layer (a small town) but after subdividing I have almost 400 000 - this is ridiculous and not a number my computer can reasonably deal with - from a visual check I estimate that my largest initial object is subdivided into no more than 50 objects (this should mean the absolute maximum number of objects I should end up with is 30 000). Here's a smaller example to illustrate: Input = 2 objects Subdivide settings - see image Result - 31 objects, however visual count suggests there should only be 20 - see image. It appears that some footprints have been duplicates - see image ETA -- I seem to get the same outcome in v2012.1 ETA_2 -- Attributes get completely screwed up too. So in my first example (666 initial shapes --> ~400 000 objects), I look at one footprint and I find that there are 127 duplicates - and all of them have different attributes i.e. Duplicate1: Category = RES, Area = 3005 Duplicate2: Category = RES, Area = 2676 Duplicate3: Category = COM, Area = 17165 Duplicate4: Category = IND, Area = 22046 etc.
... View more
11-28-2014
03:55 AM
|
0
|
2
|
4369
|
|
POST
|
Sounds like CityEngine but that's been around a while (since 2010 at least) and is a stand alone application, it's not dependent on 10.2.
... View more
11-25-2014
11:54 PM
|
0
|
3
|
1598
|
|
POST
|
Can you explain why you need to convert the count into a string? I'd been trying to make this work for a little while and that was my problem - hadn't converted count into string.
... View more
11-20-2014
01:34 AM
|
0
|
0
|
1851
|
|
POST
|
I too am having difficulty defining the subdivide settings using Python. I'm attempting to do a select by attribute followed by a subdivide - similarly to Jack de Valpine the code works with some subDivide settings defined, but when I add other settings (such as setSimplify) the code does not work. Does it matter what order settings are defined? Here's my code - I must say I've only really worked with arcpy before and I'm finding this code a little alien:
def selectByAttribute(attr, value):
objects = ce.getObjectsFrom(ce.scene)
selection = []
for o in objects:
attrvalue = ce.getAttribute(o, attr)
if attrvalue == value:
selection.append(o)
ce.setSelection(selection)
selectByAttribute("buildCat", "Residential")
shapes = ce.getObjectsFrom(ce.selection())
divset = SubdivideShapesSettings()
divset.setLotAreaMin(200)
#divset.setIrregularity(0)
#divset.setSimplify(1)
#divset.setLotSubdivisionMethod("SKELETON")
ce.subdivideShapes(shapes, divset)
... View more
11-18-2014
06:09 AM
|
0
|
0
|
629
|
|
POST
|
ok so I don't really understand the problem but I defined an extent and it seems to work now. I can define the extent at the beginning as the whole world but, as expected, the script runs slowly. So I calculate the extents for each raster pair in turn. arcpy.env.extent = arcpy.Extent(minX, minY, maxX, maxY) .......hmmm, I also set snap raster to be the same as input raster as just setting extend produced inaccurate results - I don't understand why I have to do this when my input1 and input2 have same cell size and cell alignment. arcpy.env.snapRaster = inRast
... View more
11-10-2014
02:33 AM
|
0
|
0
|
1597
|
|
POST
|
But what can I do about it? I've created a mask shapefile that encompasses all my files but it hasn't helped - I'm not clear on what the mask does. Can I somehow clear a cache so it's recreated. It does always fail on the same one, but that's not the only one that fails. I thought it might be a problem with cell size but files that have smaller and larger cells have passed through ok. Files that include nulls have also passed ok. This is the full script - and then the botton 4 lines repeat some 500 times with different inputs and outputs. The point of the script is to look for differences in elevation in adjacent tiles - each tile has a 1 row or column of pixel overlaps with its neighbour.
import arcpy
import os
from arcpy import env
arcpy.CheckOutExtension("Spatial")
from arcpy.sa import *
env.workspace = "c:/myfiles"
arcpy.env.mask = "c:/maskpoly.shp"
inRast = "E000_N00.tif"
inRast2 = "E000_N01.tif"
outRast = Raster(inRast) - Raster(inRast2)
outRast.save = "c:/E000_N00a.tif"
... View more
11-09-2014
11:47 PM
|
0
|
2
|
1597
|
|
POST
|
Is there a way to aggregate polygons and rasters. i.e. so I can populate my polygons with a maximum underlying elevation from the raster. As far as I can tell, with the tools available in Arc, I would have to convert my rasters into polygons first - do I really have to do this it seems a bit long-winded?
... View more
11-07-2014
04:08 AM
|
0
|
1
|
4090
|
|
POST
|
Hi I'm doing a python script that does: outRast = Raster(inRast1) - Raster(inRast2) I have about 500 of these to process however after about 100 of these the script fails with the warning: "ERROR 010422: Error in processing the environment mask" The trouble is that I cannot see anything different in the rasters being processed when the script fails compared to all the ones it has already completed. I added a shapefile that encolses all the rasters arcpy.env.mask = "mask_poly.shp" but this hasn't helped. I'm stuck for things to try.
... View more
11-07-2014
02:55 AM
|
0
|
5
|
5257
|
|
POST
|
I'm trying to use UpdateCursor to insert some text into an attribute. The attribute is a text field ten characters in length. However the script will only work for values of one character in length. i.e. if MyValue = "A" the script works but if MyValue = "All" the error says 'sequence size must match size of the row'
with arcpy.da.UpdateCursor(MyFeatureLyr, MyAttribute) as cursor:
for row in cursor:
cursor.updateRow(MyValue)
... View more
10-29-2014
08:32 AM
|
0
|
4
|
2314
|
|
POST
|
Ah I think need to work the other way round and make your image fit the xy coords instead..... So, pick a coord system, load your xy coords as points (or whatever), and then using the Georeferencing toolbar resgister the image to the coordinates. Hope this makes sence.
... View more
10-27-2014
07:43 AM
|
0
|
0
|
2369
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-24-2014 05:46 AM | |
| 1 | 12-05-2013 05:15 AM | |
| 1 | 08-24-2015 01:11 AM | |
| 1 | 09-05-2017 11:44 PM | |
| 1 | 10-14-2015 04:17 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-12-2021
02:38 AM
|