id_query: ObjectID Query

View source: R/utility_functions.R

id_queryR Documentation

ObjectID Query

Description

Generate an object ID query to get data

Usage

id_query(object_id_name, object_ids, map_server)

Arguments

object_id_name

the field name for object ids

object_ids

a numeric vector of object IDs

map_server

TRUE/FALSE is the service a map server

Details

This function takes object IDs and properly formats a query parameter based on whether the service is a map server or feature server. For Map Servers the query should be in the form objectIds=1,2,3 and for Feature Servers the query should be where=ObjectId IN ('1', '2', ...)

Value

a list with one named character element


MatthewJWhittle/getarc documentation built on April 22, 2023, 12:16 p.m.