POST
|
Have you ever used Attributes Assistant? Its an addin for ArcMap that might be able to solve your use case. It performs calculations on features after an edit, but you can also run manual updates/calculations on selected features. It does take a little bit of configuration but its well worth the time. Attribute Assistant | ArcGIS Solutions
... View more
12-06-2017
09:45 AM
|
1
|
0
|
274
|
IDEA
|
When I import an mxd, it usually creates a map - Called Layers (whatever the dataframe was named) and a layout named the same as the mxd. Sometimes I just want the map, sometimes I want the layout, sometimes but not always I want both. Maybe import Map could be a gp tool with the options of "What to import" as a parameter. Thoughts?
... View more
11-02-2017
07:44 AM
|
3
|
0
|
394
|
POST
|
I created a pretty simple tool that does this. It looked something like this: using System.Threading.Tasks;
using System.Diagnostics;
using ArcGIS.Desktop.Mapping;
using ArcGIS.Desktop.Framework.Threading.Tasks;
using ArcGIS.Core.Geometry;
namespace ProAddins
{
internal class OpenStreetviewTool : MapTool
{
protected override void OnToolMouseDown(MapViewMouseButtonEventArgs e)
{
if (e.ChangedButton == System.Windows.Input.MouseButton.Left)
e.Handled = true; //Handle the event args to get the call to the corresponding async method
}
protected override Task HandleMouseDownAsync(MapViewMouseButtonEventArgs e)
{
return QueuedTask.Run(() =>
{
// Convert the clicked point in client coordinates to the corresponding map coordinates.
MapPoint mapPoint = MapView.Active.ClientToMap(e.ClientPoint);
// convert to lon/lat
MapPoint coords = (MapPoint)GeometryEngine.Instance.Project(mapPoint, SpatialReferences.WGS84);
// open a web browser
string url = string.Format("http://maps.google.com/?cbll={0},{1}&cbp=12,90,0,0,5&layer=c", coords.Y, coords.X);
Process.Start(url);
});
}
}
} You also need some daml config. I added it to the map navigation toolbar:
<updateModule refID="esri_mapping">
<groups>
<updateGroup refID="esri_mapping_navigateGroup">
<insertTool refID="ProAddins_OpenStreetviewTool" size="large" />
</updateGroup>
</groups>
</updateModule> Also I just published the addins: Release First Public Release of the Addin tool collection · roemhildtg/arcgis-pro-addins · GitHub The streetview tool is bundled in with some other buttons so you might want to build it yourself with out the beacon tool, for instance.
... View more
10-20-2017
12:45 PM
|
12
|
14
|
17119
|
POST
|
You may be able to use the popupViewModel to help out with this, though I haven't done that before. That's an interesting idea, I'll have to look into that a bit. It would be ideal since, I don't want to have to re-write all of the popup positioning logic that comes with the api.
... View more
10-18-2017
08:01 AM
|
0
|
2
|
757
|
POST
|
> Could you go into more detail about this? So, I'm rendering a component using Canjs into the popup. Its similar to how a react component works.The first time the template is viewed, it works well, even panning the map despite the dom node getting removed/inserted. But if I switch features and go back into the feature I previously visited, the template does not get rendered correctly. I'm assuming you might see the same thing with your event handler, if you toggle back and fourth between features, does it still work? I don't have a test case for this but that's what I'm seeing in my app.
... View more
10-10-2017
10:06 AM
|
0
|
4
|
757
|
POST
|
Running into a couple of popup issues new in 4.5 api version. If I have a simple popup content function that returns a domnode, the domnode is refreshed every time the popup moves. This isn't a big deal for simple popup contents, but if I have a 3rd party javascript library working in the popup, it breaks because the element is removed/reinserted. https://codepen.io/anon/pen/WZJaBj?editors=0010 Anyone have some suggestions on how to workaround this?
... View more
10-10-2017
08:21 AM
|
0
|
6
|
1288
|
POST
|
burwelbo did you ever figure out your issue with poor performance? I am looking for advice on troubleshooting this also.
... View more
06-12-2017
11:47 AM
|
0
|
0
|
265
|
IDEA
|
Hi Katie, our most used rules are: AUTONUMBER - we generate a unique id for each of our assets when they are created. This is so we can link inspection records to them using a foreign key FROM_JUNCTION_FIELD/TO_JUNCTION_FIELD/INTERSECTING_FEATURE - every pipe is linked to its from and to structure so various attributes can be shared through table joins. In addition, intersecting feature is used to link feature classes like parking spaces, to their parking lot boundary id, etc. I sometimes also use the intersecting feature rule to quickly populate a field, rather than doing a spatial join -> export -> join -> calculate field, its much easier to set up an attributes assistant rule and run it on a field. LAST_VALUE - used very frequently in many different fields and layers to populate the value that was last entered in the current edit session TIMESTAMP - update date created/modified
... View more
04-26-2017
05:53 AM
|
3
|
1
|
4063
|
POST
|
The issue I had was related to the text field size. Some of the tables were brought over from Access tables and had the field type "text" which equates to a very large text length in the arcgis equivalent. I created a new field with a shorter length (500 characters) and field calculated the data over to solve the problem.
... View more
03-21-2017
06:49 AM
|
4
|
0
|
394
|
POST
|
I haven't had any luck. For now I'm sticking with regular tiles, since I am unable to create a vector tile scheme with more zoom levels.
... View more
02-10-2017
11:03 AM
|
0
|
4
|
1683
|
IDEA
|
This functionality would be widget specific, meaning each widget would need to implement this. It would be more beneficial to the community if you described exactly what searches you would like to perform and any other potential widgets that might benefit from using query string parameters. The cmv search widget supports this already, so perhaps that code could be implemented into a custom wab widget also. cmv-widgets/README.md at master · tmcgee/cmv-widgets · GitHub
... View more
01-25-2017
11:21 AM
|
0
|
0
|
269
|
POST
|
Just a side note and potential workaround: While dynamic layers definition queries are not working, feature layer queries still are working so if you set up your feature layer to point to the dynamic mapserver url and add the layer id to the end, you can provide a where clause to the feature layer. new FeatureLayer('/arcgis/rest/services/myservice/MapServer/0', {
definitionExpression: 'myField = \'value\'';
});
... View more
01-25-2017
07:59 AM
|
0
|
2
|
765
|
Title | Kudos | Posted |
---|---|---|
1 | 01-19-2017 12:10 PM | |
1 | 01-25-2017 05:40 AM | |
1 | 12-06-2017 09:45 AM | |
1 | 01-11-2017 07:19 AM | |
1 | 01-11-2017 08:44 AM |
Online Status |
Offline
|
Date Last Visited |
12-29-2022
04:29 PM
|