⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 doc.xml

📁 包含详细例子的c#创建shape文件的开源码
💻 XML
📖 第 1 页 / 共 3 页
字号:
<?xml version="1.0"?>
<?xml:stylesheet href="doc.xsl" type="text/xsl"?>

<doc>
    <assembly>
        <name>NETTest</name>
    </assembly>
    <members>
        <member name="T:MapTools.ShapeLib">
            <summary>
            .NET Framework wrapper for Shapefile C Library V1.2.10
            </summary>
            <remarks>
            Shapefile C Library is (c) 1998 Frank Warmerdam.  .NET wrapper provided by David Gancarz.  
            Please send error reports or other suggestions regarding this wrapper class to:
            dgancarz@cfl.rr.com or david.gancarz@cityoforlando.net
            </remarks>
        </member>
        <member name="T:MapTools.ShapeLib.ShapeType">
            <summary>
            Shape type enumeration
            </summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.NullShape">
            <summary>Shape with no geometric data</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.Point">
            <summary>2D point</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PolyLine">
            <summary>2D polyline</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.Polygon">
            <summary>2D polygon</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.MultiPoint">
            <summary>Set of 2D points</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PointZ">
            <summary>3D point</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PolyLineZ">
            <summary>3D polyline</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PolygonZ">
            <summary>3D polygon</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.MultiPointZ">
            <summary>Set of 3D points</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PointM">
            <summary>3D point with measure</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PolyLineM">
            <summary>3D polyline with measure</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.PolygonM">
            <summary>3D polygon with measure</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.MultiPointM">
            <summary>Set of 3d points with measures</summary>
        </member>
        <member name="F:MapTools.ShapeLib.ShapeType.MultiPatch">
            <summary>Collection of surface patches</summary>
        </member>
        <member name="T:MapTools.ShapeLib.PartType">
            <summary>
            Part type enumeration - everything but ShapeType.MultiPatch just uses PartType.Ring.
            </summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.TriangleStrip">
            <summary>
            Linked strip of triangles, where every vertex (after the first two) completes a new triangle.
            A new triangle is always formed by connecting the new vertex with its two immediate predecessors.
            </summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.TriangleFan">
            <summary>
            A linked fan of triangles, where every vertex (after the first two) completes a new triangle.
            A new triangle is always formed by connecting the new vertex with its immediate predecessor 
            and the first vertex of the part.
            </summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.OuterRing">
            <summary>The outer ring of a polygon</summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.InnerRing">
            <summary>The first ring of a polygon</summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.FirstRing">
            <summary>The outer ring of a polygon of an unspecified type</summary>
        </member>
        <member name="F:MapTools.ShapeLib.PartType.Ring">
            <summary>A ring of a polygon of an unspecified type</summary>
        </member>
        <member name="T:MapTools.ShapeLib.SHPObject">
            <summary>
            SHPObject - represents on shape (without attributes) read from the .shp file.
            </summary>
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.shpType">
            <summary>Shape type as a ShapeType enum</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.nShapeId">
            <summary>Shape number (-1 is unknown/unassigned)</summary>  
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.nParts">
            <summary>Number of parts (0 implies single part with no info)</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.paPartStart">
            <summary>Pointer to int array of part start offsets, of size nParts</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.paPartType">
            <summary>Pointer to PartType array (PartType.Ring if not ShapeType.MultiPatch) of size nParts</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.nVertices">
            <summary>Number of vertices</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.padfX">
            <summary>Pointer to double array containing X coordinates</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.padfY">
            <summary>Pointer to double array containing Y coordinates</summary>   
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.padfZ">
            <summary>Pointer to double array containing Z coordinates (all zero if not provided)</summary>  
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.padfM">
            <summary>Pointer to double array containing Measure coordinates(all zero if not provided)</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfXMin">
            <summary>Bounding rectangle's min X</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfYMin">
            <summary>Bounding rectangle's min Y</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfZMin">
            <summary>Bounding rectangle's min Z</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfMMin">
            <summary>Bounding rectangle's min M</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfXMax">
            <summary>Bounding rectangle's max X</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfYMax">
            <summary>Bounding rectangle's max Y</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfZMax">
            <summary>Bounding rectangle's max Z</summary> 
        </member>
        <member name="F:MapTools.ShapeLib.SHPObject.dfMMax">
            <summary>Bounding rectangle's max M</summary> 
        </member>
        <member name="M:MapTools.ShapeLib.SHPOpen(System.String,System.String)">
            <summary>
            The SHPOpen() function should be used to establish access to the two files for 
            accessing vertices (.shp and .shx). Note that both files have to be in the indicated 
            directory, and must have the expected extensions in lower case. The returned SHPHandle 
            is passed to other access functions, and SHPClose() should be invoked to recover 
            resources, and flush changes to disk when complete.
            </summary>
            <param name="szShapeFile">The name of the layer to access.  This can be the name of either 
            the .shp or the .shx file or can just be the path plus the basename of the pair.</param>
            <param name="szAccess">The fopen() style access string. At this time only "rb" (read-only binary) 
            and "rb+" (read/write binary) should be used.</param>
            <returns>IntPtr</returns>
        </member>
        <member name="M:MapTools.ShapeLib.SHPCreate(System.String,MapTools.ShapeLib.ShapeType)">
            <summary>
            The SHPCreate() function will create a new .shp and .shx file of the desired type.
            </summary>
            <param name="szShapeFile">The name of the layer to access. This can be the name of either 
            the .shp or the .shx file or can just be the path plus the basename of the pair.</param>
            <param name="shpType">The type of shapes to be stored in the newly created file. 
            It may be either ShapeType.Point, ShapeType.PolyLine, ShapeType.Polygon or ShapeType.MultiPoint.</param>
            <returns>IntPtr</returns>
        </member>
        <member name="M:MapTools.ShapeLib.SHPGetInfo(System.IntPtr,System.Int32@,MapTools.ShapeLib.ShapeType@,System.Double[],System.Double[])">
            <summary>
            The SHPGetInfo() function retrieves various information about shapefile as a whole. 
            The bounds are read from the file header, and may be inaccurate if the file was 
            improperly generated.
            </summary>
            <param name="hSHP">The handle previously returned by SHPOpen() or SHPCreate()</param>
            <param name="pnEntities">A pointer to an integer into which the number of 
            entities/structures should be placed. May be NULL.</param>
            <param name="pshpType">A pointer to an integer into which the ShapeType of this file 
            should be placed. Shapefiles may contain either ShapeType.Point, ShapeType.PolyLine, ShapeType.Polygon or 
            ShapeType.MultiPoint entities. This may be NULL.</param>
            <param name="adfMinBound">The X, Y, Z and M minimum values will be placed into this 
            four entry array. This may be NULL. </param>
            <param name="adfMaxBound">The X, Y, Z and M maximum values will be placed into this 
            four entry array. This may be NULL.</param>
            <returns>void</returns>
        </member>
        <member name="M:MapTools.ShapeLib.SHPReadObject(System.IntPtr,System.Int32)">
            <summary>
            The SHPReadObject() call is used to read a single structure, or entity from the shapefile. 
            See the definition of the SHPObject structure for detailed information on fields of a SHPObject. 
            </summary>
            <param name="hSHP">The handle previously returned by SHPOpen() or SHPCreate().</param>
            <param name="iShape">The entity number of the shape to read. Entity numbers are between 0 
            and nEntities-1 (as returned by SHPGetInfo()).</param>
            <returns>SHPObject</returns>
            <remarks>
            SHPObject's returned from SHPReadObject() should be deallocated with SHPDestroyShape(). 
            SHPReadObject() will return NULL if an illegal iShape value is requested. 
            Note that the bounds placed into the SHPObject are those read from the file, and may not be correct. 
            For points the bounds are generated from the single point since bounds aren't normally provided 
            for point types. Generally the shapes returned will be of the type of the file as a whole. 
            However, any file may also contain type ShapeType.NullShape shapes which will have no geometry. 
            Generally speaking applications should skip rather than preserve them, as they usually 
            represented interactively deleted shapes.
            </remarks>
        </member>
        <member name="M:MapTools.ShapeLib.SHPWriteObject(System.IntPtr,System.Int32,MapTools.ShapeLib.SHPObject)">
            <summary>
            The SHPWriteObject() call is used to write a single structure, or entity to the shapefile. 
            See the definition of the SHPObject structure for detailed information on fields of a SHPObject.
            </summary>
            <param name="hSHP">The handle previously returned by SHPOpen("r+") or SHPCreate().</param>
            <param name="iShape">The entity number of the shape to write. 
            A value of -1 should be used for new shapes. </param>
            <param name="psObject">The shape to write to the file. This should have been created with SHPCreateObject(), 
            or SHPCreateSimpleObject().</param>
            <returns>int</returns>
        </member>
        <member name="M:MapTools.ShapeLib.SHPDestroyObject(MapTools.ShapeLib.SHPObject)">
            <summary>
            This function should be used to deallocate the resources associated with a SHPObject 
            when it is no longer needed, including those created with SHPCreateSimpleObject(), 
            SHPCreateObject() and returned from SHPReadObject().

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -