|
POST
|
So we finally got our EDN subscriptions and are upgrading our code base from the 2.4 API to the 10.1.1 Runtime SDK... mostly everything seems to have ported over just fine except with our programatically executable measure action. We have the following class that worked fine in 2.4: public class ExecutableMeasureAction : MeasureAction { public void Execute() { Invoke(null); } } But in 10.1.1 it is throwing an error in the Invoke: "Graphic Symbol is not serializable to JSON" Any ideas or help on getting around this would be greatly appreciated. Thanks a lot!
... View more
05-14-2013
12:30 PM
|
0
|
3
|
3024
|
|
POST
|
Hi James, I talked with our account representative about this and she got back to me saying it was ok to share an EDN license key with other developers that just needed to compile and execute existing runtime code, but anyone doing actual development needs to have their own license. That being said it has taken us this long to get EDN subscriptions so we are just now starting to upgrade to the runtime and test this out. Also, at the last developers conference I heard with 10.2 ESRI is reworking their licensing model for runtime... but have no idea what this means. Hoping it drops this EDN requirement all together (of course now that we just got them :)). Hope that helps a little... sorry for not posting this info before.
... View more
05-13-2013
10:59 AM
|
0
|
0
|
433
|
|
POST
|
On the REST endpoint I open up the "Find" operation for a MapServer service. I put in the "Search Text" of "6" and for "Layers" specify "4". I hit "Find (GET)" and receive "No results found". I know this layer has a feature with a 6 in some of the fields, so I then add one of the field names to "Search Fields"... It finds all three features I was expecting then. According to the documentation, if "Search Fields" is blank it will search all. Now this is not always the case though, If I remove the "Search Fields" and search for text such as "BP" then it finds that in some of the string fields. Is this a known bug? Something to do with searching Double fields? Any workarounds short of adding all the fields to the "Search Fields" list? Thanks a lot!
... View more
02-07-2013
12:00 PM
|
0
|
0
|
581
|
|
POST
|
Hi Cameron, So in ArcGIS Desktop you were able to make a GIS Server connection using just the iishostname without the 6080 port? In our setup the iishostname and the arcgishost are the same, and even if I leave the :6080 off it automatically adds it back... maybe this is a bug/issue when those two are the same. Is your web server seperate from the ArcGIS Server? *UPDATE* I also tried http://iishostname:80/arcgis/admin but that gives me an error saying "Unable to acquire authentication token". I do have administration through the web adapter enabled and the URL works fine in a browser. Thanks much!
... View more
11-21-2012
12:00 PM
|
0
|
0
|
1944
|
|
POST
|
Running into this exact same issue... Ever find a fix? I followed all of Raj's steps except 4.1 because even if I leave the port 6080 off the wizard automatically adds it back. Thanks for any updates!!!
... View more
11-20-2012
02:21 PM
|
0
|
0
|
1944
|
|
POST
|
Ahh, nice... thanks for that info. I found the toolbox and script under "arcgisserver\directories\arcgissystem\arcgisinput\Geoprocessing\<tool_name>.GPServer". I was looking to try and remove those default parameter values but doesn�??t look like I can. I see there is a result file (.rlt) which contains them but I cannot edit it (its binary and ArcMap can open it but cannot edit the values). In the "arcgisoutput" folder it also has some files, including an xml file with those default parameters... but those files get deleted and recreated whenever the server stops and starts so don�??t want to change it there. Thanks for all the help Kevin!
... View more
10-02-2012
01:44 PM
|
0
|
0
|
481
|
|
POST
|
Kevin, Thanks a lot for all that information. I understand why they would want the tools to be ran and validated before publishing... but very frustrating for the power user that does not want this. I imagine they get a number of support calls for tools that just do not work though. I guess we can only hope they bring this functionality back. I did not know that it would change the underlying scripts either... so thanks for pointing that out!
... View more
10-02-2012
08:39 AM
|
0
|
0
|
481
|
|
POST
|
In 10.1 where do you set permissions for the MobileWeb maps? With 10.0 I don't recall having to change anything, but they were under the IIS wwwroot so if we did need to change them I could with IIS. We upgraded one of our servers to 10.1 and are trying to get the same MobileWeb maps we had in 10.0 setup. We are connecting to it via the ArcGIS iPad app. I can add the server connection but as soon as I hit the "Maps" button it prompts for a username and password. If I provide my login credentials I can get in (I'm and admin on the server btw) but we don???t want users to have to login. The server is on our internal network so we want read access to everyone. In 10.1 I see the JSON maps are stored at "arcgisserver\directories\arcgismobile\MobileWeb\Maps"... I tried granting everyone read access to the "arcgismobile" folder but that didn???t help. We also have the web adapter for IIS installed on the same server. But whether I connect through the default port 80 or port 6080 it prompts for login credentials. Any help on setting these permissions in 10.1 would be great! Thanks a lot!
... View more
10-01-2012
03:38 PM
|
0
|
0
|
353
|
|
POST
|
Very excited about most of what I am seeing with 10.1 server until I got around to publishing a geoprocessing service. Seems like AGS took a few steps backward with these but I am hoping I am just doing something wrong... A few questions if I may: 1) We can no longer just right click a toolbox and publish it... WHY??? Is this correct? 2) So we have to "run" the tool first and then we can publish from the results window... But the tool I am trying to publish is inputting data into our corporate warehouse, so I don't want to run it. I did just so I could try publishing it, but then had to immediately go into the feature class and manually delete out the test data. Am I missing something? There has to be another way? 3) When the tool gets published, it takes the values I entered when running it (since we have to run it to publish it) and uses those as default values... I do not want those as defaults... I want the field to stay blank. And I don???t see anywhere to change these values either before or after it is published. How can I either not use those as defaults or change the default parameter values? 4) I see in ArcCatalog under the GIS server it still shows a toolbox with the same name as the tool it contains (I think that is just the name of the service which I didn???t change)??? so does each toolbox now only have the one tool? So no actual concept of a toolbox anymore really? No way to add multiple tools (tasks) to the same service (toolbox)? Thanks a lot for any help or information.
... View more
10-01-2012
01:08 PM
|
0
|
4
|
590
|
|
POST
|
You�??re awesome Dominique! Thanks a ton, I really appreciate it! The "Code Behind C#" and "XAML" pages are not showing in the Silverlight app though... it�??s just blank?
... View more
09-05-2012
09:25 AM
|
0
|
0
|
1064
|
|
POST
|
Thanks a lot Mike and Dominique! So Dominique's example is pretty much exactly what I needed... thanks for pointing out your "Yet Another Interactive Samples" page. I like making both the buffers and proximity check client side, that is great! After implementing this I have one more issue... our map is in geographic coordinates (WGS_84)(we haven�??t moved to the projected Web Mercator because the newer ESRI and Bing base map services are missing tiles at lower resolutions in some areas we need). So the problem is that the buffers are off in the vertical/latitude direction... any easy way to implement this? Or would that be some ugly calculations based off the coordinate system? I got it working using the buffer geometry service and they come back correct, I am ok with this, though the client side buffers are nifty... so visually they are correct�?� but correct me if I�??m wrong, the distance calculations are slightly off, is this correct? Thanks again!
... View more
09-04-2012
02:26 PM
|
0
|
0
|
1064
|
|
POST
|
I have a point feature layer that we want to buffer (easy enough) but then symbolize any buffer that overlaps another point a different color (need help here)... Here is what I am doing now: Step 1) Create a graphics layer. Step 2) Setup a UniqueValueRenderer with different symbology for an attribute field I'm calling "IntersectIndicator". Step 3) Assign the UniqueValueRenderer to the graphics layer. Step 4) Call the GeometryService.BufferAsync() and I get back the buffers I want. Step 5) Set the attribute ???IntersectIndicator" for each buffer graphic. (STUCK HERE) Step 6) Set the source for our graphics layer to our buffer graphics. Things I have thought/tried: 1) Loop through all the buffer results and in that loop through all the feature layer points like so: foreach (var bufferGraphic in e.Results) { bufferGraphic.Attributes.Add("IntersectIndicator", "N"); foreach (var featureLayerGraphic in WorkActivityFeatureLayer.Graphics) { if (bufferGraphic.Geometry.Extent.Intersects(featureLayerGraphic.Geometry.Extent)) { bufferGraphic.Attributes["IntersectIndicator"] = "Y"; break; } } } Problems with this are it is not removing the point the buffer was created from so it always intersects and also using a square extent for a circle buffer is not accurate. 2) Since I cannot send multiple graphics to the intersect or spatial query task I could union them first... but I still have the issue of the result always returning true because the original point is included. Also the Buffer service does not retain any attributes from the original points so not sure how I would join the results for the intersection back in. We are still running on the 2.4 API (waiting on our company to get me an EDN subscription for runtime) Any help or ideas would be great! Thanks a lot.
... View more
08-31-2012
01:49 PM
|
0
|
7
|
1430
|
|
POST
|
Hey Mike, thanks a lot for the information. 2) That answers my question... I was thinking along the lines of ArcGIS Server in which you can register a data store and then the data did not have to be stored/hosted on the ArcGIS server. So sounds like this is a no. 3) So If we subscribe with a 5 user subscription, can only 5 people register (be invited) to our organizations account? If a 6th person were to try would they get denied? Or can say 10 people register, but only 5 can actually access it at the same time? Thanks again for all the help!
... View more
08-01-2012
09:52 AM
|
0
|
0
|
423
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-24-2023 10:43 AM | |
| 1 | 10-02-2023 02:23 PM | |
| 1 | 11-16-2016 02:05 PM | |
| 1 | 07-05-2017 09:30 AM | |
| 15 | 11-19-2010 08:05 PM |
| Online Status |
Offline
|
| Date Last Visited |
05-01-2024
08:25 PM
|