The key to proper parenting of WPF windows within a non-WPF application is to use the WindowInteropHelper class.
Suppose you have a WpfWindow class which is a WPF window (derives from Window):
private void ShowWpfWindowModal()
var parentHandle = new IntPtr(_app.hWnd); // the ArcMap window handle
var wpfWindow = new WpfWindow(); //...
Esri's Runtime for WPF supports WMS layers.
It is not free, but the ArcGIS Silverlight SDK is and has many of the same capabilities. So you may want to try the Silverlight SDK in Out-of-browser mode, which is similar to running a WPF app. You need to set up a proxy though.
You can add multiple models to a geoprocessing package by running them and having their results preserved within the Results window.
Esri Help page: Adding a result to a geoprocessing package
When you will click Add Result, all the results of the models' runs will be listed and you can choose the one you need.
With featureLayers I think you need to reference a single layer in a map service or feature service. So, instead of:
change the "0" at the end to match the layer you are interested in.
You might want to check out BiMserver. It's an open source building information model server.
The Building Information Modelserver (short: BIMserver) projects
creates software (the BIMserver software) that turns a computer/server
into a ‘BIMserver’. A BIMserver enables you to centralize the
information of a construction(or other building related)...
The documentation for rubber bands suggests that they should support cancelling via pressing the Esc key.
If that really does not work for you, consider using a display feedback instead, e.g. the NewLineFeedback. Display feedbacks are a bit more involved than rubber bands, but they are not necessarily that much difficult to use. Plus, you can Stop most ...
After some research I found the following solution:
IGraphicsContainer pGraphicsContainer = _pageLayoutControl.GraphicsContainer;
IElement pElement = pGraphicsContainer.Next();
while (pElement != null)
if (pElement is IMapFrame)
IMapFrame pMapFrame = pElement as IMapFrame;
IEnvelope pEnvelope = new EnvelopeClass();...
We made the layout in ArcMap and added a scalebar. In ArcGIS Engine we use the pagelayout to display a print preview and sent it to the printer. Not sure how this works in WPF but in winforms we used the sample for synchronize map and pagelayout to get started, but customized so we could open different layouts.
when you create the feature layer be aware that you set the properties
DisableClientCaching = true,
AutoSave = false,
Mode = FeatureLayer.QueryMode.Snapshot
then it will be save the edits with:
I found the answer (I've been looking for it a week):
the coordinates are part of the geometry attribute.
The code I added to get the coordinates of the stop is this:
ESRI.ArcGIS.Client.Geometry.Geometry whats = stop.Geometry;
This returns a type saying somthing like "Point[x=456543.34,y=456234.23,WKID=2045]"
and if I want to do anything with it, I can ...
Based on this error that you reported "Feature Access requires that the data be on SDE; other types of data sources are not supported", I'm assuming that your data is stored in either a file GDB, personal GDB or shapefile. If you are trying to edit data in a feature service, then your editable data has to be in an enterprise SDE database. Here is a link ...
If you need to add, update, delete features you will first need to publish a "Feature Service", you can do this while publishing your service, by enabling "Feature Access".
Well it seems that I accidentally answered my own question haha. I put the comma in there to explain that I wanted both of those layers and that is actually how you do it. WOW. That is why coding is fun.
I have not used it myself but SharpMap should be able to handle a WMS layer and render it in WPF using a WindowsFormsHost. See Tutorial - Example 3: Adding a WMS-layer to the map.
Also check out Mapsui which is a port of SharpMap to WPF, Silverlight and Windows Phone.
Might be overkill for what you're looking for, but ESRI's CityEngine may be worth a look.
Esri CityEngine provides professional users in architecture, urban planning, entertainment, GIS, and general 3D content production with a unique conceptual design and modeling solution for the efficient creation of 3D cities ...
The FeatureDataGrid is connected to a single GraphicsLayer or FeatureLayer (which inherits from GraphicsLayer), and uses the attributes to autogenerate column names. Mixing two layers that (probably) have different column names would look confusing on a single table, since some records would fill in some columns, and other records wouldn't. I think that's ...
There is a ConstrainExtentBehavior that you can add to the Map.
<esri:Map x:Name="MyMap" Extent="-120,30,-60,60">
. . .
You can get the extent of your layer and ...
Please, do not use with geographic coordinates.
x axis is North oriented, so x = Northing
y axis is East oriented, so y = Easting
azimuth is the clockwise angle measured from x axis, in radians.
(all three are topographical conventions, you must transform the following formulas if you want to use another system)
x_0 and y_0 are the coordinates of ...
I don't know anything more about this than what it says on the page, but ARCHIBUS Geospatial Extensions for ESRI sounds like it might fit the bill.
Incorporate a geospatial perspective directly within your ARCHIBUS Web Central dashboards to unlock the power of geospatial visualization for improved analysis, reporting, and ...
From the documentation only Bing and OpenStreetMap are supported: http://www.telerik.com/help/wpf/radmap-overview.html
However, it appears that a custom provider can be created to use ArcGIS Server map service.
So if you are using a cached service then you would want to create a ...
I finally figured it out for the most part...
as you want to create 3d buildings there are some open source alternatives. like osggis. see osggis screentshots here. you may also give a look at VTP. these will help you to build 3d buildings and stuff. after preparing the data you can use some opensource 3d webgis tools for rendering on browser. as you said you are new to GIS its better to seek a help ...
Few things to try:
Make sure the selection enumerator is either non-recycling (see IEnumFeatureSetup, or otherwise copy the feature geometries prior to adding them to the geometry bag (via IFeature.ShapeCopy).
Make sure all the input geometries, as well as the newly created Polygon have the same spatial reference.
Make sure all the input geometries are ...