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 , 16 years ago
comment:2 by , 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/)
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.