Reputation
393
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 14
Impact
~10k people reached

  • 0 posts edited
  • 0 helpful flags
  • 60 votes cast
Apr
19
accepted Remove tables - not just layers - from the map document
Apr
19
asked Remove tables - not just layers - from the map document
Apr
11
revised Select IDLE 2.7 (not 3.4) as default script tool editor for ArcPy with ArcGIS for Desktop?
edited tags
Apr
11
comment Select IDLE 2.7 (not 3.4) as default script tool editor for ArcPy with ArcGIS for Desktop?
@KHibma That's definitely what's going on. I actually read that answer a while back and added both "Edit with IDLE 2.7" and "Edit with IDLE 3.4" to my right-click context menu by editing my registry. It's been a great workaround for editing scripts just in folders. But I can't seem to find a similar workaround for right-clicking on a script in a toolbox to edit it in IDLE 2.7. And when I try to set the default editor to PythonWIN or even Notepad++ then just nothing happens. So frustrating.
Apr
11
comment Select IDLE 2.7 (not 3.4) as default script tool editor for ArcPy with ArcGIS for Desktop?
@KHibma - correct. I'm right-clicking on a script tool and selecting Edit. But then instead of IDLE 2.7 opening, IDLE 3.4 is opening, despite setting the "Script Tool Editor" path to 2.7."
Apr
11
asked Select IDLE 2.7 (not 3.4) as default script tool editor for ArcPy with ArcGIS for Desktop?
Apr
9
awarded  Popular Question
Apr
7
revised Return table names for query layers using arcpy
added 4 characters in body
Apr
7
comment Return table names for query layers using arcpy
@Vince Well, it does. That's exactly how data looks in the SDE I use at work, which is 10.1 (I use ArcGIS 10.3 but just realized our SDE is still 10.1). I am not an SDE Administrator, so I don't understand the SDE side of it, but literally, all of our data begins with "sde.SDE." That's what I'm working with, so that's what I need help with.
Apr
7
revised Return table names for query layers using arcpy
added 20 characters in body
Apr
7
asked Return table names for query layers using arcpy
Mar
15
comment Repoint feature layers from one SDE to another
ESRI was very unhelpful. The guy I spoke with said he hasn't written Python in over a year and a half and kept sending me scripts to try that had nothing to do with my problem. Meh. I just sent it out to my entire group to see if anyone has any other ideas. Just wanted to give you an update. I promise to post an answer if there ever is one!
Feb
16
comment Repoint feature layers from one SDE to another
OK, so I took a look at this just now and adjusted some of my code to match yours. It goes through the script without errors, but doesn't repoint. When I change the repoint function from findAndReplaceWorkspacePath() to replaceDataSource() it updates the first layer, but again, whatever layer shows up second, does not repoint and throws that "ValueError: Layer: Unexpected Error" error. I'm going to call ESRI. Pending they can get things working for me, I'll post the new result as an answer.
Feb
15
comment Repoint feature layers from one SDE to another
@GeoJohn. Not yet. I had to focus on some other things at work, but maybe Weds I can get back to it. I mean, it won't fall off my radar, as I have to get it done, so I won't let this question fade away... no worries! We have an ESRI account at work. I may give them a call actually. I will post updates!
Feb
11
comment Repoint feature layers from one SDE to another
I'll take a look at this tomorrow when I'm back at work and let you know how if I can get anything out of it. Thanks a lot!
Feb
11
comment Repoint feature layers from one SDE to another
@GeoJohn - Exactly. When I test with static parameters it works fine. It doesn't like the iteration. Also, I tried using lyrName in the function, and correct that doesn't help either, although maybe it's a 'better' best practice. I will change it. As for the "try"/"except" if there are more than two it doesn't work either... Also, there are no group layers in this test. My longer script does include code for that, though. Hmm...
Feb
11
asked Repoint feature layers from one SDE to another
Jan
8
comment Simplifying a feature class to feature class ETL using multiple input feature classes with varied schemas
Oops, sloppy copy/pasting. Thanks for catching!
Jan
8
revised Simplifying a feature class to feature class ETL using multiple input feature classes with varied schemas
deleted 8 characters in body
Jan
8
comment Simplifying a feature class to feature class ETL using multiple input feature classes with varied schemas
I'll have to give this a look as well, "FME" (safe.com/how-it-works)