Modify

Opened 16 years ago

Closed 16 years ago

#3329 closed defect (fixed)

wmsplugin: {srs} in url not being replaced

Reported by: Cobra Owned by: team
Priority: normal Milestone:
Component: Core imagery Version: latest
Keywords: Cc:

Description

I tried adding a wms by using the url with the placeholders described in sources.cfg. All other placeholders were replaced by the appropriate values, only {srs} was sent like this to the server:

...REQUEST=GetMap&LAYERS=0&SRS={srs}&BBOX=...&WIDTH=500&HEIGHT=500&FORMAT=image/png...
(captured by wireshark)

Attachments (0)

Change History (3)

comment:1 by plaicy, 16 years ago

I have not tested it but according to sources: Maybe "proj" instead of "srs" help. If this is right, the documentation of sources.cfg is wrong. All other not recognized values should be left unchanged, too.

comment:2 by Cobra, 16 years ago

You're right, this works fine. By looking at the code I could have figured this out for myself (why didn't I do? noone knows.)

But the main issue still exists; can somebody correct the text in sources.cfg? (line 33: s/srs/proj/)

comment:3 by stoecker, 16 years ago

Resolution: fixed
Status: newclosed

In [o17298].

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.