Opened 13 years ago

Closed 9 years ago

Last modified 9 years ago

#5454 closed enhancement (wontfix)

Limit number of WMS requests per a given amount of time

Reported by: Miellino <stefano.tampieri@…> Owned by: team
Priority: normal Milestone: 15.08
Component: Core imagery Version: tested
Keywords: wms Cc:

Description (last modified by Don-vip)

Is possible to add an advanced option that limit the download of wms tiles to a max number ?

Italian PCN has the limit of 70 tiles until 10 minutes before ban, after that if you have a fixed ip your banned until they unlock.

I didn't ask a timer but only an alert to remind me that I have downloaded 70 tiles and that I must wait some times.

Attachments (0)

Change History (8)

comment:1 by stoecker, 13 years ago

Component: CoreCore imagery

comment:2 by stoecker, 13 years ago

Ticket #5234 has been marked as a duplicate of this ticket.

comment:3 by Don-vip, 11 years ago

Description: modified (diff)
Summary: WmsPlugin max number of tilesLimit number of WMS requests per a given amount of time

comment:4 by wiktorn, 9 years ago

Milestone: 15.06

comment:5 by Don-vip, 9 years ago

Milestone: 15.0615.07

skip milestone 15.06

comment:6 by wiktorn, 9 years ago

In 8526/josm:

Introduce WMS layer based on TMS. (closes: #11255)

HEADS UP: After this patch you need to manually remove JAX-B generated file/class: org/w3/_2001/xmlschema/ to compile the tree again.

  • create AbstractTileSourceLayer based on TMSLayer as a base for TMS, WMS and (future) WMTS layers, (addresses #11459)
  • WMS layer now uses JCS Caching (closes: #7363)
  • introduce new conversion methods in TileSource, that convert both X and Y (lat and lon) in one call. This is necessary for other than PseudoMercator projections
    • introduce TileXY class that represents X and Y indexes of tile in tile matrix/space
    • mark old conversion methods as deprecated
    • refactor JMapViewer and JOSM to new methods
    • change use of Coordinate class to ICoordinate where appropiate
  • extract CachedAttributionBingAerialTileSource to separate file
  • create TemplatedWMSTileSource that provides the WMS Layer with square (according to current projection) tiles (closes: #11572, closes: #7682, addresses: #5454)
  • implemented precaching imagery along GPX track for AbstractTileSourceLayer, so now it work for both - WMS and TMS (closes: #9154)
  • implemented common righ-click menu on map view, as well on layer list (closes #3591)
  • create separate build commands for JMapViewer classes to easily spot, when josm classes are used within JMapViewer
  • remove unnecessary classes of previous WMS implementation - GeorefImage, wms-cache.xsd (and JAXB task from build), WMSCache, WMSRequest, WMSGrabber, HTMLGrabber, WMSException

comment:7 by wiktorn, 9 years ago

Resolution: wontfix
Status: newclosed

What you can do right now, is just to set quite big tile size, and this way - reduce the number of requests. Also new caching mechanism helps a lot in this area too.

but I don't think, that tile-download-counter has a wider user than your particular use case.

comment:8 by Don-vip, 9 years ago

Milestone: 15.0715.08

Milestone renamed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
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.