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
15 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.
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 ...
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/...
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 ...
5 votes
2 answers
890 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: ...
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....
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 ...
5 votes
1 answer
7k views

How to make a WPF Window be a well-behaved child window of ArcMap?

I am pretty familiar with Windows Forms in ArcGIS but WPF, which I'm just starting to tinker with, seems to be a different animal. I've created an ArcMap add-in with a button that displays a Window ...
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 ...
0 votes
0 answers
544 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# ...
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 ...
1 vote
0 answers
428 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 ...
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="...
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/...
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 ...
0 votes
1 answer
377 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 ...
7 votes
4 answers
3k views

How to create a multi-story building infrastructure web map? [closed]

I have absolutely no experience working with GIS before. During a recent meeting, our client was bouncing around their complaints about how detailed our annual reliability reports were and openly ...
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 ...
1 vote
1 answer
744 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 ...
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?
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 ...
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, ...
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": ...
1 vote
1 answer
453 views

Set size of map in PageLayoutControl to print ScaleBar underneath, not within map

For printing we have a PageLayoutControl where the user can select the map extent, he wants to print. I like the map to fill only a square in the middle of the page so that the title, the ScaleBar and ...
1 vote
0 answers
557 views

Convert FeatureLayerClass to shapefile error: Item not found in collection

So following this link http://edndoc.esri.com/arcobjects/9.2/NET/91e3e8a0-d355-43d2-a201-0a8ceb719334.htm I am able to convert my featureLayer into a shapefile and export it. However, some how for ...
3 votes
1 answer
728 views

Drag and Drop with ArcGIS Engine MapControl within WindowsFormsHost in WPF

I have an application that requires dragging and dropping onto ArcGIS Engine's MapControl in a Windowsformhost. I have set the Allowdrop property on both the host and the control itself and it still ...
4 votes
1 answer
3k views

Feature Layer Attribute table to Datatable and make it editable

Currently I'm using this to turn it into a data table featureCursor = layer.FeatureClass.Search(que, false); row = featureCursor.NextFeature(); if (row != ...
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 ...
1 vote
0 answers
778 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 ...
3 votes
1 answer
706 views

Where is ESRI.ArcGIS.Client.Tasks.Utils.JSON documentation?

I'm using the WPF assemblies from the freely downloadable ESRI WPF/Silverlight 2.0 SDK. As I type in a "using" statement in visual studio, I can use intellisense to expand out into: using ESRI....
5 votes
1 answer
340 views

Can GeoProcessor use credentials?

I've set up a web service that uses ESRI's REST API spec. This allows me to make requests using the (Silverlight)/WPF SDK. If I turn on windows authentication though, I get a 401 error when using ...
4 votes
1 answer
971 views

Is there a TOC control available for Esri's Silverlight/WPF SDK?

I've got a requirement calling for a TOC control on a Silverlight/WPF application. Does anyone know of a TOC control (analogous to the TOCControl in ArcGIS Engine) that I can hook into Esri's Map ...
1 vote
1 answer
1k views

Displaying scale on ArcGIS Engine map?

I embedded ArcGIS Engine into a c#/wpf application and use it to display a map. Now for print my client needs to display the scale of the map like it is used on street maps (the small bar which shows ...
2 votes
1 answer
1k views

Selecting object(s) by mouse using ArcGIS Engine?

I've got a standalone program using ArcGIS Engine, showing a map on the screen like this: AxMapControl _mapControl; AxToolbarControl _toolbarControl; // in constructor: _mapControl = new ...
3 votes
1 answer
852 views

Understanding why ArcSDE FeatureLayer is read only and FeatureTypes property is null?

I have a WPF FeatureLayer backed by an ArcSDE 10 feature class that I hope to use for editing. After the layer is done initializing its readOnly property is true, I think that this points to some ...
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....
3 votes
2 answers
3k views

Zooming & panning to selected objects using ArcGIS Engine?

I'm writing a program using ArcGIS Engine, and need to zoom & pan into the map to show the selected content. Loading and displaying the map does work using something like this: AxMapControl ...
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 ...
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 ...
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=...
4 votes
2 answers
2k views

Saving Graphics to map using WPF, C# and ArcGIS for Server?

I have everything working just like I need it to, but when I add a new graphic to the map it does not save it. So I will add it, close the application, and when I reopen it the graphic is gone. I have ...
5 votes
1 answer
370 views

Converting Between Similar Classes in ArcObjects and WPF Runtime Libraries (C#)?

There seems to be an "impedance mismatch" (if I can borrow the term) between similar classes in ArcObjects and the WPF runtime libraries. For example, there is a ESRI.ArcGIS.Client.Geometry.Polyline ...
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 ...
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 ...
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 ...
4 votes
3 answers
818 views

How to use ITrackCancel to escape IRubberBand track?

I have a BaseTool for AX_MapControl and AX_PageLayoutControl that allows to draw a polyline via IRubberBand. But once the rubberband is started, you can't cancel it e.g. by hitting escape. I found ...
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 ...
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 ...
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 ...
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 ...