当前位置: 首页>>代码示例>>Java>>正文


Java PropertyType.Integer方法代码示例

本文整理汇总了Java中com.esri.ges.core.property.PropertyType.Integer方法的典型用法代码示例。如果您正苦于以下问题:Java PropertyType.Integer方法的具体用法?Java PropertyType.Integer怎么用?Java PropertyType.Integer使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.esri.ges.core.property.PropertyType的用法示例。


在下文中一共展示了PropertyType.Integer方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: IncrementalPointProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public IncrementalPointProcessorDefinition() throws PropertyException {

		
		List<LabeledValue> allowedIn = new ArrayList<LabeledValue>();
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_DISTANCE_LBL}","distance"));
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_TIME_LBL}","time"));
		allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.SEGMENTATION_TYPE_VERTEX_LBL}","vertex"));
		
		PropertyDefinition pdInterval= new PropertyDefinition("intervalType", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_INTERVAL_TYPE}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_INTERVAL_TYPE}",true, false, allowedIn);
		propertyDefinitions.put(pdInterval.getPropertyName(), pdInterval);
		PropertyDefinition pdTimeInterval = new PropertyDefinition("timeinterval", PropertyType.Long, 600000, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_TIME_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_TIME_INTERVAL}", false, false);
		pdTimeInterval.setDependsOn("intervalType=time");
		propertyDefinitions.put(pdTimeInterval.getPropertyName(),pdTimeInterval);
		PropertyDefinition pdDistInterval = new PropertyDefinition("distanceinterval", PropertyType.Double, 0.0, "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_DISTANCE_INTERVAL}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_DISTANCE_INTERVAL}", false, false);
		pdDistInterval.setDependsOn("intervalType=distance");
		propertyDefinitions.put(pdDistInterval.getPropertyName(),pdDistInterval);
		PropertyDefinition pdwkid = new PropertyDefinition("wkid", PropertyType.Integer, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_PROCESS_WKID}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_PROCESS_WKID}",true, false);
		propertyDefinitions.put(pdwkid.getPropertyName(), pdwkid);
		PropertyDefinition pdOutDef = new PropertyDefinition("outdefname", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.LBL_OUTDEFNAME}", "${com.esri.geoevent.solutions.processor.incrementalPoint.incrementalPoint-processor.DESC_OUTDEFNAME}", true, false);
		propertyDefinitions.put(pdOutDef.getPropertyName(), pdOutDef);
	}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:22,代码来源:IncrementalPointProcessorDefinition.java

示例2: ReverseGeocoderProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public ReverseGeocoderProcessorDefinition()
{
	try
	{
		PropertyDefinition agolSearchDistanceProperty = new PropertyDefinition(AGOL_SEARCHDISTANCE_PROPERTY, PropertyType.Integer, 100, "ArcGIS Online Reverse Geocoder Search Radius (m)", "The distance from the geoevent's location within which a matching address should be searched.", true, false);
		propertyDefinitions.put(AGOL_SEARCHDISTANCE_PROPERTY, agolSearchDistanceProperty);

		PropertyDefinition newGeoEventDefinitionNameProperty = new PropertyDefinition(NEWGEOEVENTDEFINITION_PROPERTY, PropertyType.String, "NewGeoEventDefinition", "Resulting GeoEvent Definition", "The incoming GeoEvent will be augmented with the address fields from the reverse geocode and a new GeoEvent Definition will be created.", true, false);
		propertyDefinitions.put(NEWGEOEVENTDEFINITION_PROPERTY, newGeoEventDefinitionNameProperty);
	}
	catch (PropertyException ex)
	{
		;
	}
	catch (Exception error)
	{
		LOGGER.error("INIT_ERROR", error.getMessage());
		LOGGER.info(error.getMessage(), error);
	}

}
 
开发者ID:Esri,项目名称:reverse-geocoder-for-geoevent,代码行数:22,代码来源:ReverseGeocoderProcessorDefinition.java

示例3: Line2PtProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public Line2PtProcessorDefinition() throws PropertyException {
	List<LabeledValue> allowedIn = new ArrayList<LabeledValue>();
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.STARTPOINT_LBL}","start"));
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.ENDPOINT_LBL}","end"));
	allowedIn.add(new LabeledValue("${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.MIDPOINT_LBL}","mid"));
	
	PropertyDefinition pdPoint = new PropertyDefinition("pointType", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_POINT_TYPE}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_POINT_TYPE}",true, false, allowedIn);
	propertyDefinitions.put(pdPoint.getPropertyName(), pdPoint);
	PropertyDefinition pdwkid = new PropertyDefinition("wkid", PropertyType.Integer, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_PROCESS_WKID}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_PROCESS_WKID}",true, false);
	propertyDefinitions.put(pdwkid.getPropertyName(), pdwkid);
	PropertyDefinition pdOutDef = new PropertyDefinition("outdefname", PropertyType.String, "", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.LBL_OUTDEFNAME}", "${com.esri.geoevent.solutions.processor.line2pt.line2pt-processor.DESC_OUTDEFNAME}", true, false);
	propertyDefinitions.put(pdOutDef.getPropertyName(), pdOutDef);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:14,代码来源:Line2PtProcessorDefinition.java

示例4: GeoNamesOSMPOIProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public GeoNamesOSMPOIProcessorDefinition()
{
	try
	{
		PropertyDefinition geoNamesUsernameProperty = new PropertyDefinition(GEONAMES_USERNAME_PROPERTY, PropertyType.String, "", "GeoNames Username (optional)", "If you purchased GeoNames Premium services, enter your username. If blank, a more limited free account will be used.", false, false);
		propertyDefinitions.put(GEONAMES_USERNAME_PROPERTY, geoNamesUsernameProperty);

		PropertyDefinition geoNamesOSMPOIsRadiusProperty = new PropertyDefinition(GEONAMES_OSMPOIsRADIUS_PROPERTY, PropertyType.Double, 1, "GeoNames OpenStreetmap POI Search Radius (Km)", "The distance from the geoevent's location within which to search for OpenStreetmap Points of Interest. Max for a free account = 1, max for a premium account = 3.", true, false);
		propertyDefinitions.put(GEONAMES_OSMPOIsRADIUS_PROPERTY, geoNamesOSMPOIsRadiusProperty);

		PropertyDefinition geoNamesOSMPOIsMaxRowsProperty = new PropertyDefinition(GEONAMES_OSMPOIsMAXROWS_PROPERTY, PropertyType.Integer, 50, "GeoNames OpenStreetmap POI Max Rows", "The maximum number of OpenStreetmap Points of Interest to return. Max for a free account = 50, max for a premium account = 150.", true, false);
		propertyDefinitions.put(GEONAMES_OSMPOIsMAXROWS_PROPERTY, geoNamesOSMPOIsMaxRowsProperty);

		GeoEventDefinition ged = new DefaultGeoEventDefinition();
		ged.setName("GeoNamesOSMPOI");
		List<FieldDefinition> fds = new ArrayList<FieldDefinition>();
		fds.add(new DefaultFieldDefinition("trackId", FieldType.String, "TRACK_ID"));
		fds.add(new DefaultFieldDefinition("timestamp", FieldType.Date, "TIME_START"));
		fds.add(new DefaultFieldDefinition("incidentId", FieldType.String));
		fds.add(new DefaultFieldDefinition("typeName", FieldType.String));
		fds.add(new DefaultFieldDefinition("distance", FieldType.Double));
		fds.add(new DefaultFieldDefinition("name", FieldType.String));
		fds.add(new DefaultFieldDefinition("lng", FieldType.Double));
		fds.add(new DefaultFieldDefinition("typeClass", FieldType.String));
		fds.add(new DefaultFieldDefinition("lat", FieldType.Double));
		fds.add(new DefaultFieldDefinition("geometry", FieldType.Geometry, "GEOMETRY"));
		ged.setFieldDefinitions(fds);
		geoEventDefinitions.put(ged.getName(), ged);

	}
	catch (PropertyException ex)
	{
		;
	}
	catch (ConfigurationException e)
	{
		// TODO Auto-generated catch block
		e.printStackTrace();
	}
}
 
开发者ID:Esri,项目名称:geonames-for-geoevent,代码行数:41,代码来源:GeoNamesOSMPOIProcessorDefinition.java

示例5: BearingProcessorDefinition

import com.esri.ges.core.property.PropertyType; //导入方法依赖的package包/类
public BearingProcessorDefinition() throws PropertyException {
	
	List<LabeledValue> oSrcValues = new ArrayList<LabeledValue>();
	oSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
	oSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
	
	List<LabeledValue> dSrcValues = new ArrayList<LabeledValue>();
	dSrcValues.add(new LabeledValue(srcGeoLbl, "geo"));
	dSrcValues.add(new LabeledValue(srcCoordLbl, "coord"));
	
	PropertyDefinition pdOriginSource = new PropertyDefinition("osrc", PropertyType.String, srcGeoLbl, lblOSrc, descOSrc, true, false, oSrcValues);
	propertyDefinitions.put(pdOriginSource.getPropertyName(), pdOriginSource);

	PropertyDefinition pdOGeoFld = new PropertyDefinition("oGeoFld", PropertyType.String, "ORIGIN_GEOMETRY_FIELD", lblOFld, descOFld, false, false);
	pdOGeoFld.setDependsOn("osrc=geo");
	propertyDefinitions.put(pdOGeoFld.getPropertyName(), pdOGeoFld);
	
	PropertyDefinition pdOXField = new PropertyDefinition("oxFld", PropertyType.String, "ORIGIN_X_FIELD", lblOX, descOX, false, false);
	pdOXField.setDependsOn("osrc=coord");
	propertyDefinitions.put(pdOXField.getPropertyName(), pdOXField);
	
	PropertyDefinition pdOYField = new PropertyDefinition("oyFld", PropertyType.String, "ORIGIN_Y_FIELD", lblOY, descOY, false, false);
	pdOYField.setDependsOn("osrc=coord");
	propertyDefinitions.put(pdOYField.getPropertyName(),pdOYField);
	
	PropertyDefinition pdDestinationSource = new PropertyDefinition("dsrc", PropertyType.String, defaultSrc, lblDSrc, "", true, false, dSrcValues);
	propertyDefinitions.put(pdDestinationSource.getPropertyName(),pdDestinationSource);
			
	PropertyDefinition pdDGeoFld = new PropertyDefinition("dGeoFld", PropertyType.String, "DESTINATION_GEOMETRY_FIELD", lblDFld, descDFld, false, false);
	pdDGeoFld.setDependsOn("dsrc=geo");
	propertyDefinitions.put(pdDGeoFld.getPropertyName(),pdDGeoFld);
	
	PropertyDefinition pdDXField = new PropertyDefinition("dxFld", PropertyType.String, "DESTINATION_X_FIELD", lblDX, descDX, false, false);
	pdDXField.setDependsOn("dsrc=coord");
	propertyDefinitions.put(pdDXField.getPropertyName(),pdDXField);
	
	PropertyDefinition pdDYField = new PropertyDefinition("dyFld", PropertyType.String, "DESTINATION_Y_FIELD", lblDY, descDY, false, false);
	pdDYField.setDependsOn("dsrc=coord");
	propertyDefinitions.put(pdDYField.getPropertyName(),pdDYField);
	
	PropertyDefinition pdBearingField = new PropertyDefinition("newfld", PropertyType.String, "bearing", lblNewFld, descNewFld, true, false);
	propertyDefinitions.put(pdBearingField.getPropertyName(), pdBearingField);
	
	PropertyDefinition pdGenerateGeometry = new PropertyDefinition("generateGeo", PropertyType.Boolean, true, lblGenerateGeo, descGenerateGeo, true, false);
	propertyDefinitions.put(pdGenerateGeometry.getPropertyName(), pdGenerateGeometry);
	
	PropertyDefinition pdOutWkid = new PropertyDefinition("wkidout", PropertyType.Integer, 4326, lblWkidOut, descWkidOut, "generateGeo=true", false, false);
	propertyDefinitions.put(pdOutWkid.getPropertyName(), pdOutWkid);
	
	PropertyDefinition pdNewGeoDef = new PropertyDefinition("newdef", PropertyType.String, "calculate_bearing", lblEventDefName, descEventDefName, true, false);
	propertyDefinitions.put(pdNewGeoDef.getPropertyName(), pdNewGeoDef);
}
 
开发者ID:Esri,项目名称:defense-solutions-proofs-of-concept,代码行数:53,代码来源:BearingProcessorDefinition.java


注:本文中的com.esri.ges.core.property.PropertyType.Integer方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。