Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] Catch and deal with rendering errors on mapview

The RenderManager / RenderExecutor tracks the jobs doing the
rendering. I think we may be a bit far from you actual problem (of
ensuring the user can see something even if a wms goes down).

Jody

2009/5/22 Mario Nuñez Jimenez <mario.nunez@xxxxxxxxxxxxxxx>:
> Ey that sounds great!
> Very interesting, but where could I do this check? I mean, you told me that layer renderings are different threads(or a eclipse job) so I need a place where be sure of getting all the results of renderizations as they are happening... Is the mapviewer class that you told me the place? Is from there where all the threads are started? Should I do a check of the layer status every time a renderization on the layer is done? But how could I know which layer is in renderization process?
> Regards!
>
> -----Original Message-----
> From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
> Sent: viernes, 22 de mayo de 2009 9:55
> To: User-friendly Desktop Internet GIS
> Subject: Re: [udig-devel] Catch and deal with rendering errors on mapview
>
> The layer has recorded the last error; produced by the last attempt to
> render it. If this value is non null a error icon appears on the
> layer; and you can see the message when the layer is selected in the
> status bar.
>
> You can check this value yourself as a programmer; getStatusMessage;
> and check if the layer is in error using getStatus() == Layer.ERROR
>
>
>
>
> 2009/5/22 Mario Nuñez Jimenez <mario.nunez@xxxxxxxxxxxxxxx>:
>> Mmmh I am not sure if I did explain myself properly...
>> anyway remember that the thing I am trying to achieve is to know when a layer rendering has failed and when a layer rendering has works fine again.
>> This is to put a replacement layer if my main ones fail on rendering or to quit the replacement layer if my main ones works fine again.
>> Regards.
>>
>> -----Original Message-----
>> From: udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx [mailto:udig-devel-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Jody Garnett
>> Sent: viernes, 22 de mayo de 2009 8:24
>> To: User-friendly Desktop Internet GIS
>> Subject: Re: [udig-devel] Catch and deal with rendering errors on mapview
>>
>> Here is a picture of what that looks like:
>>
>> The local geotiff I use displays instantly; the wms tile server takes
>> a while to come in the first time; but after that it is fast
>> (especially if you turn on disk caching so the tiles last between
>> runs). Any other layers I display on top of that can still fail - but
>> at the last I will have a good base layer offering my users context.
>>
>> Jody
>>
>>> You do not need to try them in order ... arrange them in a map (as a
>>> list of layers) in the order:
>>> - wms layer (that may fail)
>>> - wms tile server (much more stable and responsive)
>>> - local jpeg
>> ------------------------------------------------------------------
>> This e-mail and the documents attached are confidential and intended
>> solely for the addressee; it may also be privileged. If you receive
>> this e-mail in error, please notify the sender immediately and destroy it.
>> As its integrity cannot be secured on the Internet, the Atos Origin
>> group liability cannot be triggered for the message content. Although
>> the sender endeavours to maintain a computer virus-free network,
>> the sender does not warrant that this transmission is virus-free and
>> will not be liable for any damages resulting from any virus transmitted.
>>
>> Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
>> destinada solamente a la(s) persona(s) mencionadas anteriormente
>> pueden estar protegidos por secreto profesional.
>> Si usted recibe este correo electronico por error, gracias por informar
>> inmediatamente al remitente y destruir el mensaje.
>> Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
>> no se hace responsable por su contenido. Su contenido no constituye ningun
>> compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
>> Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
>> no puede garantizar nada al respecto y no sera responsable de cualesquiera
>> danos que puedan resultar de una transmision de virus.
>> ------------------------------------------------------------------
>>
>> _______________________________________________
>> User-friendly Desktop Internet GIS (uDig)
>> http://udig.refractions.net
>> http://lists.refractions.net/mailman/listinfo/udig-devel
>>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
> ------------------------------------------------------------------
> This e-mail and the documents attached are confidential and intended
> solely for the addressee; it may also be privileged. If you receive
> this e-mail in error, please notify the sender immediately and destroy it.
> As its integrity cannot be secured on the Internet, the Atos Origin
> group liability cannot be triggered for the message content. Although
> the sender endeavours to maintain a computer virus-free network,
> the sender does not warrant that this transmission is virus-free and
> will not be liable for any damages resulting from any virus transmitted.
>
> Este mensaje y los ficheros adjuntos pueden contener informacion confidencial
> destinada solamente a la(s) persona(s) mencionadas anteriormente
> pueden estar protegidos por secreto profesional.
> Si usted recibe este correo electronico por error, gracias por informar
> inmediatamente al remitente y destruir el mensaje.
> Al no estar asegurada la integridad de este mensaje sobre la red, Atos Origin
> no se hace responsable por su contenido. Su contenido no constituye ningun
> compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas partes.
> Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor
> no puede garantizar nada al respecto y no sera responsable de cualesquiera
> danos que puedan resultar de una transmision de virus.
> ------------------------------------------------------------------
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel
>


Back to the top