Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add support for datum transformations #976

Merged
merged 1 commit into from
Jul 20, 2017
Merged

Commits on Jul 20, 2017

  1. add support for datum transformations to Query

    ArcGIS Server 10.5 introduced support for passing datum transformations to a variety of operations. this patch uses the shorthand 'transform' as a setter to allow developers to pass the argument through without internal manipulation.
    
    Map service layers
      * /query
    
    valid syntax
    // simple syntax
    query.transform(15851);
    
    // JSON syntax
    query.transform({"wkid" : 15851 });
    
    // Well-known text
    query.transform({"wkt" : "GEOGTRAN[\..."});
    
    // composite transformations
    var composite = {
      "geoTransforms": [
        {
          "wkid": "1241",
          "transformForward": false
        },
        {
          "wkid": "15851",
          "transformForward": true
        }
      ]
    }
    
    query.transform (composite);
    jgravois committed Jul 20, 2017
    Configuration menu
    Copy the full SHA
    98ca7e2 View commit details
    Browse the repository at this point in the history