|
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
|
552
|
|
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
|
552
|
|
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
|
1287
|
|
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
|
2316
|
|
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
|
737
|
|
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
|
737
|
|
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
|
3985
|
|
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
|
7295
|
|
POST
|
I wish I had the educational background to write the very long list of how GIS can make life easier for everyone in your organization from bottom to top. I worked line construction starting from grunt to lineman to foreman to safety supervisor to right-of way coordinator over a 30 year span. After retirement I continued work within the same utility working on data installation on a ESRI/ArcFM system. I'm hoping that some of the other members of this forum will contact you with a list of things that can happen when using GIS. Good luck - it sounds like you've got a great start. Thank you for the kind words. It sounds like you would have around the same mind-frame as my linecrew has. I am having a hard time getting our crew to use ArcGIS (Specifically ArcReader) to gain information. Most of them are "Old School" lineman with answers like - "If I want to know something I look up at the pole/conductor for answers, common knowledge, etc). With you being a retired lineman with many years in the field - what kinds of things from a GIS system helped make your job much easier? I guess other questions is - what information does a lineman, foreman need that he could not get from just looking at the infrastrucutre up close in the field? Thanks for any information you would like to share.
... View more
04-04-2012
02:32 PM
|
0
|
0
|
2263
|
|
POST
|
Greetings- I have spent the past (2) years using ESRI ArcMap to completely redo our electric infrastructure from AutoCAD to GIS. Basically it was a long process of manually going through AutoCAD drawings, notebooks, old hand-drawn As-built drawings to manually digitize our infrastructure in ArcMap. Now that the system is completely in GIS (being used by our operations, CSR and field crews) for research and decision making - I want to be able to move to the next step of using GIS. That next step is - How can I use GIS to run analysis on my current infrastructure. What I am wanting to see is what other companies have done with their GIS system to run analysis in order to help their company change/improve things. Any ideas I might be able to use that I could present to my management team would be awesome. Thanks
... View more
03-26-2012
07:25 AM
|
0
|
8
|
6020
|
|
POST
|
I have a problem that has just started, and have not had this issue before. I have used the "Spatial Join" tool dozens of times with the same feature class(s). However, this time something is preventing me from doing it. I am trying to put a Point Feature Class in the "Join Features" to join to the Target Feature Class (Polygon). I can add the polygon feature class into the target feature but no matter what route I take - it will not allow me to select the specific point feature class I need. Whats going on and how do I fix this? Im trying to get it to say all these points that are within the polygon region - show in the output feature class. Like I've said - i have used this tool dozens of times before with the same feature classes.
... View more
03-02-2012
07:01 AM
|
0
|
2
|
1074
|
|
POST
|
So you need something like... arcpy.ImportToolbox("full path to toolbox/toolboxname.tbx") arcpy.gp.toolbox = "full path to toolbox/toolboxname.tbx"; arcpy.gp.toolboxname(any parameters) Okay - like I said I really do not know much about Python and having a hard time finding anything online - such as examples on putting together a simple python script that will run a toolbox. Is there the ability to take a model from model builder and make it a tool - and than have python run that tool? If so - how do I do this and how do I write the script. Thanks
... View more
12-01-2011
12:47 PM
|
0
|
0
|
599
|
|
POST
|
Greetings- I am still really new to working with a writing python script. What I have done is built a Data Model using Model Builder to export data out of an Oracle Database and bring it into a file geodatabase. I saved this model into a custom toolbox. What I am trying to do is to write a python script that will run the custom toolbox. Later - I plan on using Microsoft Task Scheduler to run this python script every night. I am not sure how to write this simple script to run my toolbox. Custom Toolbox: CIS GIS Integration Tools.tbx Model: Water.CIS_Account_Data Model: Water.CIS_Service_Meters Once I can get a script built that will run these models and/or the custom toolbox, I can do the rest on my own. Thanks
... View more
12-01-2011
12:26 PM
|
0
|
2
|
1862
|