Questions tagged [wpf]

Windows Presentation Foundation (WPF) is a computer-software graphical subsystem for rendering user interfaces in Windows-based applications.

Filter by
Sorted by
Tagged with
-2 votes
1 answer
16 views

Upload and Display Image with Location coordinates [closed]

I want to upload an Image on Map and the image should contain some coordinates that when uploaded should display in the same location as the coordinates, I am working on C# and Wpf.
user avatar
0 votes
0 answers
12 views

Is there a way to perform a manual search on Itinero generated road network

I have worked my way through the Itinero documentation (http://docs.itinero.tech/docs/itinero/index.html) and have struggled to find a way to access the data from the routerDB variable such as ...
user avatar
0 votes
0 answers
12 views

Is there a way to export road data from OSM, including nodes which connect roads together? [closed]

I'm currently trying to build a route-finding application, to do so I am trying to find a way to extract map data in which I can then create a network graph of to then perform pathfinding algorithms ...
user avatar
0 votes
0 answers
548 views

Seeking GIS Library for C# Applications using WPF

This question has been asked multiple times before, but not in the last 5+ years so I think it's worth asking again as I'm struggling and the answer way well be different now. I want to create a C# ...
user avatar
  • 109
1 vote
0 answers
410 views

Opening Attribute Table by using ArcGIS Pro SDK, WPF and C#

I am trying to display an attribute table for a selected layer. I have access to attribute table but I can not pass the ArcGIS table to the DataGrid I created in xaml. <DataGrid x:Name="...
user avatar
  • 471
5 votes
2 answers
893 views

How to use GDAL from Nuget in C#?

I have created a C# WPF (.NET Framework 4.6.1) application in Visual Studio 2017 and installed latest stable GDAL 2.4.2 from Nuget. In the App.xaml I have added the GDAL configuration call: ...
user avatar
  • 4,322
1 vote
0 answers
56 views

Attribute data is not supported by the GeometryProvider in th Sharpmap

Attribute data is not supported by the GeometryProvider. SharpMap.UI ver 1.2.0.0 I want to make a click event on the image("maker"). so I used the following sample code URL. https://xaml.dev/post/...
user avatar
0 votes
1 answer
140 views

SharpMap's backgroundLayer on an intranet(no internet) (Windows)

I'm making windows C#(WPF) mapControl on intranet(no internet). (Windows Server) I get OSM.pbf and mbtiles file. Is this possible? Please, Look at this picture. private void button6_Click(object ...
user avatar
0 votes
1 answer
378 views

WPF: How to change the Map Point coordinate(lat/long) to screen point (x-y) on ArcGIS

My project required me to perform a close traverse to plotting by placing a marker on that particular point. My problem now is that the traverse calculation are in x-y plane, but to plot a point using ...
user avatar
0 votes
2 answers
3k views

Calculate the target point by using initial coordinate, bearing angle and distance

I need to calculate the target coordinate by using the initial coordinate, bearing angle and distance. I came across this on how to calculate it. Then I construct the code in C#, but it seems I can't ...
user avatar
1 vote
1 answer
745 views

Open Traverse Method for the map survey

I need to use traverse method in my program on visual studio(WPF) so that the user can get their target point coordinate by using their initial data. In my knowledge there is two type of traverse that ...
user avatar
1 vote
1 answer
149 views

Getting Esri Brushes to appear as dynamic resources in Visual Studio?

I used the ArcGIS Pro SDK to create my Add-In project and to create the DockPane but the Esri Brushes don't show up as Dynamic Resources. According to Esri (https://github.com/Esri/arcgis-pro-sdk/...
user avatar
3 votes
4 answers
2k views

Using WinForms with ArcGIS Pro SDK?

I want to port a tool developed in ArcObjects for ArcMaps into ArcGIS Pro using the ArcGIS Pro SDK. The tool's UI was created using WinForms but to recreate the UI in ArcGIS Pro is looks like I would ...
user avatar
1 vote
0 answers
429 views

How to add XAML Resources to App.XAML for an ArcGIS Pro SDK Add-In? [closed]

I am in the process of creating a .NET add-in for ArcGIS Pro SDK. I have working code in a WPF application that I want to include in my add-in. The issue is that there is no there is no App.xaml for ...
user avatar
2 votes
0 answers
35 views

ArcGIS Runtime (WPF): Does Layer has FeatureTable property? [closed]

According to the API reference, there is a ArcGISSceneLayer#FeatureTable property inherited from Layer. However, I can't find this property in my Visual Studios. Is the API reference wrong?
user avatar
  • 173
1 vote
0 answers
57 views

Can't interact with map inside a control

My application has a main window and other controls which I open inside the window, one of these controls is one which contains a map, it appears but I can't move it by holding a dragging also the ...
user avatar
1 vote
0 answers
779 views

How to use offline MbTiles with Telerik's WPF map control?

Telerik's UI for WPF includes a map control: UI for WPF - RadMap. There's some discussion of how to configure it to use a local mapping service: Implement custom map provider, but it seems to be ...
user avatar
  • 321
1 vote
0 answers
1k views

OpenStreetMap coloring the map tiles by state, zip code polygons from C# VS 2013 WPF desktop application

My question is likely to close on stackoverflow. My aim is to create a map from C# VS2013 WPF desktop application (not web application) with OpenStreetMap on win7. This a colored map with US states ...
user avatar
1 vote
0 answers
3k views

Add a heatmap as a layer to a map based on OpenStreetMap from C# WPF Visual Studio 2013

I need to show a map with some points (with lat/lon) of a heatmap on a map based on OpenStreetMap (OSM) . I have created a heatmap as a bitmap image by GHEAT.NET control lib http://www.codeproject....
user avatar
0 votes
1 answer
913 views

GIS, CAD and MAP in WPF application

I am searching for a gis/map engine SDK for WPF, that supports loading and editing CAD drawings onto a map (edit = switch layers on/off), with an option to use only local/network resources. Our users ...
user avatar
  • 81
1 vote
0 answers
760 views

Creating own map and using it in offline WPF Application? [closed]

I need to create my parcel's map, I got high resolution photo from the sky and i want to georeference it and add few features like routes and buildings. Then I need to use it in WPF applicion where I ...
user avatar
  • 19
1 vote
1 answer
758 views

ArcObjects WPF Legend Toolkit Control doesn't show layers

I'm starting to develop GIS applications using ArcObjects for c# and WPF. I'm trying to migrate a legacy ArcObjects application to the newest version. I'm simply adding a map control with its legend, ...
user avatar
  • 121
2 votes
0 answers
306 views

ArcGIS AddIn with WPF DockableWindow causes ArcMap to not even start up anymore

I have a simple ArcGIS AddIn with a toolbar and a button on it, which opens a DockableWindow holding a UserControl with some UI Elements on it (a textbox and a listbox). The whole thing was made with ...
user avatar
1 vote
0 answers
40 views

Set Maximum Allowed Panning Area

I'd like to fix the maximal area, in which the user can fly around. Now its possible for the user, to pan everywhere he wants to go. For e.g. to XMin: 216.2. My map has got these "borders": ...
user avatar
  • 157
4 votes
1 answer
502 views

Creating geoprocessing package (*.gpk) that contains more than one model?

I'm making gpk (= geoprocessing package) packages for ArcGIS Runtime 10.2.2. I'm making several models, and wanted to know if there is a way for including several models in one gpk file or do i need ...
user avatar
  • 3,207
1 vote
1 answer
209 views

Why is this formatted string "n. def."?

I'd like to show the user the current map scale. I update the current map scale in a textblock everytime the map size/scale has changed. This is my code, to show the map scale (in C#): private void ...
user avatar
  • 157
1 vote
1 answer
505 views

How to set custom fullextent?

I have a WPF Map control whose extent I would like to restrict to a certain area (e.g. to the full extent of some layer). That is, a user should not be able to zoom out too far, or shift the map to an ...
user avatar
  • 157
0 votes
1 answer
503 views

How to set max map scale for a layer?

How can I set the maximum scale for a layer? Sometimes the layer is not visible (it disappear), when the map scale is >= 1:250000. I'd like to set it on max 1:125000. This code does not work: ...
user avatar
  • 157
4 votes
3 answers
1k views

Dockable window close event

Is there an event that fires when a custom dockable window is closed in ArcMap? My dockable window uses the Add-in pattern and hosts a WPF user control. It opens via a command button which is nested ...
user avatar
2 votes
1 answer
250 views

How do I use actions from ArcGIS SDK for WPF in the latest version of WPF?

I understand how to use the Actions and Behaviors but there is a problem I'm not sure is solvable other than to downgrade the version of .net and WPF I'm using. I installed the latest ArcGIS SDK for ...
user avatar
  • 141
1 vote
1 answer
977 views

Drag and Drop onto ArcGIS Runtime WPF Map

I'm looking for advice on implementing drag & drop onto the WPF map control. My goal is to drag from a list of items, and drop on the map to create a new graphic/feature at the drop location. The ...
user avatar
  • 669
1 vote
1 answer
502 views

How to use ArcGIS for WPF custom symbol with data binding?

Esri's ArcGIS for WPF does not seem to have any real MVVM support or binding support; unless I'm mistaken. Anyway, I am creating a tracking application and it needs to track objects via GPS ...
user avatar
  • 141
1 vote
1 answer
227 views

ArcGIS for WPF: LayerCanvas.ArrangeOverride Setting Invalid FrameworkElement Size

I'm reposting this here from ESRI's ArcGIS for WPF Forum in hopes of getting some more exposure. Original post is here. I'm intermittently experiencing an error when rapidly changing map scales on an ...
user avatar
  • 1,546
1 vote
0 answers
751 views

Drawing Curves/Bezier Lines with ESRI WPF Runtime

I'm looking for some pointers on how to draw a curved line or bezier line in WPF runtime. The WPF runtime sample application has a drawing mode for straight line, polyline, and freehand. However, no ...
user avatar
  • 669
2 votes
1 answer
556 views

Using more than one graphics layer with a FeatureDataGrid

I am wanting to use the FeatureDataGrid to display data. The problem is I have more than one layer that contains data that needs to be displayed. This is how you use the DataGrid for one layer: ...
user avatar
  • 413
3 votes
1 answer
347 views

How to use ArcGIS WPF Runtime Deployment Tool via Command Line?

I'd like to be able to use the WPF Runtime (10.1.1) Deployment tool via the command line. If I run DeploymentTool.exe /? on the command line, I get the dialog in the attached image. The /c option ...
user avatar
  • 669
1 vote
0 answers
419 views

How to get hold of the Activated Event for the ArcMap window?

I am using ArcObjects 9.3 .NET. In my ArcMap dockable window, I have a single element host hosting a WPF user control (That's the only means of using WPF for ArcMap extensions as far as I know). ...
user avatar
  • 255
1 vote
1 answer
476 views

FeatureDataGrid and FeatureDataForm will not commit to database or input data

This is the second time that I have posted about this. In my previous question they told me I needed to enable the Feature Access capability. I did this and then it said I needed to have a Data Store ...
user avatar
  • 413
1 vote
1 answer
364 views

Cannot input new data into FeatureDataForm

I am wanting to update the fields on my server using a FeatureDataForm. I have followed the documentation, but it still does not work. It also does not have the buttons in the form that say 'OK' and '...
user avatar
  • 413
1 vote
1 answer
227 views

Adding, Updating, and Deleting information from arcGIS Server

I am new to ESRI and GIS. I am starting to get into using client data. I have created maps and put them to the server using arcMap and arcGIS for Server. I need to know how easily I can access these ...
user avatar
  • 413
1 vote
1 answer
437 views

Using multiple LayerIDs in Legend

This should be simple, but I cannot find any documentation on how to do it. I have a legend that is bound to my map that contains several layers. I do not want all of the layers to appear on my Legend ...
user avatar
  • 413
0 votes
2 answers
2k views

Object does not exist in the namespace "http://schemas.esri.com/arcgis/client/2009"

I am trying to move all of my GIS code over the Visual Studio 2012. I have added the following references: C#: using ESRI.ArcGIS.Client; using ESRI.ArcGIS.Client.Geometry; using ESRI.ArcGIS.Client....
user avatar
  • 413
6 votes
4 answers
7k views

Using GIS / Map inside c# WPF

How could i create e mapping applications that displays a custom map from this URL: (Capabilties with a mapview) http://openwms.statkart.no/skwms1/wms.sjo_hovedkart2?request=GetCapabilities&...
user avatar
  • 317
3 votes
1 answer
735 views

Convert ArcMap label expressions from VBScript to Javascript or Python

I have a large number of layers (hundreds) with label expressions written in VBScript. I am using ArcMap 9.3.1, and I'm now starting to export the layers as MPKs for use in our ArcGIS Runtime (WPF) ...
user avatar
4 votes
0 answers
738 views

Recommendations on an MVVM framework for ArcGIS Desktop add-ins and/or ArcGIS WPF Runtime

Is anyone using an MVVM framework with ArcGIS Desktop add-ins or the ArcGIS Runtime for WPF? I am leaning towards Caliburn.Micro simply because it seems to be the most popular "lightweight" MVVM ...
user avatar
  • 35.5k
2 votes
1 answer
937 views

Using map from ArcGIS Server in radMap?

I was wondering if there was a way to use a map that I have stored on an ArcGIS Server in a telerik radMap. I am not very familiar with the radMap control. I have found the documentation on using a ...
user avatar
  • 413
0 votes
2 answers
1k views

Using InfoWindow with Feature Layer and DialogWindowBase?

I need to have an infoWindow that displays the Outfields of a FeatureLayer. The infoWindow is popping up, but it is popping up no matter where you click on the map and it does not contain any of the ...
user avatar
  • 413
3 votes
1 answer
1k views

Displaying information on a map using an InfoWindow

I am wanting to display information in an InfoWindow when the user clicks on a point on the map. I have implemented the InfoWindow in XAML, but I do not understand the code behind it. Any information ...
user avatar
  • 413
3 votes
1 answer
2k views

Feature Layer is not showing the points on the map

I have a simple feature layer. The points will show up if I put the URL in a DynamicMapServiceLayer, but I need to use maptips, so that will not work. Below is my relevant XAML. <esri:Map x:Name=...
user avatar
  • 413
2 votes
0 answers
367 views

AxSymbologyControl via WindowsFormsHost in WPF (ArcMap Add In Project)

I need a way to offer the user a choice of color ramps for the ClassBreaksRenderer. I came across the AxSymbologyControl which was designed for WinForms. I tried also ESRIs (WinForms) example project ...
user avatar
  • 430