Modify

Opened 10 years ago

Closed 8 years ago

Last modified 8 years ago

#10236 closed enhancement (wontfix)

imagerycache should also create database files for WMS services

Reported by: rickmastfan67 Owned by: akks
Priority: normal Milestone:
Component: Plugin imagerycache Version: latest
Keywords: wms Cc:

Description

I just recently added a WMS tile imagery service to my copy of JOSM, but the imagerycache plugin doesn't store the images in a database file like it's TMS counterparts. Thus, it makes it hard to cleanup all the seperate image files from a totally different place where I store the imagery database files for quick access to delete when needed.

So, can WMS imagery sources gain access to the imagerycache's ability to merge all the image files into one database as well? Would save me time/file space and make them easy to cleanup.

Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2014-07-06 01:36:19
Last Changed Author: Don-vip
Revision: 7291
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2014-07-05 18:38:07 +0200 (Sat, 05 Jul 2014)
Last Changed Rev: 7291

Identification: JOSM/1.5 (7291 en) Windows 7 64-Bit
Memory Usage: 370 MB / 1820 MB (233 MB allocated, but free)
Java version: 1.7.0_55, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
VM arguments: [-Xmx2048M]
Dataset consistency test: No problems found

Plugin: ImageryCache (30416)
Plugin: OpeningHoursEditor (30416)
Plugin: buildings_tools (30485)
Plugin: measurement (30416)
Plugin: mirrored_download (30495)
Plugin: notes (v0.9.2)
Plugin: osmarender (30416)
Plugin: reverter (30436)
Plugin: turnrestrictions (30454)
Plugin: undelete (30416)
Plugin: utilsplugin2 (30460)

Attachments (0)

Change History (6)

comment:1 by akks, 10 years ago

I guess this is not so "critical" :)
I noticed the ticket and try to look. With the fixed WMS zoom levels implemented, this can be possible.

comment:2 by akks, 10 years ago

Priority: criticalnormal

comment:3 by akks, 10 years ago

After looking at the code: adding WMS support is possible but hard enough to do in free 15 min. WMSCache class alternative is to be written from scratch (no common part with TMS loaders), core changes for replacing WMSCache are also needed.

Let us leave this ticket open...

Last edited 10 years ago by akks (previous) (diff)

comment:4 by rickmastfan67, 10 years ago

HAHA, yeah, I know it's not that 'critical', but when you find out that the WMS source you were using left behind 500MB+ of data in several small files unlike all the TMS imagery sources when using this plugin, you'd understand why I initially made it as 'critical'. ;) Takes awhile sometimes to delete 500MB of files when they are all really small files sometimes. ;)

comment:5 by akks, 10 years ago

I understand :) I hope me or someone else will add the missing code at last (working on Gpx classes now).
For now you can try to use WMS as TMS: http://whoots.mapwarper.net/

comment:6 by rickmastfan67, 8 years ago

Resolution: wontfix
Status: newclosed

Marking this as 'wontfix' since the plugin has been depreciated and something similar is now in 'core'.

Last edited 8 years ago by rickmastfan67 (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain akks.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.