[OpenLayers-Users] 2 loadurl request in parallel

Vidal, Antoni antoni.vidal at icc.cat
Mon Feb 22 03:01:41 EST 2010


I cannot filter data in server side.

Is necesary to make complete request to get all data.

Antoni Vidal
Unitat d'Aplicacions SIG-WEB
Ext. 3228


-----Missatge original-----
De: Zac Spitzer [mailto:zac.spitzer at gmail.com] 
Enviat: lunes, 22 de febrero de 2010 8:59
Per a: Vidal, Antoni
A/c: Jorge Gustavo Rocha; users at openlayers.org
Tema: Re: [OpenLayers-Users] 2 loadurl request in parallel

filter your json server side first, 4MB is still 4MB

breaking the requests up won't help that much

you'd be better of using a mapping server

On Mon, Feb 22, 2010 at 6:55 PM, Vidal, Antoni <antoni.vidal at icc.cat> wrote:
> I need to parse a huge json response (4 MB), trying this, browsers break down. My intention is to make "tiling" of the original request in 2 or more request getting smaller response.
>
> I think this is more efficient and faster.
>
> What do you think?
>
> Antoni Vidal
> Unitat d'Aplicacions SIG-WEB
> Ext. 3228
>
> -----Missatge original-----
> De: Jorge Gustavo Rocha [mailto:jgr at di.uminho.pt]
> Enviat: viernes, 19 de febrero de 2010 15:10
> Per a: Vidal, Antoni
> A/c: users at openlayers.org
> Tema: Re: [OpenLayers-Users] 2 loadurl request in parallel
>
> Hi Antoni,
>
> Yes, you can make any number of AJAX requests. They are, by definition, asynchronous. If you do several different requests, and you need to collect all the results, for example, you need to add some logic, to know how many requests have already finished, and do something at the end of the last callback.
>
> Please explain you question a little bit further, to find allow a better answer. I really don't know what do you want to do.
>
> regards,
>
> jorge
>
> Sex, 2010-02-19 às 14:58 +0100, Vidal, Antoni escreveu:
>> Hello list,
>>
>>
>>
>> I need to make 2 ajax request at the same time. Is this possible?
>>
>>
>>
>> Antoni Vidal
>>
>> Unitat d'Aplicacions SIG-WEB
>> Institut Cartogràfic de Catalunya
>> Parc de Montjuïc, E-08038 Barcelona
>> Tel. (+34) 93 567 15 00 (ext. 3228)
>> www.icc.cat
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>
>
> --
> jorge gustavo rocha
> departamento de informática
> universidade do minho
> 4710-057 braga
> portugal
> N 41º33'44,5" W 8º23'40,5"
> tel +351 253604470 fax +351 253604471 cel +351 927210173
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168




More information about the Users mailing list