POST
|
The documentation for InfoWindow states that the location: is an instance of esri.geometry.Point . If the location has a spatial reference, it is assumed to be in map coordinates otherwise screen coordinates are used. I would suggest using map.toScreen() to convert your geometry to a screen coordinate. Your last line of code would change to something like: var screenPt = this.map.toScreen(selectedAddress[0].geometry);
this.map.infoWindow.show(screenPt, this.map.getInfoWindowAnchor(screenPt)); See this example - https://developers.arcgis.com/javascript/jssamples/query_charts.html
... View more
10-06-2015
06:17 PM
|
0
|
6
|
1087
|
POST
|
You can use the Project tool to change the projection of one layer to match the other. However, each layer will need to have an existing coordinate system assigned for this to work. There are some good tips on this page: When to use the Define Projection tool and the Project tool? | Support Services Blog After the data sets are in the same projection you can use the Merge tool to combine them.
... View more
09-20-2015
02:23 PM
|
2
|
1
|
640
|
POST
|
One option that has not been mentioned is the Assign Domain to Field tool. The domains are already set up in your geodatabase so you can use this tool to assign them to fields in any feature class within the geodatabase.
... View more
08-27-2015
03:13 PM
|
0
|
0
|
795
|
POST
|
In short: ArcPro SDK is to develop custom functionality to extent ArcGIS Pro. ArcGIS Engine is for developing custom applications that have mapping functionality. ArcObjects can be used within ArcGIS Engine/Desktop/Server to extend existing ArcGIS functionality. ArcGIS Runtime seems to be the replacement for Engine. ESRI could do a much better job in distinguishing the differences between the offerings and also outlining the future roadmap in regards to Desktop ArcObjects and Engine. I will also be watching the feedback on this post to see what other developers think the differences/advantages of the various platforms are.
... View more
08-25-2015
02:04 AM
|
1
|
7
|
4399
|
POST
|
I am not sure about accessing previous row values in the Field Calculator but you could do this as a python script - something like this: import arcpy
table = "C:/Temp/Data.gdb/Test"
fields = ('A', 'B')
prevA = 0
B = 0
with arcpy.da.UpdateCursor(table, fields) as cursor:
for row in cursor:
# increment or reset B value
if (row[0] == prevA):
B += 1
else:
B = 1
row[1] = B
cursor.updateRow(row)
# set previous A value
prevA = row[0]
... View more
08-18-2015
11:31 PM
|
2
|
1
|
582
|
POST
|
Done - can you make the relevant sections of code available on this post? Thanks.
... View more
08-03-2015
03:10 PM
|
0
|
2
|
1881
|
POST
|
To convert the point you would use this: var ptGeo = webMercatorUtils.webMercatorToGeographic(evt.mapPoint); However, there are several other issues in the code that will also prevent it from working. I have created a modified version that uses your service and shows the results. Please check the working example - GP Task (link removed). The source is available from this page (link removed). Let me know if you have questions about the code. EDIT - the links have been removed as requested, please see the update by Saloni Rajput with the working code sections.
... View more
07-30-2015
07:36 PM
|
0
|
5
|
1881
|
POST
|
I think this only changes the output geometries: setOutSpatialReference(spatialReference) None Sets the well-known ID of the spatial reference of the output geometries. I haven't tried using this but you may be able to use setProcessSpatialReference() to force the task to complete the analysis using the map's spatial reference. Alternatively, I would publish the service in WGS84 and use the webMercatorUtils to convert your map point to a geographic point.
... View more
07-22-2015
03:42 PM
|
1
|
8
|
1881
|
POST
|
You may need to project the input point from your JS application to match the projection used in your service. From the REST service image the input point should be in Spatial Reference 102603 (3081) - Texas? However, most ESRI web mapping applications use the spatial reference 102100 so the point you are sending to the service is most likely in the wrong coordinate system and you are getting no results.
... View more
07-22-2015
02:40 PM
|
0
|
10
|
1881
|
POST
|
You normally download software from the My ESRI site (https://my.esri.com/). If you have permissions the downloads are available from the My Organisation tab in Downloads or EDN (if you have a developer license): The ArcGIS 10.1 disk should also have the engine installer on it. Hope this helps - Owen
... View more
07-22-2015
02:27 PM
|
0
|
0
|
531
|
POST
|
Have you installed ArcGIS Engine 10.1 previously? The ArcGISEngine101sp1.msp download appears to be a service pack (patch) and not the full installer.
... View more
07-22-2015
12:58 AM
|
0
|
2
|
531
|
POST
|
Unfortunately, there is nothing anywhere near the sophistication of ArcMap dynamic label options in the JS API - especially when using Maplex labelling.
... View more
07-20-2015
03:47 PM
|
1
|
0
|
958
|
POST
|
LabelClass has a labelPlacement property that can be used to control the position. Not sure if this is what you are after or an additional offset beyond these positions.
... View more
07-20-2015
03:32 PM
|
0
|
0
|
958
|
POST
|
In what context are you running this code? - for example within an Add-In, old style COM extension, etc. Has your _application object already been set or is it null? EDIT - I got side-tracked and should have refreshed before posting to see if an answer had already been posted
... View more
07-16-2015
11:28 PM
|
0
|
0
|
684
|
POST
|
Doh! In most cases I at least scan the help content - this was obviously not one of those times.
... View more
07-01-2015
03:19 PM
|
0
|
0
|
1443
|
Title | Kudos | Posted |
---|---|---|
1 | 10-07-2014 06:13 PM | |
1 | 08-25-2015 02:04 AM | |
1 | 10-07-2014 03:54 PM | |
1 | 08-07-2014 09:19 PM | |
1 | 03-04-2015 02:02 PM |
Online Status |
Offline
|
Date Last Visited |
07-21-2021
06:32 PM
|