POST
|
Hi GeoNet Esri crew, I've installed the last version of AGE 1.1 (great!) but still there are some important failings that I wonder if they'll be fixed in the next releases: Viewer: scale bar missing Measure Tool: copy the full path lenght (segm 1 + segm 2 + segm 3 + ....), not only the total path lenght Measure Tool: copy the point coordinates where the click on the map occurs Measure Tool: AGE crashes when I click on the copy button (64 bit, Windows 7) Ability to label features Ability to customize attributes popups I've not uninstalled the Google Earth Pro, but hope to see very soon AGE be 100% better than GE. Thanks
... View more
05-25-2016
01:55 AM
|
0
|
3
|
2353
|
POST
|
In the next release the 123Survey will be able to collect also lines (tracks) and polygons. Please see the XLSForm support in Survey123 for ArcGIS (see Question Types section).
... View more
02-19-2016
03:36 AM
|
1
|
0
|
6412
|
POST
|
Yes Joshua, you're right! I've disabled the Background geoprocessing and the pyt works perfectly.
... View more
10-15-2015
12:06 AM
|
0
|
0
|
362
|
POST
|
Hi all, I've written a script in which I analyze the TOC content in a selected map document. The analysis produces a list of datasets (table, shapefile, geodatabase fc, raster, mosaic dataset, etc...) in the TOC. If a dataset has missing datasource the information will be also reported. Python code: import arcpy # [.....] mxd = arcpy.mapping.MapDocument(mxdFilePath) # [.....] dtfs = arcpy.mapping.ListDataFrames(mxd) for dtf in dtfs: for dts in arcpy.mapping.ListLayers(mxd, "", dtf): if dts.supports("DATASOURCE"): if not arcpy.Exists(dts.dataSource): file.write("\t Missing datasource! \n") else: # do something............. So I've created a Toolbox (tbx), added the script e run it: everything works well. I've also embedded that script in a Python Toolbox (pyt) and run it: everything works well but Personal Geodatabase feature classes return always a "missing datasource" message, althought the data exist and datasources are correctly set. Finally, If I run the pyt script as shown here, again everything works well. So, I do something wrong in my Python Toolbox..... but what? Any help please? Using Python 2.7.2 and ArcGIS 10.1. Thanks in advance
... View more
10-14-2015
08:13 AM
|
1
|
2
|
2440
|
POST
|
Thanks Jeff! That's correct! I've tried with IMosaicDataset and IMosaicRaster.... missing IMosaicLayer!
... View more
02-24-2015
12:50 AM
|
1
|
0
|
389
|
POST
|
Hi, I wrote this code to loop in my TOC: Dim iLyrIndex As Long Dim layer As ILayer Dim geoDataset As IGeoDataset ' Add raster layers into Combobox Dim iLayerCount As Integer iLayerCount = map.LayerCount If iLayerCount > 0 Then For iLyrIndex = 0 To iLayerCount - 1 layer = map.Layer(iLyrIndex) If (TypeOf layer Is IRasterLayer) Or (TypeOf layer Is IMosaicDataset) Or (TypeOf layer Is IRasterCatalogLayer) Or (TypeOf layer Is IGdbRasterCatalogLayer) Then cboBox.Items.Add(layer.Name) ' <---- mosaic dataset DO NOT shows here! Else MsgBox(layer.Name) ' <---- mosaic dataset shows here! End If Next iLyrIndex End If The code works well with raster layer and raster catalogs, but not with raster mosaic dataset. If I double-click on the mosaic dataset in the TOC (grouping the Boundary, Footprint and Image layers) and then the "Source" tab in the Layer Properties Dialog the Data Type is Mosaic Dataset. So, what's wrong? Please, any help? Thanks a lot in advance
... View more
02-23-2015
07:49 AM
|
0
|
2
|
4215
|
POST
|
I need to set a default value for a Boolean parameter in my Python toolbox, but I didn't found any documentation about that. I'm able to do it using the custom toolbox wizard, but I found nothing on how to do the same in a python toolbox. Any idea? Thanks
... View more
09-11-2014
08:01 AM
|
0
|
5
|
5909
|
POST
|
Yes Jake, in that way I can identify basemap layer... but only if default description is not modified! Furthermore I still can't identify custom basemaps. Anyway, thanks again to have (partially) solved the problem.
... View more
07-29-2014
07:25 AM
|
0
|
0
|
330
|
POST
|
Thank you Jake. Yes, I'm looking a way to check if a basemap layer exists in the TOC. Unfortunately what you have suggested does not work: in my MXD I loaded an OpenStreetMap basemap layer and there is no "arcgisonline" word in its description. Any other idea?
... View more
07-29-2014
01:20 AM
|
0
|
2
|
330
|
POST
|
Is there any way to identify a basemap layer in the ToC using python? ArcGIS 10.1 - Python 2.7 Thanks in advance
... View more
07-28-2014
08:02 AM
|
0
|
4
|
752
|
POST
|
I want to know MXD version using ArcObjects (using 10.1 SP1). I know that this is an open issue (IMapDocument.GetVersionInfo Method return Unknown) and that there is a workaround in Python, but I've to use ArcObjects vb.net. Please, any help? Thanks in advance
... View more
07-11-2014
06:50 AM
|
0
|
1
|
1578
|
POST
|
Ooops, you're right!! Now it works perfectly. Thank you
... View more
11-28-2013
03:43 AM
|
0
|
0
|
326
|
POST
|
I forgot to say that, of course, "field_A" exists in "Table_A" and "field_B" exists in "Table_B". Last but not least, if I run the same calculation in Arcmap, using Field Calculator, no error occur. Thanks
... View more
11-28-2013
01:14 AM
|
0
|
0
|
326
|
POST
|
Hi, I've to calculate a field based on another field in a joined table, but an error occurs: "Parameters are not valid. ERROR 000728: Field !Table_A.field_A! does not exist within table" import arcpy from arcpy import env env.workspace = "C:/TMP/BASELINE.gdb" Table_A = "dist" Table_B= "matrix" arcpy.AddJoin_management(Table_A, "id_grid", Table_B, "id_matrix") arcpy.CalculateField_management(Table_A, "!" + Table_A + ".field_A!", "!" + Table_B + ".field_B!","PYTHON") Both tables are in the BASELINE.gdb. The Join occurs without any problem. Please, any help appreciated. Thanks in advance
... View more
11-27-2013
11:12 PM
|
0
|
3
|
2253
|
Title | Kudos | Posted |
---|---|---|
1 | 02-24-2015 12:50 AM | |
1 | 02-19-2016 03:36 AM | |
1 | 10-14-2015 08:13 AM | |
1 | 09-12-2014 12:31 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|