POST
|
Hello, You could use GetAttachmentAsync() method to retrieve the attachments from an ArcGISFeature: ArcGISFeature.GetAttachmentsAsync Method Hope that helps.
... View more
03-27-2018
02:12 PM
|
1
|
0
|
511
|
POST
|
Hi Jeff, I have created a video that shows how to create stylx file in ArcGIS Pro for Fill Symbol with your defined line width. 03.21.2018-13.56.49 Attached is my .stylx file. In addition, please take a look of this thread on how to use that .stylx file to render your feature layer. https://community.esri.com/message/752670-how-to-create-render-from-symbol-stylex?et=watches.email.thread Hope that helps.
... View more
03-21-2018
02:11 PM
|
2
|
0
|
1053
|
POST
|
Hi Jeff, You could create your own Fill Symbol with line width 4 as a .stylx file in ArcGIS Pro and use SymbolStyle class to access that .stylx file. https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-qt/blog/2017/11/01/using-custom-pro-symbols-in-arcgis-runtime Hope that helps.
... View more
03-20-2018
03:30 PM
|
0
|
3
|
1053
|
POST
|
PicturemarkerSymbol takes Uri in the constructor, so you could point out any image file that is locally stored as below: PictureMarkerSymbol carSymbol = new PictureMarkerSymbol(new Uri(@"C:\img1.jpg")); Hope that helps.
... View more
03-10-2018
11:56 AM
|
2
|
4
|
1071
|
POST
|
Here is the code that uses a local raster layer as a basemap. Map myMap = new Map(); String filepath = "location_of_raster_file" ; Raster myRasterFile = new Raster(filepath); RasterLayer myRasterLayer = new RasterLayer(myRasterFile); await myRasterLayer.LoadAsync(); myMap.Basemap.BaseLayers.Add(myRasterLayer); Hope that helps.
... View more
03-07-2018
04:45 PM
|
2
|
1
|
980
|
POST
|
Hello, In ArcMap, you can export this type of file to shapefile and then consume that shape file in runtime application.
... View more
03-06-2018
09:28 AM
|
0
|
0
|
1330
|
POST
|
Hi Aaron, MosaicDatasetRaster takes sqlite datsset, it doesn't take png/tiff file though. So looks like the API won't work for you unless you use .geodatabase.
... View more
03-05-2018
11:07 AM
|
0
|
2
|
1330
|
POST
|
I believe you may use MosaicDatasetRaster.AddRastersAync() method to add rasters to mosaic dataset. Have you tried this? MosaicDatasetRaster.AddRastersAsync Method
... View more
03-05-2018
10:08 AM
|
0
|
4
|
1330
|
POST
|
Hi Aaron, You could use the code below to display a gpkg file: Map myMap = new Map(); // Get the full path string geoPackagePath = "..\\..\\AuroraCO.gpkg"; // Open the GeoPackage GeoPackage myGeoPackage = await GeoPackage.OpenAsync(geoPackagePath); // Read the raster images and get the first one Raster gpkgRaster = myGeoPackage.GeoPackageRasters.FirstOrDefault(); // Make sure an image was found in the package if (gpkgRaster == null) { return; } // Create a layer to show the raster RasterLayer newLayer = new RasterLayer(gpkgRaster); await newLayer.LoadAsync(); myMap.Basemap.BaseLayers.Add(newLayer); MyMapView.Map = myMap; await MyMapView.SetViewpointCenterAsync(39.5517, -104.8589); Attached is the sample application. Hope that helps.
... View more
03-05-2018
09:19 AM
|
0
|
6
|
1330
|
POST
|
Hi, You could use the below code to display .stylx file created from Pro. Attached is the sample application. string file_to_stylx = parent.FullName + "\\Data\\style.stylx"; symbolStyle = await SymbolStyle.OpenAsync(file_to_stylx); IList<String> stringList = new List<string>(); stringList.Add("shoppingcenter01"); // key file, you can get this key by opening .stylx file in SQLite database SimpleRenderer simpleRenderer = new SimpleRenderer(await symbolStyle.GetSymbolAsync(stringList)); newFeatureLayer.Renderer = simpleRenderer; Hope that helps.
... View more
02-23-2018
08:49 AM
|
0
|
0
|
1365
|
POST
|
Hi Massimo, You may user features.Sort() method by defining the Comparer, for your case it would be "cityname". You may take a look at this site: List(T).Sort Method (System.Collections.Generic) Hope that helps, Nagma
... View more
02-22-2018
12:07 PM
|
1
|
1
|
949
|
POST
|
Hi Daniel, Since Geometry is immutable, you couldn't update the existing geometry. You may need to use GeometryBuilder class to update. GeometryBuilder(T) Class Hope that helps.
... View more
01-30-2018
10:37 AM
|
0
|
2
|
1004
|
POST
|
Hi Bikash, Are you using Xamarin,there is a bug logged regarding this issue: BUG-000109070 RasterLayers disappear when zooming out in Xamarin UWP application for .NET SDK v100.1.]
... View more
11-17-2017
02:44 PM
|
0
|
3
|
1203
|
POST
|
Hi Bikash Yes, you are right, with licensed for developer use only, you could access the local raster layer.
... View more
11-17-2017
01:06 PM
|
1
|
5
|
1203
|
POST
|
Hi Bikash, To access the local raster layer such as .tiff file you need to have "Standard" license. Please look at the documentation link: License your app—ArcGIS Runtime SDK for .NET (WPF) | ArcGIS for Developers --> Licensing capabilities --> Standard. Hope that helps.
... View more
11-17-2017
11:37 AM
|
0
|
7
|
1203
|
Title | Kudos | Posted |
---|---|---|
1 | 08-02-2017 04:15 PM | |
1 | 08-09-2017 03:25 PM | |
1 | 11-10-2017 09:37 AM | |
1 | 11-13-2017 08:43 AM | |
1 | 06-06-2017 07:27 PM |
Online Status |
Offline
|
Date Last Visited |
05-31-2024
09:45 PM
|