Essentially, as the ESRI Australia blog explains, Runtime acts like a mini local web server ("...uses an embedded web server to create/communicate with worker processes that do things like draw map..."). You interact with this embedded web server's Feature Services based on your SDE connections (or whatever datasource you have, e.g. shapefile) via SOAP, not with the data "directly".
// create connection to the sde feature store using sde connection file final WorkspaceInfo info = WorkspaceInfo.CreateSDEConnection("test", "feature.sde"); // try to create a new feature service using the blank map pack final LocalFeatureService lfs = new LocalFeatureService("mpk_blank.mpk"); lfs.getDynamicWorkspaces().add(info); lfs.start(); // create a feature layer using the local service final ArcGISFeatureLayer layer = new ArcGISFeatureLayer(lfs.getUrlFeatureService());
WorkspaceInfo info = WorkspaceInfo.CreateSDEConnectionFromFilePath(..) LocalFeatureService lfs = new LocalFeatureService() lfs.getDynamicWorkspaces().add(info) ArcGISLocalFeatureLayer lfl = new ArcGISLocalFeatureLayer(); lfl.setUrl(lfs.getUrl());
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.