|
POST
|
Found the issue. In ArcMap when loading a feature class contained in a feature dataset you could actually IGNORE the dataset name when building your path. In ArcGIS Pro they required the dataset name (as should have been done in ArcMap). In addition there is a feature class factory that can be used to build your connection in Pro. LayerFactory.Instance.CreateFeatureLayer(uri, mapView.Map, 0, theShortName); Easy solutions is to create a layer file that contains the sde connection information vs. trying to connect directly. In Pro the path formats are: * string url = @"c:\data\project.gdb\DEM"; //Raster dataset from a FileGeodatabase * string url = @"c:\connections\mySDEConnection.sde\roads"; //FeatureClass of a SDE * string url = @"c:\connections\mySDEConnection.sde\States\roads"; //FeatureClass within a FeatureDataset from a SDE <-- what I'm doing * string url = @"c:\data\roads.shp"; //Shapefile * string url = @"c:\data\imagery.tif"; //Image from a file * string url = @"c:\data\mySDEConnection.sde\roads"; //.lyrx or .lpkx file
... View more
01-03-2018
10:54 AM
|
0
|
0
|
1103
|
|
POST
|
In a C# Add-In I can add a SDE style feature class to my map with the following code, this fails when attempting to load a FC contained in a Feature Dataset. case "SDEFeature": uri= new Uri(theFullPath.Replace(theSeperator,@"\")); t = QueuedTask.Run(() => { try { var x = LayerFactory.Instance.CreateLayer(uri, mapView.Map, 0, theShortName); } catch (Exception eX) { MessageBox.Show("Unable to load the selected dataset. " + eX.Message.ToString(), "Data Load Problem", MessageBoxButtons.OK); } }); In the above example theSeperator used in the source is "|". When using a feature dataset it returns "Unable to load the selected dataset. Failed to create layer from W:\HQsdePoliticalAdminBoundariesP.sde\PoliticalAminBoundaries.DBO.CadastrialFWCountyBndr." Question, is there a difference when specifying a Feature Class vs. Feature Dataset when using the layer factor? Should I be using a different factory?
... View more
01-02-2018
03:31 PM
|
0
|
1
|
1221
|
|
POST
|
The Renumber Nodes tool is available via ArcCatalog or ArcMap. If accessed via ArcMap you need to open the Catalog tab and open the System Toolboxes folder. In pre-ArcGIS Desktop 10.4.1 installs this toolbox was available from ArcToolbox but at 10.5.1 it is not (you can add it to the ArcToolbox as well by navigating to the toolbox at c:\program files (x86)\ArcGIS\Desktop10.5\ArcToolbox\Toolboxes). See image below Rich.
... View more
12-18-2017
10:05 AM
|
1
|
1
|
1978
|
|
POST
|
ArcInfo Workstation uses an ArcInfo (a.k.a., Professional license). This is the same license as you can use with ArcGIS Desktop. In short you just need to have some one load ArcInfo Workstation on your machine (an ensure they set the license server name correctly during the installation). Msiexec /I setup.msi ADDLOCAL=ALL LICENSESERVER=<your server name> /qb
... View more
12-15-2017
04:01 PM
|
1
|
0
|
1978
|
|
POST
|
Since you are at ArcGIS Desktop 10.2 you should run the 102UninstallUtility.exe that came with your software and see what you have installed. There is also a ArcGIS 10.3.1 Uninstall Utility as well that does the same thing and would allow you to remove any pre 10.3 software.
... View more
12-15-2017
03:53 PM
|
1
|
0
|
6351
|
|
POST
|
most likely, but in some pure python code I've seen code similar to getParameter(param0.Name ) you might try arcpy.getParameter("in_features"), were in_feature is a name of a parameter, and see if it works. If it does let us know :-)
... View more
12-12-2017
09:03 AM
|
0
|
0
|
3669
|
|
POST
|
I don't know if supporter is the correct word, but I did check to see if there were unusually installations on the machine that few other people have (If one of these had GDAL library's and were installed 'per user', that may be the culprit). I found: ArcHydro Tools (64 bit) AutoTURN 8 Workstation Bentley DGN I Filter Bentley DGN Indexe Services ... Bentley MicroStation Bentley Power InRoads Bentley Project Wise Catalyst Control Center Localization CCC Help Czech through Turkish Google Earth Pro MGSFllodVer4 HDR Preview by Bentley so yes she has a lot more custom software that on most of our users. 🙂
... View more
12-11-2017
10:28 AM
|
0
|
1
|
1145
|
|
POST
|
The GDAL library may be the root cause of the offset for the AIG format. There help documents state "Supported GDAL Raster Formats: Supported by GDAL for read access. "This format is the internal binary format for Arc/Info Grid, and takes the form of a coverage level directory in an Arc/Info database. To open the coverage select the coverage directory, or an .adf file (such as hdr.adf) from within it. ... The projections supported (read if a prj.adf file is available) is quite limited." Checking now with the GDAL folks if the projection we are using is supported.
... View more
12-11-2017
09:36 AM
|
0
|
3
|
1145
|
|
POST
|
If you have a standalone license installed you should go to ArcGIS Administrator and Deauthorize your license. Then you would use the same ECP number you have (you saved it, right?) to relicense the software after installation. Have you tried a 'repair' on ArcGIS Desktop from Control Panel | Programs? Should do that first over a complete uninstall/reinstall.
... View more
12-08-2017
01:05 PM
|
0
|
2
|
1884
|
|
POST
|
In ArcGIS Pro you can be licensed (1) via AGOL Named User, (2) standalone, or (3) concurrent use. Based on your question it appears you are getting your license from ArcGIS Online based on you AGOL user account. Can you go to https://www.arcgis.com/home/signin.html and sign-in directly? Something to check, when you start ArcMap in Windows 10 in the tray (next to your time and date) there is a 'Show hidden icons' karat, click this and right click on the ArcGIS Connection 'Properties' icon -which looks like a small globe. When you do this one option is to Run Connection tests. You need to pass the Proxy and Download Speed test to have valid connectivity. IF the download test Failed then you are not getting outside your network to the AGOL portal. Also, the free trial is only good for 21-Days... Now, if your office already owns concurrent-use licensing for ArcGIS Desktop Basic, Advanced, or Standard then they own the same number of ArcGIS Pro licenses. I suggest you have your license server admin provision your Pro licenses, load them onto your concurrent use license manager. Then when you install Pro correctly you will never have to login to ArcGIS Online. When installing ArcGIS Pro in this fashion the command line is: ArcGISPro.msi ALLUSERS=1 ENABLEEUEI=0 ESRI_LICENSE_HOST=<your license server> SOFTWARE_CLASS=Viewer AUTHORIZATION_TYPE=CONCURRENT_USE
... View more
12-08-2017
09:50 AM
|
1
|
1
|
4436
|
|
POST
|
Are you sure the tbl2_INS_Date a date field? Also if you need to be exact you should look at what date you are getting (i.e., UTC vs. Local). If you are working against a sql database you may need to use DATEDIFF() in the WHERE statement of your Select (e.g., in Select by Attribute window) DATEDIFF(day, INS_DATE, GETDATE()) < 91 This works with ArcGIS Desktop 10.5.1 and SQL 2014 database. rich
... View more
12-07-2017
04:40 PM
|
1
|
2
|
1758
|
|
POST
|
If a name is set for a parameter the name is available for interrogation. You could do this. paramName = parm0.name You could write a function to search for a given name and return the parameter index. See http://pro.arcgis.com/en/pro-app/arcpy/classes/parameter.htm and http://pro.arcgis.com/en/pro-app/arcpy/functions/getparameter.htm for more information. along the lines of: def getParamByName(pName): iArgCount= arcpy.GetArgumentCount() # Note, a pIndex of -1 indicates parameter not found pIndex= -1 iCount=0 while (iCount<iArgCount): param=arcpy.GetParameter(iCount) if param.name==pName: pIndex=iCount iCount=iCount+1 return pIndex;
... View more
12-07-2017
03:46 PM
|
1
|
2
|
3669
|
|
POST
|
We used the Gold Add Data button and navigated to the data.
... View more
12-06-2017
03:25 PM
|
0
|
7
|
2425
|
|
POST
|
Just found out that when the user (with the problem) loads the raster's into ArcMap it is shown as a AIG format. AIG turns out to be a ArcGIS Binary Grid (AIG) format -which I have never heard of. When other people load the same data is appears as GRID in the layer properties vs. AIG.
... View more
12-06-2017
03:11 PM
|
0
|
1
|
2425
|
| Title | Kudos | Posted |
|---|---|---|
| 8 | 2 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 06-17-2026 08:21 AM | |
| 1 | 06-15-2026 08:41 AM | |
| 1 | 06-10-2026 08:40 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|