I'm trying to develop my own map service then display my generated images into ARCGIS map viewer ... Anyway my *.ashx service reads ARCGIS Tile URL looks like "http://services.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer/tile/1/1/2"
I want to transform the value of (Zoom/TileX/TileY) from the url above to Pixel or BoundingBox USING SRID 4326
BoundingBox values should not exceeds Max/Min value between (-180,-90) to (180,90).
I'm taking the Bbox then passe it to my Stored procedure witch intersects some SQL geography rows.
Any Ideas ?
You could look at BruTile's InvertedYAxis.TileToWorld
You will need to define a schema based on the information you find here: http://server.arcgisonline.com/ArcGIS/rest/services/NGS_Topo_US_2D/MapServer
Not sure if this is the easiest solution in your situation