New issue 18 by trent.millar: Exported KML polygon coordinates don't match
actual overlay
http://code.google.com/p/geodatastore/issues/detail?id=18
What steps will reproduce the problem?
1. I added three simple polygons in the Admin tab. Two in Vancouver Canada
and one in Newfoundland canada.
2. I exported & download the complete KML file for testing in google earth
& a test harness html file
3.
What is the expected output? What do you see instead?
EXPECTED-> The exact coordinate points as I plotted on the Admin tab.
ACTUAL-> I imported the KML into both google earth & overlayed it on a test
html page using google maps. In google earth the shapes don't even render
on the globe & a popup bubble for the selected polygon always originates
off the google earth map view? In my test page the overlayed polygons are
no where to be found on the map?
What version of the product are you using? On what operating system?
I am running the vanilla revision 29 off the main trunk...no modifcations
were made.
The project is hosted on the appspot.com environment.
Please provide any additional information below.
I entered the Lat/Long into maps.google.com the results for a subset of my
polygon points were located in France & also the Antarctic.
You can view the project in question at
http://propertygoblin.appspot.com/admin
I will attach the KML and a screen shot of my polygons so you can see the
discrepancies.
Attachments:
request.kml 2.6 KB
2262010_110251 AM.jpg 261 KB
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Actually I was now able to include one of my polygons into google earth, so
I can
verify the Lat/Longs are not wrong as I mentioned in the bug. However I had
to add a
polygon into gEarth then export it to kml, then edit the kml by overwriting
the
coordinates with the ones in my original exported kml from geodatastore.
I suppose my issue is now really that I can't simply import the generated
kml into
gEarth without first:
creating a valid polygon in gEarth then exporting it as a kml file.
opening my original geodatastore export and copying the <coordinates> node
that I
overwrite into the gEarth kml.
I would love to have the necessary supplemental nodes added to the export
functionality of geodatastore so that it opens and renders in gEarth.
The delta's made underneath the <PlaceMark> node are:
added @/StyleUrl
added @/Polygon/tesselate
added @/Polygon/OuterBoundaryIs/LinearRing