Esri / distance-direction-addin-dotnet

Add-in provides the ability to easily and quickly create geodesy lines, circles, ellipses and range rings.
Apache License 2.0
17 stars 22 forks source link

Distance and Direction - Save As not exporting relevant fields (ArcGIS Pro) #299

Closed lfunkhouser closed 7 years ago

lfunkhouser commented 7 years ago

From @ACueva on January 17, 2017 23:47

Expected Behavior

I should see exactly what the addin displays:

1-17-2017 3-46-46 pm

Starting Point Ending Point Distance/ Lenght Angle

Current Behavior

Save As- Export to Feature Class 1-17-2017 3-38-26 pm

Save As - Shapefile 1-17-2017 3-41-40 pm

Possible Solution

Steps to Reproduce (for bugs)

  1. Create a line using map tool.
  2. Click Save As
  3. Select either Feature Class or Shapefile
  4. Explore (identify) item

Context

I believe we have all this information, why not export it so the customer can use it?

Your Environment

ArcGIS Pro 1.4

Copied from original issue: Esri/military-tools-for-arcgis#91

lfunkhouser commented 7 years ago

@ACueva Is this happening in ArcMap also?

ACueva commented 7 years ago

@lfunkhouser Just tested in ArcMap. Yes, same behavior. I'll log an issue.

ACueva commented 7 years ago

Update: Save As to Feature Class does work. Shapefile does not export attributes. KMZ is doing its own thing. 2017-05-10_10-29-47

dfoll commented 7 years ago

with build 1474 these fields are being added to feature class and shapefile. Still at 1474, some of the kmz are seemingly randomly getting corrupted, however the ones that did work did not have the fields added

pHill5136 commented 7 years ago

added attributes to shapefile please verify. pr: https://github.com/Esri/distance-direction-addin-dotnet/pull/387

dfoll commented 7 years ago

attributes are carrying over and populating ok for feature class and shapefile for lines rings circles and ellipses. still could not get any of them to produce a valid kmz #329 . Case has been created with Tech Support. Esri Case #1933479. See issue for more details on the kmz #329 issue until tech support opens a bug will update once tech support opens an issue.

pHill5136 commented 7 years ago

please verify kmz. Now reprojecting shapefile from which kmz is derived to 4326. pr: https://github.com/Esri/distance-direction-addin-dotnet/pull/392

NatalieCampos commented 7 years ago

@pHill5136 The reproject seems to have worked. There are still some issues.

  1. KMZs saved from rings do not have attributes. (Circles, Ellipses, and Lines do have attributes)

  2. My lines are named lines.kmz. When I bring in the lines.kmz file to Pro, Pro names them LInes_proj. Can you remove the _proj? image

  3. Saving to KMZ produces 2 extra shape files. Is it possible to delete these files after the kmz is created? image

pHill5136 commented 7 years ago

please verify. pr: https://github.com/Esri/distance-direction-addin-dotnet/pull/394

NatalieCampos commented 7 years ago

@pHill5136 the extra shp files are still being left behind. Can these be removed?

NatalieCampos commented 7 years ago

@pHill5136 there is still an issue with name of the file as it is brought into pro... image

NatalieCampos commented 7 years ago

additionally I am totally unable to save rings out to kmz

image seems to only be kmz on build 1509

dfoll commented 7 years ago

This issue needs to be broken into two different issues. This will be done by @NatalieCampos .

topowright-zz commented 7 years ago

I have verified that this works using build 05-31-2017_1540