-
[email protected] - which video card?
El Hadji replied to qubbo's topic in Video Hardware: Monitors | Multi-Monitors | Video Cards | Drivers etcAs always it is a matter of how much cash you are willing to fork up but I am REALLY happy with my new MSI GeForce GTX 680 Lightning card.
-
NEED WORKING FSEARTHTILES SERVICE FOR NORWAY
Solved my "grey tile" problem. It turned out that the area I wanted to capture had lower resolution areas mixed with higher. Didn't notice that at first. When changing DL quality level to "2" the grey areas disappeared in FS2004. Also, I tried v=86 instead of v=69 as suggested above and both works just fine.
-
NEED WORKING FSEARTHTILES SERVICE FOR NORWAY
Try this one: [serviceX]ServiceCodeing = qrtsServiceUrl = http://khm0.google.com/kh?t=t%s&n=404&v=69ServerVariations = khm0,khm1,khm2,khm3 (Change X to whatever number this service will be in the FSET config file...)I have tried it for Sweden and it does load the area I'm interested in. The problem is that I don't seem to get ALL the tiles I want (big chunks missing when I try it in FS2004). Maybe I am doing something wrong since I'm fairly new to this...You also need to modify the 'TileCodeingScript.cs' file to retrieve the maps from Google. My file looks like this (after a tip I found in a french forum): using System;using System.Collections.Generic;using System.Text;using FSEarthTilesInternalDLL;namespace FSEarthTilesDLL{ public class TileCodeingScript { //The following Methodes will be called by FSEarthTiles: //MapAreaCoordToTileCode(Int64 iAreaCodeX, Int64 iAreaCodeY, Int64 iAreaCodeLevel, String iUseCode) public String MapAreaCoordToTileCode(Int64 iAreaCodeX, Int64 iAreaCodeY, Int64 iAreaCodeLevel, String iUseCode) { String vResultCode = ""; if (EarthCommon.StringCompare(iUseCode, "xyz")) // example Service 3 thank's to Steffen I. { // Some Services uses same Lvl system as FSEarthTiles(funny coincidence) Service Lvl z=1 is 1 m/pixel Int64 vServiceZ = iAreaCodeLevel; Int64 vServiceX = iAreaCodeX; Int64 vServiceY; if (iAreaCodeLevel < EarthMath.cLevel0CodeDeep) { Int32 vYConvertPower = (Int32)(EarthMath.cLevel0CodeDeep - iAreaCodeLevel - 1); //-1 because Service uses positive and negative numbers for Y vServiceY = (1 << vYConvertPower) - 1 - iAreaCodeY; // 1<<vYConvertPower (is equal to 2^vYConvertPower) } else { //lvl 18, whole world is not covered correct, you can only get the upper (y=0)or lower (y=-1) world half instead the whole. //so make that tile unavailable vServiceX = 0; vServiceY = 0; vServiceZ = 100; } vResultCode = "x=" + vServiceX + "&y=" + vServiceY + "&z=" + vServiceZ; } else if (EarthCommon.StringCompare(iUseCode, "xyinvz")) { Int64 vServiceZ = EarthMath.cLevel0CodeDeep - iAreaCodeLevel; Int64 vServiceX = iAreaCodeX; Int64 vServiceY = iAreaCodeY; vResultCode = "&x=" + vServiceX.ToString() + "&y=" + vServiceY.ToString() + "&z=" + vServiceZ.ToString(); } else // Quad mode, examples Services 1 and 2 { Int64 vSteps = EarthMath.cLevel0CodeDeep - iAreaCodeLevel; Int64 vXStart = 0; Int64 vXStop = EarthMath.GetAreaCodeSize(iAreaCodeLevel) - 1; Int64 vYStart = 0; Int64 vYStop = EarthMath.GetAreaCodeSize(iAreaCodeLevel) - 1; Int64 vXHalf; Int64 vYHalf; Char vC0; Char vC1; Char vC2; Char vC3; vC0 = iUseCode[0]; vC1 = iUseCode[1]; vC2 = iUseCode[2]; vC3 = iUseCode[3]; for (Int64 vCon = 1; vCon <= vSteps; vCon++) { vXHalf = (vXStart + vXStop + 1) >> 1; vYHalf = (vYStart + vYStop + 1) >> 1; if (iAreaCodeY < vYHalf) { if (iAreaCodeX < vXHalf) { vResultCode += vC0; vYStop = vYHalf; vXStop = vXHalf; } else { vResultCode += vC1; vYStop = vYHalf; vXStart = vXHalf; } } else { if (iAreaCodeX < vXHalf) { vResultCode += vC2; vYStart = vYHalf; vXStop = vXHalf; } else { vResultCode += vC3; vYStart = vYHalf; vXStart = vXHalf; } } } } return vResultCode; } }} You also need to allow for CSharpScripts in the FSET .ini file: find the line 'UseCSharpScrips' and make sure it says 'yes'...Hope this was to some help! Now I just have to figure out why I'm always getting a bunch of grey areas among the perfectly rendered tiles in FS2004...EDIT: Forgot to mention - if you get 'can not access...' errors, try pressing the WWW-button in FSET. For some reason this makes the maps load...
El Hadji
Members
-
Joined
-
Last visited