POST
|
how to add wmts layer with arcgis api for ios,the sdk version is 10.2.5,and i found an old sample in the link 41542 - Consume open source (WMS and WMTS) services with the ArcGIS Runtime SDK for iOS it was written by objective-c,and i use swift to copy this sample,it do not work,when i build the project ,it shows an error below so ,what should i do? thanks to all
... View more
02-26-2016
04:14 AM
|
0
|
1
|
2555
|
POST
|
hello,i have 3000 img or tif files,i want to publish them to the mapserver,but i find it has a lot of problems there, for example,out of memory,service can't be started,etc.so is there any good way to solve this problem?thank you
... View more
05-05-2015
12:59 AM
|
0
|
1
|
3695
|
POST
|
below is my code,thanks IServerObjectConfiguration2 pSOC = null;
try
{
pSOC = pSOA.GetConfiguration(fileName.Replace(sFileBack, ""), "MapServer") as IServerObjectConfiguration2;
}
catch
{
}
if (pSOC != null)
{
//pSOA.DeleteConfiguration(fileName.Replace(sFileBack, ""), "MapServer");
continue;
}
pSOC = pSOA.CreateConfiguration() as IServerObjectConfiguration2;
pSOC.Name = fileName.Replace(sFileBack, "");
pSOC.TypeName = "MapServer";
IPropertySet pProperty = pSOC.Properties;
pProperty.SetProperty("FilePath", sNewMxdPath);
pProperty.SetProperty("OutputDir", @"F:\arcgisserver\arcgisoutput");
pSOC.IsolationLevel = esriServerIsolationLevel.esriServerIsolationHigh;
pSOC.IsPooled = true;
pSOC.MaxInstances = 2;
pSOC.MinInstances = 1;
IPropertySet pRecycleProperty = pSOC.RecycleProperties;
pRecycleProperty.SetProperty("StartTime", "00:00");
pRecycleProperty.SetProperty("Interval", "3600");
IPropertySet pInfoProperty = pSOC.Info;
pInfoProperty.SetProperty("WebEnabled", "true");
pInfoProperty.SetProperty("WebCapabilities", "Map,Query,Data");
//pInfoProperty.SetProperty("URL", string.Format("http://{0}/arcgis/services/{1}/{2}/MapServer", sServer, sServerFolder, fileName.Replace(sFileBack, "")));
pSOC.StartupType = esriStartupType.esriSTAutomatic;
pSOC.UsageTimeout = 120;
pSOC.WaitTimeout = 120;
//WMS
IPropertySet pWmsProperty = new PropertySetClass();
pWmsProperty.SetProperty("Name", "WMS");
pWmsProperty.SetProperty("Title", (sServerFolder == "" ? "" : sServerFolder + "_") + fileName.Replace(sFileBack, ""));
pWmsProperty.SetProperty("OnlineResource", string.Format("http://{0}/arcgis/services{1}/{2}/MapServer/WMSServer", sServer, (sServerFolder == "" ? "" : @"/" + sServerFolder), fileName.Replace(sFileBack, "")));
pSOC.set_ExtensionEnabled("WMSServer", true);
pSOC.set_ExtensionProperties("WMSServer", pWmsProperty);
//IPropertySet pWmsInfo = new PropertySetClass();
//pWmsInfo.SetProperty("URL", string.Format("http://{0}/arcgis/services/{1}/{2}/MapServer/WMSServer", sServer, sServerFolder, fileName.Replace(sFileBack, "")));
//pSOC.set_ExtensionInfo("WMSServer", pWmsInfo);
pSOA.AddConfiguration(pSOC);
pSOA.StartConfiguration(fileName.Replace(sFileBack, ""), "MapServer");
... View more
05-04-2015
12:58 AM
|
0
|
0
|
2784
|
POST
|
Hi Muhammad Attique, Thanks a lot,so it means i have to make the version sde.DEFAULT to public?but if i do so ,it is not safe,because every can edit the data,i realy did it in arcgis 10.0,i have three versions like below: sde.DEFAULT | | - - QA.QA | | - - USER1.USER1 and i also create two users QA and USER1 in SQL Server ManagerStudio, i give them the role:db_owner(if i don't give the role,they can't see any data created by sde user) the sde user create the dataset and featureclass,(sde.SDE.xxxx) the magic is ,it works,user QA and USER1 can see the data(sde.DEFAULT),but can't edit,but they can edit their version's data,the user can import the data into their version(also through arcobjects) but it doesn't works in arcgis 10.2.2,i do the same,it just don't works is the 10.2.2 different from 10.0?
... View more
12-17-2014
03:10 AM
|
0
|
0
|
310
|
POST
|
i want create a user called user1,and the version user1.user1,it's parent is sde.DEFAULT,the user user1 only can edit the data of version user1.user1,it can't edit the version sde.DEFAULT's data,but it can view the data,how should i create the user? i use the tool to create the user,but it can't see any data created by the sde user(sde.SDE.xxx) what should i do?thanks
... View more
12-16-2014
11:22 PM
|
0
|
2
|
1881
|
POST
|
Hi every,i want to create a form with mapcontrol in arcmap ,but the arcgis' axMapControl is only used in arcengine,so is there any other ways to do that? the arcmap itself has a tool to show the features in another window,this is what i want
... View more
10-13-2014
03:18 AM
|
0
|
0
|
1567
|
POST
|
you can work with openmap it has a class SHapefile and try to transform your shapefile to an graphicslayer it will work i've already done it hello,where can i download openmap and how to use in android?Thanks
... View more
09-18-2012
06:43 PM
|
0
|
0
|
948
|
POST
|
Hello! I have install arcobjects10 for .net and arcdesktop 10,i want to make a tool that only show the area i want,so i use imap.ClipGeometry to do that,but i find it does not work ,nothing happens,is anybody has the same situation? PS:it works at 9.3 Thanks
... View more
03-14-2011
12:14 AM
|
0
|
6
|
1006
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|