Layer to KML

4562
19
01-26-2017 07:20 AM
AnthonyPratt1
New Contributor

I am having issues with the Layer to KML tool since the recent update to ArcGIS Pro 1.4.  Before I was able to export data with no issues in referencing in Google Earth. Now when i export, it puts the data in an unknown location that I cannot even see it (Near Africa in the ocean when it should be in Colorado).  I have tried changing the projection with no success.  Any ideas? 

Edit: I have attached the layer file below. 

Edit2: Try again!

Tags (1)
0 Kudos
19 Replies
KevinHibma
Esri Regular Contributor

I dont get a crash following those steps. I attached the KML that followed those steps (projected, symbolized on zone_ and turned into KML).

If the crash file is under 5mb, could you email it to me? You'd find it here:

C:\Users\USER NAME\AppData\Local\ESRI\ErrorReports

0 Kudos
AnthonyPratt1
New Contributor

It is smaller.  Where can I find your email address? 

0 Kudos
KevinHibma
Esri Regular Contributor

My bad - khibma@esri.com

0 Kudos
ClaudiaCaceres4
New Contributor II

Hello, I am having the same error. We have the data in WGS84 and the reference is completely wrong. It appears in Africa. Can someone please help me.

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

Define Projection of the feature class to GCS_WGS_1984. Currently, it seems you have defined a Projected Coordinate System where the XY coordinate values should have been in Decimal Degrees (or DMS).



Think Location
0 Kudos
SoerenNedergaard
New Contributor

Seems to be the same problem here. And my coordinate system is WGS84... The KML file content is not decimal degrees. Is KML valid with non decimal degrees coordinates ?

Brg

Soeren

0 Kudos
JayantaPoddar
MVP Esteemed Contributor

Could you attach a sample KML file here or in a new thread, so that we could review it?



Think Location
0 Kudos
SoerenNedergaard
New Contributor

Yes,

I have two layers with same GCS WGS 1984, one with polygon and one layer with points. Export to KML deliver two different output coordinate systems.

Examples and the KML file content:

Export of Points: 

<Point>
<altitudeMode>clampToGround</altitudeMode>
<coordinates> 6.987022714000034,49.76743587300007,0</coordinates>
</Point>

And polygon:

<Polygon>
<extrude>0</extrude> <altitudeMode>clampToGround</altitudeMode>
<outerBoundaryIs><LinearRing><coordinates> 822511.8876194507,6483793.03864447,0 822511.8876194507,6483885.804929197,0 822419.1213347204,6483885.804929197,0 822419.1213347204,6483793.03864447,0 822511.8876194507,6483793.03864447,0</coordinates></LinearRing></outerBoundaryIs>
</Polygon>

I'm currently running Pro 1.4 - resistant to upgrade, and upgrades does now download right now...

Any idea why this is happening ?

Searched other posts, and did comment on one that sounded similar to my problem. Why is this even a problem, the output to KML is supposed to be in decimal degrees as i understand, or am i wrong ? Im not at all a GIS professional, so i might miss the obvious here...

brg


Soeren

0 Kudos
SoerenNedergaard
New Contributor

Side note, it seems to follow coordinate system in the extent settings, what GCS is this.?

0 Kudos
SoerenNedergaard
New Contributor

I manually upgrade to ArcGIS Pro 2.0. I cannot reproduce the problem.

0 Kudos