|
POST
|
This problem was found to be the conflict between versions (ArcGIS 10.2 but ArcObjects SDK for .Net Framework 10.1. After I installed SDK 10.2, the problem was gone.
... View more
05-21-2015
10:09 AM
|
0
|
0
|
696
|
|
POST
|
You are right. I use 102100. I used another piece of code for general conversion about 1.5 yrs. for the same purpose. After I dig it out, I will update the thread. Thanks.
... View more
05-15-2015
11:49 AM
|
0
|
0
|
920
|
|
POST
|
referring to .net - How to convert lat long to meters using Mercator projection in C# - Geographic Information Systems Stack Exchange , I coded like that and solve this problem. Thanks for your reviewing. public IPoint Convert_GCS2PCS(IPoint pt) { double lon = projDeg2Rad(pt.X); double lat = projDeg2Rad(pt.Y); double lon0 = 0; double sm_a = 6378137.0 ; double sm_b = 6356752.314; double x = x = sm_a*(lon-lon0); double y = sm_a*System.Math.Log((System.Math.Sin(lat)+1)/System.Math.Cos(lat)); IPoint pt2 = new Point(); pt2.X = x; pt2.Y = y; return pt2; } public double projDeg2Rad(double deg) { return (deg / 180.0 * System.Math.PI); }
... View more
05-15-2015
08:35 AM
|
0
|
2
|
920
|
|
POST
|
I have a point FC in a mxd file in WGS_1984_Web_Mercator_Auxiliary_Sphere, and displays in Decimal Degrees (Long/Lat). I published it as a mapservice, and retrieved the features in my SOE project. However, the features' Extent are not in Long/Lat. Then, I used the piece of code below to convert the X/Y from GCS to PCS (in meters) but it does not work. What's wrong in my code? Thanks if you can help. public IPoint CoordinateConvert(IPoint point, string[] srID) { ISpatialReferenceFactory srFactory = new SpatialReferenceEnvironmentClass(); ISpatialReference srTo; IProjectedCoordinateSystem pcs = srFactory.CreateProjectedCoordinateSystem(Convert.ToInt32(srID[0])); srTo = pcs; IGeometry geometry; geometry = point; geometry.SpatialReference = point.SpatialReference; geometry.Project(srTo); point = geometry as IPoint; double x, y; point.QueryCoords(out x, out y); System.Diagnostics.Debug.Print("X: " + x.ToString()); System.Diagnostics.Debug.Print("Y: " + y.ToString()); return point; }
... View more
05-15-2015
07:02 AM
|
0
|
3
|
3071
|
|
POST
|
After creating a .soe,, adding it to the ArcGIS Server, the VS JIT Debugger pops out. Like I did on other .soe's, I clicked my project / New VS as the Possible debugger, and then click Yes to continue. Then after I clicked the Attach button, the AOC is running on VS. Unfortunately, my project is NOT attached on the ArcSOC. I could not find anything wrong in my code, and there is nothing in the logs. Appreciate if you can hint me how to do.
... View more
05-11-2015
05:56 AM
|
0
|
1
|
3277
|
|
POST
|
I tried another way - Re-built the SOE project from scratch using ESRI's SOE templete. Then, the 'ClassFactory' bug was gone. Thanks to all of reviewers.
... View more
05-11-2015
05:46 AM
|
0
|
0
|
1230
|
|
POST
|
Two days ago, I created a new SOE and loaded into ArcGIS Server 10.1. When I started the mapservice w/ this soe extension checked, I received the error: Failed to initialize server object 'xxx': ClassFactory cannot supply requested class. In this ArcGIS Server, I had another 2 soe files and both of them run well. From http://support.esri.com/en/bugs/nimbus/TklNMDg0MzUw, it could be due to the Bug NIM-084350 mentioned in this report. This report mentioned that the bug would be gone in V10.2. Followed the direction, I upgraded my ArcGIS Server to V10.2.2. I also recovered another 2 soe's and both of them work fine. Then I worked on the new .soe.. Unfortunately, the error is still there. I tried multiple times. Every time I tried to start the service, it not only pops out the error, but also crash / disable the mapservice. So, I have to re-publish the mapservice. Is there any class in my project that causes this failure? I tested over and over again and believe that all of the classes used in the project are valid and also very common/basic ones since they all are used in another 2 soe's as mentioned above. Unfortunately, there are few threads related to the bug reported here. I wish I can get some good hints from this site. Thanks.
... View more
05-08-2015
11:48 AM
|
0
|
1
|
4936
|
|
POST
|
I have an JS application, which could add queried point / line on the map. But now, the point / line queried does not display on the map. It means it is not drawn. What is the possible reason to cause the problem? Thanks if you can share your experience.
... View more
03-10-2015
08:51 AM
|
0
|
3
|
4093
|
|
POST
|
Had a communication w/ a professional. He said the problem was not due to the security or cross domain issue. The problem was that the IP address was not recognized. Then, I changed the http://IPAddress/MyApp to http://myComputerName/MyApp. The errors were gone. What settings should I do in order to use IP address in this application? Thanks.
... View more
01-21-2015
09:22 AM
|
0
|
0
|
722
|
|
POST
|
Had a communication w/ a professional. He said the problem was not due to the security or cross domain issue. The problem was that the IP address was not recognized. Then, I changed the http://IPAddress/MyApp to http://myComputerName/MyApp. The errors were gone. What settings should I do in order to use IP address in this application? Thanks.
... View more
01-21-2015
09:20 AM
|
0
|
0
|
738
|
|
POST
|
In the 1st time I used the Operations Dashboard for ArcGIS as logged on using my account for my Organization, the Create a New Operation View is not on the interface. The board only shows the Open a Operation View. Thanks if you can help.
... View more
01-21-2015
05:38 AM
|
0
|
1
|
4369
|
|
POST
|
I tried the GeoEvent Simulator by referring to ESRI tutorials Module 1. I loaded the file, and did the settings per the procedure. When I click the Connect icon (on the top-right of the panel, w/ the default value of 5565), the Connection Error message box pops out: 'Failed to connect to localhost: 5655. No connection could be made because the target machine actively refused it 127.0.0.1:5655.' The 127.0.0.1 here is NOT the one the GeoEvent Extension installed. What should I do to get rid of this error. Thanks.
... View more
01-20-2015
09:49 AM
|
0
|
3
|
12196
|
|
POST
|
Found it in c:\Program Files\ArcGIS\Server\GeoEventProcessor\GeoEventSimulator.exe for V10.2. Please close this thread.
... View more
01-20-2015
08:38 AM
|
1
|
0
|
510
|
|
POST
|
I Could not find the GeoEvent Simulator in the Server where the GeoEvent Extension was installed. How to get it? Thanks.
... View more
01-20-2015
07:08 AM
|
0
|
1
|
4383
|
|
POST
|
By referring to the procedure: http://stackoverflow.com/questions/7939693/iis-7-invalid-application-path-win-7 , I created a Virtual Directory in IIS7.5 Manager's Web Sites, and then set the Physical Path. The project was got deployment. However, I still can't run the query if the page uses URL address rather than localhost. In this server, there are other multiple applications that have no problem using URLs. Any suggestion for this problem? Thanks.
... View more
01-16-2015
05:24 AM
|
0
|
1
|
738
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-18-2023 10:02 AM | |
| 3 | 07-14-2023 12:29 PM | |
| 1 | 04-02-2021 12:16 PM | |
| 1 | 07-24-2017 11:31 AM | |
| 1 | 04-04-2016 03:59 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-01-2025
11:58 AM
|