| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(SysMeta meta) |
| | | { |
| | | return "http://{host}/LFData/3d/3dtiles/" + meta.type + "/" + meta.id + "/tileset.json"; |
| | | return "{host}/LFData/3d/3dtiles/" + meta.type + "/" + meta.id + "/tileset.json"; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(string path) |
| | | { |
| | | return "http://{host}/LFData/" + path.Replace("\\", "/"); |
| | | return "{host}/LFData/" + path.Replace("\\", "/"); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(SysMeta meta) |
| | | { |
| | | return "http://{host}/LFData/3d/3dtiles/osgb/" + meta.id + "/tileset.json"; |
| | | return "{host}/LFData/3d/3dtiles/osgb/" + meta.id + "/tileset.json"; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(string path) |
| | | { |
| | | return "http://{host}/LFData/" + path.Replace("\\", "/"); |
| | | return "{host}/LFData/" + path.Replace("\\", "/"); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | switch (meta.type) |
| | | { |
| | | case "mpt": |
| | | return "http://{host}/SG/Imagery;" + sgsID + ".mpt"; // Elevation |
| | | return "{host}/SG/Imagery;" + sgsID + ".mpt"; // Elevation |
| | | case "3dml": |
| | | return "http://{host}/SG/b3dm/" + sgsID + "/tileset.json"; |
| | | return "{host}/SG/b3dm/" + sgsID + "/tileset.json"; |
| | | case "cpt": |
| | | return "http://{host}/SG/pnts/" + sgsID + "/tileset.json"; |
| | | return "{host}/SG/pnts/" + sgsID + "/tileset.json"; |
| | | default: |
| | | return string.Empty; |
| | | } |
| | |
| | | /// </summary> |
| | | public static string GetReleaseUrl(string dircode) |
| | | { |
| | | return "http://{host}/LFData/3d/terrain/" + dircode; |
| | | return "{host}/LFData/3d/terrain/" + dircode; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public static string GetReleaseUrl(string dircode) |
| | | { |
| | | //return "http://{host}/LFData/3d/terrain/" + dircode; |
| | | return "http://{host}/ExportMap/terra0?path=3d/terrain/" + dircode; |
| | | return "{host}/ExportMap/terra0?path=3d/terrain/" + dircode; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | public static string GetReleaseUrl(string dircode) |
| | | { |
| | | //return "http://{host}/LFData/2d/tiles/" + dircode + "/{z}/{x}/{y}.png"; |
| | | return "http://{host}/ExportMap/tile0/{z}/{x}/{y}.png?path=2d/tiles/" + dircode; |
| | | return "{host}/ExportMap/tile0/{z}/{x}/{y}.png?path=2d/tiles/" + dircode; |
| | | } |
| | | |
| | | /// <summary> |