x

Re: Worldwide routable Garmin maps: URL REMOVED


Geschrieben von Lambertus (Gast) am 28. Januar 2010 13:45:47: [flux]

Als Antwort auf: Worldwide routable Garmin maps: URL REMOVED geschrieben von Lambertus (Gast) am 08. März 2009 14:41:

Thank you, I'll start testing it and adapt the website to accept the country definitions.

Edit:
I've started working on the website. One of the changes is a new method of loading the tile definition KML file which dramatically reduces the loading time (13 seconds for the current version vs 1-2 seconds for the new dev version). I do seem to run into a bug in OpenLayers where the style of vector feature is lost on zooming (so you can't see which tiles you've selected once you zoom in or out). I hope to be able to work around this.

Greencaps, I do have another feature request for matchit: Can the country polys be placed in subdirectories who's name is also used in the resulting XML (You can drop JSON support, I don't think I'll be using it)?

e.g. countries/Europe/Netherlands.poly
translates into:
<?xml version="1.0" encoding="UTF-8"?>
<countries lang="en">
<continent name="Europe">
<country name="Netherlands">
<tile name="" nr="63455666"/>
<tile name="" nr="63455667"/>
</country>
</continent>
</countries>

(the tile name tag could be filled in some other day (each tile has a name according to the biggest city it contains)

As I envision it now, each continent will translate into a pulldown selection box in the website (so there will be about 6 pulldown selection next to each other above the map). This should allow users to quickly select their country.