<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>Hi Ivan,</DIV>
<DIV> </DIV>
<DIV>I have about 6500 features (multipolygon).<BR></DIV>
<DIV>best regards</DIV>
<DIV>Sarah</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 <igrcic@gmail.com><BR><B><SPAN style="FONT-WEIGHT: bold">An:</SPAN></B> Sarah Schuessler <sarah_flip@yahoo.de><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, 12:53:53 Uhr<BR><B><SPAN style="FONT-WEIGHT: bold">Betreff:</SPAN></B> Re: [OpenLayers-Users] Postgis layer srs 2908 supported?<BR></FONT><BR>Hi Sarah,<BR><BR>how many feature do you have?<BR><BR>On Fri, Dec 4, 2009 at 12:38 PM, Sarah Schuessler <<A href="mailto:sarah_flip@yahoo.de" ymailto="mailto:sarah_flip@yahoo.de">sarah_flip@yahoo.de</A>> wrote:<BR>> I have solved this:<BR>> new OpenLayers.Layer.Vector("N.Y.C", {protocol: new<BR>> mapfish.Protocol.MapFish<BR>> ({url: "nyc_buildings"}),<BR>> strategies:
[new OpenLayers.Strategy.BBOX({ratio: 1})], isBaseLayer:<BR>> true, visibility: true ,<BR>> styleMap: new<BR>> OpenLayers.StyleMap(OpenLayers.Util.applyDefaults({fillColor: "green",<BR>> fillOpacity: 1, strokeColor:<BR>> "black"},OpenLayers.Feature.Vector.style["default"]))}),<BR>><BR>> but it took about a minute before I can see my vector layer. I think it has<BR>> to do with heap space from java because I got a warning that (translated):<BR>> a script is too busy or is not answered anymore. You could stop it or go<BR>> ahead with it seeing if it ends.<BR>> <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>><BR>> Can anybody say what I can do to avoid this?<BR>><BR>> Thanks.<BR>> best regards<BR>> Sarah<BR>><BR>>
________________________________<BR>> Von: Sarah_S <<A href="mailto:Sarah_flip@yahoo.de" ymailto="mailto:Sarah_flip@yahoo.de">Sarah_flip@yahoo.de</A>><BR>> An: <A href="mailto:users@openlayers.org" ymailto="mailto:users@openlayers.org">users@openlayers.org</A><BR>> Gesendet: Dienstag, den 1. Dezember 2009, 11:40:01 Uhr<BR>> Betreff: [OpenLayers-Users] Postgis layer srs 2908 supported?<BR>><BR>><BR>> Hi list,<BR>><BR>> I new to OL and want to use a multipolygon layer from postgis (within<BR>> mapfish). layer has srs 2908 but is not displayed.<BR>> I use this code:<BR>> new OpenLayers.Layer.Vector("nyc_buildings", {protocol: new<BR>> mapfish.Protocol.MapFish<BR>> ({url: "nyc_buildings"}),<BR>> strategies: [new OpenLayers.Strategy.BBOX()], isBaseLayer: true,<BR>> visibility: true ,<BR>> styleMap: new
OpenLayers.StyleMap({default: new<BR>> OpenLayers.Style({strokeColor: "00FF00", strokeWidth: 3, fillColor:<BR>> "00CC00"})})<BR>> },{projection: "EPSG:2908"})<BR>><BR>> but don´t know if I have to transform/reproject this layer via proj4js or I<BR>> have simply an error of my code.<BR>><BR>> If I select this layer at layer tree I get an error "Operation on two<BR>> geometries with different srids" (pgadmin3 says that my layer has srid 2908)<BR>> and a blank page- I think that Ol (or mapfish) has problems with epsg: 90019<BR>> and mine.<BR>> Tried to change new OpenLayers.Projection and displayProjection to 2908 but<BR>> that did not change anything.<BR>><BR>> I´m using win server 2003.<BR>><BR>> Any hints are welcome.<BR>><BR>> Thanks<BR>> best regards<BR>> Sarah<BR>> --<BR>> View this message in context:<BR>> <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>> Sent from the OpenLayers Users mailing list archive at Nabble.com.<BR>> _______________________________________________<BR>> Users mailing list<BR>> <A href="mailto:Users@openlayers.org" ymailto="mailto:Users@openlayers.org">Users@openlayers.org</A><BR>> <A href="http://openlayers.org/mailman/listinfo/users" target=_blank>http://openlayers.org/mailman/listinfo/users</A><BR>><BR>> __________________________________________________<BR>> Do You Yahoo!?<BR>> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz<BR>> gegen Massenmails.<BR>> <A href="http://mail.yahoo.com/" target=_blank>http://mail.yahoo.com</A><BR>> _______________________________________________<BR>> Users mailing list<BR>> <A
href="mailto:Users@openlayers.org" ymailto="mailto:Users@openlayers.org">Users@openlayers.org</A><BR>> <A href="http://openlayers.org/mailman/listinfo/users" target=_blank>http://openlayers.org/mailman/listinfo/users</A><BR>><BR>><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>