![]() |
![]() |
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
<%
' This function takes a filename and returns the appropriate image for
' that file type based on it's extension if the file exists.
Function ShowImage(strName, strPath)
Dim strTemp
Dim objFE
' Create an FSO
Set objFE = Server.CreateObject("Scripting.FileSystemObject")
'response.write strPath & strName
' Check if the file exists
if objFE.FileExists(strPath & strName) = true then
' Set our working string to the one passed in
strTemp = strName
' If it's not a directory, get the extension and set it to strTemp
' If it is a directory, then we already have the correct value
If strTemp <> "dir" Then
strTemp = LCase(Right(strTemp, Len(strTemp) - InStrRev(strTemp, ".", -1, 1)))
End If
' Debugging line used to perfect that above string parser
'Response.Write strTemp
' Set the part of the image file name that's unique to the type of file
' to it's correct value and set this to strTemp. (yet another use of it!)
Select Case strTemp
Case "txt"
strTemp = "txt"
case "mps"
strTemp = "mps"
case "trk"
strTemp = "trk"
case "plt"
strTemp = "plt"
Case Else
strTemp = "misc"
End Select
' All our logic is done... build the IMG Tag for display to the browser
' Place it into... where else... strTemp!
' My images are all GIFs and all start with "dir_" for my own sanity.
' They end with one of the values set in the select statement above.
'response.write "images/dir_" & strTemp & ".gif"
strTemp = " Tracks conversie van Waypoints, Tracks en routes: zoek even naar GPS
Utility en Importer en GPSBabel
bij de links. Beschikbare Tracks: Deze meeste van deze tracks zijn gecreëerd door Bart Mertens. De juistheid kan varieren. Al de tracks werden gereduceerd en gecorigeerd om beter aan te sluiten bij de kaart en meetfouten te verwijderen. Formaten niet beschikbaar in de tabel kunnen
online geplaatst worden (Fugawi OF OziExporer OF Text OF
MapSource(incl GPX)). Je eigen tracks kunnen bij online geplaatst worden door ze mij te . De tracks moeten in 1 of meerdere van de bovenstaande formaten zijn. PS: de afstandsaanduiding onder 'info' is meestal 3 a 5% minder dan wanneer de track reeel gebruikt wordt (de software werkt nu eenmaal met loodrechte lijnstukken van punt tot punt). Door het reduceren van tracks zijn de hoogtemeters eveneens meestal 10% minder geworden, behalve indien geregistreerd met een barometrische hoogtemeter. Onze eigen beschikbare tracks:
Andere track websites:
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| De beste prijzen voor Garmin GPS op Point 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Home | © Copyright Soft Solutions / Bart Mertens 2002 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||