Get data from Esri ArcGIS MapServer API Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Problems with ESRI JavaScript APILoad One Layer from ArcGIS Server MapServerDownload Dataset From ArcGIS REST Serviceabout token based authentication securityHow to reference the ArcGIS Server JS API using RequireJSArcGIS network analyst JavaScript API “No Facility found” errorQuery ArcGIS Server Map Service with 3857 SRID?Parameters for ArcGIS REST “…/MapServer?f=jsapi”?Cannot load MapService from ArcGIS Server in Javascript APIUsing ArcGIS API for JavaScript?
Is honorific speech ever used in the first person?
Is it OK if I do not take the receipt in Germany?
Why can't fire hurt Daenerys but it did to Jon Snow in season 1?
What should one know about term logic before studying propositional and predicate logic?
Why is there so little support for joining EFTA in the British parliament?
geoserver.catalog.FailedRequestError: Tried to make a GET request to http://localhost:8080/geoserver/workspaces.xml but got a 404 status code
As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?
3D Masyu - A Die
Restricting the Object Type for the get method in java HashMap
Does the main washing effect of soap come from foam?
Getting representations of the Lie group out of representations of its Lie algebra
Why are current probes so expensive?
Should man-made satellites feature an intelligent inverted "cow catcher"?
Can I cut the hair of a conjured korred with a blade made of precious material to harvest that material from the korred?
Pointing to problems without suggesting solutions
What does 丫 mean? 丫是什么意思?
What helicopter has the most rotor blades?
Can gravitational waves pass through a black hole?
draw a pulley system
Short story about astronauts fertilizing soil with their own bodies
Is there a canonical “inverse” of Abelianization?
An isoperimetric-type inequality inside a cube
Random body shuffle every night—can we still function?
How to make an animal which can only breed for a certain number of generations?
Get data from Esri ArcGIS MapServer API
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Problems with ESRI JavaScript APILoad One Layer from ArcGIS Server MapServerDownload Dataset From ArcGIS REST Serviceabout token based authentication securityHow to reference the ArcGIS Server JS API using RequireJSArcGIS network analyst JavaScript API “No Facility found” errorQuery ArcGIS Server Map Service with 3857 SRID?Parameters for ArcGIS REST “…/MapServer?f=jsapi”?Cannot load MapService from ArcGIS Server in Javascript APIUsing ArcGIS API for JavaScript?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to get a list of the recent earthquakes, with latitude and longitude from this API: https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6
I can't rely on a server-side library as I have to use only JavaScript in an HTML page.
My problem is that I can't find the list of the events browsing the API
arcgis-server arcgis-javascript-api
add a comment |
I'm trying to get a list of the recent earthquakes, with latitude and longitude from this API: https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6
I can't rely on a server-side library as I have to use only JavaScript in an HTML page.
My problem is that I can't find the list of the events browsing the API
arcgis-server arcgis-javascript-api
add a comment |
I'm trying to get a list of the recent earthquakes, with latitude and longitude from this API: https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6
I can't rely on a server-side library as I have to use only JavaScript in an HTML page.
My problem is that I can't find the list of the events browsing the API
arcgis-server arcgis-javascript-api
I'm trying to get a list of the recent earthquakes, with latitude and longitude from this API: https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6
I can't rely on a server-side library as I have to use only JavaScript in an HTML page.
My problem is that I can't find the list of the events browsing the API
arcgis-server arcgis-javascript-api
arcgis-server arcgis-javascript-api
edited Apr 13 at 14:04
Vince
14.8k32850
14.8k32850
asked Apr 13 at 10:02
GioxGiox
1083
1083
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Here's the documentation page you're probably looking for, and as an example:
- to get all the data you'll want to set
WHERE
parameter to1=1
- to get all the data attribute columns set
outFields
to*
- to set the geometry spatial reference to lat/lng, you'll want
outSR
set to4326
- if you'd like JSON set the
format
topjson
orjson
So all of the above parameters, in one request, would look like:
https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6/query?where=1=1&outFields=*&outSR=4326&f=pjson
.. and should give you all the data.
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
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%2f318676%2fget-data-from-esri-arcgis-mapserver-api%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
Here's the documentation page you're probably looking for, and as an example:
- to get all the data you'll want to set
WHERE
parameter to1=1
- to get all the data attribute columns set
outFields
to*
- to set the geometry spatial reference to lat/lng, you'll want
outSR
set to4326
- if you'd like JSON set the
format
topjson
orjson
So all of the above parameters, in one request, would look like:
https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6/query?where=1=1&outFields=*&outSR=4326&f=pjson
.. and should give you all the data.
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
add a comment |
Here's the documentation page you're probably looking for, and as an example:
- to get all the data you'll want to set
WHERE
parameter to1=1
- to get all the data attribute columns set
outFields
to*
- to set the geometry spatial reference to lat/lng, you'll want
outSR
set to4326
- if you'd like JSON set the
format
topjson
orjson
So all of the above parameters, in one request, would look like:
https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6/query?where=1=1&outFields=*&outSR=4326&f=pjson
.. and should give you all the data.
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
add a comment |
Here's the documentation page you're probably looking for, and as an example:
- to get all the data you'll want to set
WHERE
parameter to1=1
- to get all the data attribute columns set
outFields
to*
- to set the geometry spatial reference to lat/lng, you'll want
outSR
set to4326
- if you'd like JSON set the
format
topjson
orjson
So all of the above parameters, in one request, would look like:
https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6/query?where=1=1&outFields=*&outSR=4326&f=pjson
.. and should give you all the data.
Here's the documentation page you're probably looking for, and as an example:
- to get all the data you'll want to set
WHERE
parameter to1=1
- to get all the data attribute columns set
outFields
to*
- to set the geometry spatial reference to lat/lng, you'll want
outSR
set to4326
- if you'd like JSON set the
format
topjson
orjson
So all of the above parameters, in one request, would look like:
https://apps.pdc.org/msf/rest/services/global/pdc_active_hazards/MapServer/6/query?where=1=1&outFields=*&outSR=4326&f=pjson
.. and should give you all the data.
answered Apr 13 at 16:43
GavinRGavinR
1,7011812
1,7011812
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
add a comment |
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
Thanks a lot! I was going crazy through the whole Esri documentation!
– Giox
Apr 13 at 17:06
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%2f318676%2fget-data-from-esri-arcgis-mapserver-api%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