x tile
TileView基本配置

TileView基本配置...图⽚缩放设置///<summary>/// TileViewColumn 相关属性设置///</summary>///<param name="tvcID">TileViewColumn对象</param>///<param name="Name">Name属性</param>///<param name="Caption">标题</param>///<param name="FieldName">数据源字段</param>///<param name="ShowCaption">bool值,是否展⽰Caption:选卡展⽰列的内容时是否展⽰标题(Caption)</param>///<param name="Visible">bool值,是否显⽰</param>///<param name="VisibleIndex">int ,排序位置:默认0开始</param>public void SetTileViewColumn(DevExpress.XtraGrid.Columns.TileViewColumn tvcID,string Name,string Caption,string FieldName,bool ShowCaption,bool Visible,int VisibleIndex) {tvcID.Caption = Caption;/* 标题 */tvcID.FieldName = FieldName;/* 数据源字段 */ = Name;/* Name属性 */tvcID.OptionsColumn.ShowCaption = ShowCaption;/* 是否展⽰Caption:选卡展⽰列的内容时是否展⽰标题(Caption) */tvcID.Visible = Visible;/* 是否显⽰列 */tvcID.VisibleIndex = VisibleIndex;/* 排序位置:默认0开始 */tvcID.ColumnEdit = new DevExpress.XtraEditors.Repository.RepositoryItem();}public void TitleViewSet( TileView tileView){/* 配置gridControl1.RepositoryItems,TileView调⽤时,直接给TileViewColumn.ColumnEdit赋值 */DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit rpIPictureEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();((ponentModel.ISupportInitialize)(rpIPictureEdit)).BeginInit();rpIPictureEdit.CustomHeight = 200; = "rpIPictureEdit";/* 添加单个内部控件*/this.gridControl1.RepositoryItems.Add(repositoryItemPictureEdit1 );/*添加多个内部控件*/this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {rpIPictureEdit,this.repositoryItemTextEdit1,this.repositoryItemTextEdit2,this.repositoryItemPictureEdit2});((ponentModel.ISupportInitialize)(rpIPictureEdit)).EndInit();/* 绑定数据源列:直接绑定数据源;*/DevExpress.XtraGrid.Columns.TileViewColumn tvcID = new DevExpress.XtraGrid.Columns.TileViewColumn();/* ⾏列对象 */DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();DevExpress.XtraEditors.TableLayout.TableRowDefinition tableRowDefinition1 = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();/* 页⾯布局列:可关联TileViewColumn,也可⾃定义; */DevExpress.XtraGrid.Views.Tile.TileViewItemElement tVIElementID = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();DevExpress.XtraGrid.Views.Tile.TileViewItemElement tVIElement = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();tVIElement.Column = tvcName;/* 配置TileViewItemElement对应的TileViewColumn对象*/tVIElement.AnchorAlignment = DevExpress.Utils.AnchorAlignment.Left; /* 锚定:Top , Left , Right , Bottom ,设置锚定⽅式 */tVIElement.AnchorElement = tVIElementID; /* 锚定元素:按某个元素或者控件进⾏锚定,锚定⽅式按AnchorAlignment 设置 */tVIElement.AnchorIndent = 100;/* 参照对象(AnchorElement配置参照对象),排列⽅式(AnchorAlignment上下左右),设置相对距离;*/tVIElement.AnchorOffset = new System.Drawing.Point(10, 10);/* 相对坐标配置:在AnchorElement、AnchorIndent的配置基础上配置X、Y坐标*/tVIElement.AnchorElementIndex = 0;tVIElement.ImageOptions.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;tVIElement.ImageOptions.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;tVIElement.Text = "tvcName";tVIElement.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;tileView.TileTemplate.Add(tVIElement);/* 添加列 */tileView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[]{tvcID,tvcPhoto,tvcPhotoName,tvcName});tileView.ColumnSet.CheckedColumn = tvcID; /*勾选状态,指定的列的值为: 1(选卡勾选状态),0 或者其他(选卡未勾选状态)*/tileView.ColumnSet.EnabledColumn = tvcID;/*TileView卡⽚的Enabled权限,指定列的值为:0(卡⽚灰⾊不能选中),0(卡⽚可选中);*/tileView.ColumnSet.GroupColumn = tvcID; /*TileView卡⽚分组:指定的列的值如果相同,归为同组;*/tileView.GridControl = gridControl1;/**/ = "tileView1";/**/tileView.OptionsTiles.ItemPadding = new System.Windows.Forms.Padding(0);/* Padding值设置 */tileView.OptionsTiles.ItemSize = new System.Drawing.Size(360, 180);/* 卡⽚Size尺⼨设置 */tileView.OptionsTiles.Orientation = System.Windows.Forms.Orientation.Horizontal;/* 滚动⽅向设置;Horizontal⽔平滚动(默认),Vertical垂直滚动 */ tileView.OptionsTiles.ColumnCount = 3;/* 当Orientation = Vertical垂直滚动时,横排最多3个选卡,此时RowCount设置⽆效 */tileView.OptionsTiles.RowCount = 2;/* 当Orientation = Horizontal⽔平滚动,竖排最多2个选卡,此时ColumnCount设置⽆效 */tileView.DetailHeight = 100;/**//* 排序列 */tileView.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[]{new DevExpress.XtraGrid.Columns.GridColumnSortInfo(tvcID, DevExpress.Data.ColumnSortOrder.Ascending)/*TileViewColumn , 排序⽅式*/});tileView.TileColumns.Add(tableColumnDefinition1);tileView.TileRows.Add(tableRowDefinition1);}....。
Skytile 光板安装指南说明书

9.85955951195295595companyaSkytile ® RangeInstallation Instructions for Skytile ® recessed LED panelsINSTALLATIONENGLISH•Read instructions and check that you have all of the tools and accessories required to complete the installation correctly. Isolate power supply before starting the installation.Standard non-dimmable/dimmable luminaire installation1. R emove the ceiling tile or tiles from the location where you wish to install the LED panel.2. W ire the LED driver to the mains supply as indicated in figure 1. If a dimmable variant, connect the dimming control wires(DALI/1-10V/DSI) as shown in figure 2.3. M ove LED panel into the ceiling aperture and when positioned halfway connect the driver low voltage output to the LED panel (luminaire) as shown in figure 1.a.4. Position the LED panel into place in the grid ceiling.5. Reconnect mains power supply and test for operation.1-10V control wiresDALI control wiresDSI control wires1200 x 600(44W)600 x 600(28W/32W/36W)1200 x 300(36W)1-10V+DA +1-10V-DA -DSI +DSI -Dimming control inputFigure 2.Wiring connectionFig.1.a. Luminaire connection220-240V 50/60Hz / Class II700mA/27-45V DC / Class III 730mA/30-50V DC / Class III 1050mA/28.5-48V DC / Class IIIFig. 1. Mains Input CableNeutral: Blue Live: BrownPlug & Play Connectors28W & 36W - 730mA / 32W - 700mA / 44W - 1050mATerminal block must comply to EN 60998-2-1 or EN 60998-2-228W600 x 600Luminous Flux 2700*, 3000**Efficacy(lpcW)96*, 107**Colour Temp (K)3000*, 4000**, 4700**32W600 x 600Luminous Flux 2800Efficacy(lpcW)88Colour Temp (K)420036W**/44W*600 x 600**1200 x 300**1200 x 600*Luminous Flux 3500*, 3800**36004400Efficacy(lpcW)97*,106**100100Colour Temp (K)3000*, 4000**,4700**47004700Specifications Ra:80V3_AUGUST_2018_RSWarnings and cautions• These products are designed for connection to a mains supply of 220-240V~ 50/60Hz• The light source of this luminaire is not replaceable: when the light source reaches the end its life the whole of the luminaire must be replaced • This luminaire is suitable for indoor use only.• It may be necessary to upgrade your MCBs to allow for increased inrush current• Do not cover with insulation•Do not carry out insulation tests with the product connected to the circuit• To avoid electric shock, serious injury or property damage, isolate power before installing, removing or servicing the product •It is recommended that luminaires are installed by a qualified electrician and the installation complies with the local current wiring regulations.•Any broken or damaged parts should be replaced as soon as possible JCC will not accept responsibility for claims arising from any sub-standard installations•It is recommended that the ambient room temperature should not exceed 25°CProfile & DimensionsAll dimensions in millimetresImportant warranty informationOur Skytile® range is covered by our 7 Year Warranty. That includes 2 Year On-Site support, and our industry-leading 5 Year Commercial Warranty. During the 2 Year On-Site support, we’ll replace or repair any of your Skytile® fittings completely free of charge. Skytile® Base issupported with a 3 Year Warranty. All warranties must be registered online at /warranty.The installer will be asked to provide the following information, which is detailed on a label attached to the luminaire’s chassis: Product Code/Batch Code.RoHSCompliantIP20/44Skytile Base IP20 onlyJCC Lighting Products Ltd., Innovation Centre, Beeding Close, Southern Cross Trading Estate, Bognor Regis, West Sussex, PO22 9TS,United kingdom .Technical Support: +44(0)1243 838986, Customer Services: +44(0)1243 838999jcc LED PanelCeiling FixSuspensionWirePanel Fixing BracketSuspension Mounting JCC can also supply a Wire Suspension Kit for applications where a ceiling grid is not availableSurface Mounting JCC can also supply a Surface Mounting Tray.Please ensure there is adequate clearance around the fitting to allow access to the panel.Mains SupplyLED PanelDriver PositioningCeiling GridMounting optionsSuspension bracket fixing pointsWire suspensionGrid ceilingSurface mounting box1200 x6001200 x300600 x600。
Leaflet初始化是否去除右下角标志

Leaflet初始化是否去除右下⾓标志⼀、引⼊leaflet<link rel="stylesheet" href="https:///leaflet@1.6.0/dist/leaflet.css" /><script src="https:///leaflet@1.6.0/dist/leaflet.js"></script>或者<!--integrity:--⼦资源完整性 (SRI) 是⼀项安全功能,--><!--可让浏览器验证其抓取的⽂件 (例如,从⼀个 CDN) 是在没有意外操作的情况下传递的。
--><!--它的⼯作原理是允许您提供⼀个获取的⽂件必须匹配的加密散列/哈希。
--><!--crossorigin--><!--该枚举属性指定在加载相关图⽚时是否必须使⽤CORS。
可取的值包括以下两个:--><link rel="stylesheet" href="https:///leaflet@1.6.0/dist/leaflet.css"integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="crossorigin=""/><script src="https:///leaflet@1.6.0/dist/leaflet.js"integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="crossorigin=""></script>或者下载到本地引⼊同第⼀个下载插件leaflet.ChineseTmsProviders.js.在leaflet下引⼊(主要⾕歌地图、⾼德地图、天地图和 OSM 地图)百度地图的⽡⽚组织⽅式是不同的。
GeoSOT球面经纬度剖分网格编码解码算法开源实现

GeoSOT球⾯经纬度剖分⽹格编码解码算法开源实现该库基于.NET Core实现,已开源在GitHub上,地址如下:实现[GeoSOT][1]球⾯经纬度剖分Tile的编码/解码算法.功能特性:1 ⽀持从度分秒经纬度构建剖分块对象;2 ⽀持从SOT⼀维编码构建剖分块对象;3 ⽀持剖分块特征⾓点坐标计算;4 ⽀持剖分块范围四⾄计算;5 ⽀持剖分块层、⾏、列号计算⽰例 1:从DMS经纬度构建Tile对象var dms = "39° 54' 37.0098\" N, 116° 18' 54.8198\" E";var _tile = new Tile(dms, 15);Console.WriteLine(_tile.ToString());// print G001310322-230230⽰例 2:从编码构建Tile对象var 1dCode = "G001110221-021123-021123.022********";var _tile = new Tile(1dCode);Console.WriteLine(_tile.ToString());// print "G001110221-021123-021123.022********"⽰例 3:特征⾓点坐标获取var dms = "39° 54' 37.0098\" N, 116° 18' 54.8198\" E";var _tile = new Tile(dms, 15);Console.WriteLine(_tile.CornerLng);Console.WriteLine(_tile.CornerLat);// print 116.3 39.9⽰例 4:范围四⾄计算var dms = "39° 54' 37.0098\" N, 116° 18' 54.8198\" E";var _tile = new Tile(dms, 15);Console.WriteLine(_tile.GetBbox().ToString());// print 116.3 39.9 116.316667 39.916667⽰例 5:层、⾏、列号计算var dms = "39° 54' 37.0098\" N, 116° 18' 54.8198\" E";var _tile = new Tile(dms, 15);Console.WriteLine(_tile.Level);Console.WriteLine(_tile.X);Console.WriteLine(_tile.Y);// print 15 7442 2550[1]: 论⽂引⽤:GeoSOT:基于2^n及整型⼀维数组的全球经纬度剖分⽹格(Geo-graphical coordinates subdividing grid with one dimension integral coding on 2n-Tree)。
CAD与探索者快捷键

C A D与探索者快捷键CAD快捷键F1:获取帮助F2:实现作图窗和文本窗口的切换F3:控制是否实现对象自动捕捉F4:数字化仪控制F5:等轴测平面切换F6:控制状态行上坐标的显示方式F7:栅格显示模式控制F8:正交模式控制F9:栅格捕捉模式控制F10:极轴模式控制F11:对象追踪式控制Ctrl+A:全选Ctrl+B:栅格捕捉模式控制(F9)Ctrl+C:将选择的对象复制到剪切板上Ctrl+D:开/关坐标值Ctrl+E:确定轴测图方向Ctrl+F:控制是否实现对象自动捕捉(f3)Ctrl+G:栅格显示模式控制(F7)Ctrl+H:pickstyleCtrl+J:重复执行上一步命令Ctrl+K:超级链接Ctrl+L:正交开/关Ctrl+M:打开选项对话框Ctrl+N:新建图形文件Ctrl+O:打开图象文件Ctrl+P:打开打印对说框Ctrl+Q:退出Ctrl+S:保存文件Ctrl+T:数字化仪关Ctrl+U:极轴模式控制(F10)Ctrl+V:粘贴剪贴板上的内容Ctrl+W:对象追踪式控制(F11)Ctrl+X:剪切所选择的内容Ctrl+Y:重做Ctrl+Z:取消前一步的操作Ctrl+1:打开特性对话框Ctrl+2:打开图象资源管理器Ctrl+3:打开工具选项板Ctrl+4:图纸集管理器Ctrl+5:信息选项板Ctrl+6:打开图象数据原子Ctrl+7:标记集管理器Ctrl+8:超级计算器Ctrl+9:隐藏/显示命令行Ctrl+0:隐藏/显示快捷图标AA:测量区域和周长(area)AL:对齐(align)AR:阵列(array)AP:加载*lsp程系AV:打开视图对话框(dsviewer)SE:草图设置①捕捉和栅格②极轴追踪③对象捕捉④动态输入ST:打开字体设置对话框(style)SO:绘制二围面(2dsolid)SP:拼音的校核(spell)SC:缩放比例(scale)SN:栅格捕捉模式设置(snap)DT:文本的设置(dtext)DI:测量两点间的距离OI:插入外部对相A:绘圆弧B:定义块C:画圆D:尺寸资源管理器E:删除F:倒圆角G:对相组合H:填充I:插入J:合并L:直线Z:缩放M:移动N:空O:偏移P:移动R:redrawS:拉伸T:文本输入U:恢复上一次操做V:设置当前坐标W:定义块并保存到硬盘中X:炸开autocad中鼠标键(快捷键)功能使用详解鼠标的功能!二键式鼠标左键:选择功能键(选象素选点选功能)右键:绘图区-----快捷菜单或[ENTER]功能1.变量SHORTCUTMENU等于0或偶数---------[ENTER]2.变量SHORTCUTMENU为基数---------快捷菜单3.或用于环境选项--------使用者设定---------快捷菜单开关设定[shift]+右键:对象捕捉快捷菜单三键式鼠标左键:选择功能键(选象素选点选功能)右键:绘图区-----快捷菜单或[ENTER]功能1.变量SHORTCUTMENU等于0或偶数---------[ENTER]2.变量SHORTCUTMENU为基数---------快捷菜单3.或用于环境选项--------使用者设定---------快捷菜单开关设定中间键:Mbuttonpan=1(系统默认值)压着不放并拖曳实现平移双击ZOOM------E缩放成实际范围[Shift]+压着不放并拖曳:作垂直或水平的实时平移[Ctrl]+压着不放并拖曳:随意式实时平移Mbuttonpan=0:对象捕捉快捷菜单[Shift]+右键:对象捕捉快捷菜单二键+中间滚轮鼠标左键:选择功能键(选象素选点选功能)右键:绘图区-----快捷菜单或[ENTER]功能1.变量SHORTCUTMENU等于0或偶数---------[ENTER]2.变量SHORTCUTMENU为基数---------快捷菜单3.或用于环境选项--------使用者设定---------快捷菜单开关设定中间滚轮1.旋转轮子向前或向后,实时缩放、拉近、拉远2.压轮子不放并拖曳实时平移3.双击ZOOM------E缩放成实际范围[Shift]+压轮子不放并拖曳作垂直或水平的实时平移[Ctrl]+压轮子不放并拖曳随意式实时平移Mbuttonpan=0(系统默认值=1)按一下轮子对象捕捉快捷菜单[Shift]+右键对象捕捉快捷菜单AutoCAD命令acad.pgp文件我已经将其命令的内容翻译出来,希望对用快捷键的朋友有点帮助吧3A,*3DARRAY;三维阵列3DO,*3DORBIT;三维动态观察器3F,*3DFACE;曲面三维面3P,*3DPOLY;三维多段线A,*ARC;圆弧ADC,*ADCENTER;AutoCAD设计中心AA,*AREA;查询面积AL,*ALIGN;将实体对象输出到ACIS文件中AP,*APPLOAD;加载应用程序AR,*ARRAY;阵列-AR,*-ARRAY;阵列ATT,*ATTDEF;定义属性-ATT,*-ATTDEF;修改定义属性ATE,*ATTEDIT;修改块属性-ATE,*-ATTEDIT;命令行修改块属性ATTE,*-ATTEDIT;命令行修改块属性B,*BLOCK;做块-B,*-BLOCK;修改块BH,*BHATCH;图案填充BO,*BOUNDARY;图案填充中的边界-BO,*-BOUNDARY;修改图案填充中的边界BR,*BREAK;打断C,*CIRCLE;画圆CH,*PROPERTIES;特性-CH,*CHANGE;不使用特性对话框进行特性修改CHA,*CHAMFER;倒角COL,*COLOR;指定当前图层颜色COLOUR,*COLOR;指定当前图层颜色CO,*COPY;复制选择D,*DIMSTYLE;标注样式DAL,*DIMALIGNED;对齐标注DAN,*DIMANGULAR;角度标注DBA,*DIMBASELINE;基线标注DBC,*DBCONNECT;数据库DCE,*DIMCENTER;圆心中心标记DCO,*DIMCONTINUE;连续标注DDA,*DIMDISASSOCIATE;删除选定择标注的关联性DDI,*DIMDIAMETER;直径标注DED,*DIMEDIT;编辑标注DI,*DIST;距离查询DIV,*DIVIDE;定数等分在线上加点DLI,*DIMLINEAR;线性标注DO,*DONUT;圆环DOR,*DIMORDINATE;标注坐标DOV,*DIMOVERRIDE;标注替代DR,*DRAWORDER;显示顺序DRA,*DIMRADIUS;半径标注DRE,*DIMREASSOCIATE;重新关联标注DS,*DSETTINGS;捕捉设置DST,*DIMSTYLE;标注样式DT,*DTEXT单行文本DV,*DVIEW;定义平行投影或透视视图E,*ERASE;删除ED,*DDEDIT编辑多行文字或文字EL,*ELLIPSE;椭圆EX,*EXTEND;延伸EXIT,*QUIT;退出EXP,*EXPORT;输出文件EXT,*EXTRUDE;实体拉伸F,*FILLET;倒圆角FI,*FILTER;对象选择过滤器G,*GROUP;建组-G,*-GROUP;用命令行编辑建立组GR,*DDGRIPS;选项H,*BHATCH;填充-H,*HATCH;用命令行填充HE,*HATCHEDIT;图案填充编辑HI,*HIDE;3D消隐I,*INSERT;插入块-I,*-INSERT;命令行插入块IAD,*IMAGEADJUST;图像调整IAT,*IMAGEATTACH;插入光栅图像ICL,*IMAGECLIP;剪裁图像IM,*IMAGE;图像管理器-IM,*-IMAGE;命令行方式图像管理器IMP,*IMPORT;插入其它格式文件IN,*INTERSECT;3D实体编辑交集INF,*INTERFERE;3D实体干涉IO,*INSERTOBJ;插入OLE对象L,*LINE;绘直线LA,*LAYER;管理图层和图层特性-LA,*-LAYER;用命令行管理图层和图层特性LE,*QLEADER;注释引线LEN,*LENGTHEN;修改对象的长度和圆弧的包含角LI,*LIST;查询LINEWEIGHT,*LWEIGHT;设置线宽LO,*-LAYOUT;命令行布局设置LS,*LIST;查询LT,*LINETYPE;加载、设置和修改线型-LT,*-LINETYPE;命令行设置、加载和修改线型LTYPE,*LINETYPE;加载、设置和修改线型-LTYPE,*-LINETYPE;命令行设置、加载和修改线型LTS,*LTSCALE;设置全局线型比例因子LW,*LWEIGHT;设置线宽M,*MOVE;移动MA,*MATCHPROP;匹配特性(扫把)ME,*MEASURE;定距等分MI,*MIRROR;镜像ML,*MLINE;多线MO,*PROPERTIES;特性MS,*MSPACE;从图纸空间切换到模型空间视口MT,*MTEXT;多行文本编辑器MV,*MVIEW;创建并控制布局视口O,*OFFSET;偏移OP,*OPTIONS;选项ORBIT,*3DORBIT;三维动态观察器OS,*OSNAP;对象捕捉-OS,*-OSNAP;命令行的对象捕捉P,*PAN;实时平移-P,*-PAN;命令行实时平移PA,*PASTESPECPARTIALOPEN,*-PARTIALOPEN;将选定视图或图层的几何图形加载到图形中PE,*PEDIT;编辑多段线和三维多边形网格PL,*PLINE;创建二维多段线PO,*POINT;创建点对象POL,*POLYGON;正多边形PR,*OPTIONS;特性PRCLOSE,*PROPERTIESCLOSE;关闭“特性”窗口PROPS,*PROPERTIES打开特性窗口PRE,*PREVIEW;打印预览PRINT,*PLOT;打印PS,*PSPACE;从模型空间视口切换到图纸空间PTW,*PUBLISHTOWEB;网上发布PU,*PURGE;清理文件-PU,*-PURGE;命令行的清理文件R,*REDRAW;刷新当前视口中的显示RA,*REDRAWALL;重画RE,*REGEN;重生成REA,*REGENALL;全部重生成REC,*RECTANGLE;恢复被UNDEFINE忽略的AutoCAD内部命令REG,*REGION;面域REN,*RENAME;重命名-REN,*-RENAME;命令行的重命名REV,*REVOLVE;实体旋转RM,*DDRMODES;草图设置RO,*ROTATE;旋转RPR,*RPREF;设置渲染系统配置RR,*RENDER;渲染渲染S,*STRETCH;拉伸SC,*SCALE;缩放SCR,*scrīpt;运行脚本SE,*DSETTINGS;对象捕捉设置SEC,*SECTION;实体截面SET,*SETVAR;设置变量SHA,*SHADE;这个不知道是做什么的SL,*SLICE;实体剖切SN,*SNAP;规定光标按指定的间距移动SO,*SOLID;二维填充SP,*SPELL;拼写检查SPL,*SPLINE;样条曲线SPE,*SPLINEDIT;编辑样条曲线ST,*STYLE;文字样式SU,*SUBTRACT;实体编辑差集T,*MTEXT;多行文本-T,*-MTEXT;命令行的多行文本TA,*TABLET;数字化仪定点TH,*THICKNESS;显示图形统计信息、模式及范围TI,*TILEMODE;这个也不知道是做什么的TO,*TOOLBAR;自定义设置TOL,*TOLERANCE;创建形位公差TOR,*TORUS;实体圆环体TR,*TRIM;修剪UC,*DDUCS;命名UCUCP,*DDUCSP;正交UCSUN,*UNITS;图形单位-UN,*-UNITS;命令行图形单位UNI,*UNION;并集V,*VIEW;视图-V,*-VIEW;命令行设置视图VP,*DDVPOINT;三维视图视点预置-VP,*VPOINT;命令行三维视图视点预置W,*WBLOCK;写块-W,*-WBLOCK;命令行的写块WE,*WEDGE;实体楔体X,*EXPLODE;这个不用说了吧,爆开XA,*XATTACH;外部参照XB,*XBIND;绑定-XB,*-XBIND;命令行的绑定XC,*XCLIP;定义外部参照或块剪裁边界,并且设置前剪裁面和后剪裁面XL,*XLINE;构造线XR,*XREF;外部参照管理器-XR,*-XREF;命令行的外部参照管理器Z,*ZOOM;缩放探索者快捷键一览表。
【游戏】关于45°角度地图坐标的计算原理

【游戏】关于45°⾓度地图坐标的计算原理⾸先贴出代码,下⾯的代码是将屏幕点击的坐标转换成45°⾓度地图中的坐标。
-(CGPoint) tilePosFromLocation:(CGPoint)location tileMap:(CCTMXTiledMap*)tileMap{// Tilemap position must be subtracted, in case the tilemap position is not at 0,0 due to scrollingCGPoint pos = ccpSub(location, tileMap.position);float halfMapWidth = tileMap.mapSize.width * 0.5f;float mapHeight = tileMap.mapSize.height;float tileWidth = tileMap.tileSize.width;float tileHeight = tileMap.tileSize.height;CGPoint tilePosDiv = CGPointMake(pos.x / tileWidth, pos.y / tileHeight);float inverseTileY = mapHeight - tilePosDiv.y;// Cast to int makes sure that result is in whole numbers, tile coordinates will be used as array indicesfloat posX = (int)(inverseTileY + tilePosDiv.x - halfMapWidth);float posY = (int)(inverseTileY - tilePosDiv.x + halfMapWidth);// make sure coordinates are within isomap boundsposX = MAX(0, posX);posX = MIN(tileMap.mapSize.width - 1, posX);posY = MAX(0, posY);posY = MIN(tileMap.mapSize.height - 1, posY);pos = CGPointMake(posX, posY);CCLOG(@"touch at (%.0f, %.0f) is at tileCoord (%i, %i)", location.x, location.y, (int)pos.x, (int)pos.y);return pos;}先说明⼀下⽅法的参数 (CGPoint)location,传递进来的是⼿指在屏幕上触发的触摸(基于GL坐标系,即原点是左下⾓)CGPoint pos = ccpSub(location, tileMap.position);这个很明显,计算触摸在地图上的坐标(依旧是GL坐标系)CGPoint tilePosDiv = CGPointMake(pos.x / tileWidth, pos.y / tileHeight);由于⽡⽚地图的坐标不是以像素为度量单位,⽽是以块为度量单位,所以这⾥要根据当前坐标/⽡⽚像素来获得⽡⽚地图⽤的坐标。
Dunlop Ceramic Tile Adhesive说明书
SUBSTRATESConcrete, cement render, cement screeds, existing ceramic tiles and Dunlop Waterproofing Membranes.TILE TYPESCeramic, porcelain, natural stone (excluding moisture sensitive stone), mosaics, fully vitrified and translucent tiles. COLOUR: OFF WHITECLASSIFICATION: C1SURFACE PREPARATIONSurface must be consistently flat and firmly fixed. Clean off dust, oil, grease and all loose contaminating materials. Ensure surfaces are dry before tiling, with no residue or permanent damp. Prime porous surfaces with DUNLOP PRIMER & ADDITIVE or DUNLOP MULTIPURPOSE PRIMER. CONCRETE FLOORSConcrete floors should have a wood float finish. Allow at least 4 weeks for concrete to cure prior to tiling. Screeds must be at least 7 days old. The surface should be true and level and pitched to drains where required. Remove any concrete sealers or curing compounds from the surface, e.g. chlorinated rubber, resin, wax sealers. Steel trowel finished concrete should be roughened mechanically to remove laitance and provide a good key for tiling.CEMENT RENDER WALLS & SCREEDED FLOORSNew renders and screeds should be finished with a wood float to the required surface regularity. Screeds should be pitched to drains where required. Allow at least 7 days to cure prior to tiling.DUNLOP WATERPROOFING MEMBRANESDunlop Waterproofing Membrane must be applied according to instructions and thoroughly dry prior to tiling. EXISTING CERAMIC TILES (INDOOR ONLY)Existing tiles must be firm and stable. Roughen the surface by mechanical means and clean off contamination and dust before tiling. Ensure that at least 80% of the glaze is removed.MIXINGUse approximately 5L of water per 20kg ofDUNLOP SUPER TILESET. Add powder to clean water in a clean container and mix to a thick creamy consistency.Allow to stand for 5 minutes. Re-stir the mixture thorough-ly and the adhesive is ready for use for up to 3 hours at 23°C and 50% relative humidity. Do not add additional water.APPLICATION RANGETiling practices must be in accordance with AS3958.1. Use the appropriate notched trowel to achieve 100% coverage. As a general guide, use a 6x6x6mm trowel on walls or a 10x10x10mm trowel on floors.• Before fixing tiles, ensure the back of the tiles are free from dust.• Spread approximately one square metre at a time ensur-ing that a skin has not developed prior to bedding the tiles. Do not apply DUNLOP SUPER TILESET at a bed thickness greater than 10mm or less than 3mm.• Press and slide the tile at right angles to the notch pattern to ensure 100% coverage on the back of the tile. • Deeply keyed quarry tiles and tiles greater than 450mm on an edge do require buttering of the adhesive on the back of the tiles to ensure complete coverage.• Lift a tile from time to time to check that there are no voids beneath the tile.• Do not spot fix tiles.• Any surplus adhesive must be removed from the surface of the tile and joints, before the adhesive sets.• Allow adhesive to set firm (approx 24 hours) before grouting.DRYING TIMES & GROUTINGFull traffic after 24 hours at 23°C and 50% relative humidi-ty. Allow longer for dense tiles/substrates, humid climates and low temperatures.Use DUNLOP COLOURED GROUT for flexible and mould resistant joints. For joints greater than 8mm, use DUNLOP WIDE JOINT GROUT. To enhance the colour of thegrout, impart a degree of flexibility and reduce porosity and staining, use in conjunction with DUNLOP PRIMER & ADDITIVE.MOVEMENT JOINTSMovement joints must be in accordance with AS3958. As a general guide, movement joints should be incorporated at 3–5 metre intervals and around the perimeter of the floor. Any structural movement joints and penetrations must be carried through to the face of the tiling. These joints and penetrations must be approximately 6mm wide andkept free from adhesive and grout droppings. They shall be filled with a suitable flexible material such as DUNLOP COLOURED SILICONE or a proprietary joint system. ForDUNLOP SUPER TILESET is a polymer fortified cement-based wall and floor tile adhesive. Especially designed to fix all types of ceramic tiles over stable internal and external* substrates. DUNLOP SUPER TILESET exceeds the requirements of the standard ISO 13007 (C1). *External substrates not subject to movement.TOLL FREE SERVICE1800 222 841 (Aust) 0800 224 070 (NZ)walls, incorporate movement joints at internal corners, fixtures interrupting the tile surface, at 3.5 metre intervals and storey height for external fixing.COVERAGECoverage is approximate and will vary depending on the substrate condition and application technique. As a general guide, use a 6mm trowel for walls and 10mm trowel for floors.Trowel Size Coverage 6mm 0.3m 2/kg 10mm 0.25m 2/kg Size Walls Floors5kg 1.5m 21.25m 220kg 6.5m 2 5m 2SIZES5kg and 20kgCLEAN UPClean tools in water immediately after use.SHELF LIFE12 months when stored in the original unopened packaging, in a dry place at 23ºC and 50% relative humidity.PRECAUTIONS• Do not use DUNLOP SUPER TILESET for continuousimmersion applications (e.g. swimming pools, water tanks). Use DUNLOP TILE-ALL or DUNLOP UNIVERSAL TILE ADHESIVE.• Do not use DUNLOP SUPER TILESET over timber floors or non-absorbent substrates e.g. metal.• Do not use DUNLOP SUPER TILESET to fix moisture-sensitive stone such as green marble.• Not suitable for substrates subject to shrinkage movement - DUNLOP provides other systems.SAFETY DATAThis product may cause irritation and an allergic reaction to the skin. It may cause serious eye injury and irritation to the respiratory system. In case of contact with the eyes rinse with running water until advised to stop by the PoisonsInformation Centre or a doctor, or for at least 15 minutes. Wear protective gloves, clothing, eye and face protection. Avoid inhaling dust/fumes/gas/mist/vapours/spray. Ensure adequate ventilation during mixing and application. Store locked up.Check with your local Council regarding the disposal of contents, dispose of packaging thoughtfully and recycle where possible. Keep out of the reach of children. Call the Poisons Information Centre on 131 126 (AUS) and 0800 764 766 (NZ) or call a doctor if you feel unwell.Additional information is in the Safety Data Sheet (SDS) at www.dunlop diy .com.10 YEAR GUARANTEEArdex Australia Pty Ltd (“we” or “us”) guarantees this product (also referred to as “our goods”) is free from manufacturing defects and will perform to any applicable specification published by us for 10 years from the date of application of the product if such application occurs within this product’s specified shelf life. Our liability underthis guarantee is limited at our option to replacement of the product, repair of any damage to the immediate surface or area of application of the product, or the cost of such replacement or repair, in each case if we are satisfied loss or damage was due to a breach of this guarantee. This guarantee does not apply if damage or loss is due to failure to follow our published instructions or any act or circumstance beyond our control, including shade variations and efflorescence and faultyworkmanship on the part of any installer or applicator of the product. If you wish to make a claim under this guarantee you must notify us(address: 7/20 Powers Road Seven Hills NSW 2147; phone: 1800222841; email:************************************),identifytheproductand provide evidence of your purchase and the subsequent application of the product within 30 days of any alleged loss or damage occurring. We reserve the right to ask you for satisfactory evidence of any alleged loss or damage and to undertake any inspections and tests necessary to establish your rights under this guarantee. Any claim under thisguarantee is at your cost. This guarantee is in addition to any rights or remedies you may have as a “consumer” under the Australian Consumer Law and to that extent you need to be aware that: “Our goods come with guarantees that cannot be excluded under the Australian Consum-er Law. You are entitled to a replacement or refund for a major failure and for compensation for any other reasonably foreseeable loss ofdamage. You are also entitled to have the goods repaired or replaced if the goods fail to be of acceptable quality and the failure does not amount to a major failure”.DISCLAIMERThe technical details, recommendations and other informationcontained in this data sheet are given in good faith and represent the best of our knowledge and experience at the time of printing. It is your responsibility to ensure that our products are used and handled correctly and in accordance with any applicable Australian Standards. Our instructions and recommendations are only for the uses they areintended. Users are advised to confirm that this product is suitable for their application and conforms with the specifications of the system being employed and other products in that system. We also reserve the right to update information without prior notice to you to reflect our ongoing research and development program. Country specificrecommendations, depending on local standards, codes of practice, building regulations or industry guidelines, may affect specificinstallation recommendations. The supply of our products and services is also subject to certain terms, warranties and exclusions, which may have already been disclosed to you in prior dealings or are other-wise available to you on request. You should make yourself familiar with them.This datasheet was issued in January 2020 and is valid for 3 years, unless updated sooner. Always refer to www.dunlop for the latesttechnical data from ARDEX Australia Pty. Ltd.TOLL FREE SERVICE1800 222 841 (Aust) 0800 224 070 (NZ)。
第11章-45度角瓷砖地图(Isometric Tilemaps)
同样,瓷砖上的物体高度不应该超出两块瓷砖的高度大小,如果超出就很难创 造出令人置信的3D画面,因为玩家只能在同一时间看到瓷砖地图的一部分。比 如,你画的大城堡的城墙有十几块瓷砖的高度,当主角走向城堡时,城堡的城 墙很容易被认为是地板的一部分。45度角瓷砖不会由于离开屏幕远而变小,所 以你可能会创造出如 M.C.Escher的作品所创造出的那种视觉幻象(你可以在这 里看到M.C.Escher的作品: /Shopmain/ShopEU/facsprints-nieuw/prints.html )。
图11‐8. 图中的地图缺陷是因为设置了错误的瓷砖尺寸。
如果你已经设置了错误的瓷砖尺寸,但是又不想丢失花费了好几个小时设计的 地图,或者如果你出于其他的原因需要调整地图尺寸或瓷砖集尺寸,我教你一 个简单的处理方法。以下技巧可以让你轻松试验不同的瓷砖尺寸,直到地图显 示正确。在你的Xcode项目中选者 TMX 文件,你会看到它是个纯文本的XML文件。 在文件的开头,找到地图的设置:
图11-1. 45度角瓷砖地图
注:本章使用的瓷砖集来自David E. Gervais,通过“创作共用许可” (Creative Commons License)发布。你可以通过以下网址下载他的大多数作 品:http://pousse.rapiere.free.fr/tome/index.htm
设计制作45度角瓷砖
打开Tiled软件,选择File > New菜单会出现如图11-7所示的 New Map 对话框。 显然,Orientation 应该被设置为 Isometric,Map size 的width(宽度)和 height(高度)设为30块瓷砖。比较奇怪的一个设置是Tile size的宽度和高度 设置。之前我提到过dg_iso32.png中的单块瓷砖的大小是 54x49 像素。而钻石 形状的大小(当你将瓷砖放到地图中时,你要考虑这个尺寸)是 54x27 像素。 但是我们在这里设置的却是 52x26 像素。
多种切片存储类型WMTS服务的实现与优化
1.引言随着地理信息的快速发展,影像地图服务在各行业中的应用越来越广泛,在一般情况下,多种来源的切片数据需要特定的软件才能提供服务,通过调研发现,各行业常用的地图服务软件有ArcGIS Server、SuperMap、MapGIS、NewMAP等,此类软件虽然功能强大,但是价格十分昂贵,对多种切片存储类型兼容不是很理想,开源的GeoServer在快速部署方面较差,不能满足本局快速给自治区政府、自然资源厅、其他厅局等单位快速无成本部署、内网服务的要求,因此设计一种基于NodeJS语言实现WMTS服务并能够兼容多种切片存储类型的方法是很有必要的。
笔者通过了解OGC-WMTS服务的逻辑、解析多种切片存储类型的数据结构,完成了多种切片存储类型WMTS服务的实现与优化。
2.WMTS服务2.1WMTS定义WMTS,Web地图瓦片服务(Web Map Tile Service)当前版本是1.0.0。
WMTS标准定义了一些操作,这些操作允许用户访问瓦片地图。
WMTS是OGC首个支持RESTful访问的服务标准。
WMTS提供了一种采用预定义图块方法发布数字地图服务的标准化解决方案。
WMTS弥补了WMS不能提供分块地图的不足。
WMTS牺牲了提供定制地图的灵活性,代之以通过提供静态数据(基础地图)来增强伸缩性,这些静态数据的范围框和比例尺被限定在各个图块内。
这些固定的图块集使得对WMTS服务的实现可以使用一个仅简单返回已有文件的Web服务器即可,同时使得可以利用一些标准的诸如分布式缓存的网络机制实现伸缩性。
2.2WMTS的切片原理WMTS是以左上角的坐标作为切片原点,按分级比例尺(分辨率)计算的格网数据集,各级矩阵图如图1所示,每级的切片坐标系统如图2所示。
图1分级矩阵图图2切片坐标系统多种切片存储类型WMTS服务的实现与优化张瑞新内蒙古自治区测绘地理信息局呼和浩特010010摘要:本文通过对常规文件存储类型、ArcGIS紧凑存储类型、分布式对象存储类型、SQLite数据库存储类型等4种切片存储类型的优缺点进行综合分析,利用NodeJS技术,实现了OGC-WMTS地图切片混合存储模式。
矢量切片(Vectortile)
说明:本月的主要工作都是围绕制作矢量切片这一个核心问题进行的,所以2月的主题就以这个问题为主,目前分支出来的一些内容主要包括了TMS(Tile map service),OpenLayers3中的Projection和Resolution以及proj4js在OpenLayers3中的应用,这些在这篇文章之后会继续展开,作为本月的番外内容。
一、GIS数据与OGC标准地图服务本节主要是介绍一些基础的数据概念以及基本的WebGIS地图服务,如对这些内容已经熟知,可直接跳过本节。
1)GIS中的矢量与栅格数据熟悉GIS的人应该都知道,在GIS中的数据分类有很多种方式,其中最常用的一种是根据数据组织结构方式的不同而分类成矢量数据和栅格数据的两种类型。
其中栅格数据以二维矩阵的形式来表示地理空间信息的数据结构,其中数据的最小存在单元是以像素的形式存在,可以理解为和图片的组织结构类似,以分辨率等特征作为精度的定义标准。
栅格数据矢量数据而矢量数据则是试图利用点、线、面等几何要素来表现这个世界,其数据结构紧凑精准,数据图形质量好,有利于地理信息检索与网络传输等。
其中矢量数据的最小单元是以点的形式存在,点构成线,线组成面,面构造出体。
所以,我个人看来矢量数据应该更贴近于信息的精准分析与计算,而栅格数据则偏重于信息的表达(主要受制于当前图像处理技术的瓶颈)。
2)OGC地图服务在WebGIS中,访问数据是通过访问服务器端的数据库来获取数据,鉴于GIS数据的特殊性,在这一套标准的请求响应模型中引入了一套基于OGC标准的地图服务标准,在这里我只介绍几个与本文有关的服务(如果你需要了解一个完整的内容,在这里可以找到很多资料:/wildboy2001/article/details/7743350):- WMS(Web Map Service)Web地图服务,利用地理空间信息的数据输出地图,地图本身只是一张图片,其中包括了图片的宽高、坐标系统、图片格式以及渲染方式,也正是因为本身的简洁性,读取传输速度都比较快,要高于WFS//WMS请求实例http://localhost:8080/geoserver/szdata/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=true&LAYERS=szdata:DLZXX_2011_PL_10000_3857&SRS=EPSG:4326&STYLES =&WIDTH=1347&HEIGHT=336&BBOX=113.68754425048829,22.5346435546875,114.61245574951172,22.7653564453125- WFS(Web Feature Service)Web要素服务,请求获取要素,最小单元是以要素的形式存在的,用户可以通过与——请求获得的矢量数据——在前端渲染绘制的几何图形进行交互,从而达到对矢量要素的控制。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
2004;10:7252-7259.Clin Cancer ResRobert L. Camp, Marisa Dolled-Filhart and David L. RimmAssessment and Outcome-Based Cut-Point OptimizationX-Tile: A New Bio-Informatics Tool for BiomarkerUpdated version/content/10/21/7252Access the most recent version of this article at:Cited Articles/content/10/21/7252.full.html#ref-list-1This article cites by 18 articles, 3 of which you can access for free at:Citing articles/content/10/21/7252.full.html#related-urls This article has been cited by 64 HighWire-hosted articles. Access the articles at:E-mail alertsrelated to this article or journal.Sign up to receive free email-alertsSubscriptionsReprints and.pubs@ Department at To order reprints of this article or to subscribe to the journal, contact the AACR PublicationsPermissions.permissions@ Department at To request permission to re-use all or part of this article, contact the AACR PublicationsX-Tile:A New Bio-Informatics Tool for Biomarker Assessment and Outcome-Based Cut-Point OptimizationRobert L.Camp,1Marisa Dolled-Filhart,2and David L.Rimm1Departments of1Pathology and2Genetics,Yale University,School of Medicine,New Haven,ConnecticutABSTRACTThe ability to parse tumors into subsets based on biomarker expression has many clinical applications; however,there is no global way to visualize the best cut-points for creating such divisions.We have developed a graphical method,the X-tile plot that illustrates the presence of substantial tumor subpopulations and shows the robustness of the relationship between a biomarker and outcome by construction of a two dimensional pro-jection of every possible subpopulation.We validate X-tile plots by examining the expression of several established prognostic markers(human epidermal growth factor re-ceptor-2,estrogen receptor,p53expression,patient age, tumor size,and node number)in cohorts of breast cancer patients and show how X-tile plots of each marker predict population subsets rooted in the known biology of their expression.INTRODUCTIONIn theory,associations between tumor biomarker expres-sion and patient outcome should reveal the existence of biolog-ically meaningful tumor classifications;however in practice, there is no universal method for discovering,assessing or dis-playing such associations.Consequently,studies generally group tumors into set divisions(e.g.,quartiles,deciles),which fails to reflect the underlying biology of most markers.Micro-array technology has magnified this problem by accelerating the discovery of tumor markers for which there is no known bio-logical basis.In such cases,there is no foreknowledge about how(or whether)a marker parses a population into subsets.Although there is a range of statistical methods for cut-point selection(1,2),we sought to produce a method that is comprehensive,based on traditional statistical tests,and yet intuitive for the oncologist.Here we describe our solution of cut-point selection using a new method that we have named“X-tile.”X-tile plots provide a single,global assess-ment of every possible way of dividing a population into low-,medium-,and high-level marker expression.X-tile data are presented in a right triangular grid where each point represents a different cut-point.The intensity of the color of each cutoff point represents the strength of the association. The X-tile software allows the user to move a cursor across the grid and provides an“on-the-fly”histogram of the result-ing population subsets along with an associated Kaplan-Meier curve.3This type of graphical representation can pro-vide insight into the biological nature of a marker(e.g.,does it show a linear distribution relative to survival,does it reveal distinct sub-populations,or does it manifest a U-shaped relationship to outcome).Because it is statistically invalid to test multiple divisions and accept the best P value(3,4), rigorous statistical evaluation is achieved by defining divi-sions in a“training set”and then validating them in a separate patient cohort(“validation set”).The X-tile software pro-vides a method of dividing a single cohort into training and validation subsets for P value estimation when separate train-ing and validation cohorts are not available.In addition,the software can perform standard Monte Carlo simulations(e.g., cross-validation)to produce corrected P values to assess statistical significance of data assessed by multiple cut-points.MATERIALS AND METHODSCohort Design and Tissue Microarray Construction. Tissue microarrays were constructed as described previously (5,6).Paraffin-embedded formalin-fixed specimens of breast carcinoma were identified from the archives of the Yale University,Department of Pathology as available from1962–1980.Two principal cohorts were used.The first consisted of 350cases node-positive breast carcinomas,which was ran-domly divided into equally-sized training and validation sets. The second cohort consisted of236tumors(50%node-negative,50%node-positive)similarly divided into training and validation plete treatment information was unavailable for either cohort;however,most of the node-positive patients were treated with local radiation,and ap-proximately15%were given chemotherapy consisting pri-marily of Adriamycin,Cytoxan,and5-fluorouricil.TheReceived4/13/04;revised7/13/04;accepted7/28/04.Grant support:R.Camp is supported by NIH Grant K0-8ES11571and by a grant from the Breast Cancer Alliance.M.Dolled-Filhart is sup-ported by the United States Army Breast Cancer Research Grant DAMD17-03-1-0349.D.Rimm is supported by a grant from the Patrick and Catherine Weldon Donaghue Foundation for Medical Research, NIH Grant NCI R21CA100825,and United States Army Grant DAMD-17-02-0463.The costs of publication of this article were defrayed in part by the payment of page charges.This article must therefore be hereby marked advertisement in accordance with18U.S.C.Section1734solely to indicate this fact.Requests for reprints:Robert L.Camp,Department of Pathology,YaleUniversity School of Medicine.310Cedar St.,New Haven,CT06520. Phone:203-785-6340;Fax:203-785-7303;E-mail:robert.camp@.©2004American Association for Cancer Research.3A sample program is available for download at http://www.tissuearray. org/rimmlab/.7252Vol.10,7252–7259,November1,2004Clinical Cancer Researchnode-negative patients were routinely treated with surgery and/or local radiation alone.Approximately27%of the pa-tients subsequently received tamoxifen(post-1978).Repre-sentative regions of invasive carcinoma were selected for coring by a pathologist(R.L.C).These regions were taken from tumor areas that were not contaminated with normal stroma.Because prior studies have shown that a single core adequately represents the staining pattern of an entire slide, all studies were done with a single sample of each tumor(7, 8).All patients were followed until death or for a minimum of30years.Patients were deemed“uncensored”if they died of breast cancer within30years of their initial date of diagnosis.Patient information was collected under an ap-proved protocol from the Yale Human Investigation Com-mittee.Immunohistochemistry and Analysis.Quantitative analysis of expression was done on the tissue microarrays with the automated quantitative analysis(AQUA)method of analysis described previously(9)Briefly,antibodies for human epider-mal growth factor receptor-2(HER2;1:8,000,polyclonal),es-trogen receptor(ER,1:500,monoclonal),p53(1:50,mono-clonal),and cytokeratin(1:200,AE1/AE3monoclonal and polyclonal)were obtained from DAKO Corp.(Carpinteria,CA). Primary antibodies were applied for1hour followed by an horseradish peroxidase-conjugated secondary(Envision,DAKO Corp.).Tumor cells were identified with an anticytokeratin antibody,followed by an Alexa488-conjugated antimouse or antirabbit secondary(1:200,Molecular Probes,Eugene OR). 4Ј,6-Diamidino-2-phenylindole was added to visualize nuclei. HER2,ER,and p53were visualized with a fluorescent Chroma-gen(Cy-5-tyramide,NEN Life Science Products,Boston,MA). Cy-5(red)was used because its emission peak is well outside the green-orange spectrum of tissue autofluorescence.Mono-chromatic,high-resolution(1024ϫ1024pixel,0.5m resolu-tion)images were obtained of each histospot.Areas of tumor were distinguished from stromal elements by creating a mask from the cytokeratin signal.Coalescence of cytokeratin at the cell surface helped localize the cell membranes,and4Ј,6-diamidino-2-phenylindole was used to identify nuclei.HER2 signal from the membrane area of tumor cells was scored on a scale of0to255and expressed as signal intensity divided by the membrane area.ER and p53signal from nuclei were similarly scored and expressed as signal intensity divided by nuclear area; thus,all scores are expressed on a scale with three significant figures.For arrays stained for visual(manual)analysis,3,3Ј-diaminobenzidine was used in place of Cy5-tyramide.Construction of X-Tile Plots.X-tile plots are created by dividing marker data into three populations:low,middle, and high(i.e.,two divisions).All possible divisions of the marker data are assessed.Associations can be calculated at each division by a variety of standard statistical tests,includ-ing the log-rank test for survival and means tests for associ-ations between other marker data.The data are represented graphically in a right-triangular grid where each point(pixel) represents the data from a given set of divisions.The vertical axis represents all possible“high”populations,with the size of the high population increasing from top to bottom.Simi-larly,the horizontal axis represents all possible“low”popu-lations,with the size of the low population increasing from left to right.Data along the hypotenuse represent results froma single cut-point that divides the data into high or low subsets.Data points away from the hypotenuse up or to theleft represent results from two cut-points that define an additional“middle”population in addition to the high andlow subsets.The size of the middle subset increases with greater distances from the hypotenuse.Specifically,a2 value is calculated for every possible division of the popu-lation shown on the grid using a color code.Coloration of the plot represents the strength of the association at each divi-sion,ranging from low(dark,black)to high(bright,green,or red).Inverse associations between marker expression and survival(e.g.,high expression connotes poorer survival)are colored red,whereas direct associations are colored green. The cursor can be manually moved over any cut-point to reveal survival curves.Alternatively,the program can selectthe optimal division of the data by selecting the highest2 value.Statistical significance is assessed by using the cut-point derived from a training set to parse a separate validation set,using a standard log-rank test,with P values obtained from a lookup table.The calculations done by X-tile have been validated with Statview5.0.1(SAS Institute,Cary NC). The concept is best understood by using the interactive version of the software available for download.4Generation of“Training”and“Validation”Cohorts.X-tile creates separate training and validation cohorts by first making separate lists of“censored”and“uncensored”obser-vations,ordered by follow-up time.Patients are alternately assigned to training and validation sets by reading down thelist and selecting every other patient.This technique normal-izes the base survival curve for both sets.It also ensures thatthe same training and validation sets are constructed each time an analysis of the same marker is done,thus preventingthe possibility of obtaining different P values after reanalysisof the same data.RESULTS AND DISCUSSIONTo illustrate the utility of X-tile,we used a large,inde-pendent cohort,abstracted from the national SEER registry dataset(10).This dataset includes information on over 160,000breast cancer patients with a median follow-up timeof30months,including disease-related survival,patient age, tumor size,nodal status,and node number.We analyzed three well-characterized parameters:tumor size,patient age,and node number,in X-tile plots(Fig.1).For tumor size,this analysis revealed a robust(PϽ0.0001),linear association with patient survival,with no evidence of distinct subpopu-lations(Fig.1A).Thus,no matter where a cutoff is made, larger tumor size is associated with poorer survival.To assess statistical significance and avoid the problems of multiplecut-point selection,we used the X-tile program to randomly divide the total cohort into two equal training and validation sets.The optimal cut-points were determined by locating the4/rimmlab/.7253Clinical Cancer ResearchFig.1X-tile analysis of survival data from the SEER registry reveals a continuous distribution based on tumor size and node number,and a U-shaped distribution based on age.X-tile analysis was done on patient data from the SEER registry,equally divided into training and validation sets.X-tile plots of training sets are shown in the left panels ,with plots of matched validation sets shown in the smaller inset .The construction of X-tile plots is more fully described in Materials and Methods.The plot shows the 2log-rank values produced when dividing the cohort with two cut-points,producing high,middle,and low subsets.The X -axis represents all potential cut-points from low to high (left to right )that define a low subset,whereas the Y -axis represents cut-points from high to low (top to bottom ),that define a high subset.The arrows represent the direction in which the low subset (X -axis)and the high subset (Y -axis)increase in size.Red coloration of cut-points indicates an inverse correlation with survival,whereas green coloration represents direct associations.The optimal cut-point occurs at the brightest pixel (green or red ).The cut-point highlighted by the black/white circle in the left panels is shown on a histogram of the entire cohort (middle panels ),and a Kaplan-Meier plot (right panels ;low subset ϭblue,middle subset ϭgray,high subset ϭmagenta).P values were determined by using the cut-point defined in the training set and applying it to7254X-Tile:A New Bio-Informatics Toolbrightest pixel on the X-tile plot of the training set.Statistical significance was determined by applying this cut-point set to the validation set.Analysis of the survival data with X-tile reveals optimal cut-points of(Ͻ1.9,1.9to4.9,andϾ4.9cm), which are almost identical to those empirically established for the staging of breast cancer(Յ2,2to5,andϾ5cm;ref.11).Histogram analysis of patient age shows a bimodal distribution,with two incidence peaks above and below59 years of age(Fig.1B).Using the histogram as a guide,we divided the cohort into“old”and“young”subsets based on a cut-point of59years;however,this division fails to result in a statistically significant difference in survival(Fig.1B).In contrast,X-tile-based optimal cut-point selection analysis of patient age reveals two distinct populations,(Ͻ40years)and (Ͼ82years),which exhibit poor disease-specific outcome relative to patients in the middle(40–82years;Fig.1C).This relationship has been described previously(12)and is an example of a bimodal population that is robust but is neither readily demonstrable on a histogram nor discoverable with a single cut-point analysis.It also provides an example of how X-tile can be used to discover optimal population cut-points. Finally,we use X-tile to define the optimal cut-point for the number of tumor-involved lymph nodes in patients with node-positive breast carcinoma(Fig.1D).As with tumor size,X-tile shows a diffuse continuous distribution with no discernable subpopulations.X-tile identifies the optimal di-vision of the cohort into three populations(Ͻ4,4to8,and Ն9).Again these divisions are remarkably similar to those established for breast cancer staging(Ͻ4,4to9,andՆ10; ref.11).We then did X-tile analysis on tumor biomarkers using tissue microarray cohorts available in our laboratory.HER2,a member of the epidermal growth factor family is frequently overexpressed in breast cancers and is associated with poor prognosis.X-tile analysis of the productive ability of HER2 reveals a distinct subset of HER2high tumors with poor out-come(Fig.2A-C).In contrast,a similar plot of ER shows a linear,diffuse distribution of risk across the entire plot,with no evident subpopulations(Fig.2D).At virtually every division plotted,patients with ER-high tumors survive longer than pa-tients with ER-negative tumors.These X-tile plots represent two distinct patterns,which provide insight into the underlying biology of HER2and ER. In the case of HER2,gene amplification is common and often results in marked overexpression of HER2at the protein level (13).This biology is evident in the HER2X-tile plot,which shows localized risk in a distinct subset of patients with HER2-high tumors(Fig.2A-C).The discreteness of this subset suggests that a2-way cut(high versus low expression)of the data is more appropriate than a3-way split.Conse-quently,we determined the best single cut-point along the hypotenuse of the X-tile plot,which occurs as a HER2 AQUA score ofϾ156.8(test set/validation set Pϭ0.0069, Fig.2A).In contrast,the expression of ER is highly complex and governed by a number of regulatory elements(14).There is no evidence of ER-genetic mutations that would subset tumors based on either gene amplification or deletion.This biology fits with ER’s observed X-tile plot showing a diffuse distribution of risk(Fig.2D).Analysis of this cohort with a continuous univa-riate analysis of ER expression reveals a significant correlation with survival(Pϭ0.0017),demonstrating that ER,in this node-positive cohort,is positively associated with patient out-come,when assessed as a continuous variable.Despite the continuous nature of the X-tile plot,we sought to determine the optimal division as defined by X-tile,which was found at AQUA scores of37.7and117.6(test set/validation set Pϭ0.0369).Interestingly,there is historical disagreement about how to divide tumors into ER-positive and ER-negative subsets. The continuous nature of ER would suggest that although one can determine a statistically valid cut-point for ER,the marker should really be thought of as a truly continuous(linear)marker when assessing survival.Finally,we use an X-tile plot of p53to elucidate tumor novel tumor subpopulations.p53is a tumor suppressor with complex biology and a varied record of predictive and prog-nostic significance in breast cancer.Mutation of both p53 alleles frequently leads to overexpression of nonfunctional forms of p53in an attempt to compensate for the loss of p53 function.Such overexpression is often attributable to mis-sense mutations in exons5–8and is associated with poor prognosis(15,16).When assessed with standard immuno-histochemistry,these tumors frequently exhibit intense p53 nuclear staining.In contrast,mutations outside of these exons generally result in undetectable levels of p53protein(p53 null mutations;ref.17,18).These tumors are therefore not detected by standard immunohistochemistry(19,20).Theo-retically,one should be able to distinguish among p53-negative(null mutant),p53-low(non-mutant),and p53-over-expressing(non-null mutant)tumors;however,such distinctions are beyond the sensitivity of traditional manually read“brown-stain”immunohistochemistry.We analyzed p53expression on a training cohort of118 breast cancers,50%of which were node-positive using AQUA.Correlations between p53expression and patient survival were graphed on an X-tile plot,which clearly shows two distinct subpopulations of tumors,one of high expressers and one of low expressers,both of which do poorly relativethe validation set.A shows tumor size divided at the optimal cut-point,as defined by the most significant(brightest pixel)on the plot(19and49mm, PϽ0.0001).Diffuse red indicates a continuous indirect association between increasing tumor size and good prognosis.B shows patient age divided at the mean age(59years,Pϭ0.2820).Note that this point appears as a black/white circle on the hypotenuse of the X-tile plot.The lack of a significant survival difference is reflected in the fact that this region of the X-tile plot is black.C shows patient age divided at the optimal cut-point (at the intersection of the most significant division for the high and low subsets,48and70years,PϽ0.0001).The plot reveals a U-shaped distribution, with both a high(red cloud)and a low(green cloud)population that exhibit worse outcome.D shows the number of positive nodes in patients with node-positive breast carcinoma.Analysis was limited to cases in whichՆ8lymph nodes were pathologically analyzed.The optimal cut-point is shown (four and nine positive nodes,PϽ0.0001).7255Clinical Cancer Research7256X-Tile:A New Bio-Informatics Toolto tumors expressing intermediate levels of p53(Fig.2E). The X-tile plot reveals significant,optimal cut-points of7.5 and46.4(Pϭ0.0287).We speculate that the p53-negative tumors are true double-negative mutants for p53and there-fore comprise a poor-prognosis subset.In contrast,the p53-high tumors most likely represent non-null mutants,which also have a poor outcome.In this case,X-tile has elucidated an intriguing subpopulation of tumors that calls for further biochemical investigation.Although X-tile plots were designed for use with continu-ous data,they can also be used to find appropriate cut-points in categorical(nominal)data such as that obtained by manual scoring of brown-stained immunohistochemical slides.To show this,we manually scored our HER2and ER-stained tissue microarrays on a scale of0to3ϩand expressed this data in X-tile plots(Fig.3A and B).Note that each possible cut-point is represented by a colored square.As with continuous data,the optimal cut-point is determined by finding the square of the highest color intensity on a training set and then using that cut-point on a separate validation set to test for statistical sig-nificance.In addition to visualizing survival data,X-tile plots can be used display other correlative data,such as the association between two markers.For instance,X-tile can divide a cohort into subsets based on the expression of one marker and analyze the variance of the mean expression of another marker in each of these subsets.Figure3C and D show the association between HER2and ER expression in our cohort of breast cancer patients.In3C,we used HER2to divide the cohort and compared the mean ER expression of each subset using an ANOVA.As with the survival analysis shown in Fig.2,the association between HER2and ER expression shows a subset of high HER2-expressing tumors that have low mean ER expression(Fig.3C).Interestingly,HER2 versus ER X-tile plot of training set data defines the optimal cut-point between high and low HER2expressers at an AQUA score of156.8,identical to that obtained when sur-vival analysis is used(Fig.2).This cut-point is statistically significant(Pϭ0.0056)when assessed on a validation set.In contrast,using ER to divide the population and analyzing HER2mean expression provides a more diffuse X-tile plot (panel D)where increasingly lower ER expression correlates with increasingly higher HER2expression.The optimal cut-point for this X-tile plot occurs at45.7(Pϭ0.0005).These examples illustrate that as with survival X-tile plots,correl-ative marker plots can also find biologically meaningful tumor subsets.Recently,numerous algorithms have been developed in efforts to analyze results from DNA based microarrays. These include algorithms based on clustering(21),genetic permutation(22),or2Automatic Interaction Detector(23). Although these systems can analyze tumor subsets post hoc to assess differences in survival,none use survival time and censor information for the initial classification of tumor subsets.Furthermore,these algorithms generally treat marker data as continuous or nominalize data into nonbiological categories(e.g.,quartiles or manual scoring on a0–3ϩscale).Our study would suggest that whereas this approach might be appropriate for ER,tumor size,or node number,it clearly is not appropriate for HER2,p53,or patient age, which exhibit nonlinear expression.Indeed,the actual HER2 expression level on a linear scale is far less important than the fact that a tumor has a HER2expression level above a certain cut-point.Although the calculations presented in an X-tile plot are not novel in and of themselves,performing a similar analysis with conventional techniques would require the per-formance of thousands of individual survival analyses and the exhaustive comparison of each to determine where an opti-mal cut-point might occur.In summary,X-tile plots present a new tool for(a)the assessment of biological relationships between a biomarker and outcome;and(b)the discovery of population cut-points based on marker expression.Clinically,the ability to effectively define such subpopulations is important for the development of novel therapeutics that may be effective for only a limited subset of tumors.Furthermore,this method may have value in other fields (materials testing,actuarial questions,etc.)where cut-point se-lection is complicated by time-dependent assessment of out-come.Fig.2X-tile plots of prognostic markers HER2,ER,and p53on breast cancer tissue microarray cohorts.A-C show the X-tile analysis of HER2 staining on a cohort of142node-positive breast cancers.The X-tile plot of the30-year disease-related survival of the training set is represented,with the X-tile plot of a separate validation cohort of143tumors in the inset(A-C,left).HER2staining was quantitatively determined with an automated analysis system(AQUA;ref.9).Note the cloud of high2values for a subpopulation of high expressers(ϳ15%of the total population).As long as the size of the high subpopulation remains constant,the survival difference remains high,despite changes in the size of the lower population(A and B,left,middle,right).In contrast,expanding the size of the high subpopulation beyondϳ18%reduces survival difference(C,left,middle,right), as more and more low expressing tumors dilute the higher ing this X-tile plot,the maximum2value for a single cut-point occurs at an AQUA score of156.8(along the hypotenuse of the plot,A).The red color of the cloud illustrates the fact that higher HER2expressing tumors do worse.This optimal cut-point was validated by dividing a separate cohort and was found to be statistically significant(Pϭ0.0136,A,right).D shows the X-tile plot of ER.One hundred and eighteen node-positive tumors were assessed for ER status,and results were displayed on an X-tile plot.ER staining was quantitatively determined with AQUA.The X-tile plot of ER shows diffuse correlation between ER expression and30-year disease-related survival(D,left).The green color of the plot illustrates the fact the higher ER-expressing tumors do better.X-tile discovers optimal cut-points at37.7and117.6on a training set(outlined circle,D,left).These cut-point were applied to a validation set(Nϭ118,inset)and found to be statistically significant(Pϭ0.0369,D,right).E shows the X-tile plot of p53expression done on a cohort of111breast carcinomas(50% node-negative)with30-year disease-related follow-up data.The X-tile plot reveals a U-shaped distribution,with both a high(red cloud)and a low (green cloud)population that exhibit worse outcome(E,left).The optimal population division occurs at AQUA scores of7.5and46.4.When these cut-points are applied to a separate cohort of111breast cancer specimens(inset),they are found to be statistically significant(Pϭ0.0287,E,right). The p53histogram is truncated at an AQUA score of100to visualize the low/moderate expressers.Tumors with p53scores ofϾ100are shown in a single bar(E,middle).7257Clinical Cancer Research。