Advertisement
Guest User

Random point in the Northern Atlanic

a guest
Aug 1st, 2011
962
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.92 KB | None | 0 0
  1. 'type' => "point"
  2. 'x' => "-4461476.593739985"
  3. 'y' => "4437995.016964"
  4. 'spatialReference' ...
  5. 'wkid' => "102100"
  6. 'wkt' ...
  7. '_info' ...
  8. '3857' ...
  9. 'wkTemplate' => "PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",${Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]"
  10. 'valid' ...
  11. '0' => "-20037508.342788905"
  12. '1' => "20037508.342788905"
  13. 'origin' ...
  14. '0' => "-20037508.342787"
  15. '1' => "20037508.342787"
  16. 'dx' => "0.00001"
  17. '4326' ...
  18. 'wkTemplate' => "GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",${Central_Meridian}],UNIT["Degree",0.0174532925199433]]"
  19. 'altTemplate' => "PROJCS["WGS_1984_Plate_Carree",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Plate_Carree"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",${Central_Meridian}],UNIT["Degrees",111319.491]]"
  20. 'valid' ...
  21. '0' => "-180"
  22. '1' => "180"
  23. 'origin' ...
  24. '0' => "-180"
  25. '1' => "180"
  26. 'dx' => "0.00001"
  27. '102100' ...
  28. 'wkTemplate' => "PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",${Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]"
  29. 'valid' ...
  30. '0' => "-20037508.342788905"
  31. '1' => "20037508.342788905"
  32. 'origin' ...
  33. '0' => "-20037508.342787"
  34. '1' => "20037508.342787"
  35. 'dx' => "0.00001"
  36. '102113' ...
  37. 'wkTemplate' => "PROJCS["WGS_1984_Web_Mercator",GEOGCS["GCS_WGS_1984_Major_Auxiliary_Sphere",DATUM["D_WGS_1984_Major_Auxiliary_Sphere",SPHEROID["WGS_1984_Major_Auxiliary_Sphere",6378137.0,0.0]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",${Central_Meridian}],PARAMETER["Standard_Parallel_1",0.0],UNIT["Meter",1.0]]"
  38. 'valid' ...
  39. '0' => "-20037508.342788905"
  40. '1' => "20037508.342788905"
  41. 'origin' ...
  42. '0' => "-20037508.342787"
  43. '1' => "20037508.342787"
  44. 'dx' => "0.00001"
  45. '_isWebMercator' => "function (){return dojo.indexOf([102113,102100,3857],this.wkid)!==-1;}"
  46. '_isWrappable' => "function (){return dojo.indexOf([102113,102100,3857,4326],this.wkid)!==-1;}"
  47. '_getInfo' => "function (){return this.wkid?this._info[this.wkid]:null;}"
  48. 'toJson' => "function (){if(this.wkid!==null){return {wkid:this.wkid};}else{if(this.wkt!==null){return {wkt:this.wkt};}}return null;}"
  49. 'constructor' => "function (){var a=arguments,t=a,a0=a[0],f;if(!(this instanceof a.callee)){return _111(a);}if(_113){if(a0){f=a0.preamble;if(f){t=f.apply(this,t)||t;}}f=this.preamble;if(f){f.apply(this,t);}}if(ctor){ctor.apply(this,a);}f=this.postscript;if(f){f.apply(this,a);}}"
  50. 'getInherited' => "function _102(name,args){if(typeof name=="string"){return this.inherited(name,args,true);}return this.inherited(name,true);}"
  51. 'inherited' => "function _fa(_fb,a,f){var _fc,_fd,_fe,_ff,meta,base,_100,opf,pos,_101=this._inherited=this._inherited||{};if(typeof _fb=="string"){_fc=_fb;_fb=a;a=f;}f=0;_ff=_fb.callee;_fc=_fc||_ff.nom;if(!_fc){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_fe=meta.bases;pos=_101.p;if(_fc!=_ee){if(_101.c!==_ff){pos=0;base=_fe[0];meta=base._meta;if(meta.hidden[_fc]!==_ff){_fd=meta.chains;if(_fd&&typeof _fd[_fc]=="string"){err("calling chained method with inherited: "+_fc,this.declaredClass);}do{meta=base._meta;_100=base.prototype;if(meta&&(_100[_fc]===_ff&&_100.hasOwnProperty(_fc)||meta.hidden[_fc]===_ff)){break;}}while(base=_fe[++pos]);pos=base?pos:-1;}}base=_fe[++pos];if(base){_100=base.prototype;if(base._meta&&_100.hasOwnProperty(_fc)){f=_100[_fc];}else{opf=op[_fc];do{_100=base.prototype;f=_100[_fc];if(f&&(base._meta?_100.hasOwnProperty(_fc):f!==opf)){break;}}while(base=_fe[++pos]);}}f=base&&f||op[_fc];}else{if(_101.c!==_ff){pos=0;meta=_fe[0]._meta;if(meta&&meta.ctor!==_ff){_fd=meta.chains;if(!_fd||_fd.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_fe[++pos]){meta=base._meta;if(meta&&meta.ctor===_ff){break;}}pos=base?pos:-1;}}while(base=_fe[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_101.c=f;_101.p=pos;if(f){return a===true?f:f.apply(this,a||_fb);}}"
  52. 'isInstanceOf' => "function _103(cls){var _104=this.constructor._meta.bases;for(var i=0,l=_104.length;i<l;++i){if(_104[i]===cls){return true;}}return this instanceof cls;}"
  53. 'declaredClass' => "esri.SpatialReference"
  54. 'offset' => "function (x,y){return new esri.geometry.Point(this.x+x,this.y+y,this.spatialReference);}"
  55. 'setX' => "function (x){this.x=x;return this;}"
  56. 'setY' => "function (y){this.y=y;return this;}"
  57. 'update' => "function (x,y){this.x=x;this.y=y;return this;}"
  58. 'normalize' => "function (){var x=this.x,sr=this.spatialReference;if(sr){var info=sr._getInfo();if(info){var _15f=info.valid[0],_160=info.valid[1],_161=2*_160,_162;if(x>_160){_162=Math.ceil(Math.abs(x-_160)/_161);x-=(_162*_161);}else{if(x<_15f){_162=Math.ceil(Math.abs(x-_15f)/_161);x+=(_162*_161);}}}}return new esri.geometry.Point(x,this.y,sr);}"
  59. 'toJson' => "function (){var json={x:this.x,y:this.y},sr=this.spatialReference;if(sr){json.spatialReference=sr.toJson();}return json;}"
  60. 'constructor' => "function (){var a=arguments,args=a,a0=a[0],f,i,m,l=_10e.length,_110;if(!(this instanceof a.callee)){return _111(a);}if(_10f&&(a0&&a0.preamble||this.preamble)){_110=new Array(_10e.length);_110[0]=a;for(i=0;;){a0=a[0];if(a0){f=a0.preamble;if(f){a=f.apply(this,a)||a;}}f=_10e[i].prototype;f=f.hasOwnProperty("preamble")&&f.preamble;if(f){a=f.apply(this,a)||a;}if(++i==l){break;}_110[i]=a;}}for(i=l-1;i>=0;--i){f=_10e[i];m=f._meta;f=m?m.ctor:f;if(f){f.apply(this,_110?_110[i]:a);}}f=this.postscript;if(f){f.apply(this,args);}}"
  61. 'getInherited' => "function _102(name,args){if(typeof name=="string"){return this.inherited(name,args,true);}return this.inherited(name,true);}"
  62. 'inherited' => "function _fa(_fb,a,f){var _fc,_fd,_fe,_ff,meta,base,_100,opf,pos,_101=this._inherited=this._inherited||{};if(typeof _fb=="string"){_fc=_fb;_fb=a;a=f;}f=0;_ff=_fb.callee;_fc=_fc||_ff.nom;if(!_fc){err("can't deduce a name to call inherited()",this.declaredClass);}meta=this.constructor._meta;_fe=meta.bases;pos=_101.p;if(_fc!=_ee){if(_101.c!==_ff){pos=0;base=_fe[0];meta=base._meta;if(meta.hidden[_fc]!==_ff){_fd=meta.chains;if(_fd&&typeof _fd[_fc]=="string"){err("calling chained method with inherited: "+_fc,this.declaredClass);}do{meta=base._meta;_100=base.prototype;if(meta&&(_100[_fc]===_ff&&_100.hasOwnProperty(_fc)||meta.hidden[_fc]===_ff)){break;}}while(base=_fe[++pos]);pos=base?pos:-1;}}base=_fe[++pos];if(base){_100=base.prototype;if(base._meta&&_100.hasOwnProperty(_fc)){f=_100[_fc];}else{opf=op[_fc];do{_100=base.prototype;f=_100[_fc];if(f&&(base._meta?_100.hasOwnProperty(_fc):f!==opf)){break;}}while(base=_fe[++pos]);}}f=base&&f||op[_fc];}else{if(_101.c!==_ff){pos=0;meta=_fe[0]._meta;if(meta&&meta.ctor!==_ff){_fd=meta.chains;if(!_fd||_fd.constructor!=="manual"){err("calling chained constructor with inherited",this.declaredClass);}while(base=_fe[++pos]){meta=base._meta;if(meta&&meta.ctor===_ff){break;}}pos=base?pos:-1;}}while(base=_fe[++pos]){meta=base._meta;f=meta?meta.ctor:base;if(f){break;}}f=base&&f;}_101.c=f;_101.p=pos;if(f){return a===true?f:f.apply(this,a||_fb);}}"
  63. 'isInstanceOf' => "function _103(cls){var _104=this.constructor._meta.bases;for(var i=0,l=_104.length;i<l;++i){if(_104[i]===cls){return true;}}return this instanceof cls;}"
  64. 'declaredClass' => "esri.geometry.Point"
  65. 'setSpatialReference' => "function (sr){this.spatialReference=sr;return this;}"
  66. 'getExtent' => "function (){return null;}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement