User Tools

Site Tools


thinkgeo_cloud_projection

This is an old revision of the document!


ThinkGeo Cloud Projection

ThinkGeo Cloud Projection provides RESTful APIs to reporject the shape between two projections. Check out the online sample for a quick look.

RESTful APIs

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

ThinkGeo Cloud Geocoding provides the following Restful APIs:

<!-- Converts a point from one spatial reference system to another -->
HTTP GET 
https://cloud.thinkgeo.com/api/v1/projection/{pointY},{pointX}

Parameters

  • pointY: Required. The Y coordinate of the point.
  • pointX: Required. The X coordinate of the point.
  • fromProj: Required. The EPSG/ESRI ID or Proj4 projection string describing the original spatial reference

system in which the geometry is expressed. If using a Proj4 string, the value should be URL-encoded.

  • toProj: Required. The EPSG/ESRI ID or Proj4 projection string describing the target spatial reference

system that you want the geometry reprojected to. If using a Proj4 string, the value should be URL-encoded.

  • Hit Try it Out button below ProjectPoint to test it online.
<!-- Converts geometry in Well Known Text format from one spatial reference system to another -->
HTTP GET 
https://cloud.thinkgeo.com/api/v1/projection

Parameters

  • wkt: Required. The geometry that you want to reproject.
  • fromProj: Required. The EPSG/ESRI ID or Proj4 projection string describing the original spatial reference

system in which the geometry is expressed. If using a Proj4 string, the value should be URL-encoded.

  • toProj: Required. The EPSG/ESRI ID or Proj4 projection string describing the target spatial reference

system that you want the geometry reprojected to. If using a Proj4 string, the value should be URL-encoded.

Consume from Client Side

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

ThinkGeo Cloud provides standard RESTful APIs which can be consumed in 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 application that uses 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, here is the complete API List. Also you can check out the ThinkGeoCloudSample for the start.

API Documentation

  • ThinkGeo.Cloud.Projectionclient

    This documentation convers the ThinkGeo.Cloud.Projectionclient class. It contains all of the members such as Constructors, Methods, Properties and Events.

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_projection.1550250853.txt.gz · Last modified: 2019/02/15 17:14 by benbai