[OSM-dev] Deeplink for Potlatch Custom Background

Dave Stubbs osm.list at randomjunk.co.uk
Sun Sep 27 12:09:05 BST 2009

On Sat, Sep 26, 2009 at 7:24 PM, M. Emch <nomorebigfoot at gmx.ch> wrote:
> Hi Richard
> Thanks for fast answer! I have still some problems. I encoded this
> http://integrate.ch/app/tile.php?layer=ams250&z=!&x=!&y=! here:
> http://www.whatsmyip.org/stringencoder/
> Then i got this:
> http%3A%2F%2Fintegrate.ch%2Fapp%2Ftile.php%3Flayer%3Dams250%26z%3D%21%26x%3D%21%26y%3D%21
> When i call this in browser:
> http://www.openstreetmap.org/edit?lat=31.6026&lon=-5.5894&zoom=13&tileurl=http%3A%2F%2Fintegrate.ch%2Fapp%2Ftile.php%3Flayer%3Dams250%26z%3D!%26x%3D!%26y%3D!
> Then only this is entered in the "Custom Background" field:
> http://integrate.ch/app/tile.php?layer=ams250
> There is something wrong with url encode/decode? How to proper encode that?

I think it's currently broken. You have to double encode the &s for it to work.


More information about the dev mailing list