Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When i draw a polygon using the OpenLayers.Control.DrawFeature then i export that polygon to KML using OpenLayers.Format.KML. Though, when I open it in google earth there is a big difference between the areas the polygon crosses even though the vertices of that polygon are exactly the same.

WHY? How would i go about getting an accurate output to KML?

enter image description here

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Could it be just an issue with projection? Are your line's 2 endpoints in the "right" place on both maps? If so, maybe you should put more intermediary points along the way to "help" the line be in the right place in any projection.

share|improve this answer
    
Yes, the line endpoints are in the "right" place. I guess that's what i'm going to have to do. –  CaptDragon Dec 2 '11 at 14:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.