User Tools

Site Tools


thinkgeo_cloud_maps_wms

This is an old revision of the document!


ThinkGeo Cloud Maps WMS

ThinkGeo Cloud Maps WMS provides a RESTful API to get map images through WMS (Web Map Service).

RESTful APIs

* Try it Online: All the ThinkGeo Cloud RESTful APIs can be tested online following the instructions below:

ThinkGeo Cloud Geocoding provides the following RESTful API:

Get Wms Map

Consume the map tiles via Wms.

HTTP GET
https://cloud.thinkgeo.com/api/v1/maps/wms 

URL Parameters

  • Request: Requried. The type of the request. Acceptable values are “GetMap”, “GetCapabilities”.
  • Service: Requried. The service name. Must be “WMS”. Default value: WMS
  • Version: Requried. The version of the WMS. Now, it supports “1.1.1” and “1.3.0”. Default value: 1.1.1
  • Layers: Required for “GetMap”. The layers of the requested image. Use “,” as the separator for the multiply layers.
  • Styles: Required for “GetMap”. The styles of the requested image. Use “,” as the separator for the multiply styles.
  • Format: Required for “GetMap”. The format of the requested image.
  • Width: Required for “GetMap”. The width of reqeusted image in pixels. Default value: 512
  • Height: Required for “GetMap”. The height of the requested image in pixels. Default value: 512
  • Srs: Required for “GetMap”. The coordinate refrenence system in which the BBox is specified. It is used in version “1.1.1”. Default value: EPSG:3857
  • Crs: Required for “GetMap”. The coordinate refrenence system in which the BBox is specified. It is used in version “1.3.0”.
  • BBox: Required for “GetMap”. The bounding box of the requested image. The valid format is “minX,minY,maxX,maxY”.
  • Exceptions: The output format of the exception.
  • Transparent: Indicates whether the requested image should have an alpha channel.

Visit GetWmsMap and click “Try It Out” to explore this API online.

Consume from Client Side

ThinkGeo Cloud Projection does not allow anonymous users to access the API. Before working with these APIs, you will need to register with ThinkGeo Cloud and create your own clients. A new account comes with two clients: NativeConfidential and JavaScript. See more details at here.

ThinkGeo Cloud provides standard RESTful APIs which can be consumed on any platform through any language. ThinkGeo also offers two prepackaged API clients to make it easier to integrate into .NET and JavaScript applications.

SDK for .NET

The SDK for .NET enables developers to build .NET applications that use the ThinkGeo Cloud services. The NuGet package can be found at ThinkGeo.Cloud.Client or you can install this package with PM by running the command: Install-Package ThinkGeo.Cloud.Client -Version VERSION_TO_BE_INSTALLED, also you can check out the ThinkGeoCloudSample for the start.

SDK for JavaScript

The SDK for JavaScript enables developers to directly access ThinkGeo Cloud services from JavaScript code running in brower. This SDK can be found at thinkgeocloudclient-js. The Geocoding sample shows how to work with this SDK.

thinkgeo_cloud_maps_wms.1552024755.txt.gz · Last modified: 2019/03/08 05:59 by tgwikiupdate