Tagged Questions
0
votes
0answers
23 views
I copy/pasted code from ArcGIS .NET ashx proxy into my Controller method, now debugging is jumping all over the place (multi-threaded, apparently)
I have a controller that takes in JSON data via HTTP POST. Inside this controller is a call to a method that I copied/pasted from ArcGIS's .NET implementation of the proxy that's needed to connect to ...
0
votes
1answer
25 views
How do I initialize the ArcGIS proxy via server side .NET code (C#)?
I know how to do this via JavaScript code:
esri.config.defaults.io.proxyUrl = "../proxy.ashx";
But, how do I do this in .NET? I am very new to the GIS space.
0
votes
1answer
39 views
How do I exclude raster layers from legend? (Silverlight, ArcGIS Server)
I'm trying to adjust my Print Widget so that raster layers do not show up in the legend. My thinking was that I could test for a layer type and not add the item to the legend if it is a raster.
...
1
vote
1answer
33 views
How to extend a custom NASolver in ArcGIS Server 10.1?
The past year we developed a custom NASolver with C# , it works fine and that job has finished.
Now we are planning to use it from ArcGIS Server. The problem is that we have no information for that. ...
4
votes
0answers
63 views
Call ArcGIS Server Buffer command without using SOM
All,
I wanted to see what the best way was of calling the geometry service to carry out a Buffer operation on ArcGIS Server 10, without using the SOM. Ideally I want to consume the REST API, using a ...
3
votes
1answer
114 views
C# Where to create GP service output files
How to get path of default scratch workspace(folder) using c#?
I'm making REST GP tool, where you pass some input parameters, tool collects data, create csv files, and archive them. Then tool return ...
-1
votes
1answer
268 views
How to display coordinates under cursor in web map?
I'd like to be able to display the X/Y coordinates of the user's current mouse cursor location such as with this web map.
I'm using the .NET Web ADF, C# and ArcGIS Server.
Can anyone suggest any ...
0
votes
0answers
197 views
How to display points on map as a graphic using C#?
I have created map using ArcGIS Server in C#. I need to display points as a graphic.
my database consists of points lat lon values,
xval yval txnid attr1 attr2
...
0
votes
1answer
68 views
How can I read the geospatial properties of ArcGIS web services using C#?
I need to display the Geospatial properties of ArcGIS web-services (like service name, service type, description, copyright, etc.) which are available in the "ArcGIS Services Directory", in my C# ...
1
vote
1answer
886 views
How to create an ArcObjects point with latitude and longitude?
I need to add a point in an existing feature class using .NET API of ArcGIS Server 10 in C# (Visual Studio 2008). I'm using a sample from ESRI Resource Center (ArcGIS_SimpleEdit_CSharp). The following ...
1
vote
0answers
123 views
Trouble programmatically publishing to SOM when SOC is on another machine
I wrote a desktop extension for ArcMap that allows a user to publish the map they've just created to an AGS 9.3.1 machine on another server. This works fine as long as the AGS machine acts as a SOM ...
2
votes
0answers
92 views
How to tell if an ArcGIS Service is secure?
I am creating a .NET REST SOE for ArcGIS Server 10, and I will need to determine if a map service (or image) is secure or not.
Is there a property on a MapService that would tell me this in either ...
2
votes
1answer
290 views
ArcGIS Server: “MapServer is not supported with the current license.”
I am at a complete loss... I have a Server 10.0 license on my machine but the following code fails:
if (ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.Server) == false)
throw new ...
3
votes
2answers
459 views
How to use the ISpatialFilter interface with ArcGIS 10.1?
From what I've heard till now:
1) ArcGIS from version 10.1 and forth will only support http connections: local connections will not be supported any longer.
2) The code
ESRI.ArcGIS.Carto.IMapServer ...
2
votes
0answers
377 views
Intersection problem: too many elements?
I have this code where an IGeometry shape (4-5 circles not filled) should be intersected with another layer's features
// Convert from IGeometry to ADF Geometry Polygon
...
0
votes
1answer
300 views
Intersection failing because of vertices of polygons
I've written some code to intersect features of one layer with another's, but one layer has polygons (the squares in the image) and the other has circles (not filled).
The problem is that I'm using ...
2
votes
1answer
157 views
How to display IGeometry?
I've done an intersection with the ITopologicalOperator6 interface, and I now have an IGeometry with the result.
How to draw this in a graphics layer on the map? I want to see what was intersected ...
3
votes
1answer
331 views
ITopologicalOperator.Intersect, how does this work?
I'm trying to intersect all features of a layer with another's but I'm getting the web ADF application stuck while executing the "ConstructUnion" function
Here's the code I've written so far
// ...
2
votes
0answers
402 views
Intersect two layers and get resulting features
I have X layers on a map and I need to intersect chosen layers (two per time) and color resulting features.
I'm trying to get this code working
// get first feature (index 0)
...
4
votes
0answers
341 views
ArcGIS - find layer ID and name from a Identify query
I need to retrieve the layer ID of every layer returned by the IQueryFunctionality.Identify function (I am using ADF with .NET)
Identify function spits out a DataTable array for layers which have ...
0
votes
1answer
301 views
arcgis server 10, vb.net, IMathOp problem
i am using arcgis server 10 and visual studio with vb.net to build web mapping application. inside my code i have the following line:
Dim RasterCal As ESRI.ArcGIS.SpatialAnalyst.IMathOp = _
New ...
2
votes
1answer
140 views
2
votes
3answers
152 views
ArcGIS Server -> Internet Service works well, Local Service fails
I have a web ADF application which connects to a map service (either via WMS or Internet Service using http). I'd like to use DCOM connections (faster as the documentation states), so I would like to ...
0
votes
2answers
318 views
arcGIS ADF - map disappear when I add graphic layers
I'm trying to add a graphic layer in a web ADF application with arcGIS for asp.net, but every time I add a graphic layer to the MapResourceManager, the map disappears!
To better understand this: ...
3
votes
1answer
287 views
AGS10 Soap Geometry/Project function vanishes
So I am doing a pretty simple process that looks a lot like right out of the SOAP API/SDK for AGS10.
My webservices takes a Lat/Lon coord from a mobile app, I reproject it to Web-Mercator to identify ...
2
votes
1answer
328 views
How can I get SOESupport to handle Polymorphism?
I've got some business objects below that I can serialize and deserialize successfully with Json.NET. I don't see a simple way to do this with Esri's SOESupport however. I'm happy with Json.NET, but ...
2
votes
1answer
1k views
how to connect to ArcGIS server with c#
I would like connect to ArcGIS server, but I have an error message
"la référence d'un objet n'est pas définie à une instance a une objet".
I have many examples:
string serverName = "adresse";
...
1
vote
1answer
274 views
What is the best way to host a GeoDatabase on an ArcGISServer?
I have a simple Geodatabase in access format. I'd really like to host this database on an ArcGIS server through one of their services.
The idea is that my users would be able to connect to this ...
6
votes
5answers
776 views
Troubleshooting ArcObjects performance problems
We have developed a relatively complex geoprocessing routine using a C# / ArcObjects (COM) / ArcGIS Server 9.3.1 / ArcSDE 9.3.1 / Oracle 11g stack. Running the routine on a complete dataset takes ...
4
votes
2answers
782 views
Publish MXD to server in ArcObjects C#
I have an MXD that I would like to publish to an ArcGIS server using C# ArcObjects (preferably as an MSD). I have been unable to find anything regarding this. Essentially I would like to implement the ...
6
votes
3answers
639 views
Server Object Extension doesn't work
I built a server object extension in C# and Visual Studio 2010, using the ESRI sample for the Spatial Query SOE as a starting point.
(see the page on resources.esri.com)
The SOE never displays a ...
1
vote
5answers
873 views
Store Geometry in a database with the ESRI Silverlight API
Is it possible to store geometry objects in a database using the ESRI Silverlight API? For this particular case, the client may have SQL Server 2005 installed instead of 2008 and therefore I can not ...
17
votes
9answers
4k views
How can I implement ESRI REST API?
ESRI announced that they are releasing the ArcGIS REST API as open technology. I've got an ISP running Sql Server 2008 with IIS7.
Does anyone know of a good walk through showing how I can write C# ...
