This somewhat unconventional use of OpenLayers as a warehouse management web-app is really exciting people over here! Thanks everyone for the help so far!
<br /><br />
I am running into one little problem though.. I can save vectors to MySQL as a geometry datatype, no problem. The problem is, how do I load them back up?
<br /><br />
<pre><code>SELECT AsText(geometry) AS geometry FROM geometryTable;</code></pre>
gives me something like:<br />
POLYGON((1528 -768,1524 -850,1596 -852,1528 -768))<br />
(or a point, a line, or whatever)<br />
<br /><br />
I want to do something like this (in PHP...):
<pre><code>
$vector['geometry'] = "POLYGON((1528 -768,1524 -850,1596 -852,1528 -768))";
foreach ($this->vectors as $vector) {
  // make $vector['geometry'] a 'feature'
  print "fpshelves.addFeatures(vector)";
}
</code></pre><br />
Thanks again for the help!
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/blueprints---vectors-to-openlayers-tp3218765p3252180.html">Re: blueprints & vectors to openlayers</a><br>
Sent from the <a href="http://n2.nabble.com/OpenLayers-Users-f1822463.html">OpenLayers Users mailing list archive</a> at Nabble.com.<br>