|
POST
|
I had a similar issue with copying fields from a table to a feature class and wondering if what I came up with will work for you. What I did is to take a table (lets call it TB1) and a feature class (call it FC1) and use the join feature. This will work out if you have a linking field with a 1:1 relationship. That way you make sure everything from the field from TB1 is copied to the field of you choice to FC1. Once I joined TB1 to FC1 - I opened to the attributes table in ArcMap and selected the "Calculate Field" feature which allowed me to copy the field from TB1 and put it into the field of FC1 that I selected. It looks like you should be able to do the same thing with a Table to Table Join and use the Calculate Field feature. HOWEVER - in order to make sure you get everything to go from the field in TB1 to a field in TB2 - there has to be a 1:1 relationship. Hope this helps.
... View more
12-05-2012
06:20 AM
|
0
|
0
|
5428
|
|
POST
|
My IT Staff is trying to install ArcReader 10 onto Terminal Server 2008 instead of having it on everybody's computer. This way they can just log into it and see the GIS Data through ArcReader. However - they are telling me they are having issues doing this. The symbols are all messed up, for one. Is this even possible to have ArcReader on a server like this?
... View more
10-26-2012
09:14 AM
|
0
|
0
|
3585
|
|
POST
|
Negative Jake - I went through and copied the geodatabase and .MXD and put it onto my hard drive and rebuilt the data model in model builder and it is taking just as long. I am using the "Calculate Field" tool and saying I want this field from the Feature Layer to update/replace from the field in the table. Is there a different tool I can use?
... View more
10-26-2012
08:43 AM
|
0
|
0
|
476
|
|
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
|
2734
|
|
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
|
2734
|
|
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
|
2734
|
|
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
|
2734
|
|
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
|
4510
|
|
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
|
1541
|
|
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
|
2701
|
|
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
|
1051
|
|
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
|
1051
|
|
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
|
1849
|
|
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
|
3350
|
|
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
|
1355
|
| 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 |
Tuesday
|