Satshot-API
[ class tree: Satshot-API ] [ index: Satshot-API ] [ all elements ]

Element index for package Satshot-API

[ a ] [ c ] [ d ] [ e ] [ g ] [ h ] [ l ] [ m ] [ p ] [ q ] [ r ] [ s ] [ t ] [ u ] [ z ]

a

add_attributes_to_vector
in file mapcenter_api.php, method mapcenter_api::add_attributes_to_vector()
    Adds new attributes to the attribute table for vector VECHANDLE, based on the array ATTRIBLIST. The values of this array are attribute specifier structs, defined as follows:
analyze_extracted_image_set
in file mapcenter_api.php, method mapcenter_api::analyze_extracted_image_set()
approve_autoanalysis_jobs
in file mapcenter_api.php, method mapcenter_api::approve_autoanalysis_jobs()
    Sets the jobs identified by the job tokens in array JOBTOKENS to "ready", so that they will be run by the automatic analyzer during its normal processing. The elements in
top

c

change_image_zone_color
in file core_api.php, method core_api::change_image_zone_color()
    Changes the color of one or more zones in analysis or edited image IMAGEHANDLE to given RGB values. COLORZONES is a struct keyed to zone numbers, each of which must be in range 1 .. (number of zones), and with values being RGB structs, as follows:
classify_multiband_analyses
in file core_api.php, method core_api::classify_multiband_analyses()
    Classifies the multiband analyses in MBCLASSOPTS, returning single-band classified analyses. MBCLASSOPTS is a struct keyed to the image handle of the multiband analyses; the image handles passed in as the keys of this top level struct must correspond to multiband analysis images, and not to raw images, classified analyses, or edited images.
clear_autoanalysis_jobs
in file mapcenter_api.php, method mapcenter_api::clear_autoanalysis_jobs()
    Removes the autoanalysis jobs identified by the job tokens in array JOBTOKENS from the jobs list.
clear_displayed_scene
in file core_api.php, method core_api::clear_displayed_scene()
    Removes scene display layer from the map MAPCONTEXT. It is only necessary to call this method when the user desires to display no scene at all; to change which scene is displayed, it is sufficient to call display_scene() with a new sceneid argument.
clear_hilites
in file core_api.php, method core_api::clear_hilites()
    Removes all hilited shapes from the user's hilite layers.
clu_mapcenter_api
in file clu_mapcenter_api.php, class clu_mapcenter_api
    Provides services for attributed CLUs.
clu_mapcenter_api.php
procedural page clu_mapcenter_api.php
core_api
in file core_api.php, class core_api
    Provides core services for the Satshot Services API. All systems will have these services.
core_api.php
procedural page core_api.php
create_and_update_objects
in file mapcenter_api.php, method mapcenter_api::create_and_update_objects()
    Creates new permanent geospatial objects, and/or updates existing objects, based on the specification struct OBJECTS. This includes mapping the objects to specified regions, and setting appropriate access controls.
create_grid_vector_for_boundary
in file mapcenter_api.php, method mapcenter_api::create_grid_vector_for_boundary()
    Creates a new grid polygon vector dataset for the boundary object identified by BOUNDARYID. The boundary must be one to which the current user has access. The grid is composed of polygon rectangles, each approximately square with a side length of GRIDSIZE meters. Grid squares must be at least 20 meters on a side. The grid will be clipped to the boundary boundary, so polygons near the edge of an irregularly-shaped boundary will conform to the boundary boundary, and will not be square.
create_group
in file mapcenter_api.php, method mapcenter_api::create_group()
    Creates a new group and returns the new groupid. Use of this method requires the "create_groups" privilege.
create_hilite_objects_from_wkt
in file core_api.php, method core_api::create_hilite_objects_from_wkt()
    Creates new hilited objects from the object specification structs in OBJECTS. OBJECTS is a struct keyed to the object names, with values being OGC Well-Known Text geometries. The WKT geometries may be of the following types: POINT, LINESTRING or MULTILINESTRING, or POLYGON or MULTIPOLYGON.
create_image_display_layer
in file core_api.php, method core_api::create_image_display_layer()
    Creates a display layer for the image IMAGEHANDLE on the map MAPCONTEXT. IMAGEHANDLE must correspond to an image in the user's temporary files; it is not the ID of a permanently stored image.
create_multibands_from_extracted_image_set
in file mapcenter_api.php, method mapcenter_api::create_multibands_from_extracted_image_set()
    Creates multiband-type analysis datasets for each of the raw extracted images in struct HILITEIMAGES. HILITEIMAGES is a struct keyed to the hiliteid of each hilited object to analyze, with values being the corresponding raw image handles, as returned by extract_image_set_around_hilited_shapes().
create_multibands_from_extracted_image_set
in file core_api.php, method core_api::create_multibands_from_extracted_image_set()
    Creates multiband-type analysis datasets for each of the raw extracted images in struct HILITEIMAGES. HILITEIMAGES is a struct keyed to the hiliteid of each hilited object to analyze, with values being the corresponding raw image handles, as returned by extract_image_set_around_hilited_shapes().
create_multiple_image_display_layers
in file core_api.php, method core_api::create_multiple_image_display_layers()
    As create_image_display_layer(), but creates layers for all the image handles in array IMGLIST. TITLES is an optional struct keyed to the image handles in IMGLIST, with values being the alternative "display" name to save for each layer. Titles can be set for all, some, or none of the handles. Similarly, HILITES is an optional struct keyed to the image handles, values being the hilite IDs for each handle's hilite boundary. This information can also be set for all, some, or no handles.
create_multiple_point_vectors_from_images
in file mapcenter_api.php, method mapcenter_api::create_multiple_point_vectors_from_images()
    As create_point_vector_from_image(), except creates a point vector for each image handle in array IMAGEHANDLES. Each point vector will be as described for create_point_vector_from_image().
create_multiple_vector_display_layers
in file mapcenter_api.php, method mapcenter_api::create_multiple_vector_display_layers()
    As create_vector_display_layer(), but creates layers for all the vector handles in array VECLIST. TITLES is an optional struct keyed to the vector handles in IMGLIST, with values being the alternative "display" name to save for each layer. Titles can be set for all, some, or none of the handles. Similarly, HILITES is an optional struct keyed to the vector handles, values being the hilite IDs for each handle's hilite boundary. This information can also be set for all, some, or no handles.
create_multiple_vector_spreadmaps_from_images
in file mapcenter_api.php, method mapcenter_api::create_multiple_vector_spreadmaps_from_images()
    As create_vector_spreadmap_from_image(), except creates a vector spreadmap for each image handle in array IMAGEHANDLES. Each vector spreadmap will be as described for create_vector_spreadmap_from_image().
create_point_vector_from_image
in file mapcenter_api.php, method mapcenter_api::create_point_vector_from_image()
    Creates a new point vector from image IMAGEHANDLE. IMAGEHANDLE must be an analysis or edited image. Multiband analyses are supported for this method.
create_region
in file mapcenter_api.php, method mapcenter_api::create_region()
    Creates a new region and optionally populates it with geospatial objects (boundaries, locations, or paths). The new region will be owned by the current user.
create_soilmap_vectors_for_boundaries
in file core_api.php, method core_api::create_soilmap_vectors_for_boundaries()
    Creates a soilmap vector for each hilited boundary whose hiliteid is in array HILITELIST. The hiliteids must identify a hilited boundary which corresponds to a permanent field.
create_user
in file mapcenter_api.php, method mapcenter_api::create_user()
    Creates a new user, and returns the UID of that user. Use of this method requires the "create_users" privilege.
create_vector_display_layer
in file mapcenter_api.php, method mapcenter_api::create_vector_display_layer()
    Creates a display layer for the vector VECHANDLE on the map MAPCONTEXT. VECHANDLE must correspond to a vector handle returned by a vector-creating function, or a function which returns handles for saved vector datasets, such as get_saved_datasets_for_objects(). The layer is created at the end of the layer display list, covering everything before it (its layer index is equal to the highest existing index + 1). This can be changed with move_layer().
create_vector_spreadmap_from_image
in file mapcenter_api.php, method mapcenter_api::create_vector_spreadmap_from_image()
    Creates a new vector spreadmap from image IMAGEHANDLE. IMAGEHANDLE must be an analysis or edited image, and must not be a multiband analysis. The spreadmap is a vector dataset with polygons matching the colored regions of the images. Each polygon also has four attributes: zone (the zone number), zone_color (color tuple for this zone), zone_area (acreage of the entire zone), and poly_area (acreage of the specific polygon). Further attributes can be added, set, or removed with add_attributes_to_vector(), set_attributes_for_vector(), and delete_attributes_from_vector(), respectively.
top

d

delete_attributes_from_vector
in file mapcenter_api.php, method mapcenter_api::delete_attributes_from_vector()
    Removes the attribute columns whose names are in the array ATTRIBLIST from the vector table VECHANDLE. ATTRIBLIST is an array of strings which specify the names of attributes to drop. Attribute names must follow the naming convention given for add_attributes_to_vector(): letters, numbers, and underscores allowed, first character must be a letter. Uppercase letters are shifted to lowercase.
delete_objects
in file mapcenter_api.php, method mapcenter_api::delete_objects()
    Deletes the objects specified in OBJECTS, making them inaccessible to all users. OBJECTS is a struct keyed to the object type ("boundaries", "locations", or "paths"), with values being arrays of object IDs.
delete_saved_datasets
in file mapcenter_api.php, method mapcenter_api::delete_saved_datasets()
    Deletes the saved datasets described in DATASETLIST, which is an array of structs describing each dataset. Struct fields are as follows:
display_scene
in file core_api.php, method core_api::display_scene()
    Adds a display layer for the scene with index SCENEID to the map MAPCONTEXT. SCENEID must be an scene visible within the current extents. The display layer is named "displayimg".
display_scene_by_item_id
in file core_api.php, method core_api::display_scene_by_item_id()
    As display_scene(), but for scenes whose SCENEID is a string identifier rather than an integer
dissolve_image_regions
in file core_api.php, method core_api::dissolve_image_regions()
    Dissolves regions of the analysis or edited image IMAGEHANDLE which are smaller than MINPIXELS in size into the nearest region larger than MINPIXELS.
dissolve_image_regions_for_multiple_images
in file core_api.php, method core_api::dissolve_image_regions_for_multiple_images()
    As dissolve_image_regions(), but performs the dissolve operation on all analyses or edited images in array IMAGEHANDLES.
download_multiple_saved_geotagged_photos
in file core_api.php, method core_api::download_multiple_saved_geotagged_photos()
    As download_saved_geotagged_photo(), but returns a struct of multiple base64-encoded binary photos, keyed to the photo IDs listed in array PHOTOIDS. Values are the binary objects. The photos must be accessible to the user, either saved by the user or tied to objects the user can access.
download_saved_geotagged_photo
in file core_api.php, method core_api::download_saved_geotagged_photo()
    Returns the base64-encoded binary file for the geotagged photo identified by PHOTOID. The photo must be accessible to the user, either saved by the user or tied to an object the user can access.
draw_map
in file core_api.php, method core_api::draw_map()
    Draws the map given by MAPCONTEXT. Returns the drawn image in the given FORMAT. Available formats are PNG24, JPG, GIF, GTIFF.
draw_map_for_multiple_display_layers
in file core_api.php, method core_api::draw_map_for_multiple_display_layers()
    Draws the map given by MAPCONTEXT, iterating over each display layer (image or vector) named in LAYERLIST, and returning the images in a struct keyed to the layer name.
top

e

export_image_in_processed_format
in file core_api.php, method core_api::export_image_in_processed_format()
    Returns the image IMAGEHANDLE (raw image only) in the format specified by FORMAT (defaults to GeoTIFF), after applying PROCESS to the raw image. The file will be named NAME, which is useful for multi-file formats where the names of the files inside the zip cannot otherwise be controlled. The image will be returned in the projection specified by COORDSYS, which defaults to latlong NAD83.
export_image_in_processed_format
in file mapcenter_api.php, method mapcenter_api::export_image_in_processed_format()
    Returns the image IMAGEHANDLE (raw image only) in the format specified by FORMAT (defaults to GeoTIFF), after applying PROCESS to the raw image. The file will be named NAME, which is useful for multi-file formats where the names of the files inside the zip cannot otherwise be controlled. The image will be returned in the projection specified by COORDSYS, which defaults to latlong NAD83.
export_image_in_simple_format
in file mapcenter_api.php, method mapcenter_api::export_image_in_simple_format()
    Returns the image IMAGEHANDLE (analysis, or edited image) in the format specified by FORMAT (defaults to GeoTIFF). The file will be named NAME, which is useful for multi-file formats where the names of the files inside the zip cannot otherwise be controlled. The image will be returned in the projection specified by COORDSYS, which defaults to latlong NAD83. If COORDSYS is set to an empty string, no reprojection will occur, and the image will be returned in its native projection (Universal Transverse Mercator, with appropriate zone for the location), unless FORMAT is set to "KMZ" (see below).
export_image_in_simple_format
in file core_api.php, method core_api::export_image_in_simple_format()
    Returns the image IMAGEHANDLE (analysis, or edited image) in the format specified by FORMAT (defaults to GeoTIFF). The file will be named NAME, which is useful for multi-file formats where the names of the files inside the zip cannot otherwise be controlled. The image will be returned in the projection specified by COORDSYS, which defaults to latlong NAD83. If COORDSYS is set to an empty string, no reprojection will occur, and the image will be returned in its native projection (Universal Transverse Mercator, with appropriate zone for the location), unless FORMAT is set to "KMZ" (see below).
export_multiple_images_in_processed_format
in file core_api.php, method core_api::export_multiple_images_in_processed_format()
    As export_image_in_processed_format(), but returns multiple images with handles specified in IMAGESTRUCT, in the format FORMAT, applying the process PROCESS, projected as specified by COORDSYS, with OPTIONS applied as appropriate.
export_multiple_images_in_processed_format
in file mapcenter_api.php, method mapcenter_api::export_multiple_images_in_processed_format()
    As export_image_in_processed_format(), but returns multiple images with handles specified in IMAGESTRUCT, in the format FORMAT, applying the process PROCESS, projected as specified by COORDSYS, with OPTIONS applied as appropriate.
export_multiple_images_in_simple_format
in file mapcenter_api.php, method mapcenter_api::export_multiple_images_in_simple_format()
    As export_image_in_simple_format(), but returns multiple images with handles specified in IMAGESTRUCT, in the format FORMAT, projected as specified by COORDSYS.
export_multiple_vector_tables
in file mapcenter_api.php, method mapcenter_api::export_multiple_vector_tables()
    As export_vector_table(), but returns the attributes and geometries of each vector described in struct VECS. VECS is a struct keyed to the vector handles, as the VECHANDLE parameter to export_vector_table(), with values being the names as the NAME parameter to export_vector_table(). FORMAT and COORDSYS are as for export_vector_table(), and apply to all of the vectors in VECS.
export_vector_table
in file mapcenter_api.php, method mapcenter_api::export_vector_table()
    Returns the attributes and geometries of the vector table VECHANDLE, in the format specified by FORMAT (defaults to ESRI Shapefile). The file will be given the name NAME, which is useful for multi-file formats where the names of the files inside the zip cannot otherwise be controlled.
extract_image_around_hilited_shape
in file mapcenter_api.php, method mapcenter_api::extract_image_around_hilited_shape()
    Extracts a portion of the scene SCENEID around the extents of the hilited shape given in HILITEID, plus a buffer area. The source scene SCENEID need not already be displayed on the map. HILITEID must be the ID of a hilited shape which corresponds to a permanent boundary, not the permanent boundary id.
extract_image_around_hilited_shape
in file core_api.php, method core_api::extract_image_around_hilited_shape()
    Extracts a portion of the scene SCENEID around the extents of the hilited shape given in HILITEID, plus a buffer area. The source scene SCENEID need not already be displayed on the map. HILITEID must be the ID of a hilited shape which corresponds to a permanent boundary, not the permanent boundary id.
extract_image_set_around_hilited_shapes
in file mapcenter_api.php, method mapcenter_api::extract_image_set_around_hilited_shapes()
    As extract_image_around_hilited_shape(), but extracts an image for each hilited shape in array HILITELIST from scene SCENEID, and returns a struct keyed to the IDs of the hilited shapes, with values being the image handles of the extracted images.
extract_image_set_around_hilited_shapes
in file core_api.php, method core_api::extract_image_set_around_hilited_shapes()
    As extract_image_around_hilited_shape(), but extracts an image for each hilited shape in array HILITELIST from scene SCENEID, and returns a struct keyed to the IDs of the hilited shapes, with values being the image handles of the extracted images.
top

g

georeference_extracted_image
in file core_api.php, method core_api::georeference_extracted_image()
    Adjusts the georeferencing of the extracted image IMAGEHANDLE, adding EASTINGCHANGE to the image's easting (longitudinal, x-axis) position, and NORTHINGCHANGE to the northing (latitudinal, y-axis) position. Positive EASTINGCHANGE moves the image to the east, while negative moves it west; similarly, positive NORTHINGCHANGE moves the image north, and negative moves it south.
georeference_extracted_image_set
in file core_api.php, method core_api::georeference_extracted_image_set()
    As georeference_extracted_image(), but applies the EASTINGCHANGE and NORTHINGCHANGE arguments to every extracted image in array IMAGELIST. IMAGELIST must be an array of image handles.
get_accessible_regions_and_objects
in file mapcenter_api.php, method mapcenter_api::get_accessible_regions_and_objects()
    Returns a struct containing the regions and geospatial objects to which the current user has access, or the regions and objects to which a given user or group has access. The outermost struct has two keys: "regions" and "objects". The value of "regions" is a struct keyed to the regionids of the regions, with values being region description structs, as follows:
get_analysis_info
in file core_api.php, method core_api::get_analysis_info()
get_available_colortables
in file core_api.php, method core_api::get_available_colortables()
    Returns a struct describing the available colortables for use in classifying analyses. The colortables can be chosen using the COLORTABLE parameter to analyze_extracted_image_set().
get_available_crop_types
in file mapcenter_api.php, method mapcenter_api::get_available_crop_types()
    Returns a struct of crop type definitions, for use in field attributing. Struct keys are the crop codes (short names), values are the descriptive long names.
get_available_maps
in file core_api.php, method core_api::get_available_maps()
    Returns a struct describing the available maps for loading. Struct keys are the abbreviations or short names of the regions (states, provinces, or countries) represented by the maps, values are description structs, defined as follows:
get_available_scenes
in file core_api.php, method core_api::get_available_scenes()
    Returns a struct of scene description structs, keyed to the scene index, within the current extents of MAPCONTEXT.
get_available_scenes_for_extent
in file core_api.php, method core_api::get_available_scenes_for_extent()
    Returns a struct of scene description structs, keyed to the scene index, within the current extents of EXTENTS. EXTENTS is an extents struct (keys are minx, miny, maxx, maxy), with coordinates in the coordinate system COORDSYS. All four coordinate keys in EXTENTS must be set.
get_available_scenes_for_extent_and_date_range
in file core_api.php, method core_api::get_available_scenes_for_extent_and_date_range()
    Returns a struct of scene description structs, keyed to the scene index, within the extents of EXTENTS, and with scene shooting dates between STARTDATE and ENDDATE, inclusively. EXTENTS is an extents struct (keys are minx, miny, maxx, maxy), with coordinates in the coordinate system COORDSYS. All four coordinate keys in EXTENTS must be set. STARTDATE cannot be equal to or after ENDDATE, or an error is signalled.
get_available_scenes_for_multiple_extents_and_date_range
in file core_api.php, method core_api::get_available_scenes_for_multiple_extents_and_date_range()
    As get_available_scenes_for_extent_and_date_range(), but returns the scene description struct for scenes which intersect the list of extents structs in EXTENTSLIST, and with scene shooting dates between STARTDATE and ENDDATE, inclusively. All extents structs in EXTENTSLIST must be in the coordinate system COORDSYS.
get_available_scene_years
in file core_api.php, method core_api::get_available_scene_years()
    Returns an array of years in which the database has scenes available, in reverse chronological order.
get_available_stac_scenes_for_extent_and_date_range
in file core_api.php, method core_api::get_available_stac_scenes_for_extent_and_date_range()
    Searches for scenes directly against the Element84 STAC API (Earth Search), rather than the legacy
get_changed_data_records
in file mapcenter_api.php, method mapcenter_api::get_changed_data_records()
    Returns a struct describing the changes in data visible to the current user since the time TIMESTAMP, in the categories specified in array CATEGORIES, with options specified in struct OPTIONS. The returned struct will be keyed to each category, with values being the data as returned by the indicated method for that category (as listed below). Calling this method is thus equivalent to calling all of the indicated methods, but filtered according to TIMESTAMP.
get_clu_attributes_by_criteria
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_clu_attributes_by_criteria()
    Returns the attributes for each of the CLUs in the attributed CLU database within the state STATE. If COUNTY is set, restricts the retrieved CLUs to the given county in STATE.
get_customer_balances
in file mapcenter_api.php, method mapcenter_api::get_customer_balances()
    Returns a struct giving the credit balances for the customer groups identified in array CUSTIDS. CUSTIDS is an array of groupids for customer groups to which the current user has access. Use of this method requires either the "view_financials" privilege or the "specialimagery" privilege; the latter will only allow the user to view the imagery credit balance, while the former allows viewing both the subscription and imagery balances.
get_customer_clu_attributes
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_customer_clu_attributes()
    Returns the attributes for each of the CLUs in the attributed CLU database belonging to the grower identified by CUSTOMER_NBR.
get_customer_clu_boundaries
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_customer_clu_boundaries()
    Returns the attributes and geometries (projected in latlong/NAD83, EPSG 4269) of the CLUs in the attributed CLU database belonging to the grower identified by CUSTOMER_NBR.
get_customer_clu_extents
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_customer_clu_extents()
    Returns the extents (in latlong, EPSG:4269) of the CLUs in the attributed CLU database belonging to the grower identified by CUSTOMER_NBR. Use of this method requires the "use_attribclus" privilege.
get_customer_clu_pdf
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_customer_clu_pdf()
    Generates and returns a PDF report mapping out the attributed CLU boundaries owned by grower CUSTOMER_NBR, using map MAPCONTEXT to draw the maps.
get_customer_transaction_history
in file mapcenter_api.php, method mapcenter_api::get_customer_transaction_history()
    Returns the transaction history for the customer group identified by CUSTID, which must be a customer group to which the current user has access.
get_displayed_scene
in file core_api.php, method core_api::get_displayed_scene()
    Returns the sceneid of the currently displayed scene in the map MAPCONTEXT, or false if there is no scene currently displayed.
get_edited_image_info
in file mapcenter_api.php, method mapcenter_api::get_edited_image_info()
get_fcic_crop_types
in file mapcenter_api.php, method mapcenter_api::get_fcic_crop_types()
    Returns a struct describing the known Federal Crop Insurance Corporation (FCIC) crop types. This includes crop names, types, and practices.
get_fielddata_units
in file mapcenter_api.php, method mapcenter_api::get_fielddata_units()
    Returns an array of structs describing the units used in the event records. Each struct is defined as follows:
get_group_fielddata_equipment_records
in file mapcenter_api.php, method mapcenter_api::get_group_fielddata_equipment_records()
    Returns a struct describing the farming equipment recorded for the group GROUPID, used for field events (see the "equipid" field in the event record structs). GROUPID must be the current user's group, or a child of that group.
get_hilited_clu_attributes
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_hilited_clu_attributes()
    Returns the attributes of the attributed CLUs which are currenty hilited.
get_hilited_clu_boundaries
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_hilited_clu_boundaries()
    Returns the attributes and geometries (projected in latlong/NAD83, EPSG 4269) of the CLUs in the attributed CLU database which are currently hilited.
get_hilited_clu_customers
in file clu_mapcenter_api.php, method clu_mapcenter_api::get_hilited_clu_customers()
    Returns an array of customer info structs associated with the attributed CLU whose hilited boundary is identified by SHPID.
get_hilites
in file core_api.php, method core_api::get_hilites()
    Returns a structure containing currently hilited shapes. Struct keys are the GID of the hilite shapes; these are used for uniquely identifying the hilite shape, and do not correspond to permanently stored objects. The struct values are attribute structs describing each hilite shape.
get_hilite_extents
in file core_api.php, method core_api::get_hilite_extents()
    Returns the extents of currently hilited shapes as an extents struct, or false if no hilites present.
get_hilite_ids_within_scene
in file core_api.php, method core_api::get_hilite_ids_within_scene()
    Returns an array of SHPIDs of currently hilited objects which lie within the scene SCENEID. Objects which are partially or completely outside of the scene will not be listed. If there are no hilited objects within the scene, or no hilited objects, returns false.
get_image_info
in file core_api.php, method core_api::get_image_info()
get_map_centroid
in file core_api.php, method core_api::get_map_centroid()
    Returns the centroid of the current map extents in latlong. This is a struct with two fields, LAT and LONG.
get_map_info
in file core_api.php, method core_api::get_map_info()
    Returns basic info about the given map context MAPCONTEXT as a struct. MAPCONTEXT may be a string naming a single map context, or an array of map context strings.
get_map_layers
in file core_api.php, method core_api::get_map_layers()
    Returns a list of the available layers for the map context MAPCONTEXT. Layers are given in order of drawing (lower layers first).
get_map_public_locations
in file core_api.php, method core_api::get_map_public_locations()
get_multiple_analyses_info
in file core_api.php, method core_api::get_multiple_analyses_info()
get_multiple_edited_images_info
in file mapcenter_api.php, method mapcenter_api::get_multiple_edited_images_info()
get_multiple_images_info
in file core_api.php, method core_api::get_multiple_images_info()
get_multiple_scenes_info
in file core_api.php, method core_api::get_multiple_scenes_info()
    As get_scene_info(), but returns info structs for each scene ID given in array SCENEIDS.
get_multiple_vectors_metadata
in file mapcenter_api.php, method mapcenter_api::get_multiple_vectors_metadata()
    As get_vector_metadata(), but returns the metadata of each vector in array VECHANDLES, in a struct keyed to the vector handles. Values are the metadata structs returned by get_vector_metadata().
get_multiple_vector_attribute_tables
in file mapcenter_api.php, method mapcenter_api::get_multiple_vector_attribute_tables()
    As get_vector_attribute_table(), but returns a table for each vector table whose handle is in VECLIST. The tables are placed in a struct keyed to the vector handle; the value is the array of rows described in get_vector_attribute_table(). CRITERION and ZONE are interpreted as for get_vector_attribute_table().
get_my_login_sessions
in file core_api.php, method core_api::get_my_login_sessions()
    Returns a struct describing the current user's logged in sessions. Struct keys are the session tokens (as returned by login()), with values being session structs as follows:
get_my_user_info
in file mapcenter_api.php, method mapcenter_api::get_my_user_info()
    Returns a struct describing basic information about the current user, as follows:
get_notifications
in file mapcenter_api.php, method mapcenter_api::get_notifications()
    Returns an array of notification messages reflecting changes in the system, according to CRITERIA. Notification messages are generated for the current user if the user is subscribed to that category of notification, according to the user's subscription parameters (see Notifications and Autoanalysis). The notifications are returned in reverse order of completion time, which (for digest notifications) is when compilation of the notification's data ended, not when it began. This distinction is meaningless for immediate notifications.
get_objects_analysis_costs_for_scene
in file mapcenter_api.php, method mapcenter_api::get_objects_analysis_costs_for_scene()
get_objects_costs_for_scenes_or_vectors
in file mapcenter_api.php, method mapcenter_api::get_objects_costs_for_scenes_or_vectors()
    Calculates and returns the costs in credits for performing OPERATION with the objects described in OBJECTS, and the scenes or vectors identified in SCENEIDSORVECHANDLES.
get_objects_info
in file mapcenter_api.php, method mapcenter_api::get_objects_info()
    Retrieves and returns information about the objects specified in struct OBJECTS, according to options OPTIONS. OBJECTS is a struct keyed to the object type (boundaries, locations, or paths), with values being arrays of object ids. The objects must be accessible to the current user.
get_object_fielddata_records
in file mapcenter_api.php, method mapcenter_api::get_object_fielddata_records()
    Returns the fielddata event, scouting, and other data records for the objects in struct OBJECTS, for the given CROPYEAR. OBJECTS is a struct keyed to the object type ('boundaries', 'locations', or 'paths'), with values being arrays of objectids of that type. The objects must be ones to which the current user has access.
get_pdfs
in file mapcenter_api.php, method mapcenter_api::get_pdfs()
    Generates and returns a set of PDF reports for the items specified in TYPEITEMS, collecting information for each item based on TYPEOPTIONS, and preparing the PDFs based on PDFOPTIONS.
get_rasters_info
in file core_api.php, method core_api::get_rasters_info()
    Returns a struct keyed to each analyzed image or edited image in IMAGEHANDLES, with values being raster description structs for the given images.
get_raster_pdf
in file mapcenter_api.php, method mapcenter_api::get_raster_pdf()
get_regions_info
in file mapcenter_api.php, method mapcenter_api::get_regions_info()
    Retrieves and returns information about the regions specified in array REGIONIDS, according to options OPTIONS. REGIONS is an array of region ids accessible to the current user.
get_saved_datasets_for_objects
in file mapcenter_api.php, method mapcenter_api::get_saved_datasets_for_objects()
    Returns a struct containing information on datasets saved to the hilited objects in HILITEIDS. HILITEIDS is an array of hilite ids corresponding to saved objects (boundaries, locations, or paths). The struct is keyed to the hilite ids, with values being dataset type structs. Possible keys (dataset types) are as follows:
get_scene_info
in file core_api.php, method core_api::get_scene_info()
    Returns info struct about the scene identified by SCENEID. If no such scene exists, returns FALSE.
get_scouting_master_tables
in file mapcenter_api.php, method mapcenter_api::get_scouting_master_tables()
    Returns a struct describing the master tables for the beneficial species, diseases, insects, and weeds used in scouting report records.
get_scouting_table_inputs
in file mapcenter_api.php, method mapcenter_api::get_scouting_table_inputs()
    Returns a struct describing the allowed inputs for certain restricted string columns in the various scouting tables.
get_vector_attribute_table
in file mapcenter_api.php, method mapcenter_api::get_vector_attribute_table()
    Returns the attribute table for the vector VECHANDLE, with rows grouped according to CRITERION: 'row' means all attributes for all rows of the table are returned, while an attribute name will group the rows by that attribute. If a requested CRITERION attribute does not exist in the table, the results will be grouped by 'row'.
get_vector_metadata
in file mapcenter_api.php, method mapcenter_api::get_vector_metadata()
    Returns metadata about the vector VECHANDLE. The metadata is returned as a struct, as follows:
get_vector_pdf
in file mapcenter_api.php, method mapcenter_api::get_vector_pdf()
get_visible_groups
in file mapcenter_api.php, method mapcenter_api::get_visible_groups()
    Returns a struct of info describing the groups visible to the current user. Users can see their own group, and the children of their group down to the bottom of their group hierarchy; they cannot see sibling groups (other groups with the same parent as their group), or subgroups of sibling groups.
get_visible_users
in file mapcenter_api.php, method mapcenter_api::get_visible_users()
    Returns a struct of user info for all users visible to the current user, as defined by group membership. Only members of the current user's group, and subgroups of that group, are visible. Struct keys are the UIDs of the users, values are as defined for get_my_user_info(), except for the following keys, which will NOT be present: notification_settings, subscriptions, presets, client_preferences, customerinfo.
top

h

hilite_clus_by_criteria
in file clu_mapcenter_api.php, method clu_mapcenter_api::hilite_clus_by_criteria()
    Selects CLUs from the attributed CLU database which are within STATE, optionally filtered by COUNTY and CRITERIA, and hilites the resulting boundaries.
hilite_customer_clu_boundaries
in file clu_mapcenter_api.php, method clu_mapcenter_api::hilite_customer_clu_boundaries()
    Selects CLUs from attributed CLU database for grower CUSTOMER_NBR, and copies them to the hilite table for the current user.
top

l

load_map
in file core_api.php, method core_api::load_map()
    Loads the map named THESTATE. Returns the map context.
load_map
in file mapcenter_api.php, method mapcenter_api::load_map()
    Loads the map named THESTATE. Returns the map context.
load_maps
in file mapcenter_api.php, method mapcenter_api::load_maps()
    As load_map(), but loads maps named in array STATELIST, and returns a struct of map contexts, keyed to the names from STATELIST. Names in STATELIST must be valid arguments to load_map().
load_maps
in file core_api.php, method core_api::load_maps()
    As load_map(), but loads maps named in array STATELIST, and returns a struct of map contexts, keyed to the names from STATELIST. Names in STATELIST must be valid arguments to load_map().
login
in file core_api.php, method core_api::login()
    Logs in a user to the system. Establishes a session and sets the session cookie if the USERNAME and PASSWORD match the user database.
logout
in file core_api.php, method core_api::logout()
    Logs out of the system. Cookies are destroyed and session is removed from database. Any map contexts and temporary files are also destroyed.
top

m

make_geometric_intersection_of_hilited_shapes
in file core_api.php, method core_api::make_geometric_intersection_of_hilited_shapes()
    Replaces the two hilited objects identified by FIRSTSHPID and SECONDSHPID with a single object consisting of the point set intersection of the two objects, with the name NAME.
make_geometric_symdifference_of_hilited_shapes
in file core_api.php, method core_api::make_geometric_symdifference_of_hilited_shapes()
    Replaces the two hilited boundaries identified by FIRSTSHPID and SECONDSHPID with a single boundary consisting of the point set symmetric difference of the two boundaries, with the name NAME. The existing boundaries will be removed from the hilite layer.
make_geometric_union_of_hilited_shapes
in file core_api.php, method core_api::make_geometric_union_of_hilited_shapes()
    Replaces the hilited objects identified by hiliteids in array SHPLIST with a single, complex object consisting of the point set union of their geometries, with the name NAME. The existing objects will be removed from the hilite layer.
mapcenter_api
in file mapcenter_api.php, class mapcenter_api
    Provides services for precision agriculture "Mapcenter" systems.
mapcenter_api.php
procedural page mapcenter_api.php
merge_analysis_zones
in file core_api.php, method core_api::merge_analysis_zones()
    Merges the classification of the zones MERGEZONES in analyzed image IMAGEHANDLE. The ranges of values in the raw image represented by the zones is combined into one zone.
move_layer
in file core_api.php, method core_api::move_layer()
    Moves the layer LAYER of map MAPCONTEXT in the display list (order of drawing) by AMOUNT. If AMOUNT > 0, this moves the layer UP in the list. If AMOUNT < 0, the layer is moved DOWN in the list. AMOUNT = 0 is allowed, but silly. Layers are drawn in list order, so later layers will cover those drawn earlier; use this function to control which layers overlay each other.
top

p

paint_image_polygons_with_map_coordinates
in file core_api.php, method core_api::paint_image_polygons_with_map_coordinates()
    Alters the pixels of the analysis or edited image IMAGEHANDLE whose positions are within the polygonal region POLYLIST, to the color of zone ZONENUMBER, using MAPCONTEXT to paint the new points.
paint_image_polygons_with_pixel_points
in file core_api.php, method core_api::paint_image_polygons_with_pixel_points()
    Alters the pixels of the analysis or edited image IMAGEHANDLE whose positions are within the polygonal region POLYLIST, to the color of zone ZONENUMBER, using MAPCONTEXT to paint the new points.
prepare_new_autoanalysis_jobs_from_matches
in file mapcenter_api.php, method mapcenter_api::prepare_new_autoanalysis_jobs_from_matches()
    Prepares new autoanalysis jobs for the match records identified in array MATCHIDS. The identified match records must belong to the current user. Each new job will be created using the current user's presets, or default settings if the user has no presets. The new jobs will be in the "wait" state; a new notification will NOT be created for the new jobs, as they are part of existing matches.
process_creditcard_payment
in file mapcenter_api.php, method mapcenter_api::process_creditcard_payment()
    Processes a credit card payment of AMOUNT in US dollars, using the CARDNUMBER, EXPDATE, and CVV provided, for the current user's customer group.
top

q

query_map_layer_at_map_coordinate
in file core_api.php, method core_api::query_map_layer_at_map_coordinate()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the point defined by map coordinates XCORD and YCORD, and returns attribute information about any intersecting vectors at that point. XCORD and YCORD must be in latlong NAD83 (EPSG 4269) unless COORDSYS is specified. LAYER may be the index number or the name of the layer to query. LAYER must identify a vector layer; this function does not support querying raster layers.
query_map_layer_at_map_coordinate
in file mapcenter_api.php, method mapcenter_api::query_map_layer_at_map_coordinate()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the point defined by map coordinates XCORD and YCORD, and returns attribute information about any intersecting vectors at that point. XCORD and YCORD must be in latlong NAD83 (EPSG 4269) unless COORDSYS is specified. LAYER may be the index number or the name of the layer to query. LAYER must identify a vector layer; this function does not support querying raster layers.
query_map_layer_at_map_coordinate
in file clu_mapcenter_api.php, method clu_mapcenter_api::query_map_layer_at_map_coordinate()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the point defined by map coordinates XCORD and YCORD, and returns attribute information about any intersecting vectors at that point. XCORD and YCORD must be in latlong NAD83 (EPSG 4269) unless COORDSYS is specified. LAYER may be the index number or the name of the layer to query. LAYER must identify a vector layer; this function does not support querying raster layers.
query_map_layer_at_pixel_point
in file core_api.php, method core_api::query_map_layer_at_pixel_point()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the pixel coordinates XPOINT and YPOINT, and returns attribute information about any intersecting vectors at that point.
query_map_layer_at_pixel_point
in file mapcenter_api.php, method mapcenter_api::query_map_layer_at_pixel_point()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the pixel coordinates XPOINT and YPOINT, and returns attribute information about any intersecting vectors at that point. XPOINT must be in range 0 .. map width, YPOINT in range 0 .. map height. Coordinate 0,0 is top left corner of the map. LAYER must identify a vector layer; this function does not support querying raster layers.
query_map_layer_at_pixel_point
in file clu_mapcenter_api.php, method clu_mapcenter_api::query_map_layer_at_pixel_point()
    Queries the layer identified by LAYER in map MAPCONTEXT, at the pixel coordinates XPOINT and YPOINT, and returns attribute information about any intersecting vectors at that point. XPOINT must be in range 0 .. map width, YPOINT in range 0 .. map height. Coordinate 0,0 is top left corner of the map. LAYER may be the index number or the name of the layer to query. LAYER must identify a vector layer; this function does not support querying raster layers.
query_map_layer_with_layer_shapes
in file mapcenter_api.php, method mapcenter_api::query_map_layer_with_layer_shapes()
    Queries the layer identified by TARGETLAYER in map MAPCONTEXT, using the shapes identified by integer IDs in array IDS, which are contained in the layer SOURCELAYER. For each shape from SOURCELAYER in IDS, attribute information for the intersecting shapes from TARGETLAYER will be returned. SOURCELAYER and TARGETLAYER may be the index numbers or the names of the layers. They must identify vector layers; this function does not support querying raster layers.
query_map_layer_with_layer_shapes
in file core_api.php, method core_api::query_map_layer_with_layer_shapes()
    Queries the layer identified by TARGETLAYER in map MAPCONTEXT, using the shapes identified by integer IDs in array IDS, which are contained in the layer SOURCELAYER. For each shape from SOURCELAYER in IDS, attribute information for the intersecting shapes from TARGETLAYER will be returned. SOURCELAYER and TARGETLAYER may be the index numbers or the names of the layers. They must identify vector layers; this function does not support querying raster layers.
query_map_layer_with_layer_shapes
in file clu_mapcenter_api.php, method clu_mapcenter_api::query_map_layer_with_layer_shapes()
    Queries the layer identified by TARGETLAYER in map MAPCONTEXT, using the shapes identified by integer IDs in array IDS, which are contained in the layer SOURCELAYER. For each shape from SOURCELAYER in IDS, attribute information for the intersecting shapes from TARGETLAYER will be returned. SOURCELAYER and TARGETLAYER may be the index numbers or the names of the layers. They must identify vector layers; this function does not support querying raster layers.
query_multiple_map_layers_at_map_coordinate
in file mapcenter_api.php, method mapcenter_api::query_multiple_map_layers_at_map_coordinate()
    As query_map_layer_at_map_coordinate(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_map_coordinate().
query_multiple_map_layers_at_map_coordinate
in file core_api.php, method core_api::query_multiple_map_layers_at_map_coordinate()
    As query_map_layer_at_map_coordinate(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_map_coordinate().
query_multiple_map_layers_at_map_coordinate
in file clu_mapcenter_api.php, method clu_mapcenter_api::query_multiple_map_layers_at_map_coordinate()
    As query_map_layer_at_map_coordinate(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_map_coordinate().
query_multiple_map_layers_at_pixel_point
in file mapcenter_api.php, method mapcenter_api::query_multiple_map_layers_at_pixel_point()
    As query_map_layer_at_pixel_point(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_pixel_point().
query_multiple_map_layers_at_pixel_point
in file core_api.php, method core_api::query_multiple_map_layers_at_pixel_point()
    As query_map_layer_at_pixel_point(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_pixel_point().
query_multiple_map_layers_at_pixel_point
in file clu_mapcenter_api.php, method clu_mapcenter_api::query_multiple_map_layers_at_pixel_point()
    As query_map_layer_at_pixel_point(), but queries each of the layers given in array LAYERLIST; all other arguments are as for query_map_layer_at_pixel_point().
top

r

record_ssr_transaction
in file mapcenter_api.php, method mapcenter_api::record_ssr_transaction()
    Records a SSR index transaction and returns the balance.
reload_multiple_saved_analyses
in file mapcenter_api.php, method mapcenter_api::reload_multiple_saved_analyses()
    As reload_saved_analysis(), but reloads multiple analyses as specified in array ANALYSISIDS.
reload_multiple_saved_edited_images
in file mapcenter_api.php, method mapcenter_api::reload_multiple_saved_edited_images()
    As reload_saved_edited_image(), but reloads multiple edited images as specified in array IMAGEIDS.
reload_saved_analysis
in file mapcenter_api.php, method mapcenter_api::reload_saved_analysis()
    Reloads the saved analysis ANALYSISID from the database, using MAPCONTEXT. Returns the image handle of the reloaded analyzed image.
reload_saved_edited_image
in file mapcenter_api.php, method mapcenter_api::reload_saved_edited_image()
    Reloads the saved edited image IMGID from the database. Returns the image handle of the reloaded edited image.
remove_hilited_shape
in file core_api.php, method core_api::remove_hilited_shape()
    Removes the hilited shape identified by HILITEID from its hilite layer.
remove_hilited_shapes
in file core_api.php, method core_api::remove_hilited_shapes()
    As remove_hilited_shape(), but removes multiple hilites identified by HILITEIDs in array HILITEIDLIST. Useful when the user wants to remove several, but not all, hilites.
remove_image_display_layer
in file core_api.php, method core_api::remove_image_display_layer()
    Removes the display layer for image IMAGEHANDLE from display on map MAPCONTEXT.
remove_multiple_image_display_layers
in file core_api.php, method core_api::remove_multiple_image_display_layers()
    As remove_image_display_layer(), but removes display layers for all image handles in array IMGLIST.
remove_multiple_vector_display_layers
in file mapcenter_api.php, method mapcenter_api::remove_multiple_vector_display_layers()
    As remove_vector_display_layer(), but removes display layers for all vector handles in array VECLIST.
remove_vector_display_layer
in file mapcenter_api.php, method mapcenter_api::remove_vector_display_layer()
    Removes the display layer for vector VECHANDLE from display on map MAPCONTEXT.
rename_hilited_shape
in file core_api.php, method core_api::rename_hilited_shape()
    Changes the name of the hilited shape identified by GID to NEWNAME. This is primarily useful for preparing boundaries to be saved as fields.
rename_hilited_shapes
in file core_api.php, method core_api::rename_hilited_shapes()
    As rename_hilited_shape(), but renames multiple hilites identified in HILITESTRUCT. HILITESTRUCT is a struct keyed to the GID of the hilited shapes, with values being the new names to assign.
rename_objects
in file mapcenter_api.php, method mapcenter_api::rename_objects()
    Renames the objects specified in OBJECTNAMES to the given names. OBJECTNAMES is a struct keyed to the object type ("boundaries", "locations", or "paths"), with values being structs keyed to the objectid, having values of the new names for the objects.
rename_saved_datasets
in file mapcenter_api.php, method mapcenter_api::rename_saved_datasets()
    Renames the saved datasets described in DATASETLIST, which is an array of structs describing each dataset. Struct fields are as follows:
top

s

save_analysis
in file mapcenter_api.php, method mapcenter_api::save_analysis()
    Saves the analyzed image IMAGEHANDLE to database under name ANALYSISNAME. All metadata associated with the analysis, and all information needed to recreate it, are also saved.
save_edited_image
in file mapcenter_api.php, method mapcenter_api::save_edited_image()
    Saves the edited image IMAGEHANDLE to database under name IMAGENAME.
save_group_fielddata_equipment_records
in file mapcenter_api.php, method mapcenter_api::save_group_fielddata_equipment_records()
    Saves farming equipment records, described in array EQUIPMENT, for the group identified by GROUPID. GROUPID must identify the current user's group, or a child of that group.
save_hilited_objects
in file mapcenter_api.php, method mapcenter_api::save_hilited_objects()
save_multiple_analyses
in file mapcenter_api.php, method mapcenter_api::save_multiple_analyses()
    As save_analysis(), but saves all analyses with handles and names specified in struct NAMEHANDLESTRUCT. NAMEHANDLESTRUCT is keyed to the image handles, with values of the names under which to save each analysis.
save_multiple_edited_images
in file mapcenter_api.php, method mapcenter_api::save_multiple_edited_images()
    As save_edited_image(), but saves all edited images with handles and names specified in struct NAMEHANDLESTRUCT. NAMEHANDLESTRUCT is keyed to the image handles, with values of the names under which to save each edited image.
save_multiple_vectors_to_multiple_objects
in file mapcenter_api.php, method mapcenter_api::save_multiple_vectors_to_multiple_objects()
    As save_vector_to_object(), but saves multiple vector tables to (potentially) multiple objects, as specified in struct VECSTRUCT.
save_object_fielddata_records
in file mapcenter_api.php, method mapcenter_api::save_object_fielddata_records()
    Creates and saves new event, scouting, or data records for the given CROPYEAR as described in the array EVENTS. EVENTS is an array of event description structs.
save_vector_to_object
in file mapcenter_api.php, method mapcenter_api::save_vector_to_object()
    Permanently saves the vector table VECHANDLE to the database, under the name NAME, attached to the object identified by OBJECTTYPE and OBECTID. The object must be one to which the user has "append" access.
search_and_prepare_autoanalysis_matches_and_jobs
in file mapcenter_api.php, method mapcenter_api::search_and_prepare_autoanalysis_matches_and_jobs()
    Queries for scenes using the boundaries identified in array BOUNDARYIDS, using the criteria in CRITERIA. For each scene found that contains one or more boundaries in BOUNDARYIDS, prepares a new match record, with corresponding job, for the current user. The match record will contain the sceneid of the matched scene, and the boundary ids of the matched boundaries within that scene. The boundaries must be accessible to the current user; however, the user does not need to be subscribed to the boundaries, in order for the matches and jobs to be created by this method.
search_clu_database
in file clu_mapcenter_api.php, method clu_mapcenter_api::search_clu_database()
    Searches attributed CLU database for a particular grower or set of growers. If COUNTY is "none", all counties in STATE are searched. COUNTY cannot be "none" if no other search criteria are specified.
search_pls_locations
in file core_api.php, method core_api::search_pls_locations()
    Queries the PLS layer LAYER for townships or sections matching the criteria in struct CRITERIA, returning results found.
select_by_extents
in file core_api.php, method core_api::select_by_extents()
    Selects (hilites) the objects in LAYERNAME within current extents of the map MAPCONTEXT. LAYERNAME must be one of "boundaries" (the default), "locations", "paths", "clu", or "attribclu". Selecting on the "attribclu" layer requires the "use_attribclus" privilege.
select_by_object_type_and_id
in file mapcenter_api.php, method mapcenter_api::select_by_object_type_and_id()
    Selects (hilites) the objects of type TYPE, listed in IDS, from the corresponding layer of map MAPCONTEXT. TYPE must be one of "boundaries", "locations", or "paths". IDS must be a ids of the corresponding object type to select. The given objects must be accessible to the current user. An invalid (nonexistent or not accessible) object id triggers an error.
select_by_pixel_point
in file core_api.php, method core_api::select_by_pixel_point()
    Selects (hilites) the boundaries in LAYERNAME of the map MAPCONTEXT which intersect the pixel point (XPOINT,YPOINT). XPOINT and YPOINT are pixel coordinates, with XPOINT in range 0 .. map width, YPOINT in range 0 .. map height. Coordinate 0,0 is top left corner of the map. LAYERNAME must be one of "boundaries" (the default), "locations", "paths", "clu", or "attribclu". Selecting on the "attribclu" layer requires the "use_attribclus" privilege.
select_by_point
in file core_api.php, method core_api::select_by_point()
    Selects (hilites) the objects in LAYERNAME of the map MAPCONTEXT which intersect the point (XCORD,YCORD). Point coordinates should be in latlong unless COORDSYS is set.
set_attributes_for_vector
in file mapcenter_api.php, method mapcenter_api::set_attributes_for_vector()
    Sets the values of attributes in vector table VECHANDLE according to the attribute value structs in array ATTRIBLIST. Attribute value structs are defined as follows:
set_map_extents
in file core_api.php, method core_api::set_map_extents()
    Sets the extents of the map given by MAPCONTEXT to MINX, MINY, MAXX, MAXY. Extents should be in latlong unless COORDSYS is given. BUFFER is additional padding (in meters) around the extents, to ensure everything is in view. Set to 0 for no buffering.
set_map_projection
in file core_api.php, method core_api::set_map_projection()
    Sets the projection and coordinate system of map MAPCONTEXT to projection NEWPROJ.
set_map_size
in file core_api.php, method core_api::set_map_size()
    Sets the size of the map (size of the output image) given by MAPCONTEXT to WIDTH x HEIGHT, in pixels.
set_objects_access_controls
in file mapcenter_api.php, method mapcenter_api::set_objects_access_controls()
    Sets the access controls for the geospatial objects in array OBJECTS. Use of this method requires the "change_object_acls" privilege.
set_objects_notification
in file mapcenter_api.php, method mapcenter_api::set_objects_notification()
shift_analysis_zone_endpoints
in file core_api.php, method core_api::shift_analysis_zone_endpoints()
    Changes the classification of the analysis IMAGEHANDLE, changing the maximum point of SHIFTZONE by SHIFTAMOUNT. SHIFTZONE must be in the range (1 .. number of zones - 1), i.e., the final zone's max point cannot be shifted.
subscribe_groups_to_objects
in file mapcenter_api.php, method mapcenter_api::subscribe_groups_to_objects()
    Creates subscriptions for customer groups to imagery types (such as RapidEye) for objects, as specified in SPECIFICATION. Subscription costs are deducted from the credit balances of the customer groups, and the new balances are returned.
top

t

toggle_map_layer
in file core_api.php, method core_api::toggle_map_layer()
    Toggles the status of the map layer (on or off) identified by LAYER (the layer name or index) in the given map context. If the layer was off, it is turned on, and vice versa. A layer whose status is OFF is not drawn when draw_map() is called, but may still be drawn using WMS.
toggle_multiple_map_layers
in file core_api.php, method core_api::toggle_multiple_map_layers()
    As toggle_map_layer(), but toggles each of the map layers identified by the layer names or layerid numbers in LAYERS.
transfer_credits_between_customer_groups
in file mapcenter_api.php, method mapcenter_api::transfer_credits_between_customer_groups()
    Transfers AMOUNT credits from the customer group identified by FROMID, to the customer group identified by TOID.
top

u

update_group_info
in file mapcenter_api.php, method mapcenter_api::update_group_info()
    Updates the information for the group GROUPID, using the information struct INFO. GROUPID must be the ID of either the current user's group, or that of a subgroup of the current user's group. Use of this method requires the "create_groups" privilege.
update_notifications
in file mapcenter_api.php, method mapcenter_api::update_notifications()
    Updates the notifications identified in struct CRITERIA, setting the metadata specified in WHICH.
update_region
in file mapcenter_api.php, method mapcenter_api::update_region()
    Updates the info for the region identified by REGIONID, using the information struct INFO. The region to modify must be owned by the current user, or by a user visible to the current user. If the creator of the region is not the current user, the region must not be private.
update_user_info
in file mapcenter_api.php, method mapcenter_api::update_user_info()
    Updates the information for the user USERID, using the information struct INFO. USERID must be the ID of either the current user, or that of a user accessible to the current user.
upload_geotagged_photo
in file core_api.php, method core_api::upload_geotagged_photo()
    Uploads the geotagged photo IMAGEFILE to the database, storing it with the description DESCRIPTION. The OPTIONS struct, if provided, can set three optional parameters:
upload_objects_to_hilites
in file core_api.php, method core_api::upload_objects_to_hilites()
    Uploads the geometries of vector file VECFILE, in the specified format FORMAT, into the hilite layer. NAMECOLUMN specifies which attribute column to use to name each object; if not specified, the boundaries will be given default names (Unnamed1, Unnamed2, Unnamed3, etc). Point coordinates should be in latlong/NAD83 unless COORDSYS is set. COORDSYS is ignored for GeoJSON, GML and KML files, which must be in latlong.
top

z

zoom_map_at_map_coordinate
in file core_api.php, method core_api::zoom_map_at_map_coordinate()
    Recenters the map MAPCONTEXT around the point represented by map coordinates XCORD and YCORD. XCORD and YCORD must be in latlong NAD83 (EPSG 4269) unless COORDSYS is specified.
zoom_map_at_pixel_point
in file core_api.php, method core_api::zoom_map_at_pixel_point()
    Recenters the map MAPCONTEXT around the point represented by pixel coordinates XPOINT and YPOINT. Coordinate 0,0 is top left corner of the map.
zoom_map_to_map_coordinate_with_radius
in file core_api.php, method core_api::zoom_map_to_map_coordinate_with_radius()
    Sets the map extents to those of the bounding box around map coordinate XCORD,YCORD, with a buffer of RADIUS meters. XCORD and YCORD must be in latlong NAD83 (EPSG 4269) unless COORDSYS is specified. RADIUS must be a positive integer.
zoom_map_to_pixel_rectangle
in file core_api.php, method core_api::zoom_map_to_pixel_rectangle()
    Sets the map extents to those bounded by the box described by pixel coordinates PIXMINX, PIXMINY, PIXMAXX, PIXMAXY. Cordinate (0,0) is the top left corner of the map. The bounding box size cannot be zero in either dimension (i.e., PIXMINX must not equal PIXMAXX, PIXMINY must not equal PIXMAXY).
top

Documentation generated on Wed, 19 Aug 2026 18:55:24 -0500 by phpDocumentor 1.4.4