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

ArcMap addin not creating KMZ features when using Save As. #119

Closed pshowalter closed 8 years ago

pshowalter commented 8 years ago

In ArcMap, when using Save As for Lines, Circle, Ellipse, and Rings, a KMZ file of 1KB is produced, but nothing displays when added to GE. ArcMap Data frame is in Web Mercator.

topowright-zz commented 8 years ago

@pshowalter IS this a projection issue or a tool error? I have seen @dhagens create a KMZ and load a KMZ no problem. Can you elaborate on this a bit more?

pshowalter commented 8 years ago

After creating 2 Circles (for Example). Click Save As, Select KML radio button, Name the file "Wednesday_Circles", the Save as type is set to KMZ File (*.kmz). Save the same 2 circles to GDB. Convert the GDB circles to KML using Layer to KML (which creates a KMZ file). To examine contents of KML, rename both KMZ files to .zip, then unzip into folders. Each folder has a Doc.kml. Examine the contents of each using text editor.. The one that was processed using Distance Direction tool to KML has about 4 lines of kml and no coordinate info for the circles. The one that was processed using GP Tool - Layer to KML will have 158 lines with of coordinate info representing the circles. Each KML file included below (renamed to .txt for Github compatibility. Adding the DD results to GE shows no features. Adding the Layer to KML to GE shows 2 circles.

layer_gdb_kml_doc.txt dd_tool_kml_doc.txt

topowright-zz commented 8 years ago

@dhagens do you think you can take a look at this. Is this a true bug?

dhagens commented 8 years ago

I cannot reproduce the issue. Will work with @pshowalter to see how he got this to fail.

dhagens commented 8 years ago

I'm not sure what's going on on @pshowalter machine but this functionality works everywhere else. I tested Line, Circle, Ellipse, and Range Rings and all worked fine on my machine using both a PCS and GCS basemap. @jmccausland also tested on his machine with no issues. @mcalamito also tested on his machine and had no issues. I will close this bug.