[Talk-cz] Tracer - nastavení

Jan Bilak jan.bilak.osm na gmail.com
Neděle Únor 28 12:33:15 UTC 2010


Ahoj,

omlouvám se za chyby ... opravenou verzi jsem dal na stejné místo.

Honza


2010/2/28 Jan Bilak <jan.bilak.osm na gmail.com>:
> Ahoj,
>
> díky za reakci ... zítra (nebo možná ještě teď večer) se kouknu, v čem
> je problém. Mimochodem zkoušíš to na Windows nebo pod Monem?
>
> Honza
>
>
> Dne 28. února 2010 2:21 MP <singularita na gmail.com> napsal(a):
>> On 27/02/2010, Jan Bilak <jan.bilak.osm na gmail.com> wrote:
>>> Ahoj,
>>>
>>>  přidal jsem podporu nějakého nastavení TraceServeru:
>>>  http://jabi.aspone.cz/osm/TraceServerBeta5.zip
>>
>> Tak jsem to zkusil a nefunguje to, hází to jakousi exception kvůli
>> nenalezenému filtru:
>>
>>>     <filter name="SmallHoleRemover" />
>>
>> Pokud tuhle řádku v defaultním konfiguráku nezakomentuju, hází mi to
>> tuhle chybu:
>>
>> $ mono Osm.Kn.Trace.Server.exe
>> EXPERIMENTALNI VERZE (2)
>>
>> Plugin dir is /m/e/p/josm/tracer/plugins.
>> Plugin SmallHoleRemover.dll loaded.
>>
>> Unhandled Exception: System.Collections.Generic.KeyNotFoundException:
>> The given key was not present in the dictionary.
>>  at System.Collections.Generic.Dictionary`2[System.String,System.Type].get_Item
>> (System.String key) [0x00000]
>>  at Osm.Kn.Trace.Server.Wms.BitmapFilterManager.AddFilter
>> (System.String name, IDictionary`2 parameters) [0x00000]
>>  at Osm.Kn.Trace.Server.Config.LoadBitmapFilters () [0x00000]
>>  at Osm.Kn.Trace.Server.Server.Start () [0x00000]
>>  at Osm.Kn.Trace.Server.Program.Main (System.String[] args) [0x00000]
>>
>> Bez téhle řádky to sice jde spustit, ale pak to hází tuhle chybu:
>>
>> - trace/simple/50.10415000432744;14.36878225455269
>> http://wms.cuzk.cz/wms.asp?service=WMS&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:4326&FORMAT=image/pn
>>
>> g&LAYERS=kn&BBOX=14.3660,50.1040,14.3680,50.1067&WIDTH=1600&HEIGHT=2160
>> System.NullReferenceException: Object reference not set to an instance
>> of an object
>>  at Osm.Kn.Trace.Server.Config.get_Treshold () [0x00000]
>>  at Osm.Kn.Trace.Server.Wms.TileDownloader.Download
>> (Osm.Kn.Trace.Server.Wms.Tile tile) [0x00000
>>             ]
>>  at Osm.Kn.Trace.Server.Wms.TileDownloader.Get
>> (Osm.Kn.Trace.Server.Wms.Tile tile) [0x00000]
>>  at Osm.Kn.Trace.Server.Server.CreateBitmap
>> (Osm.Kn.Trace.Server.Wms.Tile[,] tiles, Int32 resolution) [0x00000]
>>  at Osm.Kn.Trace.Server.Server.TraceCommand (PointGeo point,
>> IExporter exporter) [0x00000]
>>  at Osm.Kn.Trace.Server.Server.webServer_GetContent (System.Object
>> sender, Osm.Kn.Trace.Server.WebServer.GetDataEventArgs e) [0x00000]
>>
>> ... takže ta nová verze vlastně nefunguje ....
>>
>> Martin
>>
>> _______________________________________________
>> Talk-cz mailing list
>> Talk-cz na openstreetmap.org
>> http://lists.openstreetmap.org/listinfo/talk-cz
>>
>




Další informace o konferenci talk-cz