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

2009-10-21 Thread M. Emch

Hi

Look at my page at http://wiki.openstreetmap.org/wiki/User:Memch

Maybe i can help.

Martin


Andy Robinson (blackadder-lists) wrote:
 
 Hi folks,
 
 You are perhaps aware that we have some more out of copyright mapping
 available (for the UK) and that the set-up on the new dev box will permit
 other out of copyright map series (extensive areas rather than individual
 maps) to be tiled and uploaded similarly.
 
 There is one small fly in the ointment currently in that TimSC's WMS code
 (php) is currently set up to work just off z14 tiles. For the 1:25,000
 scale
 mapping I've been uploading I'm creating z15 and z16 tiles. These work
 fine
 in potlatch but because the z14 tiles are being used for the WMS, JOSM
 users
 are missing out on all the lovely detail. There is also the wish to get
 the
 code using the various zoom tiles appropriately across the range as each
 map
 series is likely to have a different zoom range available.
 
 TimSC is tight for time to look at this but happy to answer questions, so
 we
 are looking for anyone else who fancies a challenge to get these great new
 map tiles available for JOSM users (and other map series as they come
 along).
 
 The WMS code is available on dev via svn at:
 sites/ooc.openstreetmap.org/wms
 
 Cheers
 
 Andy  
 
 
 
 
 ___
 dev mailing list
 dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/dev
 
 

-- 
View this message in context: 
http://www.nabble.com/Out-of-copyright-WMS-offering---looking-for-assistance-tp25939609p25998280.html
Sent from the OpenStreetMap - Dev mailing list archive at Nabble.com.


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-19 Thread Steve Hosgood
Andy Robinson (blackadder-lists) wrote:
 Oh, and I forgot the most important issue. The plug-in is looking for png's
 when the ooc map tiles are all jpgs.

 Cheers

 Andy

   

Must they be .jpgs? You'll get a lot of sharp edge artefacts using the 
.jpg format on a map. In theory at least (and in practice whenever I've 
done it) .png will give better results on material such as that.


Steve




___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-19 Thread Andy Robinson (blackadder-lists)
Steve Hosgood wrote:
Sent: 19 October 2009 9:39 AM
To: dev@openstreetmap.org
Cc: 'josm-dev'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Andy Robinson (blackadder-lists) wrote:
 Oh, and I forgot the most important issue. The plug-in is looking for
png's
 when the ooc map tiles are all jpgs.

 Cheers

 Andy



Must they be .jpgs? You'll get a lot of sharp edge artefacts using the
.jpg format on a map. In theory at least (and in practice whenever I've
done it) .png will give better results on material such as that.


Bear in mind these are printed maps, not rasterised vector maps. We tried
with png but you can get much lower file size without loosing too much
definition with the jpg's.

Now, if someone wants to spend the time proving me wrong they are welcome to
a an original scan to try it.

Cheers

Andy


Steve




___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-19 Thread Steve Hosgood

Andy Robinson (blackadder-lists) wrote:

Steve Hosgood wrote:
  

Sent: 19 October 2009 9:39 AM
To: dev@openstreetmap.org
Cc: 'josm-dev'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Andy Robinson (blackadder-lists) wrote:


Oh, and I forgot the most important issue. The plug-in is looking for
  

png's


when the ooc map tiles are all jpgs.

Cheers

Andy


  

Must they be .jpgs? You'll get a lot of sharp edge artefacts using the
.jpg format on a map. In theory at least (and in practice whenever I've
done it) .png will give better results on material such as that.




Bear in mind these are printed maps, not rasterised vector maps. We tried
with png but you can get much lower file size without loosing too much
definition with the jpg's.

  

That's OK then. You've done the tests, you've got your results.


Now, if someone wants to spend the time proving me wrong they are welcome to
a an original scan to try it.

  


:-)

No - you've done the tests and in this case evidently .jpg wins. I'm 
surprised, but I've seen that happen before. I suppose it depends on 
just how sharp the sharp edges were on your images.


Steve.



___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-19 Thread Matt Williams
2009/10/19 Andy Robinson (blackadder-lists) ajrli...@googlemail.com:
 Steve Hosgood wrote:
Sent: 19 October 2009 9:39 AM
To: dev@openstreetmap.org
Cc: 'josm-dev'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Must they be .jpgs? You'll get a lot of sharp edge artefacts using the
.jpg format on a map. In theory at least (and in practice whenever I've
done it) .png will give better results on material such as that.


 Bear in mind these are printed maps, not rasterised vector maps. We tried
 with png but you can get much lower file size without loosing too much
 definition with the jpg's.

 Now, if someone wants to spend the time proving me wrong they are welcome to
 a an original scan to try it.

I assume you've run something like optipng [1] over the images. I've
found with complex images you can get quite a size decrease with
'optipng -o7 *.png'. However, if the size of the images at present is
ok, there's no need to change anything. The quality looks fine as it
is.

On another note, in my tests I managed to reduce the size of the
default Mapnik tiles by about 5% but I guess that reduction is small
since they've already been slightly optimised.

-- 
Matt Williams
http://milliams.com

[1] http://optipng.sourceforge.net

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-18 Thread Andy Robinson (blackadder-lists)
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.

Cheers

Andy

-Original Message-
From: Frederik Ramm [mailto:frede...@remote.org]
Sent: 17 October 2009 5:14 PM
To: Andy Robinson (blackadder-lists)
Cc: dev@openstreetmap.org; 'Tim Sheerman-Chase'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Hi,

Andy Robinson (blackadder-lists) wrote:
 There is one small fly in the ointment currently in that TimSC's WMS code
 (php) is currently set up to work just off z14 tiles.

AFAIK OJW once had a WMS that ran off OSM tiles of any zoom level?

Anyway you don't need a WMS to use your tiles in JOSM - there is a
slippy map plugin that loads tiles. It is currently subject to
discussion and might be rewritten or integrated into JOSM, but that
doesn't mean that it does not work - the plugin is also the basis for
the Walking Papers plugin for JOSM.

Bye
Frederik


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-18 Thread Andy Robinson (blackadder-lists)
Oh, and I forgot the most important issue. The plug-in is looking for png's
when the ooc map tiles are all jpgs.

Cheers

Andy

-Original Message-
From: Andy Robinson (blackadder-lists) [mailto:ajrli...@googlemail.com]
Sent: 18 October 2009 11:57 AM
To: 'Frederik Ramm'
Cc: 'dev@openstreetmap.org'; 'josm-dev'
Subject: RE: [OSM-dev] Out of copyright WMS offering - looking for
assistance

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.

Cheers

Andy

-Original Message-
From: Frederik Ramm [mailto:frede...@remote.org]
Sent: 17 October 2009 5:14 PM
To: Andy Robinson (blackadder-lists)
Cc: dev@openstreetmap.org; 'Tim Sheerman-Chase'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Hi,

Andy Robinson (blackadder-lists) wrote:
 There is one small fly in the ointment currently in that TimSC's WMS
code
 (php) is currently set up to work just off z14 tiles.

AFAIK OJW once had a WMS that ran off OSM tiles of any zoom level?

Anyway you don't need a WMS to use your tiles in JOSM - there is a
slippy map plugin that loads tiles. It is currently subject to
discussion and might be rewritten or integrated into JOSM, but that
doesn't mean that it does not work - the plugin is also the basis for
the Walking Papers plugin for JOSM.

Bye
Frederik


___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-18 Thread Andy Robinson (blackadder-lists)
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.

Cheers

Andy

-Original Message-
From: Frederik Ramm [mailto:frede...@remote.org]
Sent: 17 October 2009 5:14 PM
To: Andy Robinson (blackadder-lists)
Cc: d...@openstreetmap.org; 'Tim Sheerman-Chase'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Hi,

Andy Robinson (blackadder-lists) wrote:
 There is one small fly in the ointment currently in that TimSC's WMS code
 (php) is currently set up to work just off z14 tiles.

AFAIK OJW once had a WMS that ran off OSM tiles of any zoom level?

Anyway you don't need a WMS to use your tiles in JOSM - there is a
slippy map plugin that loads tiles. It is currently subject to
discussion and might be rewritten or integrated into JOSM, but that
doesn't mean that it does not work - the plugin is also the basis for
the Walking Papers plugin for JOSM.

Bye
Frederik


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-10-18 Thread Andy Robinson (blackadder-lists)
Oh, and I forgot the most important issue. The plug-in is looking for png's
when the ooc map tiles are all jpgs.

Cheers

Andy

-Original Message-
From: Andy Robinson (blackadder-lists) [mailto:ajrli...@googlemail.com]
Sent: 18 October 2009 11:57 AM
To: 'Frederik Ramm'
Cc: 'd...@openstreetmap.org'; 'josm-dev'
Subject: RE: [OSM-dev] Out of copyright WMS offering - looking for
assistance

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.

Cheers

Andy

-Original Message-
From: Frederik Ramm [mailto:frede...@remote.org]
Sent: 17 October 2009 5:14 PM
To: Andy Robinson (blackadder-lists)
Cc: d...@openstreetmap.org; 'Tim Sheerman-Chase'
Subject: Re: [OSM-dev] Out of copyright WMS offering - looking for
assistance

Hi,

Andy Robinson (blackadder-lists) wrote:
 There is one small fly in the ointment currently in that TimSC's WMS
code
 (php) is currently set up to work just off z14 tiles.

AFAIK OJW once had a WMS that ran off OSM tiles of any zoom level?

Anyway you don't need a WMS to use your tiles in JOSM - there is a
slippy map plugin that loads tiles. It is currently subject to
discussion and might be rewritten or integrated into JOSM, but that
doesn't mean that it does not work - the plugin is also the basis for
the Walking Papers plugin for JOSM.

Bye
Frederik


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-10-18 Thread Andy Robinson (blackadder-lists)
Dave Hansen [mailto:d...@sr71.net] wrote:
Sent: 18 October 2009 8:41 PM
To: Andy Robinson (blackadder-lists)
Cc: d...@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



___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-10-18 Thread Dave Hansen
On Sun, 2009-10-18 at 21:11 +0100, Andy Robinson (blackadder-lists)
 Here are the jars:
 
  http://daveh.dev.openstreetmap.org/josm/20091018/
 
 I'll give it a try, thanks.

I just tried with your tiles and it has a jpg vs. png issue.  I'll fix
it and post another set shortly.

 
 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.

Cool.

-- Dave


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


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

2009-10-17 Thread Andy Robinson (blackadder-lists)
Hi folks,

You are perhaps aware that we have some more out of copyright mapping
available (for the UK) and that the set-up on the new dev box will permit
other out of copyright map series (extensive areas rather than individual
maps) to be tiled and uploaded similarly.

There is one small fly in the ointment currently in that TimSC's WMS code
(php) is currently set up to work just off z14 tiles. For the 1:25,000 scale
mapping I've been uploading I'm creating z15 and z16 tiles. These work fine
in potlatch but because the z14 tiles are being used for the WMS, JOSM users
are missing out on all the lovely detail. There is also the wish to get the
code using the various zoom tiles appropriately across the range as each map
series is likely to have a different zoom range available.

TimSC is tight for time to look at this but happy to answer questions, so we
are looking for anyone else who fancies a challenge to get these great new
map tiles available for JOSM users (and other map series as they come
along).

The WMS code is available on dev via svn at: sites/ooc.openstreetmap.org/wms

Cheers

Andy  




___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev


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

2009-10-17 Thread Frederik Ramm
Hi,

Andy Robinson (blackadder-lists) wrote:
 There is one small fly in the ointment currently in that TimSC's WMS code
 (php) is currently set up to work just off z14 tiles. 

AFAIK OJW once had a WMS that ran off OSM tiles of any zoom level?

Anyway you don't need a WMS to use your tiles in JOSM - there is a 
slippy map plugin that loads tiles. It is currently subject to 
discussion and might be rewritten or integrated into JOSM, but that 
doesn't mean that it does not work - the plugin is also the basis for 
the Walking Papers plugin for JOSM.

Bye
Frederik

___
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev