BLOG
|
Leslie Fountain wrote: ... >>Will the original data of all old posts will be migrated successful? Can you specify what you mean by original data of old posts? If it regards metrics or engagement data (like views and bookmarks), all data will reset in the new platform as mentioned in the blog above. The original date a post or reply was published will be retained, as will the number of likes (called Kudos in the new platform). In general and as a response to feedback from community members about the presence of old content, content created before 2018 and with low views (less than 100) will be archived from community view (not deleted), as stated in the FAQ posted above . Re: Before 2018 and less than 100 -- I hope that there's an easy way to search and get results from both the active posts and the archive. The topics that address most of the questions I have tend to have low views and are sometimes older. I'm also hoping one of the "Cleaner User Interface" items will be to make searching within a particular group/place, less clicks. I always found the searching mechanism awkward on the current GeoNet. Thanks for all the details about the transition and looking forward to seeing how it turns out!
... View more
08-30-2020
09:13 PM
|
1
|
0
|
1748
|
POST
|
Thanks for following up Uma! My workflow goal is to react to an event when the active map changes to a different map (as opposed to changes to another pane that represents the same map -- e.g. clicking on an Attribute Table). This roughly corresponds to knowing when the values in the Contents pane change Some examples of when I'd like to react: On Map A, Click Map B -- raises event On Map A, Click an Attribute Table from A -- no event On Map A, Click an Attribute Table from B -- raises event On Attribute Table from A, Click Map A -- no event On Attribute Table from A, Click Attribute Table from B -- raises event On Map A, Click Catalog pane -- no event (because no active map) This would ideally apply to all panes that have an active map, including Layouts, Fields, etc. Originally I was using ActiveMapViewChangedEvent, but (similar to the issue linked above), I was getting too many events, when switching to attribute tables (first to null, then to the new map). For a while I was handling ActivePaneChangedEvent, and extracting the Map URI separately depending on what type of pane it was. Unfortunately the Map doesn't always exist at the time of Pane changed. As a result, I switched back to ActiveMapViewChanged, but added a class-level variable to track to last non-empty URI. Now, I'm able to raise the different-map event when the incoming IncomingView's Map's URI is different than the last non-empty URI. private void OnActiveMapViewChanged ( ActiveMapViewChangedEventArgs args ) { var inURI = args . IncomingView ? . Map ? . URI ; if ( ! string . IsNullOrWhiteSpace ( inURI ) && string . Compare ( _lastUri , inURI , true ) != 0 ) // Raise my different-map event if ( ! string . IsNullOrWhiteSpace ( inURI ) ) _lastUri = inURI ; } Which is working somewhat better, but still seems to have a few inconsistencies. Is this a good approach? Do you have any other recommendations? Thanks again!
... View more
08-13-2020
08:58 AM
|
0
|
1
|
41
|
POST
|
I noticed some quirky behavior with getting the MapURI out of certain panes. I'm using ArcGIS Pro 2.2.4. Based on https://community.esri.com/message/911800-activemapviewchanged-event-fires-twice#comment-914434, I was getting the related Map's URI from an attribute table pane. . . . ActivePaneChangedEvent . Subscribe ( OnActivePaneChanged ) ; . . . private void OnActivePaneChanged ( PaneEventArgs args ) { var inPane = args . IncomingPane as TOCActiveMapViewProviderPane ; var inURI = inPane ? . MapURI ; } When initially loaded, sometimes inPane?.MapURI is empty ("") even when inPane is not null. Later in the same program, it may return the correct value. The little experimentation I've done so far, shows having a "(" in the FeatureLayer's alias seemed to lead to the empty initial MapURI value. 1) Has anyone else seen this? 2) Are there any more details on when this should and shouldn't work? or how to work around it? Thanks much! possibly related to this note from: https://community.esri.com/message/875696-re-drag-drop-into-a-dockpane?commentID=875696#comment-875696 //last, get the source map to which the map members belong var mapuri = dropInfo . GetMapUri ( ) ; //99 times out of a 100 this will be the active view map.... //but, if not, get the actual map (or scene) this way var map = FrameworkApplication . Panes . OfType < IMapPane > ( ) ? . Select ( mp = > mp . MapView . Map ) . Where ( m = > m . URI == mapuri ) . First ( ) ;
... View more
08-10-2020
06:00 PM
|
0
|
3
|
100
|
POST
|
Thanks Uma! I'm sorry to hear that. Hopefully in a future version... For now, do you have any other suggestions for how to keep temporary (like overlay) 2D lines/polygons visible when drawn in a scene with an elevation surface?
... View more
03-26-2020
02:44 PM
|
0
|
3
|
83
|
POST
|
When one is adding geometry (particularly polygon or line, optionally point) overlays (example in ProSnippets: Graphic Overlay ) to a scene they often get obscured by the elevation surface. Is there a way to drape overlay geometries over elevation surface, like it does when added as a feature to a layer (see " 2D layers (drawn on a surface) " examples from Operational Layers) ? Thanks much! (Somewhat related to How to build a 3D Marker symbol display on a scene)
... View more
03-10-2020
01:52 PM
|
0
|
6
|
284
|
POST
|
Is there a way to programmatically put the focus (blue rectangle) on the Current XY coordinate system, while Show VCS (ShowVerticalCoordinateSystems) is true? Thanks! Goal: (achieved here by clicking the rectangle under current XY with the mouse) from sample (@ v2.3): arcgis-pro-sdk-community-samples/Geometry/CoordinateSystemDialog at master · Esri/arcgis-pro-sdk-community-samples · Git…
... View more
10-01-2019
01:25 PM
|
0
|
0
|
85
|
BLOG
|
This seems like a useful set of resources. For convenience, could you link the relevant videos (maybe even from a few years past) to the corresponding pages of Pro-SDK's GitHub Wiki ?
... View more
07-19-2019
08:56 AM
|
0
|
0
|
34
|
POST
|
Thanks Melita! Thank you for catching the typo. Yes, line 25 should be projecting point3 not point1. I've corrected my code above and reran my sample, but I still get the same result //s4 = "X: 10 Y: 20 Z: 300 M: NaN" Should point4 have also converted from vertical yards to meters? - Justin
... View more
06-27-2019
02:15 PM
|
0
|
1
|
46
|
POST
|
In the following code sample, why does point2/s2 change its values after being projected, but point4/s4 does not? How do I get point4's coordinates to change? The transformation property is null for both projTrans1 and projTrans3. Thanks! QueuedTask . Run ( ( ) = > { string wkt1 = "GEOGCS[\"GCS_WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Grad\", 0.01570796326794897]]" ; string wkt2 = "GEOGCS[\"GCS_WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Degree\", 0.0174532925199433]]" ; string wkt3 = "GEOGCS[\"GCS_WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Degree\", 0.0174532925199433]]," + "VERTCS[\"WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PARAMETER[\"Vertical_Shift\", 0.0], PARAMETER[\"Direction\", 1.0], UNIT[\"Yard\", 0.9144]]" ; string wkt4 = "GEOGCS[\"GCS_WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PRIMEM[\"Greenwich\", 0.0], UNIT[\"Degree\", 0.0174532925199433]]," + "VERTCS[\"WGS_1984\", DATUM[\"D_WGS_1984\", SPHEROID[\"WGS_1984\", 6378137.0, 298.257223563]], PARAMETER[\"Vertical_Shift\", 0.0], PARAMETER[\"Direction\", 1.0], UNIT[\"Meter\", 1.0]]" ; SpatialReference pSR1 = SpatialReferenceBuilder . CreateSpatialReference ( wkt1 ) ; SpatialReference pSR2 = SpatialReferenceBuilder . CreateSpatialReference ( wkt2 ) ; SpatialReference pSR3 = SpatialReferenceBuilder . CreateSpatialReference ( wkt3 ) ; SpatialReference pSR4 = SpatialReferenceBuilder . CreateSpatialReference ( wkt4 ) ; MapPoint point1 = MapPointBuilder . CreateMapPoint ( 10 , 20 , 300 , pSR1 ) ; MapPoint point3 = MapPointBuilder . CreateMapPoint ( 10 , 20 , 300 , pSR3 ) ; ProjectionTransformation projTrans1 = ProjectionTransformation . Create ( pSR1 , pSR2 , point1 . Extent ) ; ProjectionTransformation projTrans3 = ProjectionTransformation . CreateWithVertical ( pSR3 , pSR4 , point3 . Extent ) ; MapPoint point2 = ( MapPoint ) GeometryEngine . Instance . ProjectEx ( point1 , projTrans1 ) ; MapPoint point4 = ( MapPoint ) GeometryEngine . Instance . ProjectEx ( point3 , projTrans3 ) ; string s2 = $ "X: {point2.X} Y: {point2.Y} Z: {point2.Z} M: {point2.M}" ; string s4 = $ "X: {point4.X} Y: {point4.Y} Z: {point4.Z} M: {point4.M}" ; // s2 = "X: 9 Y: 18 Z: 300 M: NaN" // s4 = "X: 10 Y: 20 Z: 300 M: NaN" } ) ;
... View more
06-26-2019
12:17 PM
|
0
|
3
|
122
|
POST
|
If one was both 1) projecting a 3D MapPoint (using transformations -- potentially both horizontal and vertical) and 2) shifting its Z height vertically Does it matter which order the steps occur in?
... View more
06-04-2019
09:14 AM
|
0
|
0
|
60
|
Online Status |
Offline
|
Date Last Visited |
4 weeks ago
|