Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

BUG-000120038 The Military Tools Distance and Direction tool does not work in a .mxd file if it contains data projected to British National Grid. #666

Closed
lfunkhouser opened this issue Feb 24, 2019 · 6 comments

Comments

@lfunkhouser
Copy link
Member

Salesforce ID: BUG-000120038
Salesforce Submitter: Margaret Maher
Salesforce Submit Date: 2/12/2019 3:37 AM
Salesforce Bug Type: Failure/Error
Salesforce Severity: Medium
Repro Data: \\esri.com\sf_filestore\PRD\Attachments\Defects\BUG-000120038
Work Around: (n/a)
Product: ArcGIS for Desktop
Functional Category: ArcGIS for Defense
Client Platform: (n/a)
Version Found: 10.6.1
Planned Version Fixed: (n/a)
Comment: (n/a)
@BobBooth
Copy link
Contributor

It looks as though most of the DD tools do work - the exception seems to be Lines with the Distance and Direction construction method, when the data frame contains (not just set to) BNG data:
British_National_Grid
WKID: 27700 Authority: EPSG
Projection: Transverse_Mercator
False_Easting: 400000.0
False_Northing: -100000.0
Central_Meridian: -2.0
Scale_Factor: 0.9996012717
Latitude_Of_Origin: 49.0
Linear Unit: Meter (1.0)

Name: GCS_OSGB_1936
Angular Unit: Degree (0.0174532925199433)
Prime Meridian: Greenwich (0.0)

Datum: D_OSGB_1936

Spheroid: Airy_1830
Semimajor Axis: 6377563.396
Semiminor Axis: 6356256.909237285
Inverse Flattening: 299.3249646

@lfunkhouser lfunkhouser transferred this issue from Esri/military-tools-desktop-addins Jun 19, 2019
@dfoll
Copy link
Collaborator

dfoll commented Jul 22, 2019

copied from BUG-000120038

Synopsis:

The Military Tools Distance and Direction tool does not work in a .mxd file if it contains data projected to British National Grid.

Steps to Repro:

  1. Open "Copy_of_ESRI Sample Map.mpk", which contains several layers of data, including one layer, OS_Open_Raster basemap, which is projected to British National Grid (BNG).
    In the Distance and Direction dialog, attempt to create a line. This will not work, with the raster projected to BND in the map document.

  2. Open "ESRI Sample map remove openraster.mpk" from which the OS_Open_Raster basemap has been removed.
    Using the Distance and Direction dialog, you will find that you can create lines all over the map, and save to a shapefile or geodatabase feature class.

  3. Open "ESRI Sampe map add BNG layer.mpk" which contains a vector layer gb_counties_BNG.shp.

Again, with data in the map projected to British National Grid, a Distance and Direction line cannot be created.
I added this vector data, to confirm that the problem was with the British National Grid coordinate system, and not the raster basemap.

DD_issue666_sample_data.zip

@dfoll
Copy link
Collaborator

dfoll commented Aug 9, 2019

@CTLocalGovTeam is having some issues repro-ing this issue. it is requested that our team confirm it can be reproduced.

@dfoll dfoll added the CT-Awaiting response Waiting for feedback from Esri team member label Aug 9, 2019
@dfoll dfoll self-assigned this Aug 9, 2019
@dfoll
Copy link
Collaborator

dfoll commented Aug 16, 2019

As written I could not repro this by explicitly following the steps. We have seen a known limitation in the past when dealing with graphics and changing the data frame coordinate system on versions 10.5.1- 10.7. If there are some other implied steps for this repro case that were not explicitly stated, this is likely related/the same issue.

If the problem is meant to be reproducible with the explicit steps given above, the ArcGIS for Defense team will need more information to fix this.

Internal issues where this core limitation manifested itself:
Visibility #327
Distance and Direction #527

@dfoll
Copy link
Collaborator

dfoll commented Aug 16, 2019

I will be reaching out to Margaret to get more info

@dfoll
Copy link
Collaborator

dfoll commented Aug 19, 2019

I reached out to Margaret and she vaguely remembered working on this issue, but did not recall specifics. We could not repro together. the only case we could repro was when we changed the coordinate system of the data and encountered this core issue. I zipped up a map package that is saved in British National Grid, showing that if you don't have to change the data frame (all the examples given start in Web Mercator) the issue is not reproducible.

I think this should be closed as non-reproducible.

Updated_DD_issue_sample_data.zip

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants