<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=610510914-07042011><FONT face=Arial
color=#0000ff size=2>I know, I know...</FONT></SPAN></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><SPAN class=610510914-07042011><FONT face=Arial color=#0000ff size=2>I was
just wondering how I could make it less problematic for the
user.</FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><FONT face=Arial size=2><SPAN
class=610510914-07042011>Thanks anyway.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
class=610510914-07042011>Reegards,</SPAN></FONT></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55 Roman'">Un saludo,</SPAN></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"> <?xml:namespace prefix = o
ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55 Roman'">··················································································</SPAN><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55 Roman'"></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN
style="FONT-SIZE: 9pt"><FONT face=Verdana>David Alda Fernández de
Lezea</FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">Lurralde eta Biodibertsitate Saila
/ Dpto. de Territorio y Biodiversidad<o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><o:p> </o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">IKT<o:p></o:p></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">Granja Modelo s/n · 01192 · Arkaute
(Araba)<o:p></o:p></SPAN></P>
<P class=MsoNormal></SPAN><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><BR>··················································································<BR>Tlfnos.:
945-00-32-95<SPAN style="mso-spacerun: yes"> </SPAN><SPAN
style="mso-tab-count: 1"> </SPAN><SPAN
style="mso-tab-count: 1">
</SPAN>Fax:
945-00.32.90<BR>··················································································<BR>email:
<A
href="mailto:dalda@ikt.es">dalda@ikt.es</A>
web: <A
href="http://www.ikt.es/">www.ikt.es</A><BR>··················································································<o:p></o:p></SPAN></P></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] <B>En nombre de </B>Slawomir
Messner<BR><B>Enviado el:</B> jueves, 07 de abril de 2011 15:13<BR><B>CC:</B>
openlayers-users@lists.osgeo.org<BR><B>Asunto:</B> Re: [OpenLayers-Users]
Browser slow performancewhile parsingOpenLayers.Vector.Feature
features<BR></FONT><BR></DIV>
<DIV></DIV>Hi,<BR>it's impossible that a pedal car is nearly as fast as a f1 car
and take as much as a truck. My opinion is that either you force your customer
to use safe and fast browsers or you have to reduce the load by minimum of
polygons drawn or switch to a desktop prog like QuantumGIS. Minimize the number
of geometries by a strategy, if you want to edit them then cluster is not an
alternative. If you pass attributes with your features then you can leave them
out and load them later, if you need them. I don't know if it helps and this is
not a standardized solution, if you minimize your data to the less verbose
format, I think it's WKT or a custom json, and write your own update
Serversidewhatever. Simply a simple format to parse for the browser with minimum
of memory consumption. But I think, it will be much work for at best little more
performance.<BR>We must also always say our users to switch to a new browser if
they want to have the functionality and speed("Sry, there is a minimum
requirement. It's free, ask/force your admin to install it."). In the end there
is no workaround you can only cut things out. You never will have a performance
like chrome or ff out of a bad engine. Think about how much seconds you spend to
get a second less for users.<BR>I know there is no solution for your performance
problem but maybe an argument for your customers.<BR>Best
regards<BR>Slawomir<BR><BR>Am 07.04.2011 14:21, schrieb David Alda Fernandez de
Lezea:
<BLOCKQUOTE cite=mid:224DBDAF88A6AC47BD22432815351BE0088B6868@nekaposta1
type="cite">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR>
<DIV dir=ltr align=left><SPAN class=418531012-07042011><FONT face=Arial
color=#0000ff size=2>Zac,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011><FONT face=Arial
color=#0000ff size=2>thanks for your response. I know IE sux, but 95% of our
customers have IE6 installed, and they are not allowed to switch to another
version or to get other browsers.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011><FONT face=Arial
color=#0000ff size=2>I get the polygons from GeoServer from a wfs layer. They
are complex polygons with lots of vertices (parcels from cadastre)
and I can't simplify the features because we are on the task of
online editing using wfs-t protocol, so the edition must be
accurate.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=418531012-07042011><FONT face=Arial
color=#0000ff size=2>I'm just wondering if there is something that I can show,
like a progress bar or loading image, to tell the user this kind of
operations will take a bit, but I'm afraid is going to be difficult
because of the browser program.</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN class=418531012-07042011><FONT face=Arial color=#0000ff size=2>Any
idea?</FONT></SPAN></DIV>
<DIV><SPAN class=418531012-07042011></SPAN> </DIV>
<DIV><SPAN class=418531012-07042011><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55 Roman'">Un
saludo,</SPAN></P>
<DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><O:P></O:P></SPAN></P></DIV>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55 Roman'">··················································································</SPAN><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><BR></SPAN><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: 'Frutiger 55
Roman'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN
style="FONT-SIZE: 9pt"><FONT face=Verdana>David Alda Fernández de
Lezea</FONT></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">Lurralde eta Biodibertsitate
Saila / Dpto. de Territorio y Biodiversidad<O:P></O:P></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><O:P></O:P></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">IKT<O:P></O:P></SPAN></B></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN
style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana">Granja Modelo s/n · 01192 ·
Arkaute (Araba)<O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 7.5pt; FONT-FAMILY: Verdana"><BR>··················································································<BR>Tlfnos.:
945-00-32-95<SPAN> </SPAN><SPAN> </SPAN><SPAN>
</SPAN>Fax:
945-00.32.90<BR>··················································································<BR>email:
<A href="mailto:dalda@ikt.es"
moz-do-not-send="true">dalda@ikt.es</A>
web: <A href="http://www.ikt.es/"
moz-do-not-send="true">www.ikt.es</A><BR>··················································································<O:P></O:P></SPAN></P></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=es dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>De:</B> <A class=moz-txt-link-abbreviated
href="mailto:openlayers-users-bounces@lists.osgeo.org">openlayers-users-bounces@lists.osgeo.org</A>
[<A class=moz-txt-link-freetext
href="mailto:openlayers-users-bounces@lists.osgeo.org">mailto:openlayers-users-bounces@lists.osgeo.org</A>]
<B>En nombre de </B>Zac Spitzer<BR><B>Enviado el:</B> jueves, 07 de abril de
2011 13:33<BR><B>Para:</B> <A class=moz-txt-link-abbreviated
href="mailto:openlayers-users@lists.osgeo.org">openlayers-users@lists.osgeo.org</A><BR><B>Asunto:</B>
Re: [OpenLayers-Users] Browser slow performance while
parsingOpenLayers.Vector.Feature features<BR></FONT><BR></DIV>short answer, IE
just sucks<BR><BR>long answer, you could switch over to a real mapserver
engine<BR><BR>how dense are your polygons? generalising them might help a bit
if they are very dense<BR><BR>
<DIV class=gmail_quote>On Thu, Apr 7, 2011 at 9:29 PM, David Alda Fernandez de
Lezea <SPAN dir=ltr><<A href="mailto:dalda@ikt.es"
moz-do-not-send="true">dalda@ikt.es</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi
list,<BR><BR>I'm having some performance issues with most browsers, but
specially with IE (this is the real problem).I have a vector layer in which
once the map is shown I load from 50 to 100 polygons and I zoom to them. I
know that this is a task it will consume some time, but the problem is that
the browser gets freezed and I would like to improve that in order to
improve the user experience.<BR><BR>I've tried this in<BR><BR>FF --> 5-10
seconds<BR>Safari --> 5 seconds<BR>Chrome --> 5 seconds<BR>Opera
--> 5 seconds<BR>IE6 --> 60 seconds<BR>IE7 --> 40 seconds<BR>IE8
--> 30 seconds<BR><BR>Is there something that I can do to improve the
browser's response??<BR><BR>Thanks.<BR><BR>Un
saludo,<BR><BR>··················································································<BR><BR>David
Alda Fernández de Lezea<BR>Lurralde eta Biodibertsitate Saila / Dpto. de
Territorio y Biodiversidad<BR><BR>IKT<BR>Granja Modelo s/n · 01192 · Arkaute
(Araba)<BR><BR>··················································································<BR>Tlfnos.:
945-00-32-95
Fax:
945-00.32.90<BR>··················································································<BR>email:
<A href="mailto:dalda@ikt.es" moz-do-not-send="true">dalda@ikt.es</A>
web: <A href="http://www.ikt.es" target=_blank
moz-do-not-send="true">www.ikt.es</A><BR>··················································································<BR>_______________________________________________<BR>Users
mailing list<BR><A href="mailto:Users@lists.osgeo.org"
moz-do-not-send="true">Users@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/openlayers-users"
target=_blank
moz-do-not-send="true">http://lists.osgeo.org/mailman/listinfo/openlayers-users</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Zac Spitzer <BR>Solution Architect / Director<BR>Ennoble
Consultancy Australia<BR><A href="http://www.ennoble.com.au"
moz-do-not-send="true">http://www.ennoble.com.au</A><BR><A
href="http://zacster.blogspot.com"
moz-do-not-send="true">http://zacster.blogspot.com</A><BR>+61 405 847
168<BR><BR><BR><BR><PRE wrap=""><FIELDSET class=mimeAttachmentHeader></FIELDSET>
_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</A>
<A class=moz-txt-link-freetext href="http://lists.osgeo.org/mailman/listinfo/openlayers-users">http://lists.osgeo.org/mailman/listinfo/openlayers-users</A>
</PRE></BLOCKQUOTE><BR></BODY></HTML>