POST
|
I make custom font tff and use it to symbol layer, they export map pdf well when checked 'Embed All Font Document Fonts', but when I install the tff on the Windows Server 2012 and I make a python script (also arcpy.mapping.ExportToPDF have set the embed_fonts true) and publish to arcgis server, and export use geoprocessing service to export pdf, the font symbol does not display, but when I install the tff on PC, and the arcgis server on PC, geoprocessing service can export pdf with custom font symbol display, I notice when I install the tff on PC, the right menu have the 'Install for all users' option, but when install on Windows Server 2012 does not have the option, Anyone who can help will be pleasure
... View more
02-07-2024
01:15 AM
|
0
|
1
|
188
|
POST
|
Hello, A problem occured when I call the ServiceFeatureTable.LoadStatusChanged, It would not raise the event, var serviceTable = new ServiceFeatureTable(new Uri("")) { FeatureRequestMode = FeatureRequestMode.ManualCache }; serviceTable .LoadStatusChanged += serviceTable _LoadStatusChanged; CurrentMap.Tables.Add(serviceTable );
... View more
01-14-2019
07:28 PM
|
0
|
0
|
284
|
POST
|
Hello, A problem occured when I call the ServiceFeatureTable.LoadStatusChanged, It would not raise the event, var serviceTable = new ServiceFeatureTable(new Uri("")) { FeatureRequestMode = FeatureRequestMode.ManualCache }; serviceTable .LoadStatusChanged += serviceTable _LoadStatusChanged; CurrentMap.Tables.Add(serviceTable );
... View more
01-14-2019
07:28 PM
|
0
|
1
|
386
|
POST
|
Hi Saliegh, I created a custom gp tool to solve this
... View more
11-20-2018
11:33 PM
|
0
|
0
|
1304
|
POST
|
Hi, Saliegh, Yes, I remember that if the input geometry has too much rings it would get exception
... View more
11-19-2018
05:54 PM
|
0
|
2
|
1304
|
POST
|
May I know what have you disable/uninstall something important that the direct3d needed to run?
... View more
07-11-2018
02:54 AM
|
0
|
0
|
946
|
POST
|
I have a demo with to TabItem, switch TabItem change the MapView parent, if switching very quick the map will be disapear will be blank, the demo is attached, our project change the MapView like this demo have the same issue.
... View more
06-27-2018
12:28 AM
|
0
|
2
|
2039
|
POST
|
Hi Jennifer I set EditConfiguration property`RequireSelectionBeforeDrag` to false, and it's the same, I have to tap the outline and highlight it then I can move the polygon by drag the outline other than the polygon area
... View more
03-07-2018
10:24 PM
|
0
|
1
|
1601
|
POST
|
Hi, maybe the codes is a bit confusing, I change the codes like below and it will be more clearly. var geoBeforeEdit = feature.Geometry;
var editGeometry = await mapControlView.SketchEditor.StartAsync(feature.Geometry);
feature.Geometry = editGeometry;
await feature.FeatureTable.UpdateFeatureAsync(feature);
await (feature.FeatureTable as ServiceFeatureTable).ApplyEditsAsync();
bool isSuccess = //do something else.....
if(!isSuccess )
{
feature.Geometry = geoBeforeEdit;
await feature.FeatureTable.UpdateFeatureAsync(feature);
await (feature.FeatureTable as ServiceFeatureTable).ApplyEditsAsync();
}
... View more
09-18-2017
12:37 AM
|
0
|
0
|
456
|
POST
|
Hi, I want to rollback an Edit since last UpdateFeatureAsync an ApplyEditsAsync(just geometry), so I give the feature the old geometry then UpdateFeatureAsync an ApplyEditsAsync, but it seems can't apply to server database the second time and with no EditResults(count=0) return, Below is my codes var geoBeforeEdit = feature.Geometry;
var editGeometry = await mapControlView.SketchEditor.StartAsync(feature.Geometry);
feature.Geometry = editGeometry;
await feature.FeatureTable.UpdateFeatureAsync(feature);
IReadOnlyList<EditResult> editResults = await (feature.FeatureTable as ServiceFeatureTable).ApplyEditsAsync();
if (editResults.Any(r => r.CompletedWithErrors == true))
{
XHNotifyIcon.ShowFancyBalloon(editResults.Where(r => r.CompletedWithErrors == true).Aggregate(string.Empty, (current, o) => "Edit to Object '" + o.ObjectId + "' failed: " + o.Error.Message + "\n\r"));
return false;
}
bool isSuccess = //do something else.....
if(!isSuccess )
{
feature.Geometry = geoBeforeEdit;
await feature.FeatureTable.UpdateFeatureAsync(feature);
IReadOnlyList<EditResult> editResults = await (feature.FeatureTable as ServiceFeatureTable).ApplyEditsAsync();
if (editResults.Any(r => r.CompletedWithErrors == true))
{
XHNotifyIcon.ShowFancyBalloon(editResults.Where(r => r.CompletedWithErrors == true).Aggregate(string.Empty, (current, o) => "Edit to Object '" + o.ObjectId + "' failed: " + o.Error.Message + "\n\r"));
return false;
}
}
... View more
09-16-2017
09:01 PM
|
0
|
2
|
648
|
POST
|
Hi, I want to know how to rollback(undo) an edition after ServiceFeatureTable.ApplyEditsAsync()? thanks in advanced
... View more
09-11-2017
08:51 PM
|
0
|
1
|
579
|
POST
|
Tahnks, Jennifer, I think I was using the PictureFillSymbol for MapPoint geometry
... View more
09-07-2017
06:14 PM
|
0
|
0
|
580
|
POST
|
Hi, I use PictureFillSymbol Class Constructors PictureFillSymbol(Uri) \ PictureFillSymbol(Runtime) or PictureFillSymbol.CreateAsync(Stream imageStream) to create a PictureFillSymbol then use it to create a Graphic and add it to a GraphicOverlay, but the Graphic doesn't show, below is my codes // Get current assembly that contains the image
var currentAssembly = Assembly.GetExecutingAssembly();
// Get image as a stream from the resources
// Picture is defined as EmbeddedResource and DoNotCopy
var resourceStream = currentAssembly.GetManifestResourceStream(
"ArcGISRuntime.WPF.Resources.PictureMarkerSymbols.pin_star_blue.png");
var runtimeimage = await RuntimeImage.FromStreamAsync(resourceStream);
// Create new symbol using asynchronous factory method from stream
PictureFillSymbol pinSymbol = new PictureFillSymbol(new Uri("pack://application:,,,/ArcGISRuntime.WPF.Samples.CSharp;component/Resources/PictureMarkerSymbols/pin_star_blue.png"));
// (1) PictureFillSymbol pinSymbol = new PictureFillSymbol(runtimeimage);
// (2) PictureFillSymbol pinSymbol =await PictureFillSymbol.CreateAsync(resourceStream);
// Create location for the pint
MapPoint pinPoint = new MapPoint(-226773, 6550477, SpatialReferences.WebMercator);
// Create graphic with the location and symbol
Graphic pinGraphic = new Graphic(pinPoint, pinSymbol);
// Add graphic to the graphics overlay
overlay.Graphics.Add(pinGraphic);
MyMapView.GraphicsOverlays.Add(overlay);
... View more
09-05-2017
08:34 PM
|
0
|
2
|
828
|
Title | Kudos | Posted |
---|---|---|
1 | 08-21-2017 06:00 AM | |
1 | 05-31-2017 07:14 PM |
Online Status |
Offline
|
Date Last Visited |
02-19-2024
01:23 AM
|