Monday, 11 July 2011

Working through conversion from KML to SVG using XSLT - Sample results

Working through conversion from KML to SVG using XSLT - Sample results

I am posting 3 figures to show the results so far.

The first figure is a screenshot of converted SVG file loaded in Inkscape. It is a simple path object. 



The second figure shows a KML file with Asia and Africa map contours is converted SVG file loaded in Inkscape. It is a more complex path. Its transformation of latitude is not correct, although all KML coordinates (longitude and latitude) are converted to x and y values of SVG path objects.


The third figure shows correct latitude transformation. It is a SVG file converted from a the same KML as in the second figure, but using an online kml2svg converter. (http://kml2svg.free.fr/)



What I will do is to fix the latitude transformation. 


I am adding one more figure as below. It is the original KML file viewed in Google Map.


No comments:

Post a Comment