POST
|
Would anybody happen to know where I can locate some documentation on the renderingRule class that can be applied to an ArcGISImageServiceLayer? Are all of the raster functions that can be applied to an image service available to the renderingRule? The only function that appears in the samples is "Stretch" and nothing else is listed in the API reference. Any info would be appreciated. Thanks. - paul harbulak
... View more
07-06-2010
09:58 AM
|
0
|
0
|
445
|
POST
|
I already tried that. It uses a default symbology and selection symbol but the template is still empty. Same problem as before.
... View more
07-06-2010
07:46 AM
|
0
|
0
|
359
|
POST
|
Morten, this is the layer xaml: <esri:FeatureLayer ID="Fields" FeatureSymbol="{StaticResource SelectSymbol}" Url="http://vm-jupiter02/ArcGISServer/rest/services/Fields/FeatureServer/0" OutFields="*" DisableClientCaching="True" AutoSave="False" ValidateEdits="True" />
... View more
07-06-2010
07:01 AM
|
0
|
0
|
359
|
POST
|
Here is the metadata for the layer (which is probably what you're looking for...judging from how little info I gave you in the previous post...) { "id" : 0, "name" : "Fields", "type" : "Feature Layer", "displayField" : "id", "description" : "", "copyrightText" : "", "relationships" : [ ], "geometryType" : "esriGeometryPolygon", "minScale" : 0, "maxScale" : 0, "extent" : { "xmin" : -10449839.8159, "ymin" : 5111035.6446, "xmax" : -10437153.7118, "ymax" : 5117429.5595, "spatialReference" : { "wkid" : 3857 } }, "drawingInfo" : {"renderer" : { "type" : "simple", "symbol" : { "type" : "esriSFS", "style" : "esriSFSSolid", "color" : [ 209, 255, 115, 255 ], "outline" : { "type" : "esriSLS", "style" : "esriSLSSolid", "color" : [ 85, 255, 0, 255 ], "width" : 1.5 } }, "label" : "", "description" : "" }, "transparency" : 0, "labelingInfo" : null}, "hasAttachments" : false, "htmlPopupType" : "esriServerHTMLPopupTypeAsHTMLText", "objectIdField" : "objectid", "globalIdField" : "", "typeIdField" : "", "fields" : [ { "name" : "objectid", "type" : "esriFieldTypeOID", "alias" : "OBJECTID", "editable" : false, "domain" : null }, { "name" : "id", "type" : "esriFieldTypeInteger", "alias" : "ID", "editable" : true, "domain" : null }, { "name" : "growerid", "type" : "esriFieldTypeInteger", "alias" : "GrowerID", "editable" : true, "domain" : null }, { "name" : "farmid", "type" : "esriFieldTypeInteger", "alias" : "FarmID", "editable" : true, "domain" : null }, { "name" : "legal_description", "type" : "esriFieldTypeString", "alias" : "legal_description", "editable" : true, "length" : 255, "domain" : null }, { "name" : "own_lease", "type" : "esriFieldTypeSmallInteger", "alias" : "owned", "editable" : true, "domain" : null }, { "name" : "legal_acres", "type" : "esriFieldTypeDouble", "alias" : "legal_acres", "editable" : true, "domain" : null }, { "name" : "calculated_acres", "type" : "esriFieldTypeDouble", "alias" : "calc_acres", "editable" : true, "domain" : null }, { "name" : "system_name", "type" : "esriFieldTypeString", "alias" : "system_name", "editable" : true, "length" : 10, "domain" : null }, { "name" : "user_name", "type" : "esriFieldTypeString", "alias" : "user_name", "editable" : true, "length" : 20, "domain" : null } ], "types" : [ ], "templates" : [ { "name" : "Test", "description" : "Default field layer symbology", "drawingTool" : "esriFeatureEditToolPolygon", "prototype" : { "attributes" : { "user_name" : null, "id" : 0, "growerid" : 0, "farmid" : 1, "system_name" : null, "legal_description" : null, "own_lease" : 0, "legal_acres" : null, "calculated_acres" : null } } }, { "name" : "Fields", "description" : "", "drawingTool" : "esriFeatureEditToolPolygon", "prototype" : { "attributes" : { "user_name" : null, "id" : 0, "growerid" : 0, "farmid" : 0, "system_name" : null, "legal_description" : null, "own_lease" : 0, "legal_acres" : null, "calculated_acres" : null } } } ], "capabilities" : "Query,Editing" }
... View more
07-02-2010
09:17 AM
|
0
|
0
|
359
|
POST
|
The services aren't public yet, but here is the json output I got: { "serviceDescription" : null, "layers" : [ { "id" : 0, "name" : "Fields" } ], "tables" : [ ] }
... View more
07-02-2010
09:15 AM
|
0
|
0
|
359
|
POST
|
Thanks for the response! I'm using version 2.0 of the Silverlight API (with Silverlight 4). I'm doing testing with both the out-of-the-box EditorWidget control as well as a custom set of buttons with binding to Editor commands (Add, Reshape, Cut, etc.). My feature service just uses a single symbol (simple fill symbol with just an outline). However, I define a simple fill symbol in my silverlight app that I use for the Feature Layer. If I draw a new polygon it won't appear, regardless of whether or not I edit the attributes. But the new feature is in fact added to the feature class and it appears if I restart the silverlight app. I added a new template in the source feature class and just copied the default template, and it appears in an editor widget and template picker but it is also blank.
... View more
07-02-2010
08:24 AM
|
0
|
0
|
359
|
POST
|
I've developed a Silverlight web application for testing custom editing functionality and I am able to edit my feature service (which uses a feature class in PostgreSQL). However, for the life of me I can't get the default feature template to work on the feature layer. My feature layer is symbolized using a green outline symbol. When I begin drawing a new polygon it appears as a black outline but when the new polygon is completed it disappears--it doesn't have any symbology and it doesn't take the symbology of the feature layer unless I completely refresh the web app. Also, if I try adding a TemplatePicker control, the feature layer's template is blank. Any ideas on what i could be doing wrong? Thanks.
... View more
07-01-2010
01:16 PM
|
0
|
13
|
766
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|