Document toolboxDocument toolbox

14.1 sp840_planner_map_text

This table holds text labels that are to be rendered onto map images. The data may be transitory, in which case ServicePlanner will take responsibility for tidy-up, or long-lived, in which case the text will remain in the database until tidied by a system administrator. The text data is grouped according to the pair of columns (user_id, group_index). ServicePlanner will map grouped text in the same style, remove them as a group and display either all the text in a group or not at all.


 

Table Definition

Field
Type
Default
Nullable
postcodevarchar2(30) (error)
user_id varchar2(50)  (error)
group_index number(2,0) (error)
longitude float(126)  (error)
latitude float(126)  (error)
text varchar2(50)  (error)
time_stampdate (tick)

Keys

primary key (postcode,user_id,group_index)

Column Descriptions

FieldDescription
postcodeReference that was used to look-up location in the map data - typically a postal code.
user_idIdentifies the user. This is either the session id for transient data or, for added user-data, the name of the user-data followed by # and the name of the geography to map against. 
group_index Index that groups text labels for the user_id.
longitude Coordinate to draw text label at (coord system WSG84).
longitude Coordinate to draw text label at (coord system WSG84).
textText to write onto the map.
time_stampDate and time that entry was made into the database.