|
POST
|
Seems not supported. I have tried in clockwise direction and counterclockwise but in web scene holes aren't visible. For now I use a workaround: create a ring following the hole: http://sit2.sistemigis.it/webviewer/viewer.html?3dWebScene=../webscenes/tubesewer1.3ws
... View more
08-09-2013
05:37 AM
|
0
|
0
|
697
|
|
POST
|
in this document http://downloads.esri.com/support/whitepapers/ao_/J9749_MultiPatch_Geometry_Type.pdf (from page 142) you can see details on texture for multipatch
... View more
08-08-2013
01:36 AM
|
1
|
2
|
1576
|
|
POST
|
I have created a soe in arcgis server that dynamically create multipatch and export in web scene with guid name. In arcscene I see inner rings but in web scene I don't see it. What's the problem? this is the scene: http://sit2.sistemigis.it/webviewer/viewer.html?3dWebScene=../webscenes/tubesewer.3ws In arcscene I see the inner rings: [ATTACH=CONFIG]26551[/ATTACH]
... View more
08-07-2013
11:03 AM
|
0
|
1
|
1241
|
|
POST
|
I have made paste of a my function where I create NA in 10.1. There are part of code that you don't need so you remove and try it or compare with your code
private static void CreateNetworkDataset(IFeatureDataset featureDataset, string pathAGSOutput, string pathLogEvaluator)
{
IDENetworkDataset2 deNetworkDataset = new DENetworkDatasetClass();
deNetworkDataset.Buildable = true;
deNetworkDataset.NetworkType = esriNetworkDatasetType.esriNDTGeodatabase;
IGeoDataset geoDataset = (IGeoDataset)featureDataset;
IDEGeoDataset deGeoDataset = (IDEGeoDataset)deNetworkDataset;
deGeoDataset.Extent = geoDataset.Extent;
deGeoDataset.SpatialReference = geoDataset.SpatialReference;
IDataElement dataElement = (IDataElement)deNetworkDataset;
dataElement.Name = "NetworkBusStop_ND";
deNetworkDataset.ElevationModel = esriNetworkElevationModel.esriNEMNone;
IArray sourceArray = new ArrayClass();
IEdgeFeatureSource edgeFeatureSourceStopToStop = new EdgeFeatureSourceClass();
INetworkSource networkSourceStopToStop = (INetworkSource)edgeFeatureSourceStopToStop;
networkSourceStopToStop.Name = "StopToStop";
networkSourceStopToStop.ElementType = esriNetworkElementType.esriNETEdge;
edgeFeatureSourceStopToStop.UsesSubtypes = false;
edgeFeatureSourceStopToStop.ClassConnectivityPolicy = esriNetworkEdgeConnectivityPolicy.esriNECPEndVertex;
edgeFeatureSourceStopToStop.ClassConnectivityGroup = 3;
sourceArray.Add(networkSourceStopToStop);
IEdgeFeatureSource edgeFeatureSourceConnectorsStopsStreets = new EdgeFeatureSourceClass();
INetworkSource networkSourceConnectorsStopsStreets = (INetworkSource)edgeFeatureSourceConnectorsStopsStreets;
networkSourceConnectorsStopsStreets.Name = "ConnectorsStopsStreets";
networkSourceConnectorsStopsStreets.ElementType = esriNetworkElementType.esriNETEdge;
edgeFeatureSourceConnectorsStopsStreets.UsesSubtypes = false;
edgeFeatureSourceConnectorsStopsStreets.ClassConnectivityPolicy = esriNetworkEdgeConnectivityPolicy.esriNECPEndVertex;
edgeFeatureSourceConnectorsStopsStreets.ClassConnectivityGroup = 2;
sourceArray.Add(networkSourceConnectorsStopsStreets);
IEdgeFeatureSource edgeFeatureSourceStreets = new EdgeFeatureSourceClass();
INetworkSource networkSourceStreets = (INetworkSource)edgeFeatureSourceStreets;
networkSourceStreets.Name = "Streets";
networkSourceStreets.ElementType = esriNetworkElementType.esriNETEdge;
edgeFeatureSourceStreets.UsesSubtypes = false;
edgeFeatureSourceStreets.ClassConnectivityPolicy = esriNetworkEdgeConnectivityPolicy.esriNECPEndVertex;
edgeFeatureSourceStreets.ClassConnectivityGroup = 1;
sourceArray.Add(networkSourceStreets);
IJunctionFeatureSource junctionFeatureSourceStopBus = new JunctionFeatureSourceClass();
INetworkSource networkSourceStopBus = (INetworkSource)junctionFeatureSourceStopBus;
networkSourceStopBus.Name = "StopBus";
networkSourceStopBus.ElementType = esriNetworkElementType.esriNETJunction;
junctionFeatureSourceStopBus.UsesSubtypes = false;
junctionFeatureSourceStopBus.RemoveAllClassConnectivityGroups();
junctionFeatureSourceStopBus.AddClassConnectivityGroup(2);
junctionFeatureSourceStopBus.AddClassConnectivityGroup(3);
junctionFeatureSourceStopBus.ClassConnectivityPolicy = esriNetworkJunctionConnectivityPolicy.esriNJCPHonor;
sourceArray.Add(networkSourceStopBus);
IJunctionFeatureSource junctionFeatureSourceStopsSnappedStreets = new JunctionFeatureSourceClass();
INetworkSource networkSourceStopsSnappedStreets = (INetworkSource)junctionFeatureSourceStopsSnappedStreets;
networkSourceStopsSnappedStreets.Name = "StopsSnappedStreets";
networkSourceStopsSnappedStreets.ElementType = esriNetworkElementType.esriNETJunction;
junctionFeatureSourceStopsSnappedStreets.UsesSubtypes = false;
junctionFeatureSourceStopsSnappedStreets.RemoveAllClassConnectivityGroups();
junctionFeatureSourceStopsSnappedStreets.AddClassConnectivityGroup(1);
junctionFeatureSourceStopsSnappedStreets.AddClassConnectivityGroup(2);
junctionFeatureSourceStopsSnappedStreets.ClassConnectivityPolicy = esriNetworkJunctionConnectivityPolicy.esriNJCPOverride;
sourceArray.Add(networkSourceStopsSnappedStreets);
deNetworkDataset.SupportsTurns = false;
deNetworkDataset.Sources = sourceArray;
//cost attribute
IEvaluatedNetworkAttribute evaluatedNetworkAttributeSeconds = new EvaluatedNetworkAttributeClass();
INetworkAttribute2 networkAttributeSeconds = (INetworkAttribute2)evaluatedNetworkAttributeSeconds;
networkAttributeSeconds.Name = "Seconds";
networkAttributeSeconds.UsageType = esriNetworkAttributeUsageType.esriNAUTCost;
networkAttributeSeconds.DataType = esriNetworkAttributeDataType.esriNADTDouble;
networkAttributeSeconds.Units = esriNetworkAttributeUnits.esriNAUSeconds;
networkAttributeSeconds.UseByDefault = true;
DepartureTimeEvaluator.DepartureTimeEvaluator departureTimeEvaluator = new DepartureTimeEvaluator.DepartureTimeEvaluator();
IPropertySet propertySet = new PropertySet();
propertySet.SetProperty(DepartureTimeEvaluator.DepartureTimeEvaluator.PathArcGisServerOutput, pathAGSOutput);
propertySet.SetProperty(DepartureTimeEvaluator.DepartureTimeEvaluator.PathLog, pathLogEvaluator);
departureTimeEvaluator.Data = propertySet;
INetworkConstantEvaluator netConstantAgainstDigitizedEvaluator = new NetworkConstantEvaluatorClass();
netConstantAgainstDigitizedEvaluator.ConstantValue = -1;
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceStopToStop, esriNetworkEdgeDirection.esriNEDAlongDigitized, departureTimeEvaluator);
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceStopToStop, esriNetworkEdgeDirection.esriNEDAgainstDigitized, (INetworkEvaluator)netConstantAgainstDigitizedEvaluator);
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceConnectorsStopsStreets, esriNetworkEdgeDirection.esriNEDAlongDigitized, departureTimeEvaluator);
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceConnectorsStopsStreets, esriNetworkEdgeDirection.esriNEDAgainstDigitized, departureTimeEvaluator);
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceStreets, esriNetworkEdgeDirection.esriNEDAlongDigitized, departureTimeEvaluator);
evaluatedNetworkAttributeSeconds.set_Evaluator(networkSourceStreets, esriNetworkEdgeDirection.esriNEDAgainstDigitized, departureTimeEvaluator);
INetworkConstantEvaluator netConstantEvaluator = new NetworkConstantEvaluatorClass();
netConstantEvaluator.ConstantValue = 0;
INetworkEvaluator netConstantEvaluatorZero = netConstantEvaluator as INetworkEvaluator;
evaluatedNetworkAttributeSeconds.set_DefaultEvaluator(esriNetworkElementType.esriNETEdge, netConstantEvaluatorZero);
evaluatedNetworkAttributeSeconds.set_DefaultEvaluator(esriNetworkElementType.esriNETJunction, netConstantEvaluatorZero);
INetworkAttributeParameter2 networkAttributeParameterUseDates = new NetworkAttributeParameterClass();
networkAttributeParameterUseDates.Name = "Use Dates";
networkAttributeParameterUseDates.ParameterUsageType = esriNetworkAttributeParameterUsageType.esriNAPUTGeneral;
networkAttributeParameterUseDates.DefaultValue = false;
networkAttributeParameterUseDates.VarType = 11; // bool
INetworkAttributeParameter2 networkAttributeParameterPedestrianSpeed = new NetworkAttributeParameterClass();
networkAttributeParameterPedestrianSpeed.Name = "Pedestrian speed";
networkAttributeParameterPedestrianSpeed.ParameterUsageType = esriNetworkAttributeParameterUsageType.esriNAPUTGeneral;
networkAttributeParameterPedestrianSpeed.DefaultValue = 4.86; // Km/h
networkAttributeParameterPedestrianSpeed.VarType = 5; //double
IArray parameterArray = new ArrayClass();
parameterArray.Add(networkAttributeParameterUseDates);
parameterArray.Add(networkAttributeParameterPedestrianSpeed);
networkAttributeSeconds.Parameters = parameterArray;
IArray attributeArray = new ArrayClass();
attributeArray.Add(evaluatedNetworkAttributeSeconds);
deNetworkDataset.Attributes = attributeArray;
IFeatureDatasetExtensionContainer featureDatasetExtensionContainer = (IFeatureDatasetExtensionContainer)featureDataset;
IFeatureDatasetExtension featureDatasetExtension = featureDatasetExtensionContainer.FindExtension(esriDatasetType.esriDTNetworkDataset);
IDatasetContainer3 datasetContainer2 = (IDatasetContainer3)featureDatasetExtension;
IDEDataset deDataset = (IDEDataset)deNetworkDataset;
INetworkDataset2 networkDataset = (INetworkDataset2)datasetContainer2.CreateDataset(deDataset);
System.Console.WriteLine("Build network dataset");
INetworkBuild networkBuild = (INetworkBuild)networkDataset;
networkBuild.BuildNetwork(geoDataset.Extent);
}
... View more
08-06-2013
07:31 AM
|
0
|
0
|
1170
|
|
POST
|
Can you posted more code because I create in 10.1 NA and I haven't problems so I need see your code before of CreateDataset
... View more
08-02-2013
05:33 AM
|
0
|
0
|
1170
|
|
POST
|
see http://resources.arcgis.com/en/help/server-admin-api/index.html?serviceTypes.html //optional - supported image return types �?? default: MIME+URL "supportedImageReturnTypes" : "" Peraphs Esri changed some default from 10.1 and 10.1sp1
... View more
08-01-2013
08:30 AM
|
0
|
0
|
890
|
|
POST
|
The problem is that if you connect to the Enterprise SDE Databases you are transforming your ArcGIS for Server Workgroup in ArcGIS for Server Enterprise (capacity level) so you should have 2 ArcGIS for Server Enterprise Standard. However I advise you ask your partner Esri for details on licensing. see http://www.esri.com/library/brochures/pdfs/arcgis-server-functionality-matrix.pdf
... View more
08-01-2013
07:54 AM
|
0
|
0
|
752
|
|
POST
|
see for details http://resources.arcgis.com/en/help/main/10.1/00sq/00sq000000m4000000.htm
... View more
07-31-2013
06:59 AM
|
0
|
0
|
1460
|
|
POST
|
Extra info x transit data: http://www.arcgis.com/home/item.html?id=0fa52a75d9ba4abcad6b88bb6285fae1
... View more
07-16-2013
09:32 AM
|
0
|
0
|
2789
|
|
POST
|
for transformation you must use the well-known ID or a json object specifying the datum transformation. You have specified a name of transformation and not wkid or object json
... View more
07-16-2013
07:40 AM
|
0
|
0
|
1283
|
|
POST
|
Extra info ArcGIS 11 support 64bit: http://events.esri.com/uc/QandA/index.cfm?fuseaction=answer&conferenceId=CCAEEE69-1422-2418-7F1D0EB8490B776D&questionId=4806
... View more
07-12-2013
01:19 AM
|
0
|
0
|
894
|
|
POST
|
If you want to dynamically add data to your map service, such as feature layers, shapefiles, rasters, or feature attribute tables, you'll need to set up a workspace to contain the data you want to add. Dynamic workspaces can be any enterprise geodatabase, file geodatabase, or file directory on disk that is accessible to the server. If your dynamic workspace is an enterprise geodatabase, you have the option of limiting user access to the geodatabase by locking the database version. When you select a workspace, an ID is generated to uniquely identify the workspace within the pool of workspaces available to the map service. The map service uses this ID to connect to the data source specified in dynamic layer requests. You have the option to modify the ID when you configure the dynamic workspace for your map service. see here how Enabling dynamic layers and set a workspaceid http://resources.arcgis.com/en/help/main/10.1/00sq/00sq000000m7000000.htm In service editor of your service you set enabling Allow per request modification of layer order and symbology (tab mapping) and clicking on Manage and add your workspaceid (your alias) associate your sde. via rest is exposed your workspaceid and no details of connection. see this sample that use this functionality for update shapefile (to make you understand the logic): http://www.arcgis.com/home/item.html?id=97e918061ad140dcbab68a38782b408b
... View more
07-10-2013
10:17 AM
|
0
|
0
|
2051
|
|
POST
|
what's the name of your instance of ags? Is <> of 'arcgis'? I ask this because: NIM088894 Tokens fail to generate when accessed through a Web Adaptor that has a name other than the default 'arcgis' (it's fixed in 10.2)
... View more
07-02-2013
11:39 AM
|
0
|
0
|
894
|
|
POST
|
if you are in Windows Platform you can take advantage of integration of o.s. ( for example windows authentication) easy of update (patch, service pack) and configuration (for example implements a cluster SQL server on cluster Microsoft) integration with tecnology/environment of develop using language of microsft .net framework and tecnology ASP.NET for creating web application or code server side and a great sql server management and also you don't lose your experience in sql server.
... View more
07-02-2013
11:32 AM
|
0
|
0
|
1566
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-20-2024 11:20 AM | |
| 1 | 05-25-2017 10:11 AM | |
| 1 | 06-20-2023 12:09 AM | |
| 1 | 10-14-2022 05:14 AM | |
| 1 | 06-14-2023 02:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|