|
POST
|
Hi, The map units are determined by the spatial reference of the map. The map control does not support client-side reprojection on the fly in the same way the ArcGIS Engine MapControl does - so typically you do not explicitly set the spatial reference of the map but it is determined by the first layer you add. This is usually your "basemap" which will typically be a cached/tiled service (ArcGISTiledMapServiceLayer) or local tile cache (LocalTileCacheLayer in Beta 1). Other layers/services which are then added to the map need to match that projection. ArcGIS Server dynamic services and local ArcGIS Runtime dynamic services will support reprojection on demand. The World Street Map service (http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer) is in the Web Mercator Auxiliary Sphere projection (3857/102100) and the units for this projection are meters. Cheers Mike
... View more
09-24-2011
01:31 AM
|
0
|
0
|
844
|
|
POST
|
Hi, There is currently no way to create an MPK with the ArcGIS Runtime. We recommend you use ArcGIS for Desktop (10.1) for creating maps. However, we are currently working on support for the adhoc adding of data (e.g. Shapefiles) and for defining the symbology of these datasets on the fly which will provide you with the caability you require. We hope to have this functionality available in the next beta release later in the year (although, as ever, we cannot guarantee future functionality during a beta release). Cheers Mike
... View more
09-23-2011
01:04 AM
|
0
|
0
|
947
|
|
POST
|
Hi, Yes, there's a LocalGeometryService in the ESRI.ArcGIS.Client.Local namespace which should be used to provide the URL property to the GeometryService task in the ESRI.ArcGIS.Client.Tasks namespace. For example the C# code below will help you achieve your goal. // Create a new LocalGeometryService LocalGeometryService localGeometryService = new LocalGeometryService(); // Start the LocalGeometryService (we'll do it synchronously because it starts quickly) localGeometryService.Start(); // Create a GeometryTask and assign the URL from the LocalGeometryService GeometryService geometryTask = new GeometryService() { Url = localGeometryService.UrlGeometryService }; // Use the Geometry task... // e.g. geometryTask.Project(...); MapPoint mapPoint = new MapPoint(-0.126, 51.500, new SpatialReference(4326)); geometryTask.ProjectCompleted += (senderObject, graphicsEventArgs) => { Graphic resultGraphic = graphicsEventArgs.Results[0]; if (resultGraphic.Geometry.Extent != null) { resultGraphic.Symbol = new SimpleMarkerSymbol() { Color = new SolidColorBrush(Colors.Red), Size = 14, Style = SimpleMarkerSymbol.SimpleMarkerStyle.Circle }; MapPoint resultMapPoint = resultGraphic.Geometry as MapPoint; resultGraphic.Attributes.Add("Output_CoordinateX", resultMapPoint.X); resultGraphic.Attributes.Add("Output_CoordinateY", resultMapPoint.Y); GraphicsLayer graphicsLayer = new GraphicsLayer(); graphicsLayer.Graphics.Add(resultGraphic); MapControl.Layers.Add(graphicsLayer); MapControl.PanTo(resultGraphic.Geometry); } else { MessageBox.Show("Invalid input coordinate, unable to project."); } }; geometryTask.ProjectAsync(new List<Graphic>() { new Graphic() { Geometry = mapPoint } }, new SpatialReference(3857)); The LocalGeometryServiceTask class is an extension to the GeometryService task and contains two convenience methods for initializing a Geometry task with a LocalGeometryService so in the example above the first few lines could be abbreviated to: GeometryService geometryTask = new GeometryService(); LocalGeometryService localGeometryService = LocalGeometryServiceTask.InitializeWithLocalService(geometryTask); Many thanks for your feedback. Cheers Mike
... View more
09-21-2011
01:44 AM
|
0
|
0
|
2043
|
|
POST
|
Hi, I have some additional questions: - What is your Operating System? - Is it 64-bit? - What is the version of dadflib.dll in C:\Program Files\ArcGIS\Runtime400\bin? - Would you be able to run 3rd party software to catch a memory dump (if we provide instructions)? Cheers Mike
... View more
09-14-2011
07:23 AM
|
0
|
0
|
1950
|
|
POST
|
Hi, We've recently logged this issue - found during testing of the large MPKs you provided. We plan to implement additional cleanup logic in addition to hoping to provide control over the various directories used by the runtime (via the API). Many thanks for reporting this, as always, we greatly appreciate your feedback during the beta programme. Regards Mike
... View more
09-14-2011
12:28 AM
|
0
|
0
|
1303
|
|
POST
|
Hi, By default you should be able to zoom to any scale. There is a property on the Map called SnapToLevels which if you explicitly set to True will only allow you to zoom to the specific scales defined by the Tiled service / package. Cheers Mike
... View more
09-14-2011
12:23 AM
|
0
|
0
|
783
|
|
POST
|
Hi, Thanks - it's likely that we'll need to ask for some more information in order to ensure this is resolved. If this is the case - I'll let you know. In the mean time, are there any crashdumps being generated on the notebook in question when the error occurs? They should be in: C:\users\<username>\appdata\local\temp\crashdumps\ Cheers Mike
... View more
09-13-2011
12:30 AM
|
0
|
0
|
1950
|
|
POST
|
Hi, The ArcGIS Runtime SDK for WPF includes a LocalGeometryService for this purpose. Cheers Mike
... View more
09-09-2011
04:17 AM
|
0
|
0
|
3043
|
|
POST
|
Hi, I'd like to confirm that you're using the final Beta 1 build - can you check the version number of the ArcGIS Runtime binaries in C:\Program Files\ArcGIS\Runtime400\bin - they should be 312. Cheers Mike
... View more
09-09-2011
12:52 AM
|
0
|
0
|
1950
|
|
POST
|
Hi, I posted this information in later thread regarding the projection of MPKs and TPKs but for completeness here is some information on tiling schemes: The tiling scheme used by the Tile Package can be anything you like (although it should match the projection of the other layers/services you intend to use). You can use the predefined Web Mercator Auxilliary Sphere tiling scheme from ArcGIS Online, you can create your own, or alternatively use the option "An existing map service" then browse to a connection to an existing map service. For example you use the URL "http://services.arcgisonline.com/arcgis/services" to add a map service then browse to the ESRI_Imagery_World_2D which is a service in WGS84 with an appropriate tiling scheme for a global service in that projection. You could then add some additional scales below the 1:4508 scale, but remember "...every time you halve the scale's denominator, it takes four times as many tiles to cover a square area of the map...". For more info see http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Planning_a_map_cache/00930000006q000000/. Note that four times as many tiles, means four times more processing time compared to the previous level with each halving of the scale denominator. Regards Mike
... View more
09-07-2011
05:29 AM
|
0
|
0
|
795
|
|
POST
|
Hi, You're correct - the image is rendered on the server (ArcGIS Server or ArcGIS Runtime) and the rotation is applied on the client. ArcMap can rotate labels either by a constant value defined within the layer properties in ArcMap or by a value within the data attributes. The rotation value is read from the data dynamically so it could be edited at runtime if required - even via a feature service in the runtime. I wouldn't advise doing that for many fine-grained rotations but it could be a solution for larger, less-frequent rotations. The standard labelling engine and the Maplex labelling engine have slightly different options in this area so it's worth taking a look at both. Also, there's an option to control whether upside-down labels are flipped to display correctly or not (the default is that they are flipped, which is what you want I believe). Regards Mike
... View more
09-07-2011
05:07 AM
|
0
|
0
|
2230
|
|
POST
|
Hi, To ascertain it is indeed the same, multi graphics card issue or whether that is a red herring, I'd be grateful if you could try try running the ArcGIS Runtime with each card independently (by disabling each of the graphics cards in turn in device manager). Cheers Mike
... View more
09-06-2011
11:36 PM
|
0
|
0
|
1950
|
|
POST
|
So, is there something I'm overlooking in setting up the layers, or should they use the same projection? Can the tiling be changed to not use the web_mercator, or should the project be changed to use the web_mercator projection so the mpk also uses the projection? Hi, Generally the layers (services) in your map control should all use the same coordinate system. Tiled layers, whether ArcGISTiledMapServiceLayer or LocalTileCacheLayer, consist of a full set of prerendered map images and therefore cannot be reprojected on the fly. Dynamic layers/services, by contrast, can be reprojected on the fly by the ArcGIS Runtime and by ArcGIS Server but it's worth remembering that this will be done on a per request basis and therefore will incur some degree of performance overhead. The tiling scheme used by the Tile Package can be anything you like - if you want to use a WGS84 that's fine. You can create your own, or alternatively for guidance, use the option "An existing map service" then browse to a connection to an existing map service. For example you use the URL "http://services.arcgisonline.com/arcgis/rest/services" to add a map service then browse to the ESRI_Imagery_World_2D which is a service in WGS84 with an appropriate tiling scheme for a global service in that projection. You could then add some additional scales below the 1:4508... scale. Remember - "...Every time you halve the scale's denominator, it takes four times as many tiles to cover a square area of the map..." - for more info see http://help.arcgis.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Planning_a_map_cache/00930000006q000000/. Cheers Mike
... View more
09-06-2011
06:44 AM
|
0
|
0
|
1744
|
|
POST
|
Hi, Many thanks for posting this issue. Please can you provide some details on the notebook - specifically the video card(s) configuration and driver(s)? (we have seen, and fixed, an issue we found on a couple of notebooks relating to drivers for multi video card configuration). Cheers Mike
... View more
09-06-2011
05:12 AM
|
0
|
0
|
1950
|
|
POST
|
Hi, Yes - please email me the FTP info at [email protected]. Cheers Mike
... View more
08-24-2011
07:42 AM
|
0
|
0
|
2096
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2026 05:04 AM | |
| 1 | 02-20-2024 07:02 AM | |
| 1 | 01-19-2026 06:44 AM | |
| 1 | 12-10-2025 07:16 AM | |
| 1 | 11-21-2025 08:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|