Can I use Esri JavaScript Api with OGC Services from Open source Like QGis? - qgis

Can I use Esri JavaScript Api with OGC Services from Opensource Like QGis?

ArcGIS JavaScript 4 library supports several OGC standards, including WMS, WMTS, KML, and OGC API Features. WFS it is supported in version 3 but not yet supported in version 4, it is marked as coming soon although.
You can find much more information on the external data sources that are supported by the API in the documentation (ArcGIS API - External data sources).
If you are only looking for a JavaScript library to work exclusively with OGC services, with that I mean you have no intention of using ArcGIS services, maybe you can go with OpenLayers of Leaflet. Both are major libraries with great communities behind. I would say that OpenLayers is more comparable to ArcGIS JS, in vast functionalities.
Anyways, which one to use depends of many factors, including requirements, expertise, budget, etc.

Related

Does the API Platform framework fully support HATEOAS?

Currently I am working on a REST API and noticed, that for real REST it is essential to provide the possible HTTP operations of the resource within the HTTP response (e.g. in JSON-LD format).
After playing around with Swagger, I got to JSON-LD and Hydra, which in combination provide the foundation for real REST.
The problem with pure JSON-LD and Hydra is, that there is no real editor (the Playground does help for testing but not for editing).
Then I found Api Platform which sounds quite promising but I could not find any hint, that it supports real REST.
Does API Platform support HATEOAS in terms of providing the possible HTTP operations?
API Platform explicitly supports HATEOAS and they even encourage using Hydra. Their admin UI supports viewing the API through an OpenAPI lens or a Hydra lens.

Where is the documentation for the Google Analytics API JavaScript client library?

I have spent days looking for proper comprehensive documentation for the JavaScript client library for the Google Analytics API. The only bits I could find was this page: https://developers.google.com/analytics/devguides/reporting/core/v4/rest/ which has all of ~20 completely uninformative words on the page, and https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/web-js, which does have some actual JavaScript, but nothing like documentation. It just illustrates two or three functions using the client API.
Is there nowhere that they actually list the full API? How are we supposed to know what functionality is available?!
Then there are the pages in this section: https://developers.google.com/analytics/devguides/reporting/core/v4/basics#request_body which list a lot of query samples, but don't explain how to use any of this in a client library. Is there any practical information on how to get started with accessing the Analytics API anywhere?
Thanks
The Analytics API is language agnostic, the google js client library docs apply to all of Google's APIs. Every client libarary is built around the discovery service API which describes the entirety of whats is available.
V3 API discovery call
Analytics Reporting Discovery call
How to use a client library is centrally documented and applies to every Google API.
Analytics Specific
There are lots of languages and client libraries and the Analytics API team cannot support every language. Instead they make available comprehensive reference docs which describe what endpoints are available. Once you learn how to use a particular client library calling the individual API endpoints happen in the same why.
That being said every endpoint they have is documented in JS.
The Analytics Mangement API is well documented in JavaScript. the Open source Google deomos and tools is built with it.
The Analytics Reporting API Samples page has documentated examples in JavaScript. You even linked to a Quickstart guide which should help you understand how to use the client library.
Can you expound more on what you'd expect in terms of documentation?
Final tip
If you load the analytics client library
gapi.client.load('analytics', 'v3').then(...)
In the chrome console you can then just start playing with it dynamically:
gapi.client.analytics.managment.[hit tab]
will list all the management API methods available.

OpenUI5 with Java Services

I am exploring OpenUI5 to use it as front end for developing SAP applications. One thing I noticed is that it is more user friendly with OData services/OData model. I believe, it may be a close initiative of Microsoft with SAP or vice-versa.
I am using Java technology along with JCo outside SAP environment. I am exploring for the best options.
Should I expose my Java services as OData services to leverage OpenUI5 capabilities?
1 I see that Java implementations for OData support is limited to Version 2 and Version 4 is underway. This community is very small, not surprisingly.
Should I limit the usage of OpenUI5 only for: application definitions, view definitions, layouts, etc. and use Java services (e.g. REST/SOAP)?
1 Here, I have to add my JavaScript/jQuery logic for the CRUD operations on UI controls. I am not sure how much of it is supported for plain JSON/XML objects if I push JSON/XML response from server.
Just to be clear, I hope you have a clear understanding of Odata and REST. The difference is that OData is a specific protocol; REST is architecture style and design pattern.
The OData protocol is built on top of the AtomPub protocol. The AtomPub protocol is one of the best examples of REST API design. So, in a sense you are right - the OData is just another REST API and each OData implementation is a REST-ful web service.
Odata is the way to go since with Odata Model & binding, the pain of writing a lot of javascript is reduced by a huge proportion.
I think you should keep it simple and use REST API and Json to communicate between your back end and SAPUI5 front end.

Source Code for Bing Maps AJAX Control 7.0?

Is the source code available for Bing Maps AJAX Control 7.0 API?
I have seen the API references on MSDN - API references
And I have seen the interactive SDK - interactive SDK
But I would like to see the javascript source code for the AJAX control. The files that are downloaded by the control are all minified so it's not really possible to understand them.
I'd like to read the source to understand how driving, walking and transit routes are requested from the service, how they are represented as objects, and then how the routes are rendered. This is so that I can build my own custom route type.
Is the source code available somewhere? If so where can it be found?
Thanks,
No. There is no unminified version of the Bing Maps AJAX library.
Since it's only Javascript, you can, of course, use Firebug or similar to examine the methods exposed by http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0, and the structure of the calls made to various Bing Maps services, but you'll have to unpick the source code yourself.

Which is the best ESRI ArcGIS component library to use with GWT?

We are currently designing a GIS intranet application using GWT and ESRI ArcGIS. We are looking at 2 client side Javascript libraries:
The ESRI Javascript API
Open Layers
The library will have to support fused and non fused map caching as well as some layers that are dynamic. Open Layers GWT integration exists but the ESRI library is based on Dojo.
I'm looking for information and advice on where the gotchas will be for either approach.
If you're already using ArcGIS, go with the ArcGIS API for JavaScript. I think there are a lot more people out there using ArcGIS Server fused/non-fused map caches + ArcGIS API for JS than ArcGIS Server + OpenLayers so you'll have an easier time finding samples that are applicable to what you're doing.
I'd probably go with Dojo as ESRI is already built on that one. It has great way of creating widgets and relatively good documentation. a lot of can be found at their forums (though these are now closed for posting new questions -> use stackoverflow instead or their mailing list)
here is the link that might be helpful to you
javascript libraries comparison
GWT is perfect to structure big one-page application. So I'm developing a wrapper for the Javascript library.
http://github.com/lukefx/EsriGwt
It's in a super early state...I'm searching for someone who wants to help me :)
I have picked up the lukefx's GWT project, retooled many of the 'under the hood' components. I started a new project here: gwt-esri