|
POST
|
I am trying to write a model and/or python script that will select specific attributes and export a particular field. Example: I have a feature class of 10,000 electric meters and each meter is assigned a feeder assignment. I want to be able to select all of the rows that has a specific feeder assignment "P-1 Feeder" and than select only those in the "TWACs_Number" field and export ONLY the TWACs_Number field to a .CSV file so when someone opens the file, they see only the attributes from that one field, but nothing else. I already have the process to export but having a hard time getting the rest of it. I need to build a model/script that I can have run every night. Thanks
... View more
12-03-2015
09:45 AM
|
0
|
7
|
7511
|
|
POST
|
Mark: Are there any "Work-Arounds" for this? In order for me to upgrade to ArcMap 10.3 and to continue making .PMFs, I have to manually upgrade over a dozen workstations/laptops to ArcReader 10.3. Is there a way I can still use ArcMap 10.3, while keeping ArcReader 10.2? If not, why isn't the code written to make ArcMap and ArcReader to be forward and backward compatible?
... View more
12-16-2014
10:07 AM
|
0
|
4
|
1625
|
|
POST
|
It seems like each time a new update comes out from ESRI, I have this question and usually the answer is no. However, I thought I would check again. I currently have ArcMap 10.2.2 installed on my workstation with ArcReader 10.2 on about 14 different workstations within my company. I am curious about upgrading my workstation to ArcMap 10.3 and ArcGIS PRO. The thing I need to know is if I do the upgrade and create a .PMF from ArcMap 10.3, will it work on ArcReader 10.2? In the past, a .PMF created by a newer ArcMap version will not work on an older version of ArcReader. Wanting to see if ESRI changed this with the new release of ArcMap 10.3. Any comments would be helpful in making my decision to upgrade my ArcMap. Thank You
... View more
12-16-2014
07:59 AM
|
0
|
6
|
8374
|
|
POST
|
Okay good to go. Looks like that was an oversight on my part. Thank You for the help
... View more
09-09-2014
02:51 PM
|
0
|
0
|
1785
|
|
POST
|
This is what I am trying and keep getting the 9999 (General Error). What am I not writing properly?
... View more
09-09-2014
02:41 PM
|
1
|
2
|
1785
|
|
POST
|
Darren: Yes, so far I have a model built which brings in the (2) different Parcel feature class(s) into a File Geodatabase which ends with both of them being combined into a new feature class via the PID. I know I can use Calculate Field to compare selected fields in the same row doing the is/else python statement. The different examples I've tried doesn't seem to be working. Not sure if I am writing it correctly or not.
... View more
09-09-2014
02:02 PM
|
0
|
4
|
1785
|
|
POST
|
Greetings: Once a month, I update my Geodatabase with updated property information from our county's assessor data. Other parts of my company need to know is different attributes change on any parcel(s) over a given time. In the past, I would export the data to Excel and use Microsoft Access to compare the different fields and product different excel reports. I want to change my workflow and build an ArcGIS Model through model builder and/or a python script to take Feature Class 1 (Parcels_072014) and compare specific fields with Feature Class 2 (Parcels_092014). Since the Parcel Numbers (PID) doesn't change, but the associated information does (Owner Name, Site Address, ETC) and I want to be able to isolate those changes. What is the best way to do this? Thank You
... View more
09-09-2014
01:47 PM
|
0
|
6
|
5109
|
|
POST
|
I currently have a custom made File Geodatabase with a number of different feature classes and data sets. I downloaded the updated Local Government File Geodatabase and want to be able to experiment with it with our current data. I need to move/copy specific attributes from my custom feature class(s) into specific fields in the Local Government Geodatabase into certain feature classes and fields. What is the best way to do this?
... View more
07-25-2014
08:49 AM
|
0
|
0
|
3999
|
|
POST
|
Have you ever thought of an alternate method than ArcReader to provide maps to your endusers? If you have ArcGIS Server, you probably could configure a FlexViewer application that would no longer require you to install software onto these computers. FlexViewer has some excellent custom widgets that mimic some of the functionality of ArcMap and ArcReader in terms of searches including related data. I would like nothing more than to have ArcGIS Service since it would open the doors for many more things. However, the powers to be have selected to stick with ArcGIS for Desktop and ArcReader and have no plans on budgeting for ArcGIS Server. So, I am kind of stuck.....
... View more
03-03-2014
06:35 AM
|
0
|
0
|
1091
|
|
POST
|
I currently have ArcGIS for Desktop 10.2 installed with about 12 other machines with ArcReader 10.2 installed for our operations staff to view the maps. It is a real pain to have to update all these machines when I do a new update on ArcGIS. So - with the release of ArcGIS for Desktop 10.2.1 - will the .PMFs I create still work on ArcReader 10.2? I have had problems in the past with the previous releases and wanted to check before I do it. I just want to move to ArcGIS 10.2.1 but leave ArcReader 10.2 alone and still have all my .PMFs work for my operations staff. Thank You
... View more
03-03-2014
06:03 AM
|
0
|
3
|
6302
|
|
POST
|
Eric- I have done some of the same stuff that you are talking about. Depending on what you are currently using will depend on how much I can help and offer assistance. What type of ArcGIS products are you using and what company/software are you using for your smart meters. I have tried to make it as simple as possible - by bringing in live data from an Oracle Database into GIS through an ODBC connection by joining data into GIS and specifying different symbols. The data through the ODBC connection is usually live from the smart meter database and GIS is used to produce the reading data in a visual way. Let me know. I have a question, I'm pretty sure I know the answer to it but I want to confirm with others. Is it possible to somehow tie our smart meter outage data in GIS without using a 3rd party solution like Telvent? I'm in the process of building our electric network in GIS, and it has been asked of me to try and do this without a 3rd party application. I'm not very familiar with our electric meter technology but I'm not sure that this is possible. I just want to know if this is possible to do and if so how to go about it.
... View more
11-25-2013
08:31 AM
|
0
|
0
|
1796
|
|
POST
|
Mike- Thank you for posting. Since I started the post, I have done alot with our GIS system that I would like to share so other GIS users in the electric industry might be able to use to assist their company. Infrastructure Inventory Assessment: We recently rolled out an infrastructure wide audit of our current electric system. Our GIS model was rebuilt from a stand-alone AutoCAD drawing composed from decades of hand-drawn maps. Since the company has never done an in-depth audit - we needed to determine and verify what we had mapped was correct. Also - tons of data was missing that had never been collected. It was broken out into multiple phases. Phase 1: Pole Inspection and Numbering: Had a linesman go to each pole to complete an inspection to determine it's integrity. Since the company has never done a pole by pole inspection - this allowed us to determine which poles were getting past their life span and needed replacement. We also collected addition information on the pole (type, year manufactured, class, and damage) that I was able to run analysis on and put together a map/list of poles to replace over the next couple of years. At the same time - a company number was attached to the pole. How this has helped: This made it easier to catalog our pole inventory ArcGIS. It has also become handy incase of an emergency for fire/police. In the case of a car hit pole/pole top fire, they are able to tell us the number and run a fast query in GIS to zoom to it's location. Also - on street light outage - a customer can tell us what pole the light is on by telling us a simple number - instead if trying to interrupt their explination of it's location. Phase 2: Pole Top Assembly & Street Light Audit: Went back through the system and visted each pole and determined what the pole was made-up of. AutoCAD was used to construct every possiable assembly we use in our company. A detail for each assembly was built with the type and number of inventory items that was used to construct it. At the same time - each pole that had a street light attached was checked. We compared what was currently in the GIS model (Type, Arm legth, bulb wattage) with what was really in the field. How this has helped: Once it was complete - our FIS system was updated with the true/current number in units in current use for analysis and accounting purposed. The street light field aduit allowed us to cross reference what was found in the field with our CIS data to make sure the billing was correct. Phase 3: Joint Use Audit: Previously - our joint use data was updated by contractor/joint use company's submissions. We wanted to verify what we had in our records was true in the field. Again - each pole was visted to determine which joint use company and type of attachment was on each pole. How this has helped: This made sure our Joint Use data was correct and up to date. It made sure we were properly billing the company's that were attached to our pole(s). Also - when a pole was replaced - we were sure the correct companys were notified so they could move to the new pole. How this was accomplished: ArcMap with ArcPad and a Trimble Nomad "G" Series. Data from a File Geodatabase with Domains (used as drop-down menus in ArcPad) checked-out to the Nomad. Data was collected by a lineman directly into the device (Drop-Downs, barcode scanner and Photos). The data was than imported directly into the working File Geodatabase and used for further analysis and reporting. Meter Usage & Demand Data: Previously - our engineering and meter department would either have to go into the CIS/TWACs system to find out the usage and demand on a given meter. In order to determine the demand of that meter and/or the transformer - a hand calculation had to be done. NOW - The data is exported from the CIS system each quarter. After running mutliple ArcGIS tools - the end result is a visual graph (Meter Usage, Meter Demand, Transformer Usage/Demand) is created showing the data over a 2 year period and attached (In the form of a .PDF) to the matching object. Now - instead of searching through different systems and doing hand calculations - our engineers and meter techs can run a query in GIS for a specific meter/transformer bank and visually see the data for making decisions. CIS/GIS Integration: Data in our Customer and Billing database is constantly changing and being updated by different people and departments. Other GIS Users (Operational Supervisors, Engineering Departments, Meter Department) rely heavily on data related to the infrastructure along with customer account attributes. Instead of cross-referencing back and forth between GIS and CIS - I have integrated data directly into GIS. I have constructed a series of Python Scripts that automatically pull data from the Oracle Database to update specific attributes in the GIS system (Customer information, meter data, billing records, ETC). This happens everynight through a Task Scheduler. This way - the users of GIS have up to date information on one system. This also prevents having to update the same information in different locations/ systems. I am always looking for additional projects to update our current electric GIS system that other departments within our company can benefit from (Engineering, CIS, Meter Department, ETC). Hi Chris, I realize this post is over a year old but I like this topic and wanted to push it to the top to see if we can get more people to respond. Over the last 8 years I was fortunate to work with 30+ utilities here are some solutions I saw. Vegetation cycle analysis and data management - traditionally utilities manage their cycles by feeder/circuit and by year but some foresters have realized they can leverage spatial analysis and in some cases inventory trees (e.g. danger, species) to have more impact on trim budgets and reliability. Reliability analysis - there are many factors to reliability analysis including historical outages, vegetation cycles, pole inspections to name a few and each has a spatial component. Through spatial analysis you can determine where you have reliability problems today and trend where they will be showing up down the road. This is great information for engineers to fix the problem and for operations to help during storms. Damage assessment - determining the impact of a storm or event as quickly as possible is important to the restoration process. Traditionally utilities use a standard paper form filled out in the field and radios/phones to call into dispatch. What I learned is while this process works, in most cases, there is a lag in the flow of information. There are many utilities that turned to their ArcGIS platform to automate the field collection process using smart devices and send the damage to the office in near real-time, including pictures and material needed. This new process has proven to be beneficial in reducing outages, better estimated time of restoration (ETR) numbers, and internal and external communications. So here is a start hopefully others will chime into the conversation [/HR] Mike Goggin RAMTeCH Software Solutions
... View more
11-25-2013
08:11 AM
|
1
|
0
|
3256
|
|
POST
|
Chris- Thank you for the past (2) posts. I will look at both ideas and see what I can come up with. Guess I should have said I am working on ArcMap 10.2 Also, instead of creating a list of each "TWACs_NUMBER", and running a seperate cursor for each one, just run a single cursor and store the lists in a dictionary, where each twacNo is a key and each key points to a list of meterNos. In v10.1 this would look like: twacDict = {}
searchRows = arcpy.da.SearchCursor(table, ["TWACs_NUMBER","METER_NUMBER"])
for searchRow in searchRows:
twacNo, meterNo = searchRow
if twacNo in twacDict:
twacDict[twacNo].append(meterNo)
else:
twacDict[twacNo] = [meterNo]
del searchRow, searchRows
twackList = twacDict.keys()
twackList.sort()
for twacNo in twackList:
meterList = twacDict[twacNo]
#make a graph here, since you now have a hook to the twacNo and it's list of meterNos
... View more
09-25-2013
01:32 PM
|
0
|
0
|
1510
|
|
POST
|
This table "in_memory\table_sel" you create will persist until you close the instance it was created in. And how do I do that?
... View more
09-25-2013
10:36 AM
|
0
|
0
|
1510
|
|
POST
|
I would find it more likely your log file is the issue. Try disabling logging and running it a few times to see if you get the same slow downs. Also, are you closing the instance of python this script is running in between executions? The in_memory workspace won't clear properly until you terminate the instance it was executed in or you clear it explicitly. I will see what I does when I remove the logging from the script. Forgive me, but the second part you are talking about... what do you mean
... View more
09-25-2013
10:01 AM
|
0
|
0
|
1510
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-23-2026 10:58 AM | |
| 1 | 11-20-2025 02:52 PM | |
| 1 | 10-30-2025 12:42 PM | |
| 1 | 10-16-2025 10:51 AM | |
| 1 | 08-27-2025 08:47 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|