Class: uGisGetFeature

ugmp.service.uGisGetFeature

new ugmp.service.uGisGetFeature(opt_options){jQuery.Deferred}

WFS getFeature 서비스 객체.

OGC 표준의 WFS getFeature 서비스를 요청하는 객체.

Name Type Description
opt_options Object
Name Type Description
filter ol.format.filter.Filter

필터. Default is undefined.

srsName String

좌표계. Default is EPSG:3857.

useProxy Boolean

프록시 사용 여부. Default is true.

serviceURL String

WFS 서비스 URL. Default is "".

typeName String

레이어명. Default is "".

maxFeatures Boolean

피쳐 최대 요청 갯수. Default is 1000.

outputFormat String

outputFormat. Default is text/xml; subtype=gml/3.1.1.

dataViewId String

View ID. Default is "".

Returns:
jQuery.Deferred.
Example
var ugFeatures = new ugmp.service.uGisGetFeature( {
	useProxy : true,
	srsName : 'EPSG:3857',
	maxFeatures : 100,
	typeName : 'world_country',
	serviceURL : 'http://mapstudio.uitgis.com/ms/wfs?KEY=key',
	filter : new ol.format.filter.like( 'NAME', 'South*' )
} );

ugFeatures.then( function(res) {
	console.log( res.features );
} );