Searching allows you to find information in more than 1,000,000 rows of spatial State Geographic Information Datasource (SGID) data without expensive software or licensing. With over 300 tables of real-world Utah data that you can run queries against in the SGID, the possibilities can be a little overwhelming. The search endpoint offers vast potential for data extraction. This UGRC API endpoint allows you to query geometries and attributes from any table in the Open SGID.
The point, polyline, polygon, multipoint, or envelope geometry types used for spatial queries. These geometries are denoted as geometryType:ArcGIS Server JSON representation. eg:
The format the input field name keys are returned as in the result array attributes dictionary. This is useful for having consistent access to the response data keys in code.
The spatial reference defines how the coordinates will represent a location on the earth defined by how the round earth was made flat. The well known id’s (WKID) of different coordinate systems define if the coordinates will be stored as degrees of longitude and latitude, meters, feet, etc. This endpoint supports the WKIDs from the Geographic Coordinate System reference and the Projected Coordinate System reference. UTM Zone 12 N, with the WKID of 26912, is the default. This coordinate system is the most accurate reflection of Utah. It is recommended to use this coordinate system if length and area calculations are important as other coordinate systems will skew the truth.
Type: number
Default: 26912
Popular Spatial Reference Ids
WKID
NAME
REASON
26912
UTM Zone 12 N
This is the State standard for all Utah spatial data. It has the least distortion for the state of Utah and the most accurate length and area calculations.
3857
Web Mercator
This is the standard for all data displayed on a web map. Most base map services use a web mercator projection.
4326
Latitude/Longitude (WGS84)
This is the ubiquitous standard for spatial data. Many systems understand this format which makes it good for interoperability.
There are three output formats for the result object. The default being empty. esrijson will parse into an esri.Graphic for mapping purposes and geojson will format as a Feature. If this value is omitted, the default json will be returned.
The callback function to execute for cross domain javascript calls (jsonp). This API supports CORS and does not recommend the use of callback and jsonp.