Modify

Opened 17 months ago

Last modified 7 months ago

#19336 new enhancement

Implement WMS server

Reported by: simon04 Owned by: team
Priority: normal Milestone:
Component: Core remotecontrol Version:
Keywords: wms server Cc:

Description

JOSM has the OSM data, JOSM has the rendering styles, JOSM already has an HTTP server. Thus, JOSM could implement a WMS server to render the current dataset in the current style in the requested bounds as image

  • /wms?SERVICE=WMS&REQUEST=GetCapabilities
  • /wms?SERVICE=WMS&REQUEST=GetMap

Attachments (1)

19336-poc.patch (12.2 KB) - added by simon04 7 months ago.

Download all attachments as: .zip

Change History (2)

Changed 7 months ago by simon04

Attachment: 19336-poc.patch added

comment:1 Changed 7 months ago by simon04

attachment:19336-poc.patch​ is a very very initial proof of concept.

It returns a static GetCapabilities files, and for GetMap renders the current map view. The crucial part to solve is to render exactly the requested ProjectionBounds; this is somewhat tricky since RenderingHelper and company is very focused around center and scale. Let's see...

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to simon04
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.