POST
|
Thanks Dan Patterson! Amateur mistake lol. How would I use the .format() in the field calculator though?
... View more
12-13-2016
12:04 PM
|
0
|
1
|
415
|
POST
|
I'm having a bit of trouble figuring out what is wrong with this script. I am trying to tell it "if there is a direction in the pdir/sdir field, concatenate the string into the field, otherwise just print the sname + typ". It says the syntax error is on line 3. Thanks. def reclass(pdir,sdir,typ,sname): if (pdir == 'N'): return pdir + ' ' + sname + ' ' typ elif (pdir == 'S'): return pdir + ' ' + sname + ' ' typ elif (pdir == 'E'): return pdir + ' ' + sname + ' ' typ elif (pdir == 'W'): return pdir + ' ' + sname + ' ' typ elif (sdir == 'N'): return sname + ' ' typ + ' ' + sdir elif (sdir == 'S'): return sname + ' ' typ + ' ' + sdir elif (sdir == 'E'): return sname + ' ' typ + ' ' + sdir elif (sdir == 'W'): return sname + ' ' typ + ' ' + sdir else: return sname + ' ' + typ
... View more
12-13-2016
11:50 AM
|
0
|
3
|
808
|
POST
|
Actually patel1684, as it turns out, you were right. I thought that changing those setting made it work, but alas, I was again experiencing the same symptoms. After some additional back and forth with one of our network guys, I got him to turn it off and it has fixed it. We have Kaspersky Server 10 here, and it wasn't doing it with version 8 (what we had before upgrading) so I just got him to switch me back to that because nothing else was working.
... View more
11-03-2016
08:36 AM
|
1
|
0
|
548
|
POST
|
That's what I was looking for jskinner-esristaff, I just needed to declare a variable and use the .split() function. Thanks!
... View more
10-28-2016
01:14 PM
|
0
|
0
|
1303
|
POST
|
I am using Python in the Field Calculator to split an address field and I cannot find the string function I need for my function. Basically, what I want to do is create a function to say if 'CIR' is in the string name return everything before 'CIR', but not 'CIR'. I am just trying to get the street name, not the street type in the field. Here is what I have so far: def street_name (st_name): if ' CIR' in st_name: return I cannot find a string function to return everything to the left of 'CIR'. Thank in advance everyone.
... View more
10-28-2016
12:59 PM
|
0
|
4
|
3277
|
POST
|
Thanks for the reply patel1684. I tried several different approaches with our firewall software, as that has given me major headaches in the past, but that was just not the case this time. I tried two things and one of them seems to have worked: On the virtual machine I was exporting the information to (Win Server 2012), I scanned the system for errors and repaired any that arose, then did a Windows update. Then, on the virtual machine again, I went into advanced system settings and under performance I changed the setting to 'adjust for best performance'. Ever since I've done those two things, it has been working fine.
... View more
10-20-2016
12:08 PM
|
1
|
2
|
548
|
POST
|
Several times now as I am working with a shapefile in ArcMap 10.4.1, Windows 10 the network connection that the data is on becomes disconnected. Even when I try to connect to it through file explorer the connection is no longer active and the only say I can reconnect to it through file explorer is to reboot my machine. I know that the network location is still active and running because I can access it through a remote desktop connection. Has anyone else experienced anything of the sort? Just curious.
... View more
10-03-2016
12:25 PM
|
0
|
4
|
1342
|
Title | Kudos | Posted |
---|---|---|
1 | 10-20-2016 12:08 PM | |
1 | 11-03-2016 08:36 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:25 AM
|