|
POST
|
Just added save statement import arcpy
import os
# suppose you want to add it to the current MXD (open MXD)
mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd")
dataFrame = arcpy.mapping.ListDataFrames(mxd, "*")[0]
# base folder
workspace = r"C:\Project\layers"
walk = arcpy.da.Walk(workspace, datatype="Layer")
for dirpath, dirnames, filenames in walk:
for filename in filenames:
layerfile = os.path.join(dirpath, filename)
addlayer = arcpy.mapping.Layer(layerfile)
arcpy.mapping.AddLayer(dataFrame, addlayer, "BOTTOM")
mxd.save()
arcpy.RefreshTOC()
arcpy.RefreshActiveView()
del addlayer, mxd
... View more
01-20-2015
01:43 AM
|
0
|
1
|
2262
|
|
POST
|
Could you please check if both the feature classes and data frame have same spatial reference? if not project your feature class to match with other and then try the copy / paste in a new ArcMap session.
... View more
01-20-2015
01:19 AM
|
0
|
1
|
627
|
|
POST
|
Could you please let me know which method you used to reprojcet the point dataset? Please use Project tool (Data Management) to re project your point data in projected coordinate system(WGS1984 Web Mercator / UTM) and then use Hotspot analysis.
... View more
01-20-2015
01:17 AM
|
0
|
0
|
896
|
|
POST
|
In the table of content keep the SID on top of DEM Right click on the DEM > Properties >Base height > Floating on a custom surface = DEM Right click on the SID > Properties > Base height > Floating on a custom surface = DEM Scene properties > Vertical exaggeration > Calculate from the extent or set it manually. Right click on the DEM and Zoom to layer. Hope above steps are helpful.
... View more
01-20-2015
01:12 AM
|
0
|
2
|
1144
|
|
POST
|
I believe, 1. You need to install Russian language pack which you can download from ArcGIS Customer care. 2. Go to Administrator > Advanced tab > change the display language > Save.
... View more
01-19-2015
11:59 PM
|
0
|
2
|
698
|
|
POST
|
Open coordinate system window > Select the coordinate system you need > Right click and select Copy and modify > Change the parameters and click Ok. Hope this is helpful
... View more
01-19-2015
10:10 PM
|
2
|
1
|
6180
|
|
POST
|
I believe it is possible. Search the layer using .lyr extension in the directory and then use Add layer to add the searched lyr in MXD. Add layer http://resources.arcgis.com/en/help/main/10.2/index.html#//00s300000025000000 import arcpy, os folderPath = r"C:\Project" for filename in os.listdir(folderPath): fullpath = os.path.join(folderPath, filename) if os.path.isfile(fullpath): basename, extension = os.path.splitext(fullpath) if extension.lower() == ".mxd": # Use Add layer here mxd.save() del mxd In the above code .mxd files are searched. Using the same code you can search your .lyr and add then in the desired mxd. I am not python expert. Hope this information is helpful.
... View more
01-19-2015
03:36 AM
|
0
|
0
|
2262
|
|
POST
|
I downloaded the data from provided link and found it has gnp, ghl and gsl file extensions. These file formats are not supported in ArcGIS. The ZIP folder also contains a word document called DEM information. This word doc talk about the format of these (gnp, ghl, gsl) files as well as how the information is stored in these files. As they are ASCII files so I simply opened them in MS Notepad and saved them as .csv file. We can use following steps as workaround: 1. Open .gnp file in Notepad and save as .csv or .txt. When you will open gnp file in Notepad you will find the Object ID, X, Y, Z value information 2. Add csv file in ArcMap > Use the Display XY and plot these points and create a point feature class. While plotting use appropriate UTM zone ( NAD 1983, Zone 11N or 12 N) 3. Add other two files and use XY to line tool to generate lines 4. Use Interpolation to generate raster or Use Create TIN tool to have 3D surface. Hope the above information is helpful.
... View more
01-18-2015
11:16 PM
|
1
|
4
|
4618
|
|
POST
|
These file formats are not supported in ArcGIS. You can check list of supported raster file formats. ArcGIS Help (10.2, 10.2.1, and 10.2.2) I also checked it in ArcGIS data interoperability supported formats. No luck. www.esri.com/library/fliers/pdfs/data-interop-formats.pdf When I extracted the downloaded AltaLIS DEM sample files I found they are in dwg format. So if you have dwg you can use these files to Create TIN or create raster surface using interpolation.
... View more
01-16-2015
05:15 AM
|
0
|
6
|
4618
|
|
POST
|
Try XY to Line tool (Data Management) http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000Here is a webhelp link - http://resources.arcgis.com/en/help/main/10.1/index.html#//0017000000tv000000
... View more
01-15-2015
01:53 AM
|
0
|
1
|
1545
|
|
POST
|
This KB article may help: 41112 - Extract server and database properties from layers in an MXD file
... View more
01-12-2015
09:54 PM
|
0
|
1
|
978
|
|
POST
|
Please try following steps : Step1: - Close all ArcGIS applications - Go to C:\Users\Userprofile folder\AppData\Roaming\ESRI - Rename ESRI folder as ESRI_OLD - Open ArcMap and try to reproduce the behavior Also try: Log in using other user's credentials and check if ArcMap / ArcCatalog Crashes
... View more
01-12-2015
03:53 AM
|
0
|
0
|
800
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 02-24-2015 09:29 PM | |
| 1 | 04-14-2015 04:27 AM | |
| 1 | 02-23-2015 12:30 AM | |
| 1 | 03-04-2015 03:27 AM | |
| 1 | 02-26-2015 01:08 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|