Failed to load ArcGIS JS API polar satellite mapshow message if map service unavailableDefining spatial reference for WMS layer in ArcGIS API for JavaScript?Basemap layer disappear on print. Only happens with max zoomProblems with matching vector data with raster dataArcGIS Server config to allow ArcGIS JavaScript printing?What SRS does leaflet use when it creates new markers?ArcGIS JavaScript PrintTask Failed to create layer from service atNot Able to See Feature Layer With Different Spatial reference On the API Base MapArcGIS returns “IconSymbol3DLayer failed to load” when configuring a PictureMarkerSymbolFailed to load ArcGIS JS API satellite map with polar projection
Should I tell management that I intend to leave due to bad software development practices?
Determining Impedance With An Antenna Analyzer
What type of content (depth/breadth) is expected for a short presentation for Asst Professor interview in the UK?
How to add frame around section using titlesec?
pgfplots: How to draw exponential graph with 60° start angle?
Unlock My Phone! February 2018
Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?
How dangerous is XSS?
Unable to supress ligatures in headings which are set in Caps
What's the in-universe reasoning behind sorcerers needing material components?
Question about the derivation of the intensity formula of a diffraction grating
Calculating entropy change: reversible vs irreversible process
Is this a hacking script in function.php?
Expand and Contract
Different meanings of こわい
Am I breaking OOP practice with this architecture?
Bullying boss launched a smear campaign and made me unemployable
What does the expression "A Mann!" means
What killed these X2 caps?
How to show a landlord what we have in savings?
Can my sorcerer use a spellbook only to collect spells and scribe scrolls, not cast?
What mechanic is there to disable a threat instead of killing it?
In 'Revenger,' what does 'cove' come from?
Why didn't Miles's spider sense work before?
Failed to load ArcGIS JS API polar satellite map
show message if map service unavailableDefining spatial reference for WMS layer in ArcGIS API for JavaScript?Basemap layer disappear on print. Only happens with max zoomProblems with matching vector data with raster dataArcGIS Server config to allow ArcGIS JavaScript printing?What SRS does leaflet use when it creates new markers?ArcGIS JavaScript PrintTask Failed to create layer from service atNot Able to See Feature Layer With Different Spatial reference On the API Base MapArcGIS returns “IconSymbol3DLayer failed to load” when configuring a PictureMarkerSymbolFailed to load ArcGIS JS API satellite map with polar projection
I am trying to draw satellite map with polar (Arctic) projection using ArcGIS JS API. Firstly I load default (Mercator) satellite map and it works fine. Then I change map spatialReference to polar the following way:
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Polygon",
"esri/geometry/SpatialReference",
"esri/layers/FeatureLayer"
],
function (Map, MapView)
var map = new Map(
basemap: "satellite"
);
var viewSpatialReference = 3995;
var centerPoint =
x: 0,
y: 0,
spatialReference: viewSpatialReference
;
var view = new MapView(
container: "map",
map: map,
spatialReference: viewSpatialReference,
center: centerPoint,
scale: 2000
);
);
When I try to load this map in browser, I get blank map and two errors in console
[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'World Imagery', id: 'satellite-base-layer') message: "The spatial reference of this layer does not meet the requirements of the view"
dojo.js:310 [esri.views.LayerViewFactory] Failed to create view for layer 'World Imagery, id:satellite-base-layer' of type 'tile'. message: "The spatial reference of this layer does not meet the requirements of the view"
Does anyone have experience working with ArcGIS JS for Arctic region? My original idea was to redraw basic satellite map using ArcGIS; I hope it is possible.
coordinate-system arcgis-javascript-api arctic
add a comment |
I am trying to draw satellite map with polar (Arctic) projection using ArcGIS JS API. Firstly I load default (Mercator) satellite map and it works fine. Then I change map spatialReference to polar the following way:
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Polygon",
"esri/geometry/SpatialReference",
"esri/layers/FeatureLayer"
],
function (Map, MapView)
var map = new Map(
basemap: "satellite"
);
var viewSpatialReference = 3995;
var centerPoint =
x: 0,
y: 0,
spatialReference: viewSpatialReference
;
var view = new MapView(
container: "map",
map: map,
spatialReference: viewSpatialReference,
center: centerPoint,
scale: 2000
);
);
When I try to load this map in browser, I get blank map and two errors in console
[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'World Imagery', id: 'satellite-base-layer') message: "The spatial reference of this layer does not meet the requirements of the view"
dojo.js:310 [esri.views.LayerViewFactory] Failed to create view for layer 'World Imagery, id:satellite-base-layer' of type 'tile'. message: "The spatial reference of this layer does not meet the requirements of the view"
Does anyone have experience working with ArcGIS JS for Arctic region? My original idea was to redraw basic satellite map using ArcGIS; I hope it is possible.
coordinate-system arcgis-javascript-api arctic
add a comment |
I am trying to draw satellite map with polar (Arctic) projection using ArcGIS JS API. Firstly I load default (Mercator) satellite map and it works fine. Then I change map spatialReference to polar the following way:
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Polygon",
"esri/geometry/SpatialReference",
"esri/layers/FeatureLayer"
],
function (Map, MapView)
var map = new Map(
basemap: "satellite"
);
var viewSpatialReference = 3995;
var centerPoint =
x: 0,
y: 0,
spatialReference: viewSpatialReference
;
var view = new MapView(
container: "map",
map: map,
spatialReference: viewSpatialReference,
center: centerPoint,
scale: 2000
);
);
When I try to load this map in browser, I get blank map and two errors in console
[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'World Imagery', id: 'satellite-base-layer') message: "The spatial reference of this layer does not meet the requirements of the view"
dojo.js:310 [esri.views.LayerViewFactory] Failed to create view for layer 'World Imagery, id:satellite-base-layer' of type 'tile'. message: "The spatial reference of this layer does not meet the requirements of the view"
Does anyone have experience working with ArcGIS JS for Arctic region? My original idea was to redraw basic satellite map using ArcGIS; I hope it is possible.
coordinate-system arcgis-javascript-api arctic
I am trying to draw satellite map with polar (Arctic) projection using ArcGIS JS API. Firstly I load default (Mercator) satellite map and it works fine. Then I change map spatialReference to polar the following way:
require([
"esri/Map",
"esri/views/MapView",
"esri/geometry/Polygon",
"esri/geometry/SpatialReference",
"esri/layers/FeatureLayer"
],
function (Map, MapView)
var map = new Map(
basemap: "satellite"
);
var viewSpatialReference = 3995;
var centerPoint =
x: 0,
y: 0,
spatialReference: viewSpatialReference
;
var view = new MapView(
container: "map",
map: map,
spatialReference: viewSpatialReference,
center: centerPoint,
scale: 2000
);
);
When I try to load this map in browser, I get blank map and two errors in console
[esri.views.2d.layers.TileLayerView2D] #resolve() Failed to resolve layer view (layer title: 'World Imagery', id: 'satellite-base-layer') message: "The spatial reference of this layer does not meet the requirements of the view"
dojo.js:310 [esri.views.LayerViewFactory] Failed to create view for layer 'World Imagery, id:satellite-base-layer' of type 'tile'. message: "The spatial reference of this layer does not meet the requirements of the view"
Does anyone have experience working with ArcGIS JS for Arctic region? My original idea was to redraw basic satellite map using ArcGIS; I hope it is possible.
coordinate-system arcgis-javascript-api arctic
coordinate-system arcgis-javascript-api arctic
asked 2 days ago
QuarKQuarK
113
113
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
In your Map constructor, when you have the property basemap: "satellite" - you're loading the default ArcGIS Online Satellite Basemap which is in Web Mercator. The API will not reproject the basemap, so that's where your error is coming from. To solve the problem, do not include that line, and add your own tiled [basemap] layer that is already projected to your desired spatial reference (3995).
You can either create your own tiled service, or find one to use. Through searching I found a service that the NOAA provides. So just grab the layer from there and add it as a layer:
var map = new Map(
layers: [
new TileLayer(
url:
"https://gis.ngdc.noaa.gov/arcgis/rest/services/arctic_ps/arctic_basemap/MapServer"
)
]
);
Full example here. Hope this helps!
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "79"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317296%2ffailed-to-load-arcgis-js-api-polar-satellite-map%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
In your Map constructor, when you have the property basemap: "satellite" - you're loading the default ArcGIS Online Satellite Basemap which is in Web Mercator. The API will not reproject the basemap, so that's where your error is coming from. To solve the problem, do not include that line, and add your own tiled [basemap] layer that is already projected to your desired spatial reference (3995).
You can either create your own tiled service, or find one to use. Through searching I found a service that the NOAA provides. So just grab the layer from there and add it as a layer:
var map = new Map(
layers: [
new TileLayer(
url:
"https://gis.ngdc.noaa.gov/arcgis/rest/services/arctic_ps/arctic_basemap/MapServer"
)
]
);
Full example here. Hope this helps!
add a comment |
In your Map constructor, when you have the property basemap: "satellite" - you're loading the default ArcGIS Online Satellite Basemap which is in Web Mercator. The API will not reproject the basemap, so that's where your error is coming from. To solve the problem, do not include that line, and add your own tiled [basemap] layer that is already projected to your desired spatial reference (3995).
You can either create your own tiled service, or find one to use. Through searching I found a service that the NOAA provides. So just grab the layer from there and add it as a layer:
var map = new Map(
layers: [
new TileLayer(
url:
"https://gis.ngdc.noaa.gov/arcgis/rest/services/arctic_ps/arctic_basemap/MapServer"
)
]
);
Full example here. Hope this helps!
add a comment |
In your Map constructor, when you have the property basemap: "satellite" - you're loading the default ArcGIS Online Satellite Basemap which is in Web Mercator. The API will not reproject the basemap, so that's where your error is coming from. To solve the problem, do not include that line, and add your own tiled [basemap] layer that is already projected to your desired spatial reference (3995).
You can either create your own tiled service, or find one to use. Through searching I found a service that the NOAA provides. So just grab the layer from there and add it as a layer:
var map = new Map(
layers: [
new TileLayer(
url:
"https://gis.ngdc.noaa.gov/arcgis/rest/services/arctic_ps/arctic_basemap/MapServer"
)
]
);
Full example here. Hope this helps!
In your Map constructor, when you have the property basemap: "satellite" - you're loading the default ArcGIS Online Satellite Basemap which is in Web Mercator. The API will not reproject the basemap, so that's where your error is coming from. To solve the problem, do not include that line, and add your own tiled [basemap] layer that is already projected to your desired spatial reference (3995).
You can either create your own tiled service, or find one to use. Through searching I found a service that the NOAA provides. So just grab the layer from there and add it as a layer:
var map = new Map(
layers: [
new TileLayer(
url:
"https://gis.ngdc.noaa.gov/arcgis/rest/services/arctic_ps/arctic_basemap/MapServer"
)
]
);
Full example here. Hope this helps!
answered 2 days ago
GavinRGavinR
1,6111812
1,6111812
add a comment |
add a comment |
Thanks for contributing an answer to Geographic Information Systems Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f317296%2ffailed-to-load-arcgis-js-api-polar-satellite-map%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown