ranathunga / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

fales easting and northing for KML layer #424

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am trying to superimpose the local cadastral boundaries onto my district on 
GoogleEarth.
I have the cadastral information as a .shp file in ArcView 3.0 (ancient 
version, I know)
and I have the extension DoGoogle (shape2KML.avx), which takes the highlighted 
layer and converts it to
.kml format and exports it to GE as a Temporary Places file.

This all works OK, except for the fine positioning, which needs adjusting by a 
small amount
in the northing and easting, to account for the local stretching of 
photographic rectification.

I can adjust the projection in ArcView to have False Easting and Northing, and 
it seems to
adjust the view in ArcView, but this doesn't translate to the view in GE.

I can't expect anyone to help with ArcView, but is there a way to finely adjust 
the placement
of a .kml file in GE ? I would have thought people would have this kind of 
problem all the time.

The intuitive way to do it would be to right-click on the layer, Properties > 
View >
and adjust False Easting and False Northing in the dialog.

I have looked at the KML file in Notepad++, but there are 3,882 lines to adjust 
so that is impractical.
What I need is a couple of new tags inserted:
<Document>
<Folder>
<name>xxxx.shp</name>
<FalseE>-0.0014</FalseE>
<FalseN>-0.0009</FalseN>
<Placemark>
<LineString>
<coordinates>
    146.103161,-17.86622,0 146.103138,-17.866408,0 146.10271,-17.866373,0 146.102733,-17.866185,0 146.103161,-17.86622,0
                              </coordinates>
with the FalseE and FalseN adjustments applied to all the coordinates.
Or any other ideas ?

Original issue reported on code.google.com by dave.kim...@gmail.com on 25 May 2012 at 5:52