[OSM-dev] [josm-dev] Out of copyright WMS offering - looking for assistance

Andy Robinson (blackadder-lists) ajrlists at googlemail.com
Sun Oct 18 21:11:15 BST 2009


Dave Hansen [mailto:dave at sr71.net] wrote:
>Sent: 18 October 2009 8:41 PM
>To: Andy Robinson (blackadder-lists)
>Cc: dev at openstreetmap.org; 'josm-dev'
>Subject: Re: [josm-dev] [OSM-dev] Out of copyright WMS offering - looking
>for assistance
>
>On Sun, 2009-10-18 at 12:04 -0700, Dave Hansen wrote:
>> On Sun, 2009-10-18 at 11:57 +0100, Andy Robinson (blackadder-lists)
>> wrote:
>> > Alas I don't seem to bale able to make the slippy plugin work for these
>OOC
>> > tiles. Part of the problem seems to be that the plugin insists on
>> > downloading tiles even if I have the auto_download set to false, and
>> > secondly it seems to retry the same tile if the tile is not present and
>> > hence it just continue to retry this tile over and over again without
>> > aborting. Since we only have tiles for some areas this stops the thing
>> > working.
>>
>> Hi Andy.  I've been hacking on that plugin a lot lately.  It's probably
>> my fault that it ignores the auto_download thing.
>>
>> I'm switching all of that code over to the JMapViewer code so that we
>> can use its caching code.  That's going to necessitate rewriting the
>> stuff that keeps track of tile sources.  At the moment, I've removed the
>> ability to add your own custom sources.  I'd be happy to add your new
>> tiles source if you can give me the URL, though.
>>
>> I'll also work on the jpg vs. png issue once I have some tiles that are
>> in jpg. :)
>
>OK, well here's a quick hack to try out.  It should obey the
>auto-loading preference if specified.  You can also add custom map
>sources by editing your prefs file and adding entries like this:
>
>slippymap.custom_tile_source_name1=Mapnikcopy
>slippymap.custom_tile_source_url1=http://tile.openstreetmap.org
>
>You can add several as long as you end the names with 1, 2, 3...
>
>Here are the jars:
>
>	http://daveh.dev.openstreetmap.org/josm/20091018/

I'll give it a try, thanks.


>
>Does anyone care about having a gui to add custom sources?  I'm not sure
>how common it is for people to need that.

Mostly these can I think be hard coded as and when they come up (or for the
hardened mapper added manually). Mostly a new set of tiles are only going to
come along periodically I'd have thought.

>
>-- Dave






More information about the dev mailing list