WMS/WGS84 problem

46 views
Skip to first unread message

Roland Pallai

unread,
Apr 23, 2013, 5:15:39 PM4/23/13
to tiles...@googlegroups.com
Hi,

In short .. version: TileStache-1.47.3, my config:

{
  "cache":
  {
    "name": "Test",
    "path": "/tmp/stache",
    "umask": "0000"
  },
  "layers":
  {
        "hft-stuttgart-contour-lines":
        {
                "projection": "WGS84",
                "provider": {
                        "name": "url template",
                        "template": "http://geoweb.hft-stuttgart.de/cgi-bin/mapserv?map=/var/www/SRTM/test.map&FORMAT=image/gif&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=Contourlinien10&STYLES=&WIDTH=$width&HEIGHT=$height&SRS=EPSG:4326&BBOX=$xmin,$ymin,$xmax,$ymax"
                }
        }
}

The URL in browser: http://...:8080/hft-stuttgart-contour-lines/preview.html#14/47.9005/18.9168

The request sent by Tilestache to the WDS server: GET /cgi-bin/mapserv?map=/var/www/SRTM/test.map&FORMAT=image/gif&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=Contourlinien10&STYLES=&WIDTH=256&HEIGHT=256&SRS=EPSG:4326&BBOX=-80.5517578125,27.3449707031,-80.5407714844,27.3559570312 HTTP/1.1

Seems like, BBOX coordinates are wrong here. What is the problem..?


Thank you in advice.

Michal Migurski

unread,
Apr 24, 2013, 11:00:46 AM4/24/13
to tiles...@googlegroups.com
On Apr 23, 2013, at 2:15 PM, Roland Pallai wrote:

> The URL in browser: http://...:8080/hft-stuttgart-contour-lines/preview.html#14/47.9005/18.9168
>
> The request sent by Tilestache to the WDS server: GET /cgi-bin/mapserv?map=/var/www/SRTM/test.map&FORMAT=image/gif&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&LAYERS=Contourlinien10&STYLES=&WIDTH=256&HEIGHT=256&SRS=EPSG:4326&BBOX=-80.5517578125,27.3449707031,-80.5407714844,27.3559570312 HTTP/1.1
>
> Seems like, BBOX coordinates are wrong here. What is the problem..?

They look like degrees, but you're right that they are very wrong.

I'll try to investigate today, WGS84 is not something I use much myself.

-mike.

----------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html




Reply all
Reply to author
Forward
0 new messages