Find Jobs
Hire Freelancers

Custom SSIS task

$250-750 USD

完了済み
投稿日: 14年以上前

$250-750 USD

完了時にお支払い
We are in need of a custom SSIS Data Flow Task. The task is not very complicated. It has to add a field with the calculated distance between two coordinates. We need to be able to specify 4 fields. - Start Latitude (in decimal degrees) - Start Longitude (in decimal degrees) - Stop Latitude (in decimal degrees) - Stop Longitude (in decimal degrees) The task needs to add a field 'distance'. The distance is in miles or kilometers. This should be an option in the task screen. Of course the task has to be as fast as it is possible. It has to calculate millions of records. The calculation for this task is (in c#): using System; //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //::: ::: //::: ::: //::: Definitions: ::: //::: South latitudes are negative, east longitudes are positive ::: //::: ::: //::: Passed to function: ::: //::: lat1, lon1 = Latitude and Longitude of point 1 (in decimal degrees) ::: //::: lat2, lon2 = Latitude and Longitude of point 2 (in decimal degrees) ::: //::: unit = the unit you desire for results ::: //::: where: 'M' is statute miles ::: //::: 'K' is kilometers (default) ::: //::: 'N' is nautical miles ::: //::: ::: //::: ::: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: private double distance(double lat1, double lon1, double lat2, double lon2, char unit) { double theta = lon1 - lon2; double dist = [login to view URL](deg2rad(lat1)) * [login to view URL](deg2rad(lat2)) + [login to view URL](deg2rad(lat1)) * [login to view URL](deg2rad(lat2)) * [login to view URL](deg2rad(theta)); dist = [login to view URL](dist); dist = rad2deg(dist); dist = dist * 60 * 1.1515; if (unit == 'K') { dist = dist * 1.609344; } else if (unit == 'N') { dist = dist * 0.8684; } return (dist); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //:: This function converts decimal degrees to radians ::: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: private double deg2rad(double deg) { return (deg * [login to view URL] / 180.0); } //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: //:: This function converts radians to decimal degrees ::: //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: private double rad2deg(double rad) { return (rad / [login to view URL] * 180.0); }
プロジェクト ID: 489806

プロジェクトについて

2個の提案
リモートプロジェクト
アクティブ 15年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
アワード者:
ユーザーアバター
hi,please check pm.
$350 USD 5日以内
4.4 (2 レビュー)
3.6
3.6
この仕事に2人のフリーランサーが、平均$313 USDで入札しています
ユーザーアバター
yes , ican do this task i have some experience about SSIS package iwant to ask if you need interface for this task that take the 4 fields and inserts the result in excel sheets or text documets or in table in data base or what ?
$275 USD 4日以内
0.0 (0 レビュー)
0.0
0.0

クライアントについて

NETHERLANDSのフラグ
Sleeuwijk, Netherlands
5.0
1
メンバー登録日:8月 16, 2009

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。