esri / arcobjects-sdk-community-samples Goto Github PK
View Code? Open in Web Editor NEWThis repo contains the source code samples (.Net c#, .Net vb, and C++) that demonstrate the usage of the ArcObject SDK.
License: Apache License 2.0
This repo contains the source code samples (.Net c#, .Net vb, and C++) that demonstrate the usage of the ArcObject SDK.
License: Apache License 2.0
Issue: Error deserializing XML from .NET SOAP SOE (10.8.1) due to incorrect WSDL references in sample app
Description:
Download, build and deploy the "Find Near Features" .NET SOAP SOE:
https://github.com/Esri/arcobjects-sdk-community-samples/tree/master/Net/Server/ServerFindNearSOAPSOE
Update the below URL in the SOAP Client app:
nearFeatsService.Url = "http://YourDomain.com:6080/arcgis/services/USA/MapServer/NetFindNearFeaturesSoapSOE";
CustomLayerInfo[] layerInfos = nearFeatsService.GetLayerInfos();
Exception Message:
There is an error in XML document (1,500).
Inner Exception:
"The specified type was not recognized: name = 'EnvelopeN', Namespace: 'http://esri.com/schemas/Arcgis/10.8';, at <Extent xmlns =">."
Cause of the Issue
The ESRI XML Schema version in the Github SOE SOAP sample (Find Near Features) is incorrectly set to 10.3.
Solution to the issue.
<xs:schema targetNamespace="http://www.esri.com/schemas/ArcGIS/10.8""
xmlns="http://www.esri.com/schemas/ArcGIS/10.8">;
....
....
<xs:schema xmlns="http://www.esri.com/schemas/ArcGIS/10.8""
targetNamespace="http://examples.esri.com/schemas/NetFindNearFeaturesSoapSOE/1.0""
xmlns:tns="http://examples.esri.com/schemas/NetFindNearFeaturesSoapSOE/1.0">;
<xs:import namespace="http://www.esri.com/schemas/ArcGIS/10.8"" />
....
....
After getting PropertyPages DLL reference from an older sample (10.2.1) and compiling, the algorithm and its page are displayed correctly in ArcMap and working as expected.
But when going into Designer to configure whether the algorithm is Visible/Editable the editable checkbox does not check (always unchecked) and the property page button is always disabled.
I tried to make multiple changes but to no avail. None worked. Is there a way to fix this? (I am on 10.6.1)
View Panorama/360 Images on ArcMap Dockable window using ArcObject.
I use this code,but it's not perfect solution
pActiveView.Extent = (pRasterLayer as IGeoDataset).Extent;
IntPtr pHandle = new IntPtr(pActiveView.ScreenDisplay.hWnd);
AxMapControl axMapControl1 = Form.FromHandle(pHandle) as AxMapControl;
int controlWidth = axMapControl1.Width;
double controlW = Convert.ToDouble(controlWidth);
IMap pMap = pActiveView.FocusMap;
pMap.MapScale = (controlW / pRasterLayer.ColumnCount * pMap.MapScale);
MessageBox.Show(pMap.MapScale.ToString());
pActiveView.PartialRefresh(esriViewDrawPhase.esriViewGeography, null, null);
ArcGIS 10.6.1+C#
When we try to use the graphics container to draw graphics on a map when a unprojected data source has been added first the graphics container does not added the graphics to the data frame.
Full repo steps and history of issue can be found here:
Esri/visibility-addin-dotnet#248
Project Net/Schematics/SchematicLayoutAlgoSample/CSharp/ApplicativeAlgorithmsPage
This project requires Binary\PropertyPages.dll that is missing. It does not compile.
Sample data link is broken.
The Reduction Link Rule is a great sample that I've used to remove loops (two parallel lines with the same start and end nodes). It worked perfectly except that when I ran it late in my stack of rules added many lines back into the diagram that had been hidden by previous rules. By removing the line:
"schemElement.Displayed = true;"
at approximately line 225 the rule behaved as I would have expected and honored any previously removed lines. The features should only be hidden by the rule, not added back into the diagram. It is just a sample, but that change makes it more useful for me.
Is it possible to change the symbol for a single feature in ArcObjects?
The file Config.js is referencing a file called NetSimpleRESTSOEWithProperties.html. According to the "csproj" this html file should be located in a folder called "templates". But there is no such folder.
how to use AxMApControll or ISymbol ,.... on web programming? @arcgisprosdk
Hi,i hava a problem about this project “arcobjects-sdk-community-samples/Net/Server/ServerEditFeaturesRESTSOE/”.
// store feature in feature class
feature.Store();
This codes prompts "workspace or data source is read only".
My ArcGIS Server Version is 10.3.
Can you give me a favor?
Tks.
hi, im need topology tools to edit features in arc engine using topology editing tools ,how do it?
I want to use multi threads(like Task) to improve display performance,but when i use task,the tile doesn't display in map ,In task ,I use IDisplay para,so I doubt whether the IDisplay para is the problem which causes the data don't display.
List<Task>taskList=new List<Task>();
for(var tile in tiles)
{
taskList.Add(Task.Run(() =>displaying my tiles code));
}
Task.WhenAll(taskList.ToArray());
Forgive my poor English,Any help will appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.