SASGIS

Веб-картография и навигация


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002783SAS.Планета[All Projects] Хотелкаpublic06-08-2015 07:4806-08-2015 12:04
Reporterzoulou 
Assigned Tozed 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version141212 
Target Version150915Fixed in Version150915 
Summary0002783: Add to Pascal Script supprot of MD5 hash
Descriptionfile png 256x256 on http://amudanan.co.il :
http://a.amudanan.co.il/tiles/I50N64/4ad6114ecf2f44c84765c5bf7c1c2614.png

Is it possible to use hashed tiles MD5 ?
Israeli topo site uses following function "MD5Script" to get the tiles.

Text convert to MD5 for a example:
Copyrighted AmudAnan 15/13328/19584" equals "4ad6114ecf2f44c84765c5bf7c1c2614"

GetUrlScript.txt:
TextToMd5 := MD5String('Copyrighted AmudAnan ' + IntToStr(GetZ-1) + '/' + IntToStr(GetY) + '/' + IntToStr(GetX));
ResultURL := GetURLBase + TextToMd5+ '.png';

But there is a error "MD5Script". Why? Because there is no such functions yet on Description of Pascal scripts.
=> Function: MD5String(const Adata: string): string
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0016357)
zed (manager)
06-08-2015 12:03
edited on: 06-08-2015 12:03

Done.

Now you can use it like: Result := LowerCase(MD5String('Copyrighted AmudAnan 15/13328/19584'));


- Users who viewed this issue
User List Anonymous (3292x), Parasite (6x), vdemidov (6x), zed (9x), zoulou (1x)
Total Views 3314
Last View 21-11-2024 17:21

- Issue History
Date Modified Username Field Change
06-08-2015 07:48 zoulou New Issue
06-08-2015 10:45 vdemidov Project Доработка карты (ZMP) => SAS.Планета
06-08-2015 10:45 vdemidov Category Доработка файла карты => Баг
06-08-2015 10:46 vdemidov Status new => confirmed
06-08-2015 10:46 vdemidov Product Version => 141212
06-08-2015 10:46 vdemidov Target Version => 150915
06-08-2015 10:46 vdemidov Summary text convert to MD5 hash => Add to Pascal Script supprot of MD5 hash
06-08-2015 10:46 vdemidov Additional Information Updated View Revisions
06-08-2015 10:50 zed Assigned To => zed
06-08-2015 10:50 zed Status confirmed => assigned
06-08-2015 10:50 zed Category Баг => Хотелка
06-08-2015 12:03 zed Note Added: 0016357
06-08-2015 12:03 zed Note Edited: 0016357 View Revisions
06-08-2015 12:04 zed Status assigned => resolved
06-08-2015 12:04 zed Fixed in Version => 150915
06-08-2015 12:04 zed Resolution open => fixed



Copyright © 2007 - 2024 SAS.Planet Team