<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Chris,<div><br><div><div>On Nov 16, 2008, at 4:51 PM, chris marx wrote:</div><blockquote type="cite">sorry, forgot to "reply all"<br>here's my response:<br><br>great that totally worked.</blockquote><div><br></div>? I assume you mean the OL js?</div><div><br><blockquote type="cite">I'm going to send a request to Manifold GIS to officially add that projection. For the moment, my data (which is in the world mercator</blockquote><div><br></div><div>perhaps you could actually reproject your data to spherical mercator?</div><div><br></div><div>ogr2ogr google_merc.shp world_merc.shp -t_srs <a href="http://spatialreference.org/ref/user/6/">http://spatialreference.org/ref/user/6/</a></div><br><blockquote type="cite">) is near its correct position, as long as you're not zoomed way out. thanks for your help!!!</blockquote><div><br></div>huh. sounds like a problem.</div><div><br></div><div><br><blockquote type="cite"><br><br>PS. Manifold GIS doesnt use proj.4, but you can add projections from WKT, I'll play around with that-<br><br></blockquote><div>try:</div><div><br></div><div><a href="http://spatialreference.org/ref/user/6/esriwkt/">http://spatialreference.org/ref/user/6/esriwkt/</a></div><div><br></div><div><br></div><div>Dane</div><div><br></div><div><br></div></div><div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Sun, Nov 16, 2008 at 7:44 PM, Dane Springmeyer&nbsp;<span dir="ltr">&lt;<a href="mailto:blake@hailmail.net">blake@hailmail.net</a>></span>&nbsp;wrote:<br><blockquote class="gmail_quote" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; padding-left: 1ex; "><div>Its TMS (Tile Map Service), right?<div><br></div><div><a href="http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification" target="_blank">http://wiki.osgeo.org/wiki/Tile_Map_Service_Specification</a><div><br></div><div>Does manifold use Proj.4 for projections support? &nbsp;If it does then just adding a record for spherical mercator in the espg file should allow the WMS to support spherical mercator. If not, then nevermind. :)</div><div><br></div><div>Sounds like the openlayers forward/inverse js code is exactly what you need, but.... &nbsp;kinda begs the question again... maybe use OpenLayers?</div><div><br></div><div>If your digitizing stuff in gmaps is the only hangup - I'd just note that OpenLayers has got an impressive editing framework that you could likely contribute to.</div><div><br></div><div>Dane</div><div><br></div><div><br></div><div><br><div><div><div></div><div class="Wj3C7c"><div>On Nov 16, 2008, at 2:13 PM, chris marx wrote:</div><br></div></div><blockquote type="cite"><div><div></div><div class="Wj3C7c">Hi,<br>&nbsp;I've got the TileCache TSM service working (thanks to the list for tips!), but unfortunately, my WMS does not support the "Spherical Mercator" projection. For the moment, i rewrote the wms service to switch up the espg and coordinates from tilecaches's tsm request and converting them to lat/lng, so that at least the WMS request will go through, but I assume a standard mercator projection to do the conversion (which is obviously wrong). Since my GIS/WMS doesn't support this projection, does anyone have the necessary code to convert coordinates from the spherical mercator to lat/lng?&nbsp;<br>Thanks!<br clear="all"><br>--&nbsp;<br><br>Chris Marx<br>Programmer/Analyst<br>Cornell Lab of Ornithology<br>159 Sapsucker Woods Rd.<br>Ithaca, NY 14850<br>t. 1.607.254.1142<br><a href="http://www.birds.cornell.edu/" target="_blank">http://www.birds.cornell.edu/</a><br></div></div>_______________________________________________<br>Tilecache mailing list<br><a href="mailto:Tilecache@openlayers.org" target="_blank">Tilecache@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br></blockquote></div><br></div></div></div></blockquote></div><br><br clear="all"><br>--&nbsp;<br><br>Chris Marx<br>Programmer/Analyst<br>Cornell Lab of Ornithology<br>159 Sapsucker Woods Rd.<br>Ithaca, NY 14850<br>t. 1.607.254.1142<br><a href="http://www.birds.cornell.edu/">http://www.birds.cornell.edu/</a><br></blockquote><div><font class="Apple-style-span" color="#144FAE"><br></font></div></div></div></div></div></body></html>