|
POST
|
Hi, I have been working on cityengine for quite a while and now I am facing a peculiar problem for one of my generated output of 3ws. The project in cityengine is opening perfectly without any issues and I am able to export successfully like my earlier projects to 3ws files,but for the current project the generated output 3ws in not able to load on webviewer. The viewer hangs on the initializing part.. and stays there.. I have put here the text from the webviewer, everything seems normal until the project doesn't load. Mathias , please suggest for any pointers to fix the problem, why this project has issues. --------------------------------------------------------------------------------- 16ms: GL detect: WebGL 1.0 (OpenGL ES 2.0 Chromium) More 16ms: Loading scene file : /models/new model.3ws 60ms: Server does not return gzip encoding header 60ms: Fallback to custom unzip on arraybuffer and custom streamParser 4487ms: Downloading ADAC-GIS 3D Webscene: 100% (14.81 of 14.81 MB) 4529ms: Requested gzipped data, got gzipped data 4530ms: Using custom unzip and streamparser on arraybuffer 25188ms: Reading: 98% (57.25 of 58.51 MB) 25328ms: Data loaded in 26 seconds 25328ms: Initializing...
... View more
03-04-2013
10:36 PM
|
0
|
12
|
5098
|
|
POST
|
Hi, Thanks for the reply, I am now waiting for the API. But overall messing with the files of the viewer was not a very hard task. I was only able to change some colors and replace the icons and add some custom http links. Thanks,
... View more
02-23-2013
06:14 PM
|
0
|
0
|
906
|
|
POST
|
Hi, No Problem , since i have already installed CE with the administrator command prompt start switch. so no worries. Thanks a lot 🙂
... View more
02-23-2013
06:05 PM
|
0
|
0
|
2832
|
|
POST
|
Hi, Could you post a snap of the page in which you are getting the error message. are you not even able to see the city engine viewer initial loader ?
... View more
02-19-2013
10:01 PM
|
0
|
0
|
3128
|
|
POST
|
Hi, Is there anyway to edit this viewer. I might need to change color and the 3d webscene container design. ANy pointers will be great for me. Thanks.
... View more
02-19-2013
09:44 PM
|
0
|
0
|
906
|
|
POST
|
Hi, I had downloaded the patch from the esri website and when I run the exe it says the error of incorrect version of the windows 64/32 bit (screenshot above post). My workstation has windows 7 pro x64.
... View more
02-19-2013
09:24 PM
|
0
|
0
|
2832
|
|
POST
|
Hi, The software patch does not work for me, I tried it and the installation failed with an error. Finally the solution mentioned in one of the posts (http://forums.arcgis.com/threads/70476-Authorization-issues-with-CityEngine-2012.1)to start the ArcGIS Administrator from the command prompt with a switch �??ver , worked. The workstation in which I was trying this installation has windows 7 x64 professional with ArcGIS 10.0 DT and Server.
... View more
02-13-2013
06:54 PM
|
0
|
0
|
2832
|
|
POST
|
Hi, While developing an application I too faced the same hurdle and I guess my workaround might help you out. First of all , as per the below link - Because you are selecting columns as a whole, you cannot restrict the SELECT to return only some of the columns in the corresponding table because the SELECT * syntax is hard-coded. For this reason, keywords, such as DISTINCT, ORDER BY, and GROUP BY, cannot be used in a SQL query in ArcGIS except when using subqueries. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00s50000002t000000 What I did is to get the results in a string Array and then apply distinct to the array....also further then I applied sort to it. see the code pasted below it will give you an idea. but yes for getting the distinct through the API i am also unaware , this all i posted is a workaround. --------------------------------------------------------------------------------------------------- int f = 0; foreach (var g in e.FeatureSet.Features) { myStringArray = g.Attributes["Title"].ToString(); f++; } string[] unique = myStringArray.Distinct().ToArray(); Array.Sort(unique); foreach(string s in unique) { } ------------------- also have a look at this post.. http://forums.esri.com/Thread.asp?c=213&f=2455&t=281270
... View more
02-03-2013
07:11 PM
|
0
|
0
|
1750
|
|
POST
|
I have a GraphicsLayer where I set up my ProjectionService like this: ESRI.ArcGIS.Client.Tasks.GeometryService geomser = new ESRI.ArcGIS.Client.Tasks.GeometryService(myProjectionServiceURL);
myGraphicsLayer.ProjectionService = geomser; The GeometryService I point it to is a server sitting in our company. This works well when I am working with a small set of data (around 300 to 500 graphics (MapPoint's in my case). The problem is that our application demands for it to handle more than that sometimes. If I push that number to say, 1500, or larger numbers like 3000, I can see it flicker when it is re-projecting. Also, during re-projections, the data disappear from the map completely (I guess it errors and does not return anything). My question is, what can I do to improve this? I think there is a limit in the number of projections the server can handle, if so what would it be that number? Any suggestions, comments, code would be appreciated. Thanks! Hi, The Geometry Service for reprojection task is totally C.P.U dependent , for better performance you might consider to enhance the allocated cores for ArcGIS Server SOC.
... View more
12-04-2012
09:13 PM
|
0
|
0
|
412
|
|
POST
|
I have customized some code in a custom app of mine to switch between different 'groups' of layers dynamically using one dynamic map service. Through different buttons, it will show only the layers in the legend for that group, as well as hide any layers that are in the service, but which aren't part of that group. The visibility settings of each group are saved as well, so that when you go back and forth between groups, it turns on only the layers you had on for that group previously, and nothing else. This works perfectly when you have only one layer on at a time and dynamically switch the layers between groups. However, once you add in any additional layers, the image blending gets screwey, and sometimes you see parts of layers hanging on the screen that were already set to invisible, or ones that do not show at all once you set them to visible. Once you change the map extent, it displays fine. The problem all occurs when you enable/disable layers within the same exact extent. Is there anything I can do to try to fix this problem? Anyone ran into something similar before? Hi, Have you tried Refreshing your Dynamic Map ServiceLayer after every layer add or remove operation. ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer dynamicServiceLayer = new ArcGISDynamicMapServiceLayer(); private void ArcGISDynamicMapServiceLayer_Initialized(object sender, EventArgs e) { dynamicServiceLayer = sender as ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer; } dynamicServiceLayer.Refresh();
... View more
12-04-2012
08:07 PM
|
0
|
0
|
857
|
|
POST
|
Thanks Vipul! Can you tell me how/what I need to declare for AttributesList and AttibFill? These are undefined and I'm not sure what they are. THnaks Christine Hi, Attribfil is a bool variable. which is true if there is some values in the fields and not null or empty or whitespace.. and attributelist is a combobox which gets filled with the field values. I hope this helps..
... View more
09-25-2012
07:58 PM
|
0
|
0
|
615
|
|
POST
|
I'm working through a the attribute query example - http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#QueryWithoutMap Basically after I do a query I would like to instead of throwing the data in a Data Grid I would just like to loop the the results. I'm interested in one field (example in the SDK example take the field Region). When all the records are returned from the query I would like to take all the values in the Region column, grab all the values and remove the duplicates and assign it to a string. So I want to try and do something like this but it is not working on. I'm trying to get it into a list so I can but it in a long string so I can build a new query where based of the previous selection
List<DataItem> _MitListdataItems = null;
foreach (Graphic graphic in args.FeatureSet.Features)
{
//Set Distinct
//list for Mitigation List Table
_MitListdataItems.Add = (from g in args.FeatureSet.Features
orderby g.Attributes["SUB_REGION"].ToString()
select g.Attributes["SUB_REGION"]).Distinct();
}
I can do this but I don't know how to get me var list outside of my for loop I can't access it
foreach (Graphic graphic in args.FeatureSet.Features)
{
var list = (from g in args.FeatureSet.Features
orderby g.Attributes["SUB_REGION"].ToString()
select g.Attributes["SUB_REGION"]).Distinct();
}
Can someone shed some light on where I should go...I've been stuck for awhile. Thanks Christine. Hi, for your requirement to do "grab all the values and remove the duplicates and assign it to a string" private void QueryTask_ExecuteCompleted(object sender, ESRI.ArcGIS.Client.Tasks.QueryEventArgs args) { var enumGraphics = from g in args.FeatureSet orderby (g.Attributes[fieldname] as string) ascending select g; int argsLen = args.FeatureSet.Features.Count; string[] myStringArray = new string[argsLen]; int i =0; foreach (ESRI.ArcGIS.Client.Graphic gn in enumGraphics) { string attrib = string.Format("{0}", gn.Attributes[fieldname]); if (string.IsNullOrEmpty(attrib) | attrib == " ") { AttribFill = false; } else { myStringArray = gn.Attributes[fieldname].ToString(); AttribFill = true; } i++; } string[] unique = myStringArray.Distinct().ToArray(); // this is where you remove the duplicates... foreach(string s in unique) //this is the string you have with unique values of the particular column... { if(!string.IsNullOrEmpty(s)) { AttributesList.Items.Add(s); } } }
... View more
09-25-2012
03:50 AM
|
0
|
0
|
615
|
|
POST
|
Currently I use the example in the SDK to 'animate' my marker symbol when it is placed.I do not know how to programmatically change the visual state of the marker symbol. I tried using visualstatemanager.gotostate(this, "Selected", true) but ran into problems because I cannot seem to link to the marker symbol. Below is the xaml code for the marker symbol. How can I access it in the code behind it, to either change the state or duration of the state to begin and end when I want it to, instead of a user click/mouse over event? <esri:MarkerSymbol x:Name="startingpointsymbol" x:Key="StartMarkerSymbol" >
<esri:MarkerSymbol.ControlTemplate>
<ControlTemplate x:Name="AnimateStartmarker">
<Canvas>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="MouseOver">
</VisualState>
<!--If normal state is not specified, the animation will
keep going until a mouse out. Keep it empty to transition back to original symbol. -->
<VisualState x:Name="Normal" />
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Unselected">
<Storyboard RepeatBehavior="ForEver">
<DoubleAnimation BeginTime="0"
Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
From="1" To="10" Duration="00:00:01" />
<DoubleAnimation BeginTime="0"
Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"
From="1" To="10" Duration="00:00:01" />
<DoubleAnimation BeginTime="0"
Storyboard.TargetName="ellipse" Storyboard.TargetProperty="(UIElement.Opacity)"
From="1" To="0" Duration="00:00:01" />
</Storyboard>
</VisualState>
<VisualState x:Name="Selected" />
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="0:0:.5"/>
<VisualTransition From="Unselected" To="Selected" />
</VisualStateGroup.Transitions>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<!--Strobe ellipse-->
<!--Note that IsHitTestVisible="False" on the strobe symbol,
so only the static ellipse will trigger mouse over/mouse out-->
<Ellipse Height="10" Width="10" Canvas.Left="-5" Canvas.Top="-5"
RenderTransformOrigin="0.5,0.5" x:Name="ellipse"
IsHitTestVisible="False"
>
<Ellipse.RenderTransform>
<ScaleTransform />
</Ellipse.RenderTransform>
<Ellipse.Fill>
<RadialGradientBrush>
<GradientStop Color="#00800080" />
<GradientStop Color="#FF800080" Offset="0.25"/>
<GradientStop Color="#00800080" Offset="0.5"/>
<GradientStop Color="#FF800080" Offset="0.75"/>
<GradientStop Color="#00800080" Offset="1"/>
</RadialGradientBrush>
</Ellipse.Fill>
</Ellipse>
<!--Static symbol on top-->
<Ellipse Height="10" Width="10" Canvas.Left="-5" Canvas.Top="-5"
Fill="#FFFF0000" x:Name="ellipse1"/>
</Canvas>
</ControlTemplate>
</esri:MarkerSymbol.ControlTemplate>
</esri:MarkerSymbol> I just want to change the state of Selected to UnSelected and vica versa. The way I do it now is with a mouse button event shown below. private void GraphicsLayer_MouseLeftButtonDown(object sender, ESRI.ArcGIS.Client.GraphicMouseButtonEventArgs e)
{
if (e.Graphic.Selected)
e.Graphic.UnSelect();
else
e.Graphic.Select();
} Hi, To change the state it is possible to do this by - VisualStateManager.GoToState(this,"visual state name",true); code under some event -- VisualStateManager.GoToState(this,"MouseOver",true);
... View more
08-11-2012
09:58 PM
|
0
|
0
|
362
|
|
POST
|
Hello, We have ArcGIS Server 10 SP 5 and won't be migrating to 10.1 soon. I just wanted to know whether we can use API version 3.0 on Silverlight 4 for ArcGIS server 10 SP5 or not .I am sure Silverlight 4 is supported for version 3 but not about Server version 10 SP 5. I am primarily interested in advanced query capabilities. So, please let me know if Server version 10 SP 5 is supported for API version 3.0 or not. Thanks. Hi, You can indeed use ESRI Silverlight API 3.0 with ArcGIS Server 10 SP5 , it is supported. But not the functionalities of the 3.0 API which are dependent or available only from the ArcGIS Server 10.1 REST. You need to go through the documentation at http://resources.arcgis.com/en/help/silverlight-api/concepts/#/What_s_new_in_3_0/0166000000m9000000/ Support for new ArcGIS 10.1 for Server services and capabilities ---- Change layer rendering, layer order, or add layers on the fly in map services Generate data classifications on the server for layers in map services Use enhanced query options to order results and generate statistics Track user identity for edits to a layer in a feature service Generate printable output using the new PrintTask Support for geometry with Z and M values Support for new image service functionality
... View more
08-11-2012
09:45 PM
|
0
|
0
|
269
|
|
POST
|
vipulsoni, I confirm that your doubts about api javascript are right because I have rotated (for test) a dataframe in mxd and api javascript have problems (for example in query). Hi, Still is there any solution to this problem for Map Rotation in Javascript API 3.0 with ArcGIS Server 10.1 (http://forums.arcgis.com/threads/56214-JS-API-Map-Rotation-in-10.1?highlight=map+rotation)
... View more
06-25-2012
12:36 AM
|
0
|
0
|
1992
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-31-2024 01:05 AM | |
| 1 | 08-13-2025 02:51 AM | |
| 1 | 07-29-2024 12:11 AM | |
| 1 | 04-07-2019 11:33 AM | |
| 1 | 04-15-2021 01:19 AM |
| Online Status |
Offline
|
| Date Last Visited |
08-25-2025
01:46 AM
|