POST
|
Thank you. As I see the example is working in the same manner. If you can modify your example to show markers on polygon figure then I can do the same.
... View more
04-18-2017
12:32 AM
|
0
|
1
|
813
|
POST
|
I'm using dijit Measurement tool: var fillSymbol = new SimpleFillSymbol(SimpleFillSymbol.STYLE_SOLID, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 167, 25, 0.9]), 4), new esri.Color([255, 167, 25, 0.25])); var lineSymbol = new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 167, 25, 0.9]), 4); var pointSymbol = new SimpleMarkerSymbol(SimpleMarkerSymbol.STYLE_SQUARE, 10, new SimpleLineSymbol(SimpleLineSymbol.STYLE_SOLID, new esri.Color([255, 255, 255, 0.9]), 2), new esri.Color([255, 167, 25, 0.9])) this._measure_tool = new esri.dijit.Measurement({ map: this.map, defaultAreaUnit: esri.Units.SQUARE_METERS, defaultLengthUnit: esri.Units.METERS, fillSymbol: fillSymbol, lineSymbol: lineSymbol, pointSymbol: pointSymbol } , constr.create("div")); this._measure_tool.startup(); When I draw a line to measure distance pointSymbol markers are appears at line points but its visible under the lines. How can I make markers be above the lines? When I draw a polygon to measure area markers is not visible. How can I make markers visible on polygon figure? I'm using version 3.20.
... View more
04-17-2017
08:21 AM
|
0
|
3
|
1333
|
POST
|
I'm saying about the same WSDL url. It isn't opened on my server.
... View more
04-16-2014
10:37 PM
|
0
|
0
|
328
|
POST
|
Hi, why URL "myserver/arcgis/services?wsdl" cause error in browser: "The request sent by the client was syntactically incorrect ()." The browser is redirected to the same url after clicking "soap" link on the "myserver/arcgis/rest/services" page. The same link on the ESRI's server is working ok: http://services.arcgisonline.com/arcgis/services?wsdl What should I install or configure to repaire this issue? Thanks. P.S. I have Arcgis Server 10.1 for Windows.
... View more
04-16-2014
04:21 AM
|
0
|
2
|
2294
|
POST
|
Arcgis server 10.11 WFS service is crashed when propertyName parameter is supplied and multiple typeNames are supplied. Here is the example http://localhost:6080/arcgis/services/example/MapServer/WFSServer?request=GetFeature&service=WFS&version=1.0.0&propertyName=chair,lame,blind&typeName=theatre,museum Log: <Msg time="2013-10-07T15:19:23,574" type="SEVERE" code="8252" source="Server" process="5896" thread="1" methodName="" machine="SERVER001" user="" elapsed="">Instance of the service 'example.MapServer' crashed.</Msg> Dump file is created in 'errorreports' folder.
... View more
10-07-2013
10:44 PM
|
0
|
0
|
1923
|
POST
|
what are you submitting to the REST to get the resource service? I'm setting three cookies that are attached to each request: "agstoken", "ipp", "ur". May be last two cookies are optional. But this configuration works for me. I only copied situation after standard login from standard page: server/rest/login.
... View more
03-04-2013
04:38 AM
|
0
|
0
|
689
|
POST
|
Hi! We have this working ASP.NET code: string sTokenUrl = "http://" + url.Host + "/gishpgen8/tokens/generateToken?"; sTokenUrl = WebUtilities.setParameter(sTokenUrl, "username", "*"); sTokenUrl = WebUtilities.setParameter(sTokenUrl, "password", "*"); sTokenUrl = WebUtilities.setParameter(sTokenUrl, "clientrequestid", "ip." + sClientIP); sTokenUrl += "&f=json"; string sJson = WebUtilities.loadJson(sTokenUrl); Newtonsoft.Json.Linq.JObject jobj = Newtonsoft.Json.Linq.JObject.Parse(sJson); if (jobj["token"] == null || jobj["token"].ToString() == "") { lblError.Text = "*"; HttpCookie cookie = new HttpCookie("ur"); cookie.Value = sTokenUrl; cookie.Expires = DateTime.Now.AddMinutes(nMinutes); cookie.Path = "/"; Response.Cookies.Add(cookie); // Add it to the header } else { HttpCookie cookie = new HttpCookie("agstoken"); cookie.Value = jobj["token"].ToString().Substring(0, 43) + "."; cookie.Expires = DateTime.Now.AddMinutes(nMinutes); cookie.Path = "/"; Response.Cookies.Add(cookie); // Add it to the header FormsAuthentication.RedirectFromLoginPage(txtLogin.Text, false); lblError.Text = ""; cookie = new HttpCookie("ipp"); cookie.Value = sClientIP; cookie.Expires = DateTime.Now.AddMinutes(nMinutes); cookie.Path = "/"; Response.Cookies.Add(cookie); // Add it to the header cookie = new HttpCookie("ur"); cookie.Value = sTokenUrl; cookie.Expires = DateTime.Now.AddMinutes(nMinutes); cookie.Path = "/"; Response.Cookies.Add(cookie); // Add it to the header }
... View more
03-04-2013
02:14 AM
|
0
|
0
|
689
|
POST
|
Hi! I'm trying export image of tiled service like this: .../MapServer/export?f=image&format=png24&transparent=true&bbox=4304928.38,5658829.73,4308727.81,5660872.31&mapScale=25000&size=358,216 Server reports: Error: bytes Code: 500. Service log has error: code:103800, methodName: DrawCache.DrawImageLayer_Data, There is the error during the draw (1.) Unrecognized error. Can anybody help?
... View more
03-04-2013
02:04 AM
|
0
|
1
|
4508
|
POST
|
Hi! Try to use dojo.io.script.get. See the method description at dojo site.
... View more
11-16-2012
03:36 AM
|
0
|
0
|
613
|
POST
|
Hi everybody! There is the problem. I want to get map image the same as one in the browser. And my created image always is shifted along the longitude. I looked at the urls the browser load from ArcGIS Server and found the imageSR and bboxSR parameters are changed while user pan the map in browser. Exactly the Central Meridian is changed. The spatialReference property of the map remains the same. How I can retrieve current true map projection?
... View more
11-16-2012
03:29 AM
|
0
|
0
|
498
|
POST
|
Hi! I execute 'export' rest command. And seems 'layerDefs' parameter doesn't work. Any of correct where clause export all objects. (Wrong where clause exports no objects.) Query command works correctly with the same where clause. Does anyone have some ideas? The example is here: http://93.159.234.72/ArcGIS/rest/services/Atlas_agricultural/MapServer/export?bbox=-230693.200000,5546251.000000,-150487.800000,5660849.000000&size=972,533&format=png32&transparent=true&f=image&bboxSR={"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",40.0],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&imageSR={"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",40.0],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&layers=show:38&layerDefs=38:reg_ids = 'dfdfdfd'
... View more
08-27-2012
12:18 AM
|
0
|
0
|
543
|
POST
|
var overviewMap = new esri.dijit.OverviewMap({ map: map, baseLayer: selectById(config.services, "overview").esriService, maximizeButton: true, expandFactor: 4 }, dojo.byId("dOverview")); overviewMap.startup(); overviewMap.overviewMap.spatialReference = map.spatialReference; It works.
... View more
07-12-2012
01:59 AM
|
0
|
0
|
127
|
POST
|
Hi All! Who is know how to set spatial reference on the esri.dijit.OverviewMap?
... View more
07-11-2012
11:20 PM
|
0
|
1
|
545
|
POST
|
how can I config the indexLocation Create folder and set indexLocation to this path
... View more
03-13-2012
10:10 PM
|
0
|
0
|
316
|
POST
|
So, you did go back and set the lucene indexLocation to a good path in gpt.xml? Exactly! And no errors.
... View more
03-13-2012
10:07 PM
|
0
|
0
|
316
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|