Ahoj.

Již více než týden mi nefunguje stahování nových dlaždic pro tracer.
Končí to chybou, jejíž příčinou je zřejmě Internal server error na
wms.cuzk.cz. Zajímavé je, že stahování dlaždic pro JOSM funguje bez
problémů.

Webserver běží na portu 5050. Stiskni klávesu ESC pro ukončení.
- trace/simple/49.14195589793455;15.03522251791661
http://wms.cuzk.cz/wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/png&LAYERS=kn&BBOX=15.0340,49.1420,15.0360,49.1447&WIDTH=1600&HEIGHT=2160
System.ArgumentException: A null reference or invalid value was found [GDI+ 
status: InvalidParameter]
  at System.Drawing.GDIPlus.CheckStatus (Status status) [0x00000] in <filename 
unknown>:0 
  at System.Drawing.Image.InitFromStream (System.IO.Stream stream) [0x00000] in 
<filename unknown>:0 
  at System.Drawing.Bitmap..ctor (System.IO.Stream stream, Boolean useIcm) 
[0x00000] in <filename unknown>:0 
  at System.Drawing.Bitmap..ctor (System.IO.Stream stream) [0x00000] in 
<filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Bitmap:.ctor 
(System.IO.Stream)
  at Osm.Kn.Trace.Server.Wms.TileDownloader.Download 
(Osm.Kn.Trace.Server.Wms.Tile tile) [0x00000] in <filename unknown>:0 
  at Osm.Kn.Trace.Server.Wms.TileDownloader.Get (Osm.Kn.Trace.Server.Wms.Tile 
tile) [0x00000] in <filename unknown>:0 
  at Osm.Kn.Trace.Server.Server.CreateBitmap (Osm.Kn.Trace.Server.Wms.Tile[,] 
tiles, Int32 resolution) [0x00000] in <filename unknown>:0 
  at Osm.Kn.Trace.Server.Server.TraceCommand (PointGeo point, IExporter 
exporter) [0x00000] in <filename unknown>:0 
  at Osm.Kn.Trace.Server.Server.webServer_GetContent (System.Object sender, 
Osm.Kn.Trace.Server.WebServer.GetDataEventArgs e) [0x00000] in <filename 
unknown>:0 
sb@utx:~> wget 
'http://wms.cuzk.cz/wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/png&LAYERS=kn&BBOX=15.0340,49.1420,15.0360,49.1447&WIDTH=1600&HEIGHT=2160'
--2011-02-28 13:05:20--  
http://wms.cuzk.cz/wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/png&LAYERS=kn&BBOX=15.0340,49.1420,15.0360,49.1447&WIDTH=1600&HEIGHT=2160
Překládám wms.cuzk.cz… 195.245.209.169, 2a00:1028:101:100::7:1
Navazuje se spojení s wms.cuzk.cz|195.245.209.169|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 285 [text/xml]
Ukládám do: 
„wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image%2Fpng&LAYERS=kn&BBOX=15.0340,49.1420,15.0360,49.1447&WIDTH=1600&HEIGHT=2160“.

100%[======================================================================================================================================================================================>]
 285         --.-K/s   za 0s      

2011-02-28 13:05:21 (27,4 MB/s) – 
„wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image%2Fpng&LAYERS=kn&BBOX=15.0340,49.1420,15.0360,49.1447&WIDTH=1600&HEIGHT=2160“
 uloženo [285/285]

sb@utx:~> cat 
wms.asp\?service\=WMS\&VERSION\=1.1.1\&REQUEST\=GetMap\&SRS\=EPSG\:4326\&FORMAT\=image%2Fpng\&LAYERS\=kn\&BBOX\=15.0340\,49.1420\,15.0360\,49.1447\&WIDTH\=1600\&HEIGHT\=2160
 
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE ServiceExceptionReport SYSTEM 
"http://wms.cuzk.cz/wmsdtd/1.1.1/WMS_exception_1_1_1.dtd";>
<ServiceExceptionReport version="1.1.1">
  <ServiceException>Internal server error</ServiceException>

Stejná chyba nastane, i když použiji přímo IP adresy i když shodím IPv6.

-- 

________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx


_______________________________________________
Talk-cz mailing list
Talk-cz@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-cz

Odpovedet emailem