|
POST
|
Mathew - I am not familiar with dictionaries when it comes to dealing with Python scripting and ArcGIS. Is there some reference material on the web you can point me to that I can do some "Homework" on? Jake - Currently - I am running the File Geodatabase through a network connection from our internal server. Not ArcGIS Server. I can test your thought by putting the geodatabase onto my hard drive and see if that speeds things up. Than - I need to create a task to update the "Production" Geodatabase on our network since that is the one that is used to produce the maps for our operations staff at night. Any other thoughts? Thanks for the ideas. I am experimenting with different things to see what will work better/quicker.
... View more
10-26-2012
06:53 AM
|
0
|
0
|
2436
|
|
POST
|
Unless you are calculating pi to 1000 decimal places for each row that should be a matter of seconds, not hours. I have a script that takes 2 hours that calculates 17 fields for nearly 1 million features. Post your code and I'm sure someone will be able to figure out where the problem is. Okay - great. What "ArcTools" if any are you using to do that? I am using Calculate Field and writing an Expression saying to take this field from the table to put it into this field inside the feature class. For each field to do all 9600 features it takes a good 15 to 20 minutes. Is there something I am not doing right?
... View more
10-25-2012
12:40 PM
|
0
|
0
|
2436
|
|
POST
|
How many features are you updating? Even if it's thousands it should take 4 seconds, not 4 hours... By the way, the da.updatecursor will be a lot faster than the older non-da cursor. My Service_Location feature class has around 9600 features (or 9600 meter locations). After going back to reviewing the log I created for the script it showed that each field took around 15 minutes to run through the "Calculate Field" tool in the script. da.updatecursor vs non-da cursor???????? I am far from being an expert on Python. I basically built a model from model builder - exported it out to a python script, found out how to add a create log feature and I had my script. Thanks
... View more
10-25-2012
12:25 PM
|
0
|
0
|
2436
|
|
POST
|
Hi Chris, What type of geodatabase are you using (i.e. ArcSDE for Oracle, File Geodatabase)? What version of ArcGIS are you running? I am currently using a File Geodatabase - single use license on ArcMap 10 - ArcEditor. Thanks
... View more
10-25-2012
10:36 AM
|
0
|
0
|
2436
|
|
POST
|
Greetings- I am working on a work-flow process that will automatically update the attributes of a specific feature class from a scheduled python script that will run overnight. Here is what I am trying to accomplish: Feature Class: Service Locations (Electric Meter Locations with account, meter and location data stored in our CIS system.) I currently have a python script the pulled the data from our Oracle System and produces it into a Geodatabase table that sits in the same geodatabase as the Service Location feature class. What I need to do is to take the individual fields from the table and update the fields in the feature class. This is what I have done: I made a data model through model builder to 1) Make a Feature Layer 2) Add Join 3) Calculate Field (Update the feature class field with the same field from the data table. Problem is - when I run the data model or the script - it takes a LONG time. The one script I build and tested only have 7 fields (so 7 Calculate Field processes) and it took about 4 hours to run. Is there an easier way to do this? Thanks in advanced
... View more
10-25-2012
10:05 AM
|
0
|
10
|
4150
|
|
POST
|
Greetings- I have tried everything possible and what I am doing is not working. I am currently working with ArcMap 10.0 and a file geodatabase. What I am trying to fix/redo is a relationship class between (2) different feature classes. "SERVICE_LOCATION" feature class (Composed of electric meters) "XFMR_BANK" feature class (Composed of all Transformer Banks) Service Locations are connection via a secondary conductor to a Transformer Bank. There might be (1) meter connected to a transformer bank or there might be as many as (18) meters connected to a transformer bank. What I am trying to do is to construct a Relationship Class which will read in both directions. When you select a XFMR bank in the Attributes/Identify box - I want the ability to "Drill-Down" to see ALL of the Service Locations attached to it. SO-If there are (14) meters tied/linked to a specific transformer bank - ALL (14) meters will show up (From the "SERVICE_LOCATION" Feature class when you "Drill-Down" In Reverse - I want to be able to select a Service Location and "Drill-Down" to see what XFMR bank feeds that meter. Is it possible to create a single relationship class to do this in both directions or does it have to be (2) different relationship classes. How exactly do I program this relationship class. My fields: "SERVICE_LOCATION" - XFMR Bank Join (Numeric field type) "XFMR_BANK" - "XFMR Bank Join (Numeric field type) Thank you in advance
... View more
09-06-2012
09:35 AM
|
0
|
0
|
1471
|
|
POST
|
I am currently using ArcMap 10.0 with ArcPad 10 and starting to having issues. When I click on "Get Data for ArcPad" from the ArcPad Manager toolbar, the dialog box does not come up and ArcMap crashes right away. The tools in ArcToolbox also will not work. Any ideas?
... View more
06-20-2012
07:15 AM
|
0
|
1
|
2619
|
|
POST
|
I was able to create a "Work-Around" to get this to work. Previously - I had both Feature Classes I needed in separate Geodatabases. I had the problem of one of the feature classes not being able to be select to be used in the Spatial Join tool. So....I created a new File Geodatabase - imported both feature classes I needed - and was able to successfully complete the Spatial Join. Before SP3 or SP4, I had no problem selecting multiple feature classes from different Geodatabases and still be able to run the tool.
... View more
06-05-2012
10:21 AM
|
0
|
0
|
871
|
|
POST
|
The following Spatial Join patch fixing the issue is now available on resource center through this link: http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&PID=160&MetaID=1857 The new Patch does not seem to fix everything though. I am still having problems with the Spatial Join tool before and after I installed the patch. I have not had this problem before (I believe SP3 and/or SP4). I bring (2) different feature classes into a new .MXD: Service_Location feature class (Point) Map_Grid feature class (Polygon) When I open up the Spatial Join dialog box, the only feature class I can select is the Map Grid feature class. It doesn't even give me an option to select Service_Location or drag and drop it either. I use to use this tool for a number of combination projects and analysis, but right now, do not have the ability to do so. Is there a work around? I am trying to make a new feature class that says - find every "Point" that is inside a "Polygon" and combine them together. Thanks
... View more
06-04-2012
02:08 PM
|
0
|
0
|
871
|
|
POST
|
I have been trying different things dealing with attributes from a table and bringing them into a feature class to make those attributes "native" to the feature class/objects. This is what I currently have: I have a File Geodatabase (MEWCo_Water_Model.gdb) with a Feature Class called wMeters. Basically its minimal data that just shows the location of a meter. Other pieces of data is maintained and updated in our CIS system in a completely different location. I have already developed a Python Script to import a table from the CIS system through an ODBC connection and make it a File Geodatabase Table. This happens every night. Currently - I have a relationship class build btwn the wMeters Feature Class and the CIS Table. The only think that this is helpful is to link the two things together. I have also gone through and did a Table to FC Join. This is nice because I can still change my symbols based on the attributes joined from the table. HOWEVER: Since we use ArcReader for our Crews and Operations staff - the joins do not work....So I lose that Table Joined to FC feature, which does me no good. SO: This is what I want to be able to do: On a nightly basis - I want to have a Python script Import the CIS Data into my File Geodatabase (Python is already done). From there - I want to be able to take specific attribute fields from that table and import them into the Feature Class so they will become apart of the feature class. What I have tried: I put together a Model (that would later be exported to a Python Script) to: Add Join (which after it exported to a new feature class) it changed ALL the field name. Since ArcDesktop 10 does not give us the ability to Rename a field - I had to Add Field, Calculate Field, Delete Field so I could have it set-up the way I wanted it. PROBLEM: When I did the Copy Features (to make a new feature class) it screwed by ObjectID Field up - which in returns screws my Attachments feature. That ObjectID needs to remain unchanged. Need coffee yet?????? So, I know there is a much easier way to do this that I am just not seeing. If you understand what I am trying to accomplish - please help me out. Thanks
... View more
05-04-2012
10:44 AM
|
0
|
3
|
1694
|
|
POST
|
I am sure there are other ways of fixing this issue - but this is what I did and it worked out fine. -Exported the feature class out to a .SHP file and delete the (E) feature class that was having issues (wLateralLines) -I went to the Domains in ArcCatalog and copied (meaning I wrote the data in a Microsoft Word document) the information. -I deleted all the Domains that were used for the Feature Class. -I recreated ALL of the same domains -Imported the .SHP file back into the Geodatabase witht the same name as before. -Relinked all of the Domains to the Feature Class fields When I opened up the .MXD for the geodatabase - the wLateralLines feature class was back to normal. All my drop-downs where present and the data was all there. As I said before - I am sure there is a better way to do this - but for me it seemed to fix this paticular Feature Class.
... View more
05-02-2012
10:21 AM
|
0
|
0
|
3027
|
|
POST
|
Tim- Again - thank you for the suggestions. I will experiment with some of these. One additional question: When I take a F.C. with a join from (2) geodatabase tables and export that out to make a new .SHP/FC - I will of course need to re import that into the geodatabase. The thing is - I will want to re import that in as the original name. Can I import that in and just override the FC name or do I have do delete it first and import it in second? The reason I ask is I have a few dozen relationship classes connected to this FC I am talking about. Thanks
... View more
04-25-2012
09:40 AM
|
0
|
0
|
1133
|
|
POST
|
Chris, You're running into two different things here. 1. Joins and relates are not supported when packaging the data with your published map. Troubleshooting data packaging limitations Packaging layers with ArcMap joins and relates topic. 2. The attachment issue is a bug. NIM061515: When opening a packaged PMF in ArcReader, feature attachments are not viewable in the Identify window if the 'File Geodatabase', 'Compress File Geodatabase', and 'Compressed and Locked File Geodatabase' data formats were selected during the data packaging process. The workaround for this bug is to select the "Copy data in existing format" on the General tab when packaging the data from the Publisher toolbar. - - - - - - - - My suggestion to you, in this situation, might be to use relative paths to your data and then send them the pmf along with data all in one folder. The map will open, data sources intact, when opened on another computer. Preparing maps for publishing You store relative paths in the MXD, File > Map doc properties > Store relative pathnames to data sources. Store all of your data in one windows folder, stick the pmf (unpackaged) in there, zip folder, and send. Tim- Thank you for the information. I will work on the suggestions you gave me and see if they make a difference. Dealing with the Data Packaging limitations of using Joins and Relates: Is there a work around for this or simply the Joins will not work. What about relationship classes? The data that I am using in these geodatabase tables are really critical. So - if I wanted to get the attributes from the tables directly into the feature class - what is the best way to do it? So initially - how do I go about getting the attributes into the feature class - NEXT when I need to update those attribute fields from an updated table - what is the best process for that? Thanks again
... View more
04-25-2012
09:15 AM
|
0
|
0
|
1133
|
|
POST
|
Greetings- I have been having a lot of issues with producing .PMFs using ArcPublisher to have my maps used on ArcReader by my field crews. I have (2) different types of .PMFs that we use. The first one works fine - which is just a standard .PMF that I create by using the "Publish Map" tool. This .PMF sits on our internal network and able to be used by anyone connected to the network "In-House". The other one I call is a "Stand-Alone .PMF". The way I understand is I am able to create a .PMF or a "Map Package" and have the ability to take the whole folder and copy/move it a portable device (such as a laptop computer) and open that .PMF on a laptop with ArcReader with No connection to the original Geodatabase. Here are some problems I am having with this: 1) I have a few geodatabase tables that are "Joined" to a feature class. When I open the "Stand-Alone" .PMF those tables are no longer joined. What I mean is when I select a feature class and open the attributes in the Identiy Dialog box, only attributes for that feature class are present but not from the tables. ALSO - the symbols I created based on a specific attribute field are gone. 2) On a few on my feature classes, I have the new Attachments feature enabled. In the "Network" .PMF all of those attachments are present. However, in the "Stand-Alone" .PMF - No Attachments. It still shows that something is attached but the actual file is not there to be opened. Any help or ideas on how to resolve these issues so I can properly load my data and maps onto a portable laptop? Thank you
... View more
04-25-2012
06:44 AM
|
0
|
4
|
4381
|
|
POST
|
Greetings- I am having some issues with a select number of domains in a specific feature class. I have a file geodatabase build for my Water Infrastructure system. I have multiple "Domains" built for different fields in different feature classes so editing the attributes is easier. Problem: In my wLaterLine feature class - none of my Domains work. I can go into the feature class in ArcCatalog and reset the domains - open the .MXD the geodatabase is in and still not have any drop downs. I don't have any issues with any other feature classes, just this one. How can I fix this? Thanks
... View more
04-12-2012
12:25 PM
|
0
|
6
|
8006
|
| 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
|