|
POST
|
Have you checked if web application proxy run Ok? You can open web application proxy in VS and debug using parameter url seen in fliddler so you can see error.
... View more
09-22-2011
08:48 AM
|
0
|
0
|
988
|
|
POST
|
here you can see sds video: http://video.arcgis.com/watch/483/sharing-data-as-a-feature-service-using-the-spatial-data-server-with-arcgis-10.1
... View more
09-06-2011
06:44 AM
|
0
|
0
|
1043
|
|
POST
|
you try see http://google-maps-utility-library-v3.googlecode.com/svn-history/r172/trunk/arcgislink/docs/reference.html
... View more
08-03-2011
07:30 AM
|
0
|
0
|
392
|
|
POST
|
In general if you want prevent sql injection you must check type of input: so in your case for example you use two input (condition < or = or >) and number. In specific QueryTask is developed from esri so should prevent SQL injection attacks. you can test it creating a service (use sql server and layer and add a table test) and from rest in directory service perform from query in where code like: objectid>0;drop table dbo.test; I think return 'Unable to perform query' extra info SQL Injection: http://www.unixwiz.net/techtips/sql-injection.html
... View more
07-28-2011
03:22 AM
|
0
|
0
|
797
|
|
POST
|
Swingley, peraphs, the sense of question is if there is difference (example: accuracy/precision, density points ect) between to project a geometry with geographicToWebMercator() or with geometryService (from 4326 to 102100).
... View more
07-27-2011
11:24 AM
|
0
|
0
|
926
|
|
POST
|
the geoprocessing run: http://sampleserver2.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/GPServer/ProfileService/execute?Input_Polylines=%7B+%0D%0A%22features%22++%3A+%5B%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%0D%0A+++++%22paths%22+%3A+%5B+%0D%0A+++++%5B+%5B-97.06138%2C32.837%5D%2C+%5B-97.06133%2C32.836%5D%2C+%5B-97.06124%2C32.834%5D%2C+%5B-97.06127%2C32.832%5D+%5D%2C+%0D%0A+++++%5B+%5B-97.06326%2C32.759%5D%2C+%5B-97.06298%2C32.755%5D+%5D%0D%0A++++%5D%2C%0D%0A++++%22spatialReference%22+%3A+%7B%22wkid%22+%3A+4326%7D%0D%0A++++%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22Barrier+1%22%7D%0D%0A%7D%2C%0D%0A%7B%0D%0A++%22geometry%22+%3A+%7B%0D%0A+++++%22paths%22+%3A+%5B+%0D%0A+++++%5B+%5B-97.06138%2C32.837%5D%2C+%5B-97.06133%2C32.836%5D%2C+%5B-97.06124%2C32.834%5D%2C+%5B-97.06127%2C32.832%5D+%5D%2C+%0D%0A+++++%5B+%5B-97.06326%2C32.759%5D%2C+%5B-97.06298%2C32.755%5D+%5D%0D%0A++++%5D%2C%0D%0A++++%22spatialReference%22+%3A+%7B%22wkid%22+%3A+4326%7D%0D%0A+++%7D%2C%0D%0A++%22attributes%22+%3A+%7B%22Name%22+%3A+%22Barrier+2%22%7D%0D%0A%7D%0D%0A%5D%0D%0A%7D&Image_Width=500&Image_Height=250&Display_Segments=false&env%3AoutSR=&env%3AprocessSR=&f=html you try another route that not need proxy (the shortest that to los angeles) : from Redlands, CA to Mentone, CA in code fix: directions.load("from: " + fromAddr + " to: " + toAddr); in function getDirections(). Perahps in sample path proxy isn't exist. Add a proxy page on your server with permission samples2.arcgisonline.com see with fiddler request and response for fix the problems
... View more
07-25-2011
01:04 PM
|
0
|
0
|
480
|
|
POST
|
remove the web.config. I have attached for error.... You need only proxy.ashx and proxy.config. Have you service token on https? tokenService = string.Format("https://... In property host of proxy.config you set "localhost" and not "https://localhost/imds/" : if you see in gettoken string tokenService = string.Format("https://{0}/arcgis/tokens? ... -> {0} is hostname (Server where there is token service). Have you in mapping of the application proxy ashx enabled? (you can see http://msdn.microsoft.com/en-us/library/bya7fh0a.aspx) Extra info: -If your instance is <> 'arcgis' change here in method gettoken the name. string tokenService = string.Format("https://{0}/<nameofinstanceags>/tokens? -if you have certificate from third parties (verisign, geotrust, geosign, godaddy ect.) you also can remove this block of code because is yet in trust list:
// This script is added to force the application to certify the SSL script (if for example you have a self certificate on server)
System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors)
{
return true;
};
or set your check for accept certificate in this delegate. In this case with return true accept the certificate.
... View more
06-30-2011
10:18 AM
|
0
|
0
|
2777
|
|
POST
|
you can use a proxy page. Here you can set your period of time ect. I have attached an example of proxy modified for call dynamic token in proxy page In method gettokens you can change your rules
public string GetToken(string uri)
{
foreach (ServerUrl su in serverUrls)
{
if (su.MatchAll && uri.StartsWith(su.Url, StringComparison.InvariantCultureIgnoreCase) && su.DynamicToken)
{
// Code to dynamically get the token
string tokenService = string.Format("https://{0}/arcgis/tokens?request=getToken&username={1}&password={2}&expiration=30", su.Host, su.UserName, su.Password);
string token;
// This script is added to force the application to certify the SSL script (if for example you have a self certificate on server)
System.Net.ServicePointManager.ServerCertificateValidationCallback += delegate(object sender, System.Security.Cryptography.X509Certificates.X509Certificate certificate, System.Security.Cryptography.X509Certificates.X509Chain chain, System.Net.Security.SslPolicyErrors sslPolicyErrors)
{
return true;
};
System.Net.WebRequest tokenRequest = System.Net.WebRequest.Create(tokenService);
System.Net.WebResponse tokenResponse = tokenRequest.GetResponse();
System.IO.Stream responseStream = tokenResponse.GetResponseStream();
System.IO.StreamReader readStream = new System.IO.StreamReader(responseStream);
token = readStream.ReadToEnd();
return token;
}
else if (su.MatchAll && uri.StartsWith(su.Url, StringComparison.InvariantCultureIgnoreCase))
{
return su.Token;
}
else
{
if (String.Compare(uri, su.Url, StringComparison.InvariantCultureIgnoreCase) == 0)
return su.Token;
}
}
if (mustMatch)
throw new InvalidOperationException();
return string.Empty;
}
... View more
06-29-2011
12:30 PM
|
0
|
0
|
2777
|
|
POST
|
client use rest services (add rest between your name instance arcgis and services) http://lt7c7/ArcGIS/rest/services/COVERAGE/Mapserver
... View more
06-27-2011
09:19 AM
|
0
|
0
|
791
|
|
POST
|
I have added a widget for viewer js esri. You can get code and arrange your page: http://www.arcgis.com/home/item.html?id=2ba0b738ae2c444f88c69ccd0d37c3f4
... View more
06-20-2011
12:10 PM
|
0
|
0
|
3131
|
|
POST
|
another ide for dojo is http://www.jetbrains.com/webstorm/
... View more
06-17-2011
12:04 AM
|
0
|
0
|
707
|
|
POST
|
Extra info: if you need custom spatial relationship you can use scl in api esri: http://nicogis.blogspot.com/2011/02/scl-da-client.html In your case: The size of the intersection of G1 and G2 is not nothing. The size of the intersection and G1.interior G2.interior is nothing TOUCH G1 G2 is then equivalent to saying that dim (g1.interior, g2.interior) = null and dim (g1, g2)! = Null All the following examples are equivalent (because the SCL syntax to inherit and CBM): G1 TOUCH G2 G1 TOUCHES G2 G1 =* G2 TOUCH (G1,G2) = TRUE TOUCHES (G1,G2) = TRUE for use scl in http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/relationparameters.htm use SPATIAL_REL_RELATION
... View more
06-16-2011
12:36 AM
|
0
|
0
|
803
|
|
POST
|
with html5 now you can read file from drag and drop here these is an example: http://badassjs.com/post/845509816/rendering-binary-shapefiles-with-javascript
... View more
06-14-2011
01:21 AM
|
0
|
0
|
348
|
|
POST
|
arcgis 10.1: http://video.esri.com/watch/229/arcgis-server-technology-at-10.1 (see minute 10.16) http://proceedings.esri.com/library/userconf/devsummit11/papers/tech/a_road_map_for_arcgis_server_developers.pdf Map2pdf: http://arcscripts.esri.com/details.asp?dbid=16432 Other: http://www.arcgis.com/home/item.html?id=6809086326ea4c76bf026a32bb9dd698 my simple soe rest : http://resources.arcgis.com/gallery/file/ArcObjects-.NET-API-Code-Gallery/details?entryID=C1D79B4A-1422-2418-7F85-D12BA0680EAA
... View more
06-14-2011
12:32 AM
|
0
|
0
|
232
|
|
POST
|
http://resources.arcgis.com/content/webapis/2.0/system-requirements plus: The ArcGIS API for Javascript 2.3 provides support for IE9
... View more
06-07-2011
11:43 AM
|
0
|
0
|
353
|
| 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 |
09-10-2025
05:25 AM
|