|
POST
|
Hi, I've created a working ArcGIS Server geoprocessing tool. It works as expected in ArcMap, it will output the appropriate feature and attribute table schema base on the selected layer by the user. When I added the same tool to the Silverlight Viewer I get the expected feature, however the attribute table schema is only relevant to the default layers schema at the time of publishing. Is this always the case, or have I missed something when adding the tool to the viewer? Thanks for any help, Elliott
... View more
09-09-2014
03:13 PM
|
0
|
1
|
2236
|
|
POST
|
Thanks for the reply John, Unfortunately the commands you suggested are not available in 10.0. I did end up finding the solution though. The script below requires an output to be defined in the parameters (see attachment). import arcpy tbl = arcpy.CreateTable_management("in_memory", "table") arcpy.AddField_management(tbl, "F1", "TEXT", field_length=14) arcpy.AddField_management(tbl, "F2", "TEXT", field_length=25) arcpy.AddField_management(tbl, "F3", "TEXT", field_length=25) arcpy.AddField_management(tbl, "F4", "TEXT", field_length=25) arcpy.SetParameterAsText(0,arcpy.MakeTableView_management(table, "view")) arcpy.RefreshActiveView() arcpy.RefreshTOC() del tbl Regards, Elliott
... View more
02-12-2014
05:19 AM
|
0
|
0
|
903
|
|
POST
|
Hi, I'm trying to add a table to the table of contents from a arcpy script. It works fine through the command dialog but when using the commands within a script nothing seems to happen. The command "arcpy.MakeTableView_management(...)" works fine in the command line. I can add a layer through the script using lines, but there's no option to add a table the same way. import arcpy mxd = arcpy.mapping.MapDocument("CURRENT") theShape = r"C:\Test.gdb\Test_FC" newlayer = arcpy.mapping.Layer(theShape) arcpy.mapping.AddLayer(df, newlayer, "BOTTOM") del mxd, df, newlayer Any ideas or adive would be greatly appreciated. Regards, Elliott
... View more
02-11-2014
12:37 PM
|
0
|
3
|
1860
|
|
POST
|
Turns out the instance was only lincensed to basic, it has now been upgraded to advanced and the ArcGIS service restarted. All services can now be viewed. Regards, Elliott
... View more
01-09-2014
09:10 AM
|
1
|
3
|
4223
|
|
POST
|
Problem solved. The image service output directory was pointing to the internal folder rather than the external folder. Whilst the map service was pointing to the correct folder and therefore displaying correctly.
... View more
02-09-2011
10:49 PM
|
0
|
0
|
441
|
|
POST
|
We can only view the silverlight externally through https. Although internally the silverlight can be view on http for both map and image service (this is using the internal reference to the machine name) however when viewing it as a https internally only the map service is viewable. Below is the client access policy <?xml version="1.0" encoding="utf-8" ?> - <access-policy> - <cross-domain-access> - <policy> - <allow-from http-request-headers="*"> <domain uri="*" /> <domain uri="http://*" /> <domain uri="https://*" /> </allow-from> - <grant-to> <resource include-subpaths="true" path="/" /> </grant-to> </policy> </cross-domain-access> </access-policy> Regards, Elliott
... View more
02-08-2011
05:08 PM
|
0
|
0
|
441
|
|
POST
|
Hi, I've created a simple sl app that is intended to show a map service and image service externally through a https site. Viewing the site externally only the map service is viewable with the image service not appearing. However the image service is working to some degree as the images are been created and placed in the "arcgisoutputext" folder, and no image initialization failure is thrown. Anyone have any ideas regrading this issue? Thanks in advance, Elliott
... View more
02-07-2011
08:35 PM
|
0
|
3
|
780
|
|
POST
|
Resolved the rest point issue. Because the external page is going through https, I had not checked the Required secure channel (SSL) in the virtual directory --> properties --> directory security --> secure communications (edit) in IIS. Also make sure that you are referencing the domain of your map/image service and not the server name.
... View more
02-06-2011
05:54 PM
|
0
|
0
|
1077
|
|
POST
|
Thanks for the help Larry, I followed your advice of your first reply, I may have done it a little differently but it still worked. Your certainly put on the right path. 1. I ended up editing the bounday shape to show only the image area and remove the whitespace/nodata. 2. Then right clicked on the footprint layer and selected Recompute Footprint --> By Clipping Boundary. 3. Then in the image service drop down selected Advanced --> Build and in the dialog box I only checked the Generate derived images, Compile service. Again thanks for the help. Regards, Elliott
... View more
01-05-2011
08:27 PM
|
0
|
0
|
743
|
|
POST
|
Hi, It seems a simple process, however I've been unbale to turn the 255,255,255 values into nodata through the image services edit raster properties. After I've finished with this wizard nothing happens. What steps are required after the using the wizard? Or am I going about this the wrong way? Regards, Elliott
... View more
12-21-2010
10:45 PM
|
0
|
3
|
3163
|
|
POST
|
There is: Data Management > Database > Compact tool Thanks Kim, this works.
... View more
08-17-2010
01:13 AM
|
0
|
0
|
337
|
|
POST
|
Hi, I have an automated python script that appends new data and removes old data from within a file Geodatabase. If left unchecked the database size has grown to 14gb in total, however the total size of the four feature classes in the file geodatabase only ever equal 30mb. Is there a reason why this is happening, is there some sort of trash collector that I need to deal with? Any, all suggestions are welcome, Elliott
... View more
08-16-2010
08:57 PM
|
0
|
2
|
1055
|
|
POST
|
You can connect to GeoDatabases using a Silverlight WCF Service. This type of service can be used to read/write to geodatabases using arc objects.
... View more
06-16-2010
05:38 PM
|
0
|
0
|
961
|
|
POST
|
Below is a link to a form on how to implement a IValueConverter for those that are still using sl3. Hope it helps. http://forums.silverlight.net/forums/p/186984/429605.aspx#429605
... View more
06-16-2010
05:26 PM
|
0
|
0
|
317
|
|
POST
|
Hi, I'm using the ESRI's example of displaying MapTips and this is working fin. My question is how do you then modify the string that is passed back. At the moment the code below shows a Date string "12/03/2010 12:00AM", i would like to show only "12/03/2010". Can I modify this in xaml directly and if so how, or does this need to be done in vb? .... .... <esri:FeatureLayer.OutFields> <sys:String>DATE_</sys:String> </esri:FeatureLayer.OutFields> <esri:FeatureLayer.MapTip> <Border CornerRadius="10" BorderBrush="#FF222957" BorderThickness="3" Margin="0,0,15,15"> <Border.Background> <LinearGradientBrush EndPoint="1.038,1.136" StartPoint="0.015,0.188"> <GradientStop Color="#FFD1DFF2"/> <GradientStop Color="#FF0088FF" Offset="0.946"/> </LinearGradientBrush> </Border.Background> <Border.Effect> <DropShadowEffect ShadowDepth="10" BlurRadius="14" Direction="300" /> </Border.Effect> <StackPanel Margin="7"> <TextBlock Text="{Binding Converter={StaticResource MyDictionaryConverter}, ConverterParameter=DATE_, Mode=OneWay}" FontWeight="Bold" Foreground="Black" /> </StackPanel> </Border> </esri:FeatureLayer.MapTip> .... .... Thanks for any suggestions, Elliott
... View more
06-11-2010
12:47 AM
|
0
|
2
|
690
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 01-17-2023 08:15 PM | |
| 1 | 01-09-2014 09:10 AM | |
| 1 | 01-06-2015 07:12 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-07-2023
01:45 AM
|