|
POST
|
I am not sure what you are asking. You have to pick which levels you want to use.
... View more
03-07-2014
09:16 AM
|
0
|
0
|
5624
|
|
POST
|
THey are available from any rest endpoint http://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer "lods": [{ "level": 0, "resolution": 156543.033928, "scale": 591657527.591555 }, { "level": 1, "resolution": 78271.5169639999, "scale": 295828763.795777 }, { "level": 2, "resolution": 39135.7584820001, "scale": 147914381.897889 }, { "level": 3, "resolution": 19567.8792409999, "scale": 73957190.948944 }, { "level": 4, "resolution": 9783.93962049996, "scale": 36978595.474472 }, { "level": 5, "resolution": 4891.96981024998, "scale": 18489297.737236 }, { "level": 6, "resolution": 2445.98490512499, "scale": 9244648.868618 }, { "level": 7, "resolution": 1222.99245256249, "scale": 4622324.434309 }, { "level": 8, "resolution": 611.49622628138, "scale": 2311162.217155 }, { "level": 9, "resolution": 305.748113140558, "scale": 1155581.108577 }, { "level": 10, "resolution": 152.874056570411, "scale": 577790.554289 }, { "level": 11, "resolution": 76.4370282850732, "scale": 288895.277144 }, { "level": 12, "resolution": 38.2185141425366, "scale": 144447.638572 }, { "level": 13, "resolution": 19.1092570712683, "scale": 72223.819286 }, { "level": 14, "resolution": 9.55462853563415, "scale": 36111.909643 }, { "level": 15, "resolution": 4.77731426794937, "scale": 18055.954822 }, { "level": 16, "resolution": 2.38865713397468, "scale": 9027.977411 }, { "level": 17, "resolution": 1.19432856685505, "scale": 4513.988705 }, { "level": 18, "resolution": 0.597164283559817, "scale": 2256.994353 }, { "level": 19, "resolution": 0.298582141647617, "scale": 1128.497176 }, { "level": 20, "resolution": 0.149291070823808, "scale": 564.248588 }]
... View more
03-07-2014
08:46 AM
|
0
|
0
|
5624
|
|
POST
|
I've created a web map which is using ArcGIS 10.1 Server ExportWebMap service. This is installed on the DMZ server in the corporate network. Our network team applied a firewall rule change for outgoing internet connection from this DMZ server to services.arcgisonline.com via port 443. I get the following error msg when I clicked the Print button on my web map on Chrome: "error":{ "code":400, "message":"Unable to complete operation.", "details":[ "Error executing tool.: Layer \"layer0\": Unable to connect to map server at https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer.\n Layer \"layer1\": Unable to connect to map server at https://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer.\n ...... Failed to execute (ExportWebMap).\n Failed to execute (Export Web Map)." ] } When I tested the connection "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer" on IE on the DMZ server and I was able to see its responses for this end point. Thus I looked at the Logs on the ArcGIS Manager, the first error logged by this request was - "Error while using HTTPS security, URL = https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer?f=json, HTTP Status code = 0 and Status Text = " But again, I could its responses on IE on the DMZ server. Is this because of the Proxy settings? The following is my proxy.config : <?xml version="1.0" encoding="utf-8" ?> <ProxyConfig mustMatch="true"> <serverUrls> <serverUrl url="https://services.arcgisonline.com/arcgis/rest/services/" </serverUrl> <serverUrl url="https://myServer/arcgis/rest/services/" matchAll="true" dynamicToken="true"> </serverUrl> </serverUrls> </ProxyConfig> This web map service is pretty much ready for delivering to our clients except this issue. Do you guys have any ideas??? Thanks in advance. Your proxy URL and mapServer Url are different (note the case of arcgis vs. ArcGIS)
... View more
03-07-2014
08:12 AM
|
0
|
0
|
694
|
|
POST
|
var lods =
[
{
"level": 0,
"resolution": 156543.03392800014,
"scale": 5.91657527591555E8
},
{
"level": 1,
"resolution": 78271.51696399994,
"scale": 2.95828763795777E8
}
];
map = new Map("map", {
basemap: "streets",
autoResize: true,
logo: false,
showAttribution: false,
lods: lods
});
... View more
03-07-2014
08:05 AM
|
0
|
0
|
5624
|
|
POST
|
This has been requested before (setting absolute min/max levels) but has not been implemented yet. We have been told it is planned for a future release As of now you can handle this by creating your map with custom LODs. The problem with this is level 5 (for example) is your LOD5, which does not necessarily line up with the common absolute Level 5 of accepted basemap scales.
... View more
03-07-2014
07:29 AM
|
0
|
0
|
5624
|
|
POST
|
onextentchange is called once on map initialization
... View more
03-06-2014
06:56 AM
|
0
|
0
|
1834
|
|
POST
|
go to your rest endpoint and look at your field names Try just specifying one. My guess is it is the "%" in your field name that is causing the problem.
... View more
03-03-2014
09:09 AM
|
0
|
0
|
1437
|
|
POST
|
I must be missing something easy, as there are no examples of this. I would like to retrieve the value of the elevation for a given lat/long. Do I really need a proxy or can't I just use the ESRI_Elevation_World -> GetElevationAtLonLat service? Here's my code:
var requestHandle = esriRequest({
"url": "http://sampleserver4.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/MapServer/exts/ElevationsSOE/ElevationLayers/1/GetElevationAtLonLat",
"content": {
"lon": longitude,
"lat": latitude,
"format": "json"
},
"handeAs": "json",
"callbackParamName": "callback"
});
requestHandle.then(requestSucceeded, requestFailed);
}
function requestSucceeded(data){
elev = JSON.parse(data);
arrayUtils.forEach(elev, function(e) {
var elev_meter = e.elevation;
elev_ft = elev_meter * 3.2808399;
elevation += elev_ft ;
alert(elevation);
});
}
Thank you. Looks like it works fine sampleserver4.arcgisonline.com/ArcGIS/rest/services/Elevation/ESRI_Elevation_World/MapServer/exts/ElevationsSOE/ElevationLayers/1/GetElevationAtLonLat?lon=-82&lat=27&f=pjson Have you tried outputting your result (data) in requestSucceeded? I don't thing its an array, its a json object. So it should be (guessing as i dont have a test environment)
function requestSucceeded(data){
result= JSON.parse(data);
elevation = result.elevation;
}
... View more
02-28-2014
11:52 AM
|
0
|
0
|
2133
|
|
POST
|
I am not with ESRI, but I will try to answer some questions If given a demo, could someone truly attest to the feasibility of replicating the same functionality in ArcGIS? Not a sales person, but a legit technology person. You will not get directly to a developer. You have to go through sales but they frequently, in demos, can have a developer available. However if you are looking to have a custom application built (as opposed to writing it yourself) you should be contacting ESRI professional services - How does ArcGIS play with TypeSript? I have not seen an intergrations of ArcGIS and TypeScript, but like jQuery, if it is just a framework for javascript it should be fine. - Will there be a DefinitelyTyped dictionary file for ArcGIS be available Likely not, but this is not an official answer. - If this is using Dojo as an equivelant to require or MEF. Will those other downloaded js files also have dictionaries? Dojo is the framework that the JS API is built with. The js api is available for download but it is obfuscated. You cannot access the raw code. - Can I use GeoJSON to build my overlays for a map (mapping DMAs, Postal Codes, Sub-Postal Codes, etc.) There is a gitHUB project for using GeoJSON in esri, but it is not currently part of the core functionality https://github.com/Esri/geojson-utils - How does the tool handle multi-polygon goegraphies? If you are using polygons in graphics you can project them on the fly using a geometry service - Can the tool support dynamic changes to the map and its contents, overlays, markers, iconography etc, fill colors, border colors, transparancy, opacity, etc. Yes, you can dynamically change DynamicLayers and FeatureLayers. If a service is tiled the tiles are pre-rendered and are therefore static Hope this helps
... View more
02-28-2014
06:55 AM
|
0
|
0
|
1699
|
|
POST
|
My guess is that chrome is more sensitive and may be interpreting a click as a drag you could store the extent as a global, say, oldextent and then on "extent change" if (oldextent==map.extent){ do nothing }else{ oldextent=map.extent; do stuff }
... View more
02-27-2014
12:01 PM
|
0
|
0
|
2218
|
|
POST
|
To use it as dynamic you would have to change the service that has been added to AGOL
... View more
02-26-2014
11:55 AM
|
0
|
0
|
3765
|
|
POST
|
Sorry to be short, but this is one (of the many) reasons we do NOT use FeatureLayers unless we absolutely have to (i.e. editing). If you want layer control, use dynamic layers
... View more
02-26-2014
10:22 AM
|
0
|
0
|
3765
|
|
POST
|
unfortunately no. This is the biggest issue with printing as well, that functionality doesnt currently exist
... View more
02-24-2014
03:43 AM
|
0
|
0
|
798
|
|
POST
|
What version are you using? it seems to still be working for me
... View more
02-21-2014
08:36 AM
|
0
|
0
|
778
|
|
POST
|
im a hack, i almost dont want credit for that!!! Glad it worked, make sure you comment it well in your code so when it changes back in the next version you can find it quickly and revert 🙂
... View more
02-20-2014
06:52 AM
|
0
|
0
|
1369
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-22-2014 08:35 AM | |
| 1 | 05-02-2012 04:56 AM | |
| 1 | 10-29-2021 07:40 AM | |
| 1 | 10-28-2021 05:26 AM | |
| 1 | 07-17-2012 08:48 AM |
| Online Status |
Offline
|
| Date Last Visited |
03-01-2022
02:00 PM
|