ArcGIS.SpatialReference (ArcGIS v1.0.2)

View Source

An ArcGIS spatial reference

Summary

Types

t()

A SpatialReference struct consists of a well-known ID and a list of equivalent IDs (if any).

Functions

Given a spatial reference, return the 'best' spatial reference id to use.

Creates a %ArcGIS.SpatialReference{} from ArcGIS response data

Types

t()

@type t() :: %ArcGIS.SpatialReference{
  alternatives: [non_neg_integer()],
  wkid: non_neg_integer()
}

A SpatialReference struct consists of a well-known ID and a list of equivalent IDs (if any).

Functions

best_srid(map)

@spec best_srid(t()) :: non_neg_integer()

Given a spatial reference, return the 'best' spatial reference id to use.

from_map(arg1)

@spec from_map(source :: map()) :: t()

Creates a %ArcGIS.SpatialReference{} from ArcGIS response data