KmlLayer 클래스
Summary: Represents a Kml layer with non-destructive behavior that supports read and writing of features and attributes at one time.
A Kml layer is a collection of geographic features, stored in a file.
Module: aspose.gis.formats.kml
Full Name: aspose.gis.formats.kml.KmlLayer
Inheritance: VectorLayer
Aspose.PSD Version: 25.9.0
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| attributes | BaseFeatureAttributeCollection | r | 이 VectorLayer의 피처에 대한 사용자 정의 속성 컬렉션을 가져옵니다. |
| 카운트 | int | r | 이 레이어의 피처 수를 가져옵니다. |
| driver | Driver | r | 이 레이어를 인스턴스화한 KmlLayer.driver를 가져옵니다. |
| features | Feature[] | r | 특성 목록을 가져옵니다. |
| geometry_type | GeometryType | r | 레이어의 기하학 유형을 가져옵니다. |
| ground_overlay_list | System.Collections.Generic.List<Aspose.Gis.Formats.Kml.SpecificFields.KmlGroundOverlayInfo> | r | GroundOverlay 노드에서 가져온 KmlGroundOverlayInfo 목록 |
| network_link_list | System.Collections.Generic.List<Aspose.Gis.Formats.Kml.SpecificFields.KmlNetworkLinkInfo> | r | NetworkLink 노드에서 가져온 KmlNetworkLinkInfo 목록 |
| region_list | System.Collections.Generic.List<Aspose.Gis.Formats.Kml.SpecificFields.KmlRegionInfo> | r | Region 노드에서 가져온 KmlRegionInfo 목록 |
| spatial_reference_system | SpatialReferenceSystem | r | 이 레이어의 공간 참조 시스템을 가져옵니다. KML의 경우 항상 WGS84입니다. |
Methods
| Name | Description |
|---|---|
| add(feature) | 레이어에 새 피처를 추가합니다, VectorLayer’s VectorLayer.driver가 지원되는 경우. |
| add(feature, style) | 지정된 스타일을 가진 새 피처를 레이어에 추가합니다, VectorLayer’s VectorLayer.driver가 지원되는 경우. |
| as_in_memory() | InMemory 형식으로 레이어 복제본을 생성합니다. |
| construct_feature() | 새 피처를 생성하지만 레이어에 추가하지는 않으며, 이 레이어의 속성 컬렉션과 일치하는 속성을 가집니다. 피처에 대한 데이터 설정이 완료되면, VectorLayer.add(feature)를 사용하여 피처를 레이어에 추가합니다. |
| convert(source_path, source_driver, destination_path, destination_driver) | 레이어를 다른 형식으로 변환합니다. |
| convert(source_path, source_driver, destination_path, destination_driver) | 레이어를 다른 형식으로 변환합니다. |
| convert(source_path, source_driver, destination_path, destination_driver, options) | 레이어를 다른 형식으로 변환합니다. |
| convert(source_path, source_driver, destination_path, destination_driver, options) | 레이어를 다른 형식으로 변환합니다. |
| copy_attributes(features_sequence) | 다른 VectorLayer의 속성을 이 레이어에 복사합니다. |
| copy_attributes(features_sequence, converter) | 다른 VectorLayer의 속성을 이 레이어에 복사합니다. |
| create(path, driver) | 레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다. |
| create(path, driver) | 레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다. |
| create(path, driver, options) | 레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다. |
| create(path, driver, options) | 레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다. |
| create(path, driver, options, spatial_reference_system) | 레이어를 생성하고 추가를 위해 엽니다. |
| create(path, driver, options, spatial_reference_system) | 레이어를 생성하고 추가를 위해 엽니다. |
| create(path, driver, spatial_reference_system) | 레이어를 생성하고 추가를 위해 엽니다. |
| create(path, driver, spatial_reference_system) | 레이어를 생성하고 추가를 위해 엽니다. |
| get_extent() | 이 레이어의 공간 범위를 가져옵니다. |
| intersection_by_geometry(layer) | 기하학을 사용하여 레이어를 현재 레이어와 교차시킵니다. |
| join(layer, options) | 레이어를 현재 레이어에 조인합니다. |
| join_by_geometry(layer, options) | 기하학을 사용하여 레이어를 현재 레이어에 조인합니다. |
| nearest_to(point) | 제공된 점에 가장 가까운 피처를 가져옵니다. |
| nearest_to(x, y) | 제공된 좌표에 가장 가까운 피처를 가져옵니다. |
| open(path, driver) | 읽기 위해 레이어를 엽니다. |
| open(path, driver) | 읽기 위해 레이어를 엽니다. |
| open(path, driver, options) | 읽기 위해 레이어를 엽니다. |
| open(path, driver, options) | 읽기 위해 레이어를 엽니다. |
| remove_at(index) | 지정된 인덱스에 있는 Feature을 제거합니다. |
| replace_at(index, feature) | 지정된 인덱스에 있는 Feature을 교체합니다. |
| save_to(destination_path, destination_driver) | 피처 시퀀스를 레이어에 저장합니다. |
| save_to(destination_path, destination_driver) | 피처 시퀀스를 레이어에 저장합니다. |
| save_to(destination_path, destination_driver, options) | 피처 시퀀스를 레이어에 저장합니다. |
| save_to(destination_path, destination_driver, options) | 피처 시퀀스를 레이어에 저장합니다. |
| split_to() | 피처를 기하학 유형별로 분할합니다. |
| use_attributes_index(index_path, attribute_name, force_rebuild) | 필터 메서드(Aspose.Gis.FeaturesSequence.WhereGreater1(string,0) 등)에서 속성 값으로 필터링을 가속하기 위해 속성 인덱스를 로드합니다.인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다. |
| use_attributes_index(index_path, attribute_name, force_rebuild) | 필터 메서드(Aspose.Gis.FeaturesSequence.WhereGreater1(string,0) 등)에서 속성 값으로 필터링을 가속하기 위해 속성 인덱스를 로드합니다.인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다. |
| use_spatial_index(index_path, force_rebuild) | 필터 메서드(Aspose.Gis.FeaturesSequence.WhereIntersects(Aspose.Gis.Geometries.IGeometry) 및 Aspose.Gis.VectorLayer.NearestTo(float,float) 등)에서 속성 값으로 필터링을 가속하기 위해 공간 인덱스를 로드합니다. 인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다. |
| use_spatial_index(index_path, force_rebuild) | 필터 메서드(Aspose.Gis.FeaturesSequence.WhereIntersects(Aspose.Gis.Geometries.IGeometry) 및 Aspose.Gis.VectorLayer.NearestTo(float,float) 등)에서 속성 값으로 필터링을 가속하기 위해 공간 인덱스를 로드합니다. 인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다. |
| where_equal(attribute_name, value) | 제공된 값과 동일한 속성 값을 가진 피처를 선택합니다. |
| where_greater(attribute_name, value) | 제공된 값보다 큰 속성 값을 가진 피처를 선택합니다. |
| where_greater_or_equal(attribute_name, value) | 제공된 값보다 크거나 같은 속성 값을 가진 피처를 선택합니다. |
| where_intersects(extent) | 범위에 따라 피처를 필터링합니다. |
| where_intersects(geometry) | 제공된 지오메트리를 기준으로 피처를 필터링합니다. |
| where_intersects(sequence) | 다른 피처 시퀀스의 모든 지오메트리의 합집합을 기준으로 피처를 필터링합니다. |
| where_not_equal(attribute_name, value) | 속성 값이 제공된 값과 같지 않은 피처를 선택합니다. |
| where_not_null(attribute_name) | 속성이 null이 아닌 피처를 선택합니다. |
| where_null(attribute_name) | 속성이 null인 피처를 선택합니다. |
| where_set(attribute_name) | 속성이 설정된 피처를 선택합니다. |
| where_smaller(attribute_name, value) | 속성 값이 제공된 값보다 작은 피처를 선택합니다. |
| where_smaller_or_equal(attribute_name, value) | 속성 값이 제공된 값보다 작거나 같은 피처를 선택합니다. |
| where_unset(attribute_name) | 지정된 속성이 설정되지 않은 피처를 선택합니다. |
Method: add(feature)
add(feature)
레이어에 새 피처를 추가합니다, VectorLayer’s VectorLayer.driver가 지원되는 경우.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| feature | Feature | 추가할 피처. |
Method: add(feature, style)
add(feature, style)
지정된 스타일을 가진 새 피처를 레이어에 추가합니다, VectorLayer’s VectorLayer.driver가 지원되는 경우.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| feature | Feature | 추가할 피처. |
| style | IFeatureStyle | 피처 스타일. 누락된 스타일을 나타내려면 <see langword="null" />를 사용하십시오. |
Method: as_in_memory()
as_in_memory()
InMemory 형식으로 레이어 복제본을 생성합니다.
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | InMemory 레이어. |
Method: construct_feature()
construct_feature()
새 피처를 생성하지만 레이어에 추가하지는 않으며, 이 레이어의 속성 컬렉션과 일치하는 속성을 가집니다.
피처에 대한 데이터 설정이 완료되면, VectorLayer.add(feature)를 사용하여 피처를 레이어에 추가합니다.
Returns
| 형식 | 설명 |
|---|---|
| Feature | 새 피처. |
Method: convert(source_path, source_driver, destination_path, destination_driver) [static]
convert(source_path, source_driver, destination_path, destination_driver)
레이어를 다른 형식으로 변환합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| source_path | string | 변환될 레이어의 경로. |
| source_driver | FileDriver | 소스 레이어의 포맷 드라이버. |
| destination_path | string | 변환 결과로 생성될 레이어의 경로. |
| destination_driver | FileDriver | 대상 레이어의 포맷 드라이버. |
Method: convert(source_path, source_driver, destination_path, destination_driver) [static]
convert(source_path, source_driver, destination_path, destination_driver)
레이어를 다른 형식으로 변환합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| source_path | AbstractPath | 변환될 레이어의 경로. |
| source_driver | FileDriver | 소스 레이어의 포맷 드라이버. |
| destination_path | AbstractPath | 변환 결과로 생성될 레이어의 경로. |
| destination_driver | FileDriver | 대상 레이어의 포맷 드라이버. |
Method: convert(source_path, source_driver, destination_path, destination_driver, options) [static]
convert(source_path, source_driver, destination_path, destination_driver, options)
레이어를 다른 형식으로 변환합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| source_path | string | 변환될 레이어의 경로. |
| source_driver | FileDriver | 소스 레이어의 포맷 드라이버. |
| destination_path | string | 변환 결과로 생성될 레이어의 경로. |
| destination_driver | FileDriver | 대상 레이어의 포맷 드라이버. |
| options | ConversionOptions | 변환 절차 옵션. |
Method: convert(source_path, source_driver, destination_path, destination_driver, options) [static]
convert(source_path, source_driver, destination_path, destination_driver, options)
레이어를 다른 형식으로 변환합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| source_path | AbstractPath | 변환될 레이어의 경로. |
| source_driver | FileDriver | 소스 레이어의 포맷 드라이버. |
| destination_path | AbstractPath | 변환 결과로 생성될 레이어의 경로. |
| destination_driver | FileDriver | 대상 레이어의 포맷 드라이버. |
| options | ConversionOptions | 변환 절차 옵션. |
Method: copy_attributes(features_sequence)
copy_attributes(features_sequence)
다른 VectorLayer의 속성을 이 레이어에 복사합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| features_sequence | FeaturesSequence | 속성을 복사할 피처 시퀀스. |
Method: copy_attributes(features_sequence, converter)
copy_attributes(features_sequence, converter)
다른 VectorLayer의 속성을 이 레이어에 복사합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| features_sequence | FeaturesSequence | 속성을 복사할 피처 시퀀스. |
| converter | IAttributesConverter | 속성을 하나씩 처리할 사용자 정의 IAttributesConverter 인스턴스. |
Method: create(path, driver) [static]
create(path, driver)
레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 쓰기 전용 레이어. |
Method: create(path, driver) [static]
create(path, driver)
레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 쓰기 전용 레이어. |
Method: create(path, driver, options) [static]
create(path, driver, options)
레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 쓰기 전용 레이어. |
Method: create(path, driver, options) [static]
create(path, driver, options)
레이어를 생성하고 새 피처를 추가할 수 있도록 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 쓰기 전용 레이어. |
Method: create(path, driver, options, spatial_reference_system) [static]
create(path, driver, options, spatial_reference_system)
레이어를 생성하고 추가를 위해 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
| spatial_reference_system | SpatialReferenceSystem | 공간 참조 시스템. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 다음의 인스턴스: VectorLayer. |
Method: create(path, driver, options, spatial_reference_system) [static]
create(path, driver, options, spatial_reference_system)
레이어를 생성하고 추가를 위해 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
| spatial_reference_system | SpatialReferenceSystem | 공간 참조 시스템. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 다음의 인스턴스: VectorLayer. |
Method: create(path, driver, spatial_reference_system) [static]
create(path, driver, spatial_reference_system)
레이어를 생성하고 추가를 위해 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| spatial_reference_system | SpatialReferenceSystem | 공간 참조 시스템. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 다음의 인스턴스: VectorLayer. |
Method: create(path, driver, spatial_reference_system) [static]
create(path, driver, spatial_reference_system)
레이어를 생성하고 추가를 위해 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| spatial_reference_system | SpatialReferenceSystem | 공간 참조 시스템. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 다음의 인스턴스: VectorLayer. |
Method: get_extent()
get_extent()
이 레이어의 공간 범위를 가져옵니다.
Returns
| 형식 | 설명 |
|---|---|
| Extent | 이 레이어의 공간 범위. |
Method: intersection_by_geometry(layer)
intersection_by_geometry(layer)
기하학을 사용하여 레이어를 현재 레이어와 교차시킵니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| layer | VectorLayer | 교차할 레이어. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 두 레이어를 교차한 결과 생성된 새 레이어. |
Method: join(layer, options)
join(layer, options)
레이어를 현재 레이어에 조인합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| layer | VectorLayer | 조인할 레이어. |
| options | JoinOptions | 조인 매개변수. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 두 레이어를 조인한 결과 생성된 새 레이어. |
Method: join_by_geometry(layer, options)
join_by_geometry(layer, options)
기하학을 사용하여 레이어를 현재 레이어에 조인합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| layer | VectorLayer | 조인할 레이어. |
| options | JoinByGeometryOptions | 조인 매개변수. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 두 레이어를 조인한 결과 생성된 새 레이어. |
Method: nearest_to(point)
nearest_to(point)
제공된 점에 가장 가까운 피처를 가져옵니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| point | IPoint | 점. |
Returns
| 형식 | 설명 |
|---|---|
| Feature | 제공된 점에 가장 가까운 피처. |
Method: nearest_to(x, y)
nearest_to(x, y)
제공된 좌표에 가장 가까운 피처를 가져옵니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| x | double | 좌표의 X. |
| y | double | 좌표의 Y. |
Returns
| 형식 | 설명 |
|---|---|
| Feature | 제공된 좌표에 가장 가까운 피처. |
Method: open(path, driver) [static]
open(path, driver)
읽기 위해 레이어를 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 읽기 전용 레이어. |
Method: open(path, driver) [static]
open(path, driver)
읽기 위해 레이어를 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 읽기 전용 레이어. |
Method: open(path, driver, options) [static]
open(path, driver, options)
읽기 위해 레이어를 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | string | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 읽기 전용 레이어. |
Method: open(path, driver, options) [static]
open(path, driver, options)
읽기 위해 레이어를 엽니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| path | AbstractPath | 파일 경로. |
| driver | FileDriver | 사용할 드라이버입니다. |
| options | DriverOptions | 드라이버별 옵션. |
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer | 읽기 전용 레이어. |
Method: remove_at(index)
remove_at(index)
지정된 인덱스에 있는 Feature을 제거합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index | int | 피처의 인덱스. |
Method: replace_at(index, feature)
replace_at(index, feature)
지정된 인덱스에 있는 Feature을 교체합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index | int | 피처의 인덱스. |
| feature | Feature | 설정할 피처. |
Method: save_to(destination_path, destination_driver)
save_to(destination_path, destination_driver)
피처 시퀀스를 레이어에 저장합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| destination_path | string | 출력 레이어 경로. |
| destination_driver | FileDriver | 출력 레이어의 포맷 드라이버. |
Method: save_to(destination_path, destination_driver)
save_to(destination_path, destination_driver)
피처 시퀀스를 레이어에 저장합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| destination_path | AbstractPath | 출력 레이어 경로. |
| destination_driver | FileDriver | 출력 레이어의 포맷 드라이버. |
Method: save_to(destination_path, destination_driver, options)
save_to(destination_path, destination_driver, options)
피처 시퀀스를 레이어에 저장합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| destination_path | string | 출력 레이어 경로. |
| destination_driver | FileDriver | 출력 레이어의 포맷 드라이버. |
| options | SavingOptions | 저장 절차 옵션. |
Method: save_to(destination_path, destination_driver, options)
save_to(destination_path, destination_driver, options)
피처 시퀀스를 레이어에 저장합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| destination_path | AbstractPath | 출력 레이어 경로. |
| destination_driver | FileDriver | 출력 레이어의 포맷 드라이버. |
| options | SavingOptions | 저장 절차 옵션. |
Method: split_to()
split_to()
피처를 기하학 유형별로 분할합니다.
Returns
| 형식 | 설명 |
|---|---|
| VectorLayer[] | 동일한 기하 유형을 가진 레이어. |
Method: use_attributes_index(index_path, attribute_name, force_rebuild)
use_attributes_index(index_path, attribute_name, force_rebuild)
필터 메서드(Aspose.Gis.FeaturesSequence.WhereGreater1(string,0) 등)에서 속성 값으로 필터링을 가속하기 위해 속성 인덱스를 로드합니다.
인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index_path | string | 인덱스 파일 경로. |
| attribute_name | string | 인덱스를 구축할 속성 이름. |
| force_rebuild | bool | 인덱스가 이미 존재하더라도 재생성할지 여부. |
Method: use_attributes_index(index_path, attribute_name, force_rebuild)
use_attributes_index(index_path, attribute_name, force_rebuild)
필터 메서드(Aspose.Gis.FeaturesSequence.WhereGreater1(string,0) 등)에서 속성 값으로 필터링을 가속하기 위해 속성 인덱스를 로드합니다.
인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index_path | AbstractPath | 인덱스 파일 경로. |
| attribute_name | string | 인덱스를 구축할 속성 이름. |
| force_rebuild | bool | 인덱스가 이미 존재하더라도 재생성할지 여부. |
Method: use_spatial_index(index_path, force_rebuild)
use_spatial_index(index_path, force_rebuild)
필터 메서드(Aspose.Gis.FeaturesSequence.WhereIntersects(Aspose.Gis.Geometries.IGeometry) 및 Aspose.Gis.VectorLayer.NearestTo(float,float) 등)에서 속성 값으로 필터링을 가속하기 위해 공간 인덱스를 로드합니다.
인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index_path | string | 인덱스 파일 경로. |
| force_rebuild | bool | 인덱스가 이미 존재하더라도 재생성할지 여부. |
Method: use_spatial_index(index_path, force_rebuild)
use_spatial_index(index_path, force_rebuild)
필터 메서드(Aspose.Gis.FeaturesSequence.WhereIntersects(Aspose.Gis.Geometries.IGeometry) 및 Aspose.Gis.VectorLayer.NearestTo(float,float) 등)에서 속성 값으로 필터링을 가속하기 위해 공간 인덱스를 로드합니다.
인덱스가 존재하지 않으면 먼저 생성합니다. <paramref name="forceRebuild" />를 사용하여 인덱스 재생성을 강제합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| index_path | AbstractPath | 인덱스 파일 경로. |
| force_rebuild | bool | 인덱스가 이미 존재하더라도 재생성할지 여부. |
Method: where_equal(attribute_name, value)
where_equal(attribute_name, value)
제공된 값과 동일한 속성 값을 가진 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 속성 값이 제공된 값과 같은 피처. |
Method: where_greater(attribute_name, value)
where_greater(attribute_name, value)
제공된 값보다 큰 속성 값을 가진 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 속성 값이 제공된 값보다 큰 피처. |
Method: where_greater_or_equal(attribute_name, value)
where_greater_or_equal(attribute_name, value)
제공된 값보다 크거나 같은 속성 값을 가진 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 속성 값이 제공된 값보다 크거나 같은 피처. |
Method: where_intersects(extent)
where_intersects(extent)
범위에 따라 피처를 필터링합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| extent | Extent | 필터 범위. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 제공된 기하학과 교차하는 피처. |
Method: where_intersects(geometry)
where_intersects(geometry)
제공된 지오메트리를 기준으로 피처를 필터링합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| geometry | IGeometry | 필터 기하학. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 제공된 기하학과 교차하는 피처. |
Method: where_intersects(sequence)
where_intersects(sequence)
다른 피처 시퀀스의 모든 지오메트리의 합집합을 기준으로 피처를 필터링합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| sequence | FeaturesSequence | 다른 피처 시퀀스. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 다른 피처 시퀀스의 모든 기하학의 합집합과 교차하는 피처. |
Method: where_not_equal(attribute_name, value)
where_not_equal(attribute_name, value)
속성 값이 제공된 값과 같지 않은 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 제공된 값과 같지 않은 속성 값을 가진 피처. |
Method: where_not_null(attribute_name)
where_not_null(attribute_name)
속성이 null이 아닌 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | null과 같지 않은 속성 값을 가진 피처. |
Method: where_null(attribute_name)
where_null(attribute_name)
속성이 null인 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | null과 같은 속성 값을 가진 피처. |
Method: where_set(attribute_name)
where_set(attribute_name)
속성이 설정된 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 설정된 속성 값을 가진 피처. |
Method: where_smaller(attribute_name, value)
where_smaller(attribute_name, value)
속성 값이 제공된 값보다 작은 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 제공된 값보다 작은 속성 값을 가진 피처. |
Method: where_smaller_or_equal(attribute_name, value)
where_smaller_or_equal(attribute_name, value)
속성 값이 제공된 값보다 작거나 같은 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
| 값 | object | 비교할 값. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 제공된 값보다 작거나 같은 속성 값을 가진 피처. |
Method: where_unset(attribute_name)
where_unset(attribute_name)
지정된 속성이 설정되지 않은 피처를 선택합니다.
Parameters:
| 매개변수 | 형식 | 설명 |
|---|---|---|
| attribute_name | string | 필터링할 속성. |
Returns
| 형식 | 설명 |
|---|---|
| FeaturesSequence | 설정되지 않은 속성 값을 가진 피처. |