POST
|
Jake, I am trying to create a user connection within ArcMap 10.2.0.3348.
... View more
06-11-2015
06:20 AM
|
0
|
1
|
538
|
POST
|
I am trying to create a connection to an ArcGIS Server within ArcMap but it will not work. I keep receiving various error messages: or I know the server and services are running because I can access them through the rest endpoints and via the ArcGIS Online Map. Any help would be appreciated.
... View more
06-11-2015
05:57 AM
|
0
|
5
|
3596
|
POST
|
That was the ticket! Thanks. Here is the correct code script below. import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0] lyr = arcpy.mapping.ListLayers(mxd, "qq")[0] fields = ["path"] # For each row print the "path" field # # with arcpy.da.SearchCursor(lyr, fields) as cursor: for row in cursor: pathfield = ("{0}".format(row[0])) print(pathfield) # Local variables: qqlayer = pathfield Output_raster_layer_name = "QQ to inspect" # Process: Make Raster Layer arcpy.MakeRasterLayer_management(qqlayer, Output_raster_layer_name, "", "", "")
... View more
04-24-2015
11:41 AM
|
2
|
0
|
1123
|
POST
|
Thanks for suggesting the SQL expression. Your 1st comment about manually selecting a record in the attribute table is the one I would like to go with but for some reason does not work. The script always returns the 1st record no matter which record is selected. Any suggestions?
... View more
04-22-2015
08:08 AM
|
0
|
2
|
1123
|
POST
|
I am trying to add a raster dataset to my dataframe from a path stored in a field within the attribute table of a feature class. Ideally, I would like to add the rasters one at a time based upon a selection performed on the feature class. I have a python script which will add the raster based on the file path in the field but I am having trouble adding the selection process to it. Has anybody done something similar or have any ideas? Thanks in advance import arcpy fc = "C:/Users/username/Documents/ArcGIS/Default.gdb/script_input" fields = ["filepath"] # For each row print the "path" field # # with arcpy.da.SearchCursor(fc, fields) as cursor: for row in cursor: pathfield = ("{0}".format(row[0])) print(pathfield) # Local variables: qqlayer = pathfield Output_raster_layer_name = "Raster to Look at" # Process: Make Raster Layer test = arcpy.MakeRasterLayer_management(qqlayer, Output_raster_layer_name, "", "213322.051897854 4081064.77976305 290804.751897854 4174358.97976305", "")
... View more
04-10-2015
07:20 AM
|
0
|
5
|
5209
|
POST
|
I have two mosaic datasets built. 1 with the 1/2 meter panchromatic images and 1 with the 2 meter Multi-spectral images. I would like to use the pansharpening function on the multi-spectral mosaic dataset and keep all 8 bands in the output. It seems like every output option/method only allows the output to have 4 bands. Has anybody had a similar workflow problem? I would like to avoid creating multiple mosaic datasets for every band combination but right now that seems like the only option.
... View more
11-28-2012
08:47 AM
|
1
|
5
|
3230
|
POST
|
That is great information! I will certainly try the compression tool. Thanks
... View more
02-17-2012
09:04 AM
|
0
|
0
|
459
|
POST
|
To get rid of the white background you will need a photo editing software which can create/edit files with transparency (like .png). Corel may be able to do that, if not Photoshop can. Good Luck
... View more
12-15-2011
08:27 AM
|
0
|
0
|
717
|
POST
|
Scott, Did you ever get this to return multiple values? I am working on something similar. Thanks Nathan
... View more
08-05-2011
10:45 AM
|
0
|
0
|
538
|
Title | Kudos | Posted |
---|---|---|
1 | 11-28-2012 08:47 AM | |
2 | 04-24-2015 11:41 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|