POST
|
thanks for your idea I am applying Dan's solution to this
... View more
08-16-2016
07:05 AM
|
0
|
0
|
515
|
POST
|
LOL printing them will crash my PC thanks a lot. I will try and see how it works on my ArcMap
... View more
08-16-2016
05:05 AM
|
0
|
0
|
515
|
POST
|
thanks for quick response. yeah, i agree with that a table with 40K or more fields is crazy .. but i think that's the best way to find out the best (shortest path) route between 8 points -(calculating all the possible route and find the minimum distance among all) if you have any advice on this, please let me know by the way, thanks a lot
... View more
08-16-2016
04:25 AM
|
0
|
2
|
515
|
POST
|
I am trying to switch numbers between rows here is the thing there are 8! (40320) cases that i need to make arraying numbers in total E.g., (8*7*6*5*4*3*2*1) : (0, 1, 2, 3, 4, 5, 6, 7) (1,0,2,3,4,5,6,7)(1,2,0,3,4,5,6,7) (1,2,3,0,4,5,6,7) .... (7,6,5,4,3,2,1,0) so i am going to create 40320 fields and trying to put number in it. I was thinking that i could use Random number generator but it returns duplicate number in rows and also it might have a chance to have duplicate fields. Are there any ways that i can do this easy way using field calculator's code block?
... View more
08-16-2016
03:36 AM
|
0
|
6
|
1464
|
POST
|
I have feature classes have "Date" fields in date format and some of them are in String. I'd like to convert them to Quarter and this is what i wrote... please comments what parts got wrong and if anyone has better idea for codes, please let me know # Process: Calculate Field TESTING = if "Date" <= 03/31/2000 then 1 if "Date" >= 04/01/2000 and "Date" <= 06/30/2000 then 2 if "Date" >= 07/01/2000 and "Date" <= 09/30/2000 then 3 else 4 arcpy.CalculateField_management(Input_Feature, "Quarter", TESTING, "PYTHON", "") and what if i have years thru 2000 - 2010 and want to convert them once, how do i code it ? or is there way that i can only use the month and date and ..process for another years?
... View more
03-15-2012
01:51 AM
|
0
|
1
|
1029
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|