Friday, July 21, 2017

World map via svg

One thing I've been meaning to do for a long time, was write my own code to view various simply geographic data. I found some maps brought in as SVG geometry and wrote a viewer and parser for it. Took a bit longer than what I thought, as I didn't properly read the SVG format, and is also a reminder that I really need to learn ANTR better, couldn't really figure out how to match text with Arrays instead of Lists. The next step is to map these points to Longitude/Latitude values. The distortion of this (probably Mecator) projection makes Greenland look huge. I will have to look at projecting this data to a different system.


No comments:

Post a Comment