[Users] wms capabilities request error with url encoding utf-8

Hajime TANAKA hajime at geoid.jp
Fri Jan 20 10:28:57 CET 2012


Hello list,

I am trying to load MapServer WMS from GeoExt
http://library.geo.jp/GeoExt/examples/wms-capabilities.html

Loading WMS layers list is successful, but by double clicking the row,
it only shows blank map panel.

I guess the request url encoding is not good.

I added
  <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
to the html, also
"wms_encoding" "utf-8"
to mapfile METADATA part

When I inspect the elements,
FORMAT:image%252Fpng (encoded:image%2Fpng, I think this should be image/png)
CRS:EPSG%253A4326 (encoded:EPSG%3A4326, I think this should be EPSG:4326)
That gives
msWMSLoadGetMapParams(): Image handling error. Unsupported output
format (image%2Fpng).

Since I am using Japanese, UTF-8 is convenient.
I am happy if someone give me a solution.

Best regards,

Hajime Tanaka
http://geoid.jp


More information about the Users mailing list