<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Connor,<div><br></div><div>First of all congratulations for a fantastic and inovative use of OpenLayers that I'd never imagine before.</div>
<div><br></div><div>The site that you sent that link doesn't work for me, I can't find the OpenLayers use, and try to understand what is the 'inaccurate' thing you talking about.</div></blockquote><div>NOTE: I saw a javascript error in your master.js line 83:</div>
<div>map.addControl(new OpenLayers.Control.OverviewMap({div:overviewdiv,size:new OpenLayers.Size(200,100),minRectSize:1,maxRatio:1028,mapOptions:{restrictedExtent:borders,maxResolution:maxres}}));</div><div><br></div><div>
ERROR: overviewdiv is not defined</div><div><br></div><div>Use quotes to the overviewdiv, or they will threat this like a variable, instead the string of the id declared in the div.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><br></div><div>Imagining how that you are using for a non geospatial solution, and how the tiles generally works, I guess that the problem is about the projection. </div><div>A projection it's a reference to the space, it's used to determine Extents, Bounds, Scales and resolutions for the coordinates. The tiles depends of this variables to split than according to the zoom level. </div>
<div>Maybe the most difficult thing it's create a based projection (or SRS) to the microscopical spatial, that different from earth maybe is flat and with ends, instead of 'round' and continuos. </div><div><br>
</div><div>Keep me updated, because i'm curious about this use and hope for your success.</div><div><br></div><div>Att,</div><div><br clear="all">Fernando G. Norte<br>BHte - MG<br>cel: <a href="tel:%2B55%2031%209119%208814" value="+553191198814" target="_blank">+55 31 9119 8814</a><br>
-------------------------<br>
MSN e Gtalk # <a href="mailto:fnorte@gmail.com" target="_blank">fnorte@gmail.com</a><br>
<br><br><div class="gmail_quote">Em 22 de março de 2012 00:20, Connor Burke <span dir="ltr"><<a href="mailto:connor.p.b@gmail.com" target="_blank">connor.p.b@gmail.com</a>></span> escreveu:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div style="word-wrap:break-word">I'm a student at the Ohio State University medical school, and am working on a histology website. Basically, I've used gdal2tiles.py to tile a few hundred images (several GB each) taken from microscopes - of cells and other tissue - and display them using OpenLayers. It's been quite an exciting project, and already represents an improvement over the current system, which uses Zoomify (a flash based alternative) for the same thing.<div>
<br></div><div>For those who aren't familiar with gdal2tiles, it breaks images up into 256px tiles and stores them in a folder structure in accordance with TMS specifications. You can set a spatial reference system and map projection if you want, but I just tile them with nothing, as plain raster images. It then generates a little HTML file that uses OpenLayers and a tiny bit of its own Javascript to read the tiles off the server you put them on.</div>
<div><br></div><div>Here's the problem - the overview map is inaccurate. It shows the image, but off center - and the extent rectangle that shows where I'm zooming is simply inaccurate. I've spent a while trying to troubleshoot this on my own and am out of ideas.</div>
<div><br></div><div>Here's the site - </div><div><a href="http://histology.osumc.edu/test/tiled1.php" target="_blank">http://histology.osumc.edu/test/tiled1.php</a></div><div><br></div><div>(note how you can zoom to the center of the spinal cord, but the overview map shows that we're zooming into the bottom left)</div>
<div><br></div><div>Any help would be much appreciated - thanks guys.</div><span><font color="#888888"><div><br></div><div>Connor</div></font></span></div><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org" target="_blank">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br>