POST
|
BINGO. Dang Dan I sure wish I had your expertise. Let me pick your brain one more time. This converts the DATE field to a different TEXT field. From here, how would I take the text field and convert the 12/12/2020 to Monday, December 21, 2020 I have been using the Convert Time Field tool in Python but it takes a very very LONG time to complete. I have found using Field Calculator is much much FASTER.
... View more
a month ago
|
0
|
1
|
85
|
POST
|
Lets say I have a DATE field that is populated from a different database. However, within the field the dates/times are produced differently. Some may be 2/25/2010 7:41:00 AM and others *In the Same Field* are 7/9/2008 *Missing the time* When I run the script on the whole column and try to convert, it crashes due to different date formats. My goal is to get all of them into the Day of the Week, month day and year. I have figured out how to do that part but with (2) sometimes (3) different date formats, its not working. Is there a way to take ALL of the dates, regardless if they are different format and convert them ALL to the same format? So, 2/25/2010 7:41:00 AM and 7/9/2008 with ONE command would change to Weekday, Month Day, Year? I am stuck and my research isn't working. Thank You
... View more
a month ago
|
0
|
3
|
93
|
POST
|
I am doing a follow-up on this solution you assisted with awhile ago, but this time for a different project. I am understanding the basics but still having some issues. Lets say I have a DATE field that is populated from a different database. However, within the field the dates/times are produced differently. Some may be 2/25/2010 7:41:00 AM and others *In the Same Field* are 7/9/2008 *Missing the time* When I run the script on the whole column and try to convert, it crashes due to different date formats. My goal is to get all of them into the Day of the Week, month day and year. I have figured out how to do that part but with (2) sometimes (3) different date formats, its not working. Is there a way to take ALL of the dates, regardless if they are different format and convert them ALL to the same format? So, 2/25/2010 7:41:00 AM and 7/9/2008 with ONE command would change to Weekday, Month Day, Year? I am stuck and my research isn't working. Thank You
... View more
a month ago
|
0
|
0
|
119
|
POST
|
I recently downloaded the Python Script - "Overwrite Hosted Feature Service" to update ArcGIS Online from ArcGIS Pro. I have been using Python Script(s) to update the data from ArcMAP, but starting to use ArcGIS Pro alot more for a variety of reasons. Trying to run this script thru Python 2.7.13 IDLE and keep getting this error: ImportError: No module named GIS. Is there a way to correct this or is there a different script that I can download and run to update ArcGIS Online from ArcGIS Pro thru Python IDLE and using Window's Task Scheduler? Thank You
... View more
08-25-2020
09:28 AM
|
0
|
2
|
259
|
POST
|
I have a series of different Feature Classes and most of them I have assigned a Company Tag/Number and they are in sequential order. What I would like to do is to write a Python script to identify what the next number would be on a given Feature Class's field. If the last sequential number of 2345, I would want the script to "print" 2346. Need to know how to get started. Want to write a Python script to achieve this. Thank You
... View more
08-05-2020
12:30 PM
|
0
|
2
|
100
|
POST
|
David: That would be a BIG Negative!!! And it appears we (not me specifically) are not entertaining the possibilities of getting it. Just working with ArcMap, Python, ArcReader and AGOL. I'm the only GIS Editor/Analysis in the company but I have about 20 end-users. Doing alot of R&D to see how I can better utilize what I have for their benefit.
... View more
07-17-2020
01:36 PM
|
0
|
1
|
60
|
POST
|
There is the kicker. The ArcPy stuff. That was what I was afraid of when it came to allowing Non-GIS Users to use the Python scripts to query GIS data without having ESRI software installed. Any kind of work-around, besides installing Python on their computer?
... View more
07-17-2020
01:06 PM
|
0
|
3
|
60
|
POST
|
Thank You for the reply Dan. However, I think maybe I wasn't completely clear. My goal is to have the End-User open the python script (lets say in an .EXE file) that is not a GIS user, has no GIS software on their computer but can benefit from the construction of the script to obtain GIS information. I would like to put the script (Without ESRI or Python) on my engineer's computer and all they need to do is double-click the executable file, enter the Meter Number and the script returns a series of values.
... View more
07-17-2020
12:56 PM
|
0
|
5
|
60
|
POST
|
Good Afternoon: I have been experimenting with a series of Python Scripts that utilize the ArcPy SearchCursor feature that has user input (Enter Meter Number) and the script prints the XFMR, Protective Device and Feeder. This first start out as an experiment to learn more about writing Python scripts and it began me thinking. What I would like to do is to take the Python Script and allow others (Non-GIS Users) within my company to use the script. This way, if a user (Engineer, foreman, etc) has a meter number but wants to know the Upstream Protective Device, they can open the script, enter the meter number and get the return value they need. Keep in mind, these users have NO GIS software (ArcDesktop, Python, etc) and simply just viewers. Is this something that is possible to convert a Python script to an executable file for Non-GIS users? If so, how do I start. If I can get it to work, it will open up many possibilities and new query scripts I can build and provide to company users that need to research specific information. Appreciate it.
... View more
07-17-2020
12:25 PM
|
0
|
8
|
129
|
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|