August 13, 200718 yr I was wondering if it's possible to configure hitta.se to work with TP as it provides very good coverage of Sweden.Here's an example:http://www.hitta.se/LargeMap.aspx?z=3&cx=1...&PointY=6639491 -
August 13, 200718 yr Looks like it could be used,one tile URL:http://karta.hitta.se/starmap/ImgServlet?r...y=6486&source=1If their coordinate system is based on absolute latitude/longitude coordinate that spans the entire world, it can most likely be used.Christian
August 13, 200718 yr Author I'll give it a try.. It's possible to zoom out and drag outside Sweden, though you'll only see solid blue. Maybe they use a world-wide coordinate system, but only include imagery of any zoom level for the nordic countries. -
August 14, 200718 yr Author Those seem to have something to do with parsing the URL but trying to figure it out turns my brain to salad :) var url = StarMap.sat ? '/SatPage.aspx' : '/MapPage.aspx'; url += '?z=' + StarMap.zoomIndex + '&cx=' + parseInt(StarMap.cx) + '&cy=' + parseInt(StarMap.cy); if (pointId != -1) { url += '&PointX=' + pointId.x + '&PointY=' + pointId.y; } if (!largeMap) { url += '&referrer=LargeMap.aspx'; or var url = '/LargeMap.aspx?cx=' + StarMap.cx + '&cy=' + StarMap.cy + '&z=' + StarMap.zoomIndex + '&ShowSatellite=' + StarMap.sat; url += "&PointX=1602553"; url += "&PointY=6639491"; -
August 14, 200718 yr Ouch! Their hierarchy of zoom levels uses arbitrary resolutions, not resolutions based on an scaling of factor 2 with each further zoom level. Tileproxy isn't quite prepared for this.
Create an account or sign in to comment