|
POST
|
Hey, Custom extensions aren't supported in the VS Express editions so ArcGIS Runtime Deployment tool is not available on that version. What version of Visual Studio Community Edition you are using? You have followed these steps to install the SDK : Install the SDK—ArcGIS Runtime SDK for .NET | ArcGIS for Developers ?
... View more
12-09-2014
03:40 AM
|
0
|
1
|
1130
|
|
POST
|
I had finally time to check this today. In case one, it's true that AddVertex is not available on when editing existing geometry. Currently there is no easy way to say for the editor that add new vertex after selected one while Editor is active so I created new issue for that. If you are doing editing, you can get vertex position reported back from the editor using following code but I'm not sure if that helps in this case. Progress<GeometryEditStatus> progress = new Progress<GeometryEditStatus>();
progress.ProgressChanged += progress_ProgressChanged;
...
var geometry = await MyMapView.Editor.EditGeometryAsync(feature.Geometry, null, progress); private void progress_ProgressChanged(object sender, GeometryEditStatus e)
{
// do stuff
}
... View more
12-08-2014
09:58 AM
|
1
|
1
|
1108
|
|
POST
|
Hey, GroupLayer information is not stored in the geodatabase. Geodatabase stores tables (not layers) so if you want to group FeatureLayers (using Table from the geodabase) you need to create GroupLayers manually in code and set the correct layers under it.
... View more
12-05-2014
03:38 AM
|
0
|
1
|
1166
|
|
BLOG
|
Hey Matt, In future, please use ArcGIS Runtime SDK for .NET for the questions. You can override the template using Style or directly using ControlTemplate. Using ControlTempalte it would be something like this <Page.Resources> <ControlTemplate x:Key="CustomMapTemplate" TargetType="esri:MapView"> <Border Background="White" BorderBrush="Black" BorderThickness="1"> <Grid Margin="10"> <Border x:Name="MapSurface" /> <!-- Note: Before removing the following logo, please read the terms of use --> <Image Source="/Esri.ArcGISRuntime/Logo.png" HorizontalAlignment="Left" VerticalAlignment="Bottom" Stretch="Fill" Margin="20" IsHitTestVisible="False" Width="56" Height="32" /> <Rectangle x:Name="ZoomBox" Fill="#55FFFFFF" Stroke="Red" StrokeThickness="2" Visibility="Collapsed" /> <Border x:Name="Overlay" /> </Grid> </Border> </ControlTemplate> </Page.Resources> And then setting it to the MapView <esri:MapView Template="{StaticResource CustomMapTemplate}">
... View more
12-05-2014
02:30 AM
|
0
|
0
|
1237
|
|
POST
|
Thanks for providing a log. There shouldn't be anything that you need to do manually. Can you check if the templates are laid to the disc? For example, you can find desktop from template from C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ If the templates are there, you could try to run either /installVStemplates or /setup command from command line.
... View more
12-05-2014
01:45 AM
|
0
|
2
|
2242
|
|
POST
|
You can use Geoprosessing tools to create geodatabases.
... View more
12-04-2014
02:58 AM
|
0
|
1
|
2112
|
|
POST
|
Hey Tuukka, Interesting scenario but lets see if I understood your case correctly. Basically you have some external feature service that you are reading (and you dont have control to it's capabilities) and want to get that offline for reading and querying. How often you are going to update that data and what kind of workflow is used (or planned to use?) Local geodatabases works very well when that package is used to read/query without any editing. Sync service supports updates from service to client while no edits are updated back too but it seems that you cannot use that in this case since it needs sync capability. If you create any runtime content (local geodatabases) using ArcMap, at the moment they are read-only. If you just can use geodatabase (over mpk) then that would be better choice. I'm gonna have a go for this later today.
... View more
12-03-2014
02:13 AM
|
1
|
0
|
2112
|
|
POST
|
Hey Martin, Editor is designed to perform edits on a map. This means that when EditorMode is set to Draw, it enables Editors functionality and in this case enables AddVertex. If you are editing geometry without performing it on the map, then Editor most likely isn't correct way to do it. If you're making changes to the geometry outside of the map, you should be modifying geometry directly using builders like PolygonBuilder Class Here is small example how to modify existing polygon PolygonBuilder builder = new PolygonBuilder(polygon); // Create builder from existing polygon
builder.AddPoint(new MapPoint(x, y)); // Add point to end
builder.Parts[0].InsertPoint(index, new MapPoint(x, y)); // Insert point into specific location
graphic.Geometry = builder.ToGeometry(); // Create geometry and assign it back to the graphic / feature I noticed that we haven't documented using Builders very well but we are going to improve that part. About the second part, can you define a bit more detail the use case behind it and what is the workflow that you are looking from the editor?
... View more
12-01-2014
02:07 AM
|
0
|
3
|
3510
|
|
POST
|
Could you have a look for this document to ensure that you have all steps done to prepare the data for offline usage. For a detailed walk-through of this scenario, see Tutorial: Setting up feature service data for offline use. You can publish nonversioned data from a 10.2 or later release enterprise geodatabase, take the data offline for editing, and synchronize changes with the enterprise geodatabase. If clients will only query the data they download, the data in the feature service can be either nonversioned or versioned. If the data is nonversioned, prepare it as described above. If the data is versioned, configure it as follows: Include Global IDs on the datasets. Register the datasets as versioned. Relationship classes and attachments must use a Global ID primary key. For more information, see the Attachments and relationship classes section of this topic. You can publish versioned data from any supported version of the enterprise geodatabase and take the data offline.
... View more
11-27-2014
09:12 AM
|
0
|
1
|
2183
|
|
POST
|
Sorry I missed that part from the last reply. Easiest way is to use PolylineBuilder class. It works basically like StringBuilder. PolylineBuilder builder = new PolylineBuilder(polyline); // Create new builder from existing polyline
builder.AddPoint(new MapPoint(x3, y3, polyline.SpatialReference)); // how to add new point to end of the polyline
builder.Parts[0][1] = new MapPoint(x3, y3, polyline.SpatialReference); // how to change one specific point in the polyline
graphic.Geometry = builder.ToGeometry(); // create new polyline from the builder
... View more
11-26-2014
01:57 AM
|
0
|
1
|
2582
|
|
POST
|
In that case you can create new Polyline and replace Graphic.Geometry with that one. In ArcGIS Runtime for .NET, geometries are immutable object so you can just replace the exiting geometry with new one. So on higher level you can do it like this Graphic graphic = GetMyWorkingGraphic(); // existing Graphic with geometry that you want to replace / edit
Polyline polyline = CreateNewPolylineWithChanges(); // create new geometry with the changes
graphic.Geometry = polyline; // set geometry with changes to the graphic To see how to create geometries in code, please see samples arcgis-runtime-samples-dotnet/CreatePolylines.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHub arcgis-runtime-samples-dotnet/CreatePolygons.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHub arcgis-runtime-samples-dotnet/CreatePoints.xaml.cs at master · Esri/arcgis-runtime-samples-dotnet · GitHub
... View more
11-25-2014
06:40 AM
|
0
|
3
|
2582
|
|
POST
|
Please see guide documentation : Edit features—ArcGIS Runtime SDK for .NET | ArcGIS for Developers and online sample Code Example - Editor_Sketching or https://github.com/Esri/arcgis-runtime-samples-dotnet/blob/master/src/Desktop/ArcGISRuntimeSDKDotNet_DesktopSamples/Samples/Editing/FeatureLayerEditGeometry.xaml sample from samples reporsitory. Key points here are using Editor class to edit existing geometry and then save that to geodatabase / feature service if needed. Please let me know if you have following questions.
... View more
11-25-2014
06:22 AM
|
0
|
5
|
2582
|
|
POST
|
Hey, did you get my mail? It seems that i have some problems to send a mail to you.
... View more
11-17-2014
07:45 AM
|
0
|
1
|
1828
|
|
POST
|
Could you try to install the SDK by running and send me the log file?
msiexec /i C:\Temp\netsdk\SetupFiles\Setup.msi /l*v c:\DotNET_SDK_Install_LOG.log
... View more
11-17-2014
07:16 AM
|
0
|
5
|
2242
|
|
POST
|
Set WrapAround to false in your MapView, that seems to be workaround in this case.
WrapAround="False"
I'll see if i can find where the issue comes from but it seems to be related to the WrapAround functionality.
... View more
11-14-2014
04:18 AM
|
0
|
0
|
1767
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 11-12-2014 03:52 AM | |
| 1 | 08-27-2015 03:47 AM | |
| 1 | 12-08-2014 09:58 AM | |
| 1 | 05-05-2015 10:19 AM | |
| 1 | 07-30-2015 08:43 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|