@gis-js/utilsol / Exports / EShapeFile
# Class: EShapeFile
# Hierarchy
BaseObject
↳
EShapeFile
# Table of contents
# Constructors
# Properties
# Methods
# Constructors
# constructor
• new EShapeFile(opt_options
)
# Parameters
Name | Type |
---|---|
opt_options | any |
# Overrides
OLObject.constructor
# Properties
# cpg_
• cpg_: string
# featureCollection_
• featureCollection_: Collection
<any
>
# projection_
• projection_: Projection
# Methods
# downLoadZip
▸ downLoadZip(options
): void
# Parameters
Name | Type | Description |
---|---|---|
options | any |
# Returns
void
# getFeatures
▸ getFeatures(): any
[]
# Returns
any
[]
# getProjectionWKT
▸ getProjectionWKT(): "GEOGCS[\"GCS_China_Geodetic_Coordinate_System_2000\",DATUM[\"D_China_2000\",SPHEROID[\"CGCS2000\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]]"
| "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433],AUTHORITY[\"EPSG\",4326]]"
# Returns
"GEOGCS[\"GCS_China_Geodetic_Coordinate_System_2000\",DATUM[\"D_China_2000\",SPHEROID[\"CGCS2000\",6378137.0,298.257222101]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]]"
| "GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433],AUTHORITY[\"EPSG\",4326]]"
# readFile
▸ readFile(files
): void
# Parameters
Name | Type | Description |
---|---|---|
files | any |
# Returns
void
# readVector
▸ readVector(vector
): void
# Parameters
Name | Type | Description |
---|---|---|
vector | any |
# Returns
void
# setFeatures
▸ setFeatures(features
): void
# Parameters
Name | Type | Description |
---|---|---|
features | any |
# Returns
void