|
POST
|
Hi Jeremy, Try putting the full path to the existing mxd document in following line:mxd=arcpy.mapping.MapDocument(r"JeremyJones_Enbridge2012.mxd") Or, if this mxd is currently opened you could use the following: mxd=arcpy.mapping.MapDocument("CURRENT") and run the code within the Python Window in ArcMap. Thank you.
... View more
04-23-2012
09:46 AM
|
0
|
0
|
881
|
|
POST
|
Hey Jeremy, Here is that script again, which is similar to what you tested: import arcpy mxd=arcpy.mapping.MapDocument(r"JeremyJones_Enbridge2012.mxd") for lyr in arcpy.mapping.ListLayers(mxd): .....if lyr.supports("DATASOURCE"): .......mxd.findAndReplaceWorkspacePaths(r"C:\ENBRIDGE2\GIS_DATA\Imagery\July2011Aerials\", r"E:\Enbridge\GIS_DATA\Imagery\2011Aerials") .......mxd.saveACopy(r"Temp2.mxd") Where are you running this code from? ArcMap, PythonWin, Python IDLE? After the for loop there should be one tab indent and also, after the if statement, there should be another tab indent. Have you taken a look at http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s30000004p000000 Thank you.
... View more
04-23-2012
08:46 AM
|
0
|
0
|
881
|
|
POST
|
Hello, according to the current script: >>> import arcpy ... mxd=arcpy.mapping.MapDocument(r"JeremyJones_Enbridge2012.mxd") ... for lyr in arcpy.mapping.ListLayers(mxd): ... if lyr.supports("DATASOURCE"): ... mxd.findAndReplaceWorkspacePaths(r"C:\ENBRIDGE2\GIS_DATA\Imagery\July2011Aerials\", r"E:\Enbridge\GIS_DATA\Imagery\2011Aerials") ... mxd.saveACopy(r"Temp2.mxd") The reason why it is failing, is because according to Python syntax, there needs to be an indentation after the for loop and after the if statement. For example: import arcpy mxd=arcpy.mapping.MapDocument(r"JeremyJones_Enbridge2012.mxd") for lyr in arcpy.mapping.ListLayers(mxd): if lyr.supports("DATASOURCE"): mxd.findAndReplaceWorkspacePaths(r"C:\ENBRIDGE2\GIS_DATA\Imagery\July2011Aerials\", r"E:\Enbridge\GIS_DATA\Imagery\2011Aerials") mxd.saveACopy(r"Temp2.mxd") Give this a try and see if it works for you. Thank you.
... View more
04-23-2012
07:57 AM
|
0
|
0
|
881
|
|
POST
|
Hello, there has been issues with the Buffer and Multiple Ring Buffer tools failing if they had the 'Dissolve All' option specified. Those issues were reported as bugs and the workaround consists of using those tools without the 'Dissolve All' option set > and then using the Dissolve tool separately from ArcToolbox. Is this issue that you are running into with the 'Dissolve All' option set? Thank you.
... View more
04-23-2012
07:50 AM
|
0
|
0
|
3765
|
|
POST
|
Hello, With regards to adding a 'Save as' option in Modelbuilder, an Enhancement Request was previously submitted a while back and should be addressed in the next release of ArcGIS which is version 10.1. Thank you.
... View more
04-20-2012
07:44 AM
|
0
|
0
|
772
|
|
POST
|
Hello, The reason why that point file is un-editable is because ArcPad cannot edit multipart features. In ArcToolbox in ArcMap, use the Multipart To Singlepart tool in Data Management Tools > Features to convert the multipoint geometry to point geometry. This layer will then be editable in ArcPad. Thank you.
... View more
04-18-2012
07:08 AM
|
0
|
0
|
1898
|
|
POST
|
Hello, With regards to the first issue, at the release of version 10 on Windows 7, there was a previous bug that prevented user's from deleting Attribute Table Fields. I would recommend downloading and installing Service Pack 4 to resolve that issue. http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&PID=66&MetaID=1843 You could also use the Delete Fields tool from ArcToolbox or import the shapefile into a geodatabase > delete the fields > re-export to a shapefile. With regards to the second issue, this is a limitation with copy/paste in the Attribute Table, in order to be able to add those values from Excel, aside from manually typing them in, you could try performing a Table Join between that Excel Table and the Attribute Table in ArcMap. I hope this helps you out. Thank you.
... View more
04-12-2012
07:27 AM
|
0
|
0
|
1622
|
|
POST
|
Hello, The issue that you are running into, with not being able to launch ArcReader after double-clicking on a PMF in Windows Explorer, is a known Software Defect that was introduced with the File Menu Performance Patch after Service Pack 3. Being that you have installed Service Pack 4, that patch was now part of that install rather then a separate patch so that is why the issue is still apparent. This issue is not reproducible in 10.1 As another workaround, right-clicked on the PMF and go to 'Open With' > 'Choose Default Program' > Browse > C:\Program Files (x86)\ArcGIS\ArcReader10.0\bin\ArcReader.exe > 'Open' > OK. ArcReader was now set to be the default program to always open the PMF file type, thus the file association was changed from the ArcgisfileHandler.exe Thank you.
... View more
04-11-2012
08:34 AM
|
0
|
0
|
1532
|
|
POST
|
Hello, Just for clarification, you have a table join and would like to use Field Calculator to populate values from the non-joined fields into a joined field. Is that correct? Could you please clarify what you mean by a Matching field? Is this the joined field? Thank you.
... View more
04-11-2012
07:04 AM
|
0
|
0
|
693
|
|
POST
|
Hello, In order to be able to enable and display labels for features, the labels must first be enabled for the shapefile in ArcMap. Once the labels are displayed as desired, save the layer to a Layer File and then open that .lyr file in ArcGIS Explorer. This also applies to the second question. In ArcMap, set the symbology to Categories > Unique Values and then save the .lyr file once the features are being displayed as desired. Using that symbology renderer, you will be able to specify different colors and symbols for different values in the same layer. You will only need to create a single .lyr file once both the labels and symbology are set in ArcMap. This functionality is unavailable in ArcGIS Explorer because this software is mainly used for read-only applications and does not allow for any data manipulation. I hope this information helps. Thank you.
... View more
03-26-2012
09:35 AM
|
0
|
0
|
539
|
|
POST
|
Good morning, I have ran into that error a few times, but its resolution was different in each case. Here are a few suggestions: - As a test, import your data into a new file geodatabase on the local machine and then try and edit. - Try editing that new feature class in a new blank mxd. - Check your machines ability to run ArcGIS 10 against the system requirements: http://resources.arcgis.com/content/arcgisdesktop/10.0/arcgis-desktop-system-requirements (click the hyperlink called 'Check your computer's ability to run ArcGIS') - Install Service Pack 4: http://resources.arcgis.com/content/patches-and-service-packs?fa=viewPatch&PID=66&MetaID=1843 These tests may give some insight into whether the issue is unique to a particular mxd, data, or if the data is stored across a network location. Thank you.
... View more
03-26-2012
08:11 AM
|
0
|
0
|
1448
|
|
POST
|
Hello, With regards to being able to read AXF files in version 10.1, that functionality will only be available in the Data Interoperability Extension. Please take a look at this link: http://arcpadteam.blogspot.com/2011/09/read-arcpad-axf-in-arcmap-and.html For the time being, you could download a trial version of the AXF Reader software from Safe Software: http://www.safe.com/solutions/for-applications/esri/esri-arcgis/arcpad/ That extension above will allow you to open(read) the contents of an AXF in ArcCatalog and in ArcMap(Catalog Window). Thank you.
... View more
03-22-2012
01:09 PM
|
0
|
0
|
1291
|
|
POST
|
Hello, For the first issue, how the tools on GPS Analyst and within the ArcPad Data Manager toolbar work is that when checking an AXF file back into ArcMap, the path to the original data that the AXF was created from, must be exactly the same or the tool will not be able to find where to check the data back into. Unfortunately there is no way to change the path that the AXF file is referencing. In order to be able to tell what that path is, open 'Get Data From ArcPad' and path out to that AXF file. At the top will be the path listed. I know that you need to use GPS Analyst to actually check the data in, this is just a way to see the path its referencing. For the second issue, unfortunately, once an AXF file gets successfully checked back into ArcMap, there is no way to re-checking those same features from that same copy of the AXF. The workflow that you are currently working, retrieving a copy from the mobile device, is the only way to check in those features again. I understand that the mobile device does get 'cleaned out', so I would recommend making a backup copy of that ArcPad project folder from the mobile device onto a network or local drive somewhere, so that a copy could be retrieved if needed. For the issue with ArcMap crashing upon checkin, if that is a reoccurring issue I would recommend performing an uninstall/reinstall of GPS Analyst or, using test data, try to see if ArcMap crashes if the data is checked back in using the ArcPad Data Manager toolbar. I hope this information helps. Thank you.
... View more
03-21-2012
07:35 AM
|
0
|
0
|
1291
|
|
POST
|
Hello, I understand that currently you have records selected in the Attribute Table and are interested in exporting only those records to a stand-alone table to view/edit in Microsoft Access. Is that correct? If so, in the Attribute Table in ArcMap 10, go to Table Options > Export. By default, the selected records only will be exported. Click the browse button > and for the 'Save as type:' specify a dBase table. This will create a stand-alone dbf table that can be opened in Access. I hope this information helps. Thank you.
... View more
03-20-2012
01:52 PM
|
0
|
0
|
509
|
|
POST
|
Hello, In order to be able to utilize services from ArcGIS Server in ArcPad, you would need the ArcGIS Server ArcPad Extension. However, that extension was first released for ArcPad 8. Therefore, if you are using ArcGIS Server 9.3, you will require the ArcGIS Server ArcPad 8 Extension. If you are using ArcGIS Server 10, you will require the ArcGIS Server ArcPad 10 Extension. So in order to be able to consume services in ArcPad and because you are running ArcGIS Server 10, you would need the ArcGIS Server ArcPad 10 Extension. Therefore ArcPad 7.1 would need to be upgraded to version 10. http://arcpadteam.blogspot.com/2010/07/arcpad-10-compatibility-with-arcgis-93.html Thank you.
... View more
03-20-2012
10:54 AM
|
0
|
0
|
465
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-21-2023 10:55 AM | |
| 1 | 03-02-2021 02:21 PM | |
| 1 | 11-16-2022 02:37 PM | |
| 1 | 02-01-2021 02:20 PM | |
| 1 | 07-19-2021 10:30 AM |
| Online Status |
Offline
|
| Date Last Visited |
10-13-2025
10:04 AM
|