POST
|
Yeah, I had a large bunch of NYC background data and ran into a similar problem, needed to #dissolve my features because of overlapping roadbeds and other features. After the #dissolve, couldn't get #intersect to pass 0%. #BadGeometry. I have a tendency to see bad geometry with file geodatabases and not with shapefiles. Came into this with a LiDAR-derived Tree Canopy layer as well. Can anyone form #Esri comment on why FGDB's have these problems and not shapefiles? Also, to let you know, my features have Z-values disabled before the intersect.
... View more
07-25-2012
08:46 AM
|
0
|
0
|
612
|
POST
|
@lbarbato I actually fount this solution, to create vector points, to run a whole lot faster. Essentially, Zonal Stats just uses the cell centroid so why not just convert it to points and do intersect and then summary stats. So now I'm thinking of just converting my Kernel Density surface (the file I want to do Zonal Stats for) to a point file and just using Summary Statistics after an intersect of polygons to points. I'm just exhausted using Zonal Stats for 2 reasons, it keeps crashing using iterators AND 13-character limits for file names (I had to reprocess work to create unique IDs that took a whole day b/c my unique IDs were 15 characters long). Do you see any reason not to do this vector version of Zonal Stats? And how stable is your tool that you don't feel comfortable putting up on the forum? I may not be of help testing b/c I'm not much of a python programmer (I'm self taught modelbuilder and know very little python and even less VBA). Danny Danny
... View more
07-23-2012
10:45 AM
|
0
|
0
|
672
|
POST
|
Right, thanks Esri. For anyone trolling the forums, let me just clarify what was going on; The .sdlic is the license file for the data, it does not activate the extension. Our organization has 2 ArcGIS license servers, however, our recent annual update did not include business analyst as an extension on our site-wide or departmental license server. So rather than point to a centralized license server to activate the Extension, what we did is set up a local license server on the machine we installed Business Analyst so that we can point to it for Business Analyst extension. We then had to register /authorize the extension and ArcInfo license locally. So when we use Business Analyst we point the machine to the local license manager and if we want to use, say, Spatial Analyst extension, we point to our license manager on our license server machine.
... View more
09-22-2011
08:24 AM
|
0
|
0
|
442
|
POST
|
I can't check the Business Analyst extension (it says: (License not available)) yet in ArcGIS Administrator -> Data Licenses our license says BA10_US_Basic_2010, and all the info is right there. Has anyone else had this problem before?
... View more
09-21-2011
12:59 PM
|
0
|
5
|
4116
|
POST
|
I often use iterate feature class and other iterations in modelbuilder. Can I replicate that easily in Python? It doesn't export the code so I have no template on how to create a .py script that does the same geoprocessing to every feature class in a feature dataset, for example. I apologize if this was posted already but I could not find it using the Search Forums tool. Thanks, Danny
... View more
09-15-2011
01:06 PM
|
0
|
1
|
4967
|
POST
|
Curtis, I think I'm using Jamie's script which I benchmarked it in modelbuilder and would take many days to run (if my computer could even chug along for that long). I was just wondering if it would be significantly faster to run things outside of modelbuilder as a .py file vs. running in modelbuilder? The first workaround I came up with was to run zonal stats on each Feature split into its own Feature Class (so whereas one buffer distance Feature Class had 1541 records, I now have 1541 Feature Classes). Then I set up Iterator in modelbuilder to create Rasters for each FC (n=1541) (did this b/c I guess Zonal Stats converts vector to raster temporarilty to run) and then run through all the Rasters Zonal Stats individually using iterator. This worked until I ran into a few rasters that didn't produce any stats (why I don't know) and caused the program to crash - I'm curious if iterators in modelbuilder have a theoretical limit. So now I'm thinking of just converting my Kernel Density surface (the file I want to do Zonal Stats for) to a point file and just using Summary Statistics after an intersect of polygons to points. I'm just exhausted using Zonal Stats for 2 reasons, it keeps crashing using iterators AND 13-character limits for file names (I had to reprocess work to create unique IDs that took a whole day b/c my unique IDs were 15 characters long). Do you see any reason not to do this vector version of Zonal Stats? And how stable is your tool that you don't feel comfortable putting up on the forum? I may not be of help testing b/c I'm not much of a python programmer (I'm self taught modelbuilder and know very little python and even less VBA). Danny Danny
... View more
09-15-2011
11:49 AM
|
0
|
0
|
829
|
POST
|
I used the Eliminate Polygon Part and it totally scrambled my attribute table in the output feature class, the fields were all wrong and the field names too. Whats up with that?
... View more
09-15-2011
11:27 AM
|
0
|
0
|
482
|
POST
|
Okay, Thanks!!! I'm batch processing a ton of radial and network buffers. Should I be running this in python rather than in Modelbuilder?
... View more
09-15-2011
11:24 AM
|
0
|
0
|
829
|
POST
|
Jamie, will this run a lot longer than the regular Zonal Stats (it is right now for me, not sure if its working)? Also, I got an error at first that I had no FID field, my zonal feature had ObjectID instead of FID fields, so I AddField then CalculatedField FID to be the ObjectID values. Thanks, Danny
... View more
09-09-2011
02:21 PM
|
0
|
0
|
1380
|
POST
|
ArcGIS 10, File Geodatabase In addition if some of the Stata fields begin with underscores, at what point and in what software can I change these? I'm assuming FGDB does not like field names that start with underscores.
... View more
07-26-2011
08:38 AM
|
0
|
0
|
388
|
POST
|
What is the best way to convert a Stata file into a geodatabase? I have many fields, 400-500, the Stata file. I have Stat Transfer and I usually transfer from Stata to .dbf but when there's this many fields it will not work.
... View more
07-26-2011
08:25 AM
|
0
|
3
|
1451
|
POST
|
Every so often I forget that you can't create field names that are numeric. I do have an Esri question though, does <Null> values go to 0 in a Pivot for GDB?
... View more
04-25-2011
01:43 PM
|
0
|
0
|
387
|
POST
|
So with some geodatabases - specifically this one I've been using from converted KML's - I can calculate fields, even just something simple as calculating a new field as one of the older fields, using VB but not Python, is there something up with the geodatabases - like any idea on why this might happen? I've tried a ton of simple expressions and only VB Field Calculations work and Python Expressions don't in these particular geodatabases.
... View more
01-28-2011
09:48 AM
|
0
|
1
|
2531
|
POST
|
Is there any plan for exporting tables in ArcCatalog from .xlsx files? .xls still work fine. It just slows everything down and not sure how to avoid doing it manually by integrating it with my Python scripts. I wish Microsoft didn't get rid of save to .dbf in Excel. PS I know GIS data should be in databases not in spreadsheets but so much source data comes in excel.
... View more
01-27-2011
12:24 PM
|
1
|
14
|
3539
|
POST
|
update: used Jeff Jenness's tool - http://www.jennessent.com/ I'd appreciate it if someone at ESRI could explain how I can have the Shape_Length (not only the direction and angles of the line) portray spheroidic (?) distance.
... View more
01-12-2011
01:22 PM
|
0
|
0
|
308
|
Title | Kudos | Posted |
---|---|---|
1 | 01-27-2011 12:24 PM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|