<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>Thanks Ivan! </DIV>
<DIV>I will investigate on this.</DIV>
<DIV>&nbsp;</DIV>
<DIV>best regards</DIV>
<DIV>Sarah<BR></DIV>
<DIV style="FONT-FAMILY: times new roman, new york, times, serif; FONT-SIZE: 12pt"><BR>
<DIV style="FONT-FAMILY: arial, helvetica, sans-serif; FONT-SIZE: 10pt"><FONT size=2 face=Tahoma>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">Von:</SPAN></B> Ivan Grcic &lt;igrcic@gmail.com&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B> Sarah Schuessler &lt;sarah_flip@yahoo.de&gt;<BR><B><SPAN style="FONT-WEIGHT: bold">CC:</SPAN></B> users@openlayers.org<BR><B><SPAN style="FONT-WEIGHT: bold">Gesendet:</SPAN></B> Freitag, den 4. Dezember 2009, 13:59:29 Uhr<BR><B><SPAN style="FONT-WEIGHT: bold">Betreff:</SPAN></B> Re: [OpenLayers-Users] Postgis layer srs 2908 supported?<BR></FONT><BR>Check out last post on :<BR><A href="http://n2.nabble.com/WFS-T-td4065193.html" target=_blank>http://n2.nabble.com/WFS-T-td4065193.html</A><BR><BR>CHeers<BR><BR>On Fri, Dec 4, 2009 at 1:54 PM, Ivan Grcic &lt;<A href="mailto:igrcic@gmail.com" ymailto="mailto:igrcic@gmail.com">igrcic@gmail.com</A>&gt; wrote:<BR>&gt; Well browsers start to choke with more then 200-300 features, that is<BR>&gt; max. nr of features one should ever load in vector layer. Now, you can<BR>&gt;
 imagine what happens with 6500 features :)<BR>&gt;<BR>&gt; On Fri, Dec 4, 2009 at 1:01 PM, Sarah Schuessler &lt;<A href="mailto:sarah_flip@yahoo.de" ymailto="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</A>&gt; wrote:<BR>&gt;&gt; Hi Ivan,<BR>&gt;&gt;<BR>&gt;&gt; I have about 6500 features (multipolygon).<BR>&gt;&gt; best regards<BR>&gt;&gt; Sarah<BR>&gt;&gt; ________________________________<BR>&gt;&gt; Von: Ivan Grcic &lt;<A href="mailto:igrcic@gmail.com" ymailto="mailto:igrcic@gmail.com">igrcic@gmail.com</A>&gt;<BR>&gt;&gt; An: Sarah Schuessler &lt;<A href="mailto:sarah_flip@yahoo.de" ymailto="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</A>&gt;<BR>&gt;&gt; CC: <A href="mailto:users@openlayers.org" ymailto="mailto:users@openlayers.org">users@openlayers.org</A><BR>&gt;&gt; Gesendet: Freitag, den 4. Dezember 2009, 12:53:53 Uhr<BR>&gt;&gt; Betreff: Re: [OpenLayers-Users] Postgis layer srs 2908 supported?<BR>&gt;&gt;<BR>&gt;&gt; Hi
 Sarah,<BR>&gt;&gt;<BR>&gt;&gt; how many feature do you have?<BR>&gt;&gt;<BR>&gt;&gt; On Fri, Dec 4, 2009 at 12:38 PM, Sarah Schuessler &lt;<A href="mailto:sarah_flip@yahoo.de" ymailto="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</A>&gt;<BR>&gt;&gt; wrote:<BR>&gt;&gt;&gt; I have solved this:<BR>&gt;&gt;&gt; new OpenLayers.Layer.Vector("N.Y.C",&nbsp; {protocol: new<BR>&gt;&gt;&gt; mapfish.Protocol.MapFish<BR>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ({url: "nyc_buildings"}),<BR>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; strategies: [new OpenLayers.Strategy.BBOX({ratio: 1})],<BR>&gt;&gt;&gt; isBaseLayer:<BR>&gt;&gt;&gt; true, visibility: true ,<BR>&gt;&gt;&gt; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; styleMap: new<BR>&gt;&gt;&gt; OpenLayers.StyleMap(OpenLayers.Util.applyDefaults({fillColor: "green",<BR>&gt;&gt;&gt; fillOpacity: 1, strokeColor:<BR>&gt;&gt;&gt;
 "black"},OpenLayers.Feature.Vector.style["default"]))}),<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; but it took about a minute before I can see my vector layer. I think it<BR>&gt;&gt;&gt; has<BR>&gt;&gt;&gt; to do with heap space from java because I got a warning that (translated):<BR>&gt;&gt;&gt; a script is too busy or is not answered anymore. You could stop it or go<BR>&gt;&gt;&gt; ahead with it seeing if it ends.<BR>&gt;&gt;&gt; <A href="http://localhost:5000/mfbase/openlayers/lib/OpenLayers/Util.js:869" target=_blank>http://localhost:5000/mfbase/openlayers/lib/OpenLayers/Util.js:869</A><BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Can anybody say what I can do to avoid this?<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Thanks.<BR>&gt;&gt;&gt; best regards<BR>&gt;&gt;&gt; Sarah<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; ________________________________<BR>&gt;&gt;&gt; Von: Sarah_S &lt;<A href="mailto:Sarah_flip@yahoo.de"
 ymailto="mailto:Sarah_flip@yahoo.de">Sarah_flip@yahoo.de</A>&gt;<BR>&gt;&gt;&gt; An: <A href="mailto:users@openlayers.org" ymailto="mailto:users@openlayers.org">users@openlayers.org</A><BR>&gt;&gt;&gt; Gesendet: Dienstag, den 1. Dezember 2009, 11:40:01 Uhr<BR>&gt;&gt;&gt; Betreff: [OpenLayers-Users] Postgis layer srs 2908 supported?<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Hi list,<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I new to OL and want to use a multipolygon layer from postgis (within<BR>&gt;&gt;&gt; mapfish). layer has srs 2908 but is not displayed.<BR>&gt;&gt;&gt; I use this code:<BR>&gt;&gt;&gt; new OpenLayers.Layer.Vector("nyc_buildings",&nbsp; {protocol: new<BR>&gt;&gt;&gt; mapfish.Protocol.MapFish<BR>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; ({url: "nyc_buildings"}),<BR>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; strategies: [new OpenLayers.Strategy.BBOX()], isBaseLayer: true,<BR>&gt;&gt;&gt; visibility: true ,<BR>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp;
 &nbsp; styleMap: new OpenLayers.StyleMap({default: new<BR>&gt;&gt;&gt; OpenLayers.Style({strokeColor: "00FF00", strokeWidth: 3, fillColor:<BR>&gt;&gt;&gt; "00CC00"})})<BR>&gt;&gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp; },{projection: "EPSG:2908"})<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; but don´t know if I have to transform/reproject this layer via proj4js or<BR>&gt;&gt;&gt; I<BR>&gt;&gt;&gt; have simply an error of my code.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; If I select this layer at layer tree I get an error "Operation on two<BR>&gt;&gt;&gt; geometries with different srids" (pgadmin3 says that my layer has srid<BR>&gt;&gt;&gt; 2908)<BR>&gt;&gt;&gt; and a blank page- I think that Ol (or mapfish) has problems with epsg:<BR>&gt;&gt;&gt; 90019<BR>&gt;&gt;&gt; and mine.<BR>&gt;&gt;&gt; Tried to change new OpenLayers.Projection and displayProjection to 2908<BR>&gt;&gt;&gt; but<BR>&gt;&gt;&gt; that did not change anything.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; I´m using win
 server 2003.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Any hints are welcome.<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; Thanks<BR>&gt;&gt;&gt; best regards<BR>&gt;&gt;&gt; Sarah<BR>&gt;&gt;&gt; --<BR>&gt;&gt;&gt; View this message in context:<BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt; <A href="http://n2.nabble.com/Postgis-layer-srs-2908-supported-tp4092947p4092947.html" target=_blank>http://n2.nabble.com/Postgis-layer-srs-2908-supported-tp4092947p4092947.html</A><BR>&gt;&gt;&gt; Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt; Users mailing list<BR>&gt;&gt;&gt; <A href="mailto:Users@openlayers.org" ymailto="mailto:Users@openlayers.org">Users@openlayers.org</A><BR>&gt;&gt;&gt; <A href="http://openlayers.org/mailman/listinfo/users" target=_blank>http://openlayers.org/mailman/listinfo/users</A><BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;
 __________________________________________________<BR>&gt;&gt;&gt; Do You Yahoo!?<BR>&gt;&gt;&gt; Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz<BR>&gt;&gt;&gt; gegen Massenmails.<BR>&gt;&gt;&gt; <A href="http://mail.yahoo.com/" target=_blank>http://mail.yahoo.com</A><BR>&gt;&gt;&gt; _______________________________________________<BR>&gt;&gt;&gt; Users mailing list<BR>&gt;&gt;&gt; <A href="mailto:Users@openlayers.org" ymailto="mailto:Users@openlayers.org">Users@openlayers.org</A><BR>&gt;&gt;&gt; <A href="http://openlayers.org/mailman/listinfo/users" target=_blank>http://openlayers.org/mailman/listinfo/users</A><BR>&gt;&gt;&gt;<BR>&gt;&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt;<BR>&gt;&gt; --<BR>&gt;&gt; Ivan Grcic<BR>&gt;&gt;<BR>&gt;&gt; __________________________________________________<BR>&gt;&gt; Do You Yahoo!?<BR>&gt;&gt; Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz<BR>&gt;&gt; gegen
 Massenmails.<BR>&gt;&gt; <A href="http://mail.yahoo.com/" target=_blank>http://mail.yahoo.com</A><BR>&gt;<BR>&gt;<BR>&gt;<BR>&gt; --<BR>&gt; Ivan Grcic<BR>&gt;<BR><BR><BR><BR>-- <BR>Ivan Grcic<BR></DIV></DIV></div><br>__________________________________________________<br>Do You Yahoo!?<br>Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. <br>http://mail.yahoo.com </body></html>