|
POST
|
Since ArcGIS Online (AGO) is the new buzz, it definitely strikes some interest for us but I have a few questions if I may: 1) If we have our own in-house custom applications (using JavaScript, Silverlight, WPF, etc. API) can they consume services from our AGO subscription? a. If so, how do they authenticate? 2) Can a service pushed to AGO ???reference??? its data source (like AGS can)? For example if we have data in SQL Azure, can a service point to that instead of having to make a static copy? 3) I see subscriptions are based off users and it appears these are not concurrent, is that correct? a. Any future plans to somehow support concurrent use without making a service public? We ideally don???t really want to manage yet another set of users. Thanks a lot for any info!
... View more
07-31-2012
04:30 PM
|
0
|
4
|
2264
|
|
POST
|
So I guess this wasn't fixed with 10.1 Server final? Still having the issue... And I doubt we could get a 2.4.1 fix? And unfortunately we kind of got screwed with the runtime because even though we own a number of Server and Desktop licenses we do not have any EDN subscriptions (thought we had one but it is expired, and we would need like 10 anyway cause all our developers need to compile the code)... So I cannot test the runtime even. Investing in the WPF API so heavily might have been a bad call for us... Right now we are stuck in-between a rock and hard place because we want to upgrade our server to 10.1, but cannot because of this bug�?�
... View more
07-31-2012
09:00 AM
|
0
|
0
|
415
|
|
POST
|
Been using the WPF API since 1.1 and always upgrading to take advantage of the latest fixes, enhancements, etc... Now looking into using the runtime since that is the latest (and been waiting a long time for the 10.1 printing :)). Anyway, question about the EDN authorization... We only have one EDN subscription for me, and I am really the only GIS developer ... but we have about 6 other developers, and many of our in-house libraries and apps have GIS components I wrote but are included in projects they also work in. So in the past I had them all install the light weight API so they could include these projects as needed to work on other aspects of the application but still be able to compile everything. We really don???t want to have to manage in-house pre-compiled libraries if possible. Is it ok for me to authorize the runtime on their machines with my code solely for the purpose of them compiling (they won???t be writing any GIS related code with it)? Same question for authorizing it on our build server? All I can find in the documentation is ???An EDN subscriber can install the ArcGIS Runtime SDK for WPF on an unlimited number of machines as long as only the authorized EDN subscriber is the one using those computers for development use???. They???ll be using the computers for development use, but not for ???ArcGIS Runtime SDK for WPF??? development use??? I???ll still only be doing the ???development??? against the runtime??? Thanks for any info???
... View more
07-08-2012
06:36 PM
|
0
|
2
|
3235
|
|
POST
|
vpazmadrid, I am not doing this in a ControlTemplate like you are, I am doing it in the DataTemplate... so not sure how much this will help you but here is how I bound the Description and CopyrightText:
<esri:Legend x:Name="Legend" Grid.Row="1" Background="Transparent" HorizontalContentAlignment="Stretch" BorderThickness="0" LayerItemsMode="Tree" MinWidth="{TemplateBinding MinContentWidth}" ShowOnlyVisibleLayers="False">
<esri:Legend.MapLayerTemplate>
<DataTemplate>
<StackPanel Margin="1" Orientation="Horizontal">
<local:GrayableCheckBox IsChecked="{Binding IsEnabled, Mode=TwoWay}" VerticalAlignment="Center" IsGrayed="{Binding IsInScaleRange, Converter={StaticResource InverseBoolConverter}}" ToolTipService.ToolTip="Toggle Service Visibility" />
<TextBlock Text="{Binding Label}" Margin="2,0,0,0" VerticalAlignment="Center">
<ToolTipService.ToolTip>
<ToolTip>
<ToolTip.Visibility>
<PriorityBinding>
<Binding Path="Layer.Description" Converter="{StaticResource StringVisibilityConverter}" IsAsync="True" Mode="OneWay" />
<Binding Path="Layer.LayerInfo.Description" Converter="{StaticResource StringVisibilityConverter}" IsAsync="True" Mode="OneWay" />
</PriorityBinding>
</ToolTip.Visibility>
<StackPanel MaxWidth="400" >
<TextBlock TextWrapping="Wrap" Margin="1,1,1,6">
<TextBlock.Text>
<PriorityBinding>
<Binding Path="Layer.Description" IsAsync="True" Mode="OneWay" />
<Binding Path="Layer.LayerInfo.Description" IsAsync="True" Mode="OneWay" />
</PriorityBinding>
</TextBlock.Text>
</TextBlock>
<TextBlock FontWeight="Bold" TextWrapping="Wrap">
<TextBlock.Text>
<PriorityBinding>
<Binding Path="Layer.CopyrightText" IsAsync="True" Mode="OneWay" />
<Binding Path="Layer.LayerInfo.CopyrightText" IsAsync="True" Mode="OneWay" />
</PriorityBinding>
</TextBlock.Text>
</TextBlock>
</StackPanel>
</ToolTip>
</ToolTipService.ToolTip>
</TextBlock>
<Image Source="/SDL.ArcGIS.Client.Toolkit;component/Table Of Contents/Images/Time.png" Visibility="{Binding Layer.TimeExtent, Converter={StaticResource TimeExtentVisibilityConverter}, FallbackValue='Collapsed'}" ToolTip="Layer Is Time Aware" Width="12" Height="12" Margin="2,0,0,0" />
<Slider Minimum="0" Maximum="1" Value="{Binding Layer.Opacity, Mode=TwoWay}" Width="60" ToolTipService.ToolTip="Set Layer Transparency" HorizontalAlignment="Right" Margin="2,0,0,0" />
</StackPanel>
</DataTemplate>
</esri:Legend.MapLayerTemplate>
Hope it helps a little.
... View more
06-06-2012
07:30 AM
|
0
|
0
|
679
|
|
POST
|
Hi Miri, I understand you've changed the maximum features returned from 500 to 50000. Is it really 50,000 (and not 5,000) ? Yes, it was 50,000... How do you access this service? Lan or Wan? LAN. Took about 10 seconds to grab all the features though. Did you do cluster or regular queries? If you did clusters, wasn't it too heavy for the featureLayer to handle so many features? We clustered, the application would actually crash if we didn't cluster (plus would be too chaotic). The clusters rendered great though after waiting for the initial load. Sounds like the new ArcGIS Runtime for WPF has improved rendering/display for lots of features so with it you may not need the cluster if its not wanted. We actually are not using this anymore today... The users did not like the initial load time (but did really like the functionality). I'm hoping maybe one day there is server side clustering. Hope that helps some... *EDIT* Just realized what forum this was in... We did this with the WPF API not Silverlight, so using the new runtime might not be an option for you.
... View more
05-21-2012
07:14 AM
|
0
|
0
|
313
|
|
POST
|
Cool, thanks Jennifer... silly me didn't even think to convert it from an envelope to a polygon, but that worked great! As far as reproducing the error, did you move the envelope around first? Because the rotate does work until you move it around. I can make this happen with this Silverlight example too: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics. Create a rectangle, start editing, move the rectangle, then rotate it. It doesn�??t throw an error in the example that I can see, but the rectangle does disappear and act up. Thanks again!
... View more
05-17-2012
12:50 PM
|
0
|
0
|
690
|
|
POST
|
If I create a DrawMode.Rectangle graphic, start an EditGeometry on it, move the rectangle, then try and rotate it... it throws a NullReferenceException. If I don't move the rectangle first, the rotation works fine. But after moving the rectangle, then rotating it crashes. This does not seem to happen for any of the other DrawMode types... just the rectangle. Is this a known bug? Any workarounds? I am running version 2.4 of the WPF API on .NET 4. Thanks a lot for any info! *UPDATE - The rectangle's Graphic.Geometry is of type Envelope... all others are of type Polygon. So seems the problem is with rotating envelopes after a move.
... View more
05-16-2012
06:53 PM
|
0
|
3
|
1314
|
|
POST
|
That is great to hear... thanks a lot for the update!
... View more
04-17-2012
06:56 AM
|
0
|
0
|
527
|
|
POST
|
We cannot switch from the now "Extended Support" ESRI_Imagery_World_2D service to the newer World_Imagery service because when zooming in, all that is seen are image tiles saying "map data not yet available". We would rather have blurry/pixilated imagery than nothing at all. ArcMap and ArcGIS Explorer seem to ignore these tiles... is there any plans/hopes to have an option in the new runtime API to ignore them as well? I posted a similar question several years ago for the WPF/Silverlight API (and then also in the ideas portal) and every release since hoped maybe this functionality would show up. Now that the API is getting more and more robust with the runtime, my hopes are growing again :). Thanks a lot for any info!
... View more
04-16-2012
08:51 AM
|
0
|
3
|
2530
|
|
POST
|
Where clause: SGNL_ACTN_DTTM >= DATEADD(day, DATEDIFF(day, 0, GETDATE()), 0) AND SGNL_ACTN_DTTM < DATEADD(day, DATEDIFF(day, 0, GETDATE()), 1) It is doing date checks, nothing with geoprocessing though... maybe related? And the query works in the Server's REST web interface, but not when the 2.4 API sends the URL request. Also, FYI, I am running the 10.1 Pre-Release. Thanks for looking into this Jennifer!!!
... View more
03-02-2012
12:46 PM
|
0
|
0
|
415
|
|
POST
|
Thanks a lot for looking into this Jennifer! Does query need to be complicated? Query I am using is not really complex, "1=1 ORDER BY " + dateField + " DESC". Maybe the order by is a problem? I tried adding this same thing on the datetime field from the sampleserver and it throws "Unable to complete operation". I don't get that with mine though. Do both QueryTask point to the same service URL? Yes, both point the same. Have you tried sampleserver or is it service-specific perhaps? Tried the sampleserver like you had setup, does not seem to have the problem. Currently I cannot reproduce this issue with our server either though... not sure why. It was happening 90% of the time before. Maybe it depends on the server load? We allow up to 4 instances for this service. I had restructured our code to work only with an async call, so if this does happen it doesn't lock up the app, but tried switching back to the non-async call and it is working fine too. Hope that helps a little bit, but now that I can't reproduce it, I'm not sure... hate those temperamental issues. Thanks again!
... View more
02-28-2012
06:53 AM
|
0
|
0
|
1611
|
|
POST
|
Quick question, does the 2.4 API work with AGS 10.1, or do we HAVE to move up to the new ArcGIS Runtime SDK for WPF? Documentation says 10.0 or later... Thanks a lot! *UPDATE* Been testing this and everything was appearing to work fine until I did a find on a feature layer in which I applied its where clause to the layer definition...
//Apply where clause for feature layers
if (!String.IsNullOrEmpty(layer.Where))
{
List<LayerDefinition> layerDefinitions = new List<LayerDefinition>();
LayerDefinition layerDefinition = new LayerDefinition();
layerDefinition.LayerID = layer.LayerInfo.Id;
layerDefinition.Definition = layer.Where;
layerDefinitions.Add(layerDefinition);
FindParameters.LayerDefinitions = layerDefinitions;
}
It looks like the URL string generated by the API for the find might have some extra escaped characters... or something... but it doesn't obey the layer definition :(... any ideas? I'm not using IIS with Server anymore, since its not needed with 10.1, maybe I need to?
... View more
02-21-2012
08:49 AM
|
0
|
3
|
2108
|
|
POST
|
Update* Setup a little test, and I would expect this code to work, but the second QueryTask times out just about all the time:
Query query = new Query();
//Setup query here...
QueryTask queryTask = new QueryTask(Url);
queryTask.ExecuteAsync(query);
QueryTask queryTask2 = new QueryTask(Url);
queryTask2.Execute(query); //This one always times out after a minute or so
Since it is a new QueryTask object, I would expect the second task to execute fine. If I comment out the first, then it works... I tried setting DisableClientCaching both true and false for both, that doesn't seem to help. Running AGS 10.0 SP2, think 10.1 might resolve this in anyway, or is it purely a client issue? Thanks a lot for any ideas!
... View more
02-14-2012
01:51 PM
|
0
|
0
|
1611
|
|
POST
|
Hey Thao, thanks for the post... did you ever get this resolved? I seem to be having the same issue. We have WPF maps embedded in another application and multiple maps can be opened. Most the time everything is fine, but once in awhile the application will just hang for one to two minutes. It seems that it is hanging at a simple QueryTask (which is called on each map load) which usually returns in a split second. It is hard to reproduce, so haven�??t pinpointed it exactly, but it seems to always be when a second map has been up or loading. Both maps are calling a static method which creates a new QueryTask and then executes it inline (because I need the method to return results). I don't see any errors in the AGS logs either. I haven�??t noticed this error until recently upgrading from the 2.2 API to the 2.4, but I have changed other code that might just be exposing this error more now. Thanks for any info!
... View more
02-13-2012
01:38 PM
|
0
|
0
|
1611
|
|
POST
|
Ok, no problem, we will just leave IgnoreServiceScaleRange = true until resolved. Thanks a lot for looking into this and the info!
... View more
02-07-2012
08:16 AM
|
0
|
0
|
442
|
| 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
|