POST
|
The SDK is now available at Home · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
10-29-2015
12:39 PM
|
0
|
0
|
289
|
POST
|
Thank you for the reply. At step 4, this option should always be enabled. I shouldn't have to enable the option to be enabled. But this did work, I can now see the option. However, when I try to share, it states that my gp tool is not licensed. Clicking on the help does not help An analyzer message of error 00089 happens when a tool which is not supported in the ArcGIS Runtime is attempted to be packaged. You cannot package this tool. You will need to modify your workflow to include different tool(s). An informative analyzer message of 00089 indicates which license level of the ArcGIS Runtime is required. Ensure the consumers of your package will have the proper license level when extracting and using your geoprocessing package. My tool is very simple, and really only a stub of a GP Tool. The code for the tool is returning true for is licensed. Thanks!
... View more
11-17-2011
08:16 AM
|
0
|
0
|
661
|
POST
|
After following the documentation here and here, we are unable to create a gpk for use within the Runtime. We encountered the following issues when trying to use the python tools: The documentation states that you can specify the save location for the gpk as just the file name, but we found that you must provide the full path to the file location. The same is true for the location of the GP result file. using IDLE python IDE the provided sample from the docs crashes After much trial and error trying to get the PackageResult parameters correct, it stated that any tool (we tried the existing Reverse Geocode and our custom GP tool) was not licensed for packaging We were able to create a gpk from ArcMap using the Share As tool, but this does not allow for Runtime access. There needs to be a way to create a package for Runtime within ArcMap not using Python.
... View more
11-16-2011
12:59 PM
|
0
|
4
|
5727
|
POST
|
.Net offers the ability to override the Equals(obj) method for a reason. And that is so that you do not have to be explicit with types. The Silverlight team did a great job by allowing a user to compare to different geometries, but the work was not complete. As is mentioned in the article that Dave points to, if you implement IEquatable, you also need to override the base Equals method. This is also the best way to implement equality checking. If for whatever reason you do not want to override Equals, then the base class (Geometry) should implement the same interface so you can compare two geometries. This method would be abstract.
... View more
12-06-2010
01:26 PM
|
0
|
0
|
401
|
POST
|
The problem is that the specific Geometries use the IEquatable Equals but Geometry does not. In order to find a matching Geometry, I should not have to do the following:
Graphic graphicToRemove = Layer.Graphics.FirstOrDefault(g =>
(g.Geometry != null) && (g.Geometry.GetType() == graphic.Geometry.GetType()) &&
((g.Geometry is MapPoint) && (g.Geometry as MapPoint).Equals(graphic.Geometry as MapPoint)) ||
((g.Geometry is Envelope) && (g.Geometry as Envelope).Equals(graphic.Geometry as Envelope)) ||
((g.Geometry is Polygon) && (g.Geometry as Polygon).Equals(graphic.Geometry as Polygon)) ||
((g.Geometry is MultiPoint) && (g.Geometry as MultiPoint).Equals(graphic.Geometry as MultiPoint)) ||
((g.Geometry is Polyline) && (g.Geometry as Polyline).Equals(graphic.Geometry as Polyline)) ||
g.Geometry.Equals(graphic.Geometry));
if (graphicToRemove != null)
{
Layer.Graphics.Remove(graphicToRemove);
}
I have to check every single type of Geometry. I should be able to do the following:
Graphic graphicToRemove = Layer.Graphics.FirstOrDefault(g =>
(g.Geometry != null) && g.Geometry.Equals(graphic.Geometry));
If a new type gets added, I then have to change my code to account for the new type.
... View more
12-02-2010
09:05 AM
|
0
|
0
|
401
|
POST
|
When comparing two Geometries of the same type (eg MapPoint) with the base class Geometry, the Equals method returns incorrect value. Example:
MapPoint p = new MapPoint(12345,67890);
Geometry p1 = Geometry.Clone(p);
p.Equals(p1); //Returns false
(p as MapPoint).Equals(p1 as MapPoint); //Returns true Both of these should return true. After all "objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program" - Liskov substitution principle.
... View more
12-01-2010
10:20 AM
|
0
|
5
|
2671
|
POST
|
Morten, Yes I noticed the following line this morning: DataContext="{StaticResource MyEditor}" Sorry for the confusion!
... View more
09-28-2010
05:28 AM
|
0
|
0
|
150
|
POST
|
Hello, The Edit Tools - Auto/Explicit Save interactive samples are demonstrating the use of MVVM within the xaml, however the ViewModel is not shown. The Code Behind tab shows the code behind for the page, but lacks the file where the code actually is. Could you please update these samples. Thanks!
... View more
09-27-2010
02:59 PM
|
0
|
2
|
491
|
POST
|
Are there any plans to get this to work? Or is there a work around?
... View more
08-13-2010
11:13 AM
|
0
|
0
|
387
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|