POST
|
Thank you both for the quick, insightful responses. Melita, I used the HTRS96 because when I examine the ActiveMapDisplay object, that's what it shows here: _coordinateProjectedSystem2D = {HTRS96_UTM_Zone_33N (3767)}. How it got set to that is unknown to me. After further testing, it doesn't seem to change when I set the coordinates in the menu bar to other coordinate systems. In fact I don't see anything change in the ActiveMapDisplay object when I change coordinates, so perhaps it only affects the grid overlay that shows the various zones and displays the center-screen coordinates in the selected coordinate system. Norman, The grid overlay switches easily between coordinate systems, and displays the various coordinate notations, so I'm just surprised that the methods to do so are not exposed in the AGX SDK. Thanks for the link to the library you use. I may take you up on your generous offer as well. Thanks again.
... View more
08-06-2015
09:11 AM
|
0
|
0
|
760
|
POST
|
I am working on an add-in for the ArcGIS Explorer Desktop mapping client and need to take Lon/Lat coodinates and display them in an MGRS formatted string in a Note or MessageBox. Ideally, Lon/Lat (0, 51.4791) would end up being displayed as MGRS 31UBT9168707373 I used sample code from the ArcGIS Resource Center, shown below, but when I do a ToString on the resulting point in the first code sample using the Geographic Coordinate System, I get: resultString = "Point: X = 0 Y = 51.4791000009189" (obviously the original Lon/Lat) In the second code sample using the Projected Coordinate System, I get: resultString1 = "Point: X = -538880.521630103 Y = 5810593.60821005" (something entirely different, but not the final solution) What do I need to do to end up with the string "31UBT9168707373"? Thanks for any help! First code sample: // Create a Point at Greenwich, UK. By default new Geometries have the WGS 1984 geographical coordinate system. ESRI.ArcGISExplorer.Geometry.Point projectPoint1 = new ESRI.ArcGISExplorer.Geometry.Point(0, 51.4791); // Create an instance of the CoordinateSystem we want to project the Point into. CoordinateSystem projectIntoHTRS96 = CoordinateSystem.GeographicCoordinateSystems.Europe.HTRS96; // Retrieve suitable transformations between the two coordinate systems. System.Collections.Generic.IList<GeographicTransformation> suitableTrans1 = GeographicTransformation.GetTransformations(projectPoint1.CoordinateSystem, projectIntoHTRS96); ESRI.ArcGISExplorer.Geometry.Point outputPoint1 = null; // For brevity here, simply pick the first suitable transformation. GeographicTransformation geoT1 = suitableTrans1[0]; // Project the point using the selected transformation. Cast back to a Point - Project does // not change the type of Geometry. outputPoint1 = GeometryOperations.Project(projectPoint1, projectIntoHTRS96, geoT1) as ESRI.ArcGISExplorer.Geometry.Point; String resultString = outputPoint1.ToString(); Second code sample: // Create an instance of the CoordinateSystem we want to project the Point into. CoordinateSystem projectIntoHTRS96Z = CoordinateSystem.ProjectedCoordinateSystems.UTM.Europe.HTRS96UTMZone33N; // Retrieve suitable transformations between the two coordinate systems. System.Collections.Generic.IList<GeographicTransformation> suitableTransZ = GeographicTransformation.GetTransformations(projectPoint1.CoordinateSystem, projectIntoHTRS96Z); ESRI.ArcGISExplorer.Geometry.Point outputPointZ = null; // For brevity here, simply pick the first suitable transformation. GeographicTransformation geoTZ = suitableTransZ[0]; // Project the point using the selected transformation. Cast back to a Point - Project does // not change the type of Geometry. outputPointZ = GeometryOperations.Project(projectPoint1, projectIntoHTRS96Z, geoTZ) as ESRI.ArcGISExplorer.Geometry.Point; String resultString1 = outputPointZ.ToString(); Other notes: I was hoping for: MGRS 31UBT9168707373 geoT1 and geoTZ are both = {HTRS96_To_WGS_1984_1} _core = {ESRI.ArcGISExplorer.Internal.WrapperCore<ESRI::ArcGISExplorer::Geometry::GeographicTransformation>} Name = "HTRS96_To_WGS_1984_1" projectIntoHTRS96 = {GCS_HTRS96 (4761)} resultString = "Point: X = 0 Y = 51.4791000009189" projectIntoHTRS96Z = {HTRS96_UTM_Zone_33N (3767)} resultString1 = "Point: X = -538880.521630103 Y = 5810593.60821005"
... View more
08-04-2015
12:33 PM
|
0
|
3
|
3927
|
POST
|
Did anyone investigate this issue, and is there any resolution? The problem with lineStrings and polygons is still present. It works properly in Google Earth.
... View more
02-16-2015
08:42 AM
|
0
|
0
|
312
|
POST
|
Here are the files: The Network Link: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document id="ET"> <name>ET</name> <visibility>1</visibility> <NetworkLink id="Tracks"> <name>Tracks</name> <Link> <href>http://192.168.128.208:7003/EmptyTrackList.kml</href> </Link> </NetworkLink> <NetworkLink id="Updates"> <name>Dynamic Updater</name> <Link> <href>http://192.168.128.208:7003/MoveUpdater.kml</href> <refreshMode>onInterval</refreshMode> <refreshInterval>30</refreshInterval> </Link> </NetworkLink> </Document> </kml> EmptyTrackList.kml <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <Document id="TrackList"> <name>All The Lines</name> </Document> </kml> The first time, the MoveUpdater.kml file is: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <NetworkLinkControl> <linkName>Enable Updates</linkName> <Update> <targetHref>http://192.168.128.208:7003/EmptyTrackList.kml</targetHref> <Create> <Document targetId="TrackList"> <Document id="LinesDoc"> <name>Lines</name> </Document> </Document> <Document targetId="LinesDoc"> <Placemark id="Track01"> <name>Track 01</name> <open>1</open> <MultiGeometry id="MTGTrack01"> <LineString id="MTGTrack0101"> <coordinates> -88.8,35.4,363 -89.6,34.5,363 </coordinates> </LineString> </MultiGeometry> </Placemark> </Document> </Create> </Update> </NetworkLinkControl> </kml> After the refresh period, when ArcGIS Explorer refreshes the MoveUpdater.kml file, it retrieves this: <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <NetworkLinkControl> <linkName>Enable Updates</linkName> <Update> <targetHref>http://192.168.128.208:7003/EmptyTrackList.kml</targetHref> <Change> <LineString targetId="MTGTrack0101"> <coordinates> -90.8,35.0,363 -89.6,34.5,363 </coordinates> </LineString> </Change> </Update> </NetworkLinkControl> </kml> The coordinates of the LineString do not update. There appears to be a very brief flash as if ArcGIS Explorer is trying to bring up a popup box, but it goes away before any text is visible. Any help figuring out why it does not update would be appreciated.
... View more
04-07-2014
07:50 AM
|
0
|
1
|
312
|
POST
|
I am using a NetworkLink to dynamically update a map. So far, I am only able to get Point coordinates to change properly. I need to be able to update the coordinates of a LineString as well as a Polygon. Create and Delete updates work fine, but the Change does not. Here is my "Change" kml. I've ensured that the targetHref and the targetId are both correct. Any ideas? Does ArcGIS Explorer support updating things other than points? Any help would be appreciated. <?xml version="1.0" encoding="UTF-8"?> <kml xmlns="http://www.opengis.net/kml/2.2"> <NetworkLinkControl> <cookie>cookie=CookieFrom2</cookie> <linkName>Enable Updates</linkName> <Update> <targetHref>http://192.168.128.208:7003/MoveEmptyTrackList.kml</targetHref> <Change> <LineString targetId="MTG_Track_01_01"> <coordinates> -90.88,35.00,363 -89.64,34.58,363 </coordinates> </LineString> </Change> </Update> </NetworkLinkControl> </kml>
... View more
04-02-2014
12:00 PM
|
0
|
3
|
4978
|
POST
|
I need an outbound connector that works similar to the Publish GeoEvents on a REST endpoint, but I need to produce KML that supports MultiGeometry with a LineString for each GeoEvent. Since I have not found a way to do this with the connector, I am willing to build my own outbound connector. I have found little to no documentation on how to create an outbound adaptor. I have a set of example bundles, but they are processor or inbound. I need better documentation and or several connector examples. Any help, Please? Rcew
... View more
12-16-2013
08:49 AM
|
0
|
2
|
789
|
POST
|
I have a very similar situation, but I would like to create the line or polygon through a comma separated message. Is that possible? If yes, is there an example or documentation? Thanks, Ken
... View more
12-10-2013
02:14 PM
|
0
|
0
|
459
|
POST
|
I am new to ArcGIS and can't find an exact answer to my problem. I developing a mapping solution that runs in a closed network. Where do I get some world maps for prototyping that don't link to the internet? Thanks, Ken
... View more
10-22-2013
08:36 AM
|
0
|
0
|
387
|
POST
|
Hi mark, We build a proprietary hardware system, that detects signals and translates them into custom buffers. The hardware can be mobile or stationary and can collect as many as 30 buffers a second with each buffer detecting multiple signals. Each detection creates or updates a track. The mapping software needs to support up to 5 hardware systems creating and updating track information. My project is trying to prototype this scenario to prove an architecture. The first cut at the server architecture uses the GeoEvent Processor to update and create multiple features on an ArcGIS server. Then I implement a Java client to display the data. I am thinking at least 3 different features. I am also considering bypassing the ArcGIS server for the heavily updated features and going strait to the Java client using a UDP or TCP socket protocol. If there is a more effective way to implement this scenario , I am open to suggestions. Thanks, Ken
... View more
10-18-2013
06:22 AM
|
0
|
0
|
193
|
POST
|
I am new to ESRi products and also starting a new project that displays a significant amount of data on a map that updates once a second. For most of the dynamic features, once added they don't change. Is there pattern than allows me to query changes since the previous query and then update the JMap. In my limited experiments, I was not able to query and process thousands features every second, but if I could restrict the processing to the changes, it should work. Constraints: 1. I would like to use the ArcGIS Runtime SDK for Java to allow integration into our current product-line. 2. Out product is often delivered to a closed environment, thus ArcGIS online is not an option. 3. With this amount of data, I am sure that the zoom level will have to effect the data shown, but I would like to determine those constraints once I have the best real-time pattern implemented. 4. I am also exploring the GeoEvent Processor for data insertion into ArcGIS Server. If I am heading down the wrong trail, point me to the right direction.
... View more
10-14-2013
07:19 AM
|
0
|
2
|
1529
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|