This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
proj4.defs("EPSG:25832", "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"); | |
class Proj4WebMapProjection { | |
private _proj :transformer; | |
constructor(public ellipsoid = Cesium.Ellipsoid.WGS84, code = "EPSG:25832") { | |
this._proj = proj4(code); | |
} | |
project(cartographic:Cesium.Cartographic, result) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var viewer = new Cesium.Viewer('cesiumContainer', { | |
baseLayerPicker : false | |
}); | |
var imageryLayers = viewer.imageryLayers; | |
require(["https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.3.10/proj4-src.js"],function(proj4){ | |
proj4.defs("EPSG:25832", "+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"); | |
var cache={};var cache1={}; | |
var Proj4WebMapProjection = (function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Security.Claims; | |
using System.Threading.Tasks; | |
using Microsoft.AspNet.Identity; | |
using Microsoft.AspNet.Identity.EntityFramework; | |
using Microsoft.Owin.Security; | |
using Microsoft.Owin.Security.Cookies; | |
using Microsoft.Owin.Security.OAuth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.IdentityModel.Clients.ActiveDirectory; | |
using Microsoft.WindowsAzure; | |
using Microsoft.WindowsAzure.Management; | |
using Newtonsoft.Json; | |
using System; | |
using System.Configuration; | |
using System.Globalization; | |
using System.Net.Http; | |
using System.Security.Claims; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Threading.Tasks; | |
using Microsoft.Owin; | |
using Owin; | |
using Microsoft.Owin.Security.WsFederation; | |
using System.Linq; | |
using System.Globalization; | |
using System.Web; | |
using Microsoft.Owin.Security.Cookies; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.UseCookieAuthentication(new CookieAuthenticationOptions | |
{ | |
AuthenticationType = WsFederationAuthenticationDefaults.AuthenticationType, | |
}); | |
app.UseWsFederationAuthentication(new WsFederationAuthenticationOptions | |
{ | |
TokenValidationParameters = new System.IdentityModel.Tokens.TokenValidationParameters | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
namespace Composite.WindowsAzure.Util | |
{ | |
/// <summary> | |
/// Wrap TraceTimer around a code block with using and it will write out the time used for the block to trace. | |
/// </summary> | |
public class TraceTimer : IDisposable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Host Name: WIN-TDA94991L4B | |
OS Name: Microsoft Windows Server 2012 R2 Datacenter | |
OS Version: 6.3.9600 N/A Build 9600 | |
OS Manufacturer: Microsoft Corporation | |
OS Configuration: Standalone Server | |
OS Build Type: Multiprocessor Free | |
Registered Owner: Windows User | |
--- | |
PRIVATE STUFF | |
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.CodeAnalysis; | |
using Microsoft.CodeAnalysis.CSharp; | |
using Microsoft.CodeAnalysis.CSharp.Syntax; | |
using Newtonsoft.Json; | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clc; | |
clear all; | |
close all; | |
% SELECT A FOLDER | |
folder = 'C:\test\homography\20140330_0\'; | |
% CAMERA INTERNAL PARAMTERS | |
imWidth = 7360; | |
imHeight =4912; | |
A = [1.1349e+04 0 imWidth/2 |
OlderNewer