<div>hi bart, the toString() function I think was mostly just designed for debugging... not so much as a way to translate the bounds into a storable string format. </div>
<div> </div>
<div>I think your point is a good one... unfortunately, it wouldn't be proper of us to change a thing like this now because it would be a breach of API. </div>
<div> </div>
<div>for the OpenLayers 3.0 release, however, I think this would be a great thing to change. </div>
<div> </div>
<div>erik</div>
<div> </div>
<div>ps. if you really need this functionality, we could put in a patch for a function with a different name (saveToString() or something like that) for the time being and mark the current toString() as deprecated... <br>
<br> </div>
<div><span class="gmail_quote">On 1/15/08, <b class="gmail_sendername">Bart van den Eijnden (OSGIS)</b> <<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hmm, one more thing, isn't it strange that toString and fromString use<br>different string formats?<br>
<br>I was hoping to use toString and create a bounds again from the same string<br>using fromString.<br><br>But toString uses:<br>left-bottom=(23560.672130601146,384199.8282873455)<br>right-top=(50198.73747014423,401559.87359025853
)<br><br>and fromString interprets only something like:<br>23560.672130601146,384199.8282873455,50198.73747014423,401559.87359025853<br><br>Best regards,<br>Bart<br><br>--<br>Bart van den Eijnden<br>OSGIS, Open Source GIS
<br><a href="http://www.osgis.nl">http://www.osgis.nl</a><br><br><br>--------- Oorspronkelijk bericht --------<br>Van: Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>><br>Naar: Bart van den Eijnden OSGIS <
<a href="mailto:bartvde@osgis.nl">bartvde@osgis.nl</a>><br>Cc: Christopher Schmidt <<a href="mailto:crschmidt@metacarta.com">crschmidt@metacarta.com</a>>, <a href="mailto:dev@openlayers.org">dev@openlayers.org</a>
<br>Onderwerp: Re: [OpenLayers-Dev] question about upcoming projection support<br>Datum: 15/01/08 10:58<br><br>> On Tue, Jan 15, 2008 at 01:14:25PM +0100, Bart van den Eijnden (OSGIS)<br>wrote:<br>> &gt; I asked since if Bounds will be changed accordingly, and toString and
<br>> &gt; fromString will be extended with it, I could keep this approach.<br>Otherwise I<br>> &gt; need to add a CRS column to my datamodel and manage this info myself.<br>No<br>> &gt; problem, but just to know which approach I should follow ....
<br>><br>> Gotcha. I'd say that the latter is probably the right way to go.<br>><br>> Regards,<br>> --<br>> Christopher Schmidt<br>> MetaCarta<br>><br>><br><br><br><br>_______________________________________________
<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev</a><br></blockquote></div><br>