bcgov / smk-tlink

The Truck Route Planner application for Translink built using the Simple Map Kit.
Apache License 2.0
2 stars 4 forks source link

Identify data - visible attributes #24

Closed al-tabb closed 4 years ago

al-tabb commented 4 years ago

submitted by @al-tabb

Is it possible to use the classic popup style box above the clicked on feature when identifying features? This would probably only work well in a desktop environment. image

NicoledeGreef commented 4 years ago

I'm going to break this one into distinct Issue tickets: one for Legend / Route Planner 'Widget' Placement and Behaviour, one for Legend Items Modification, and one for Identify Tool.

NicoledeGreef commented 4 years ago

Created https://github.com/bcgov/smk-tlink/issues/33 and https://github.com/bcgov/smk-tlink/issues/34

NicoledeGreef commented 4 years ago

Discussed with @gk-tl and @al-tabb.

For identified values, if value = 'N/A' or number fields = null Suppress SHAPE, LENGTH, Restricted, etc.

@al-tabb to supply screen shots of identified layer attributes so the config can be adjusted in TRP.

al-tabb commented 4 years ago

Truck Routes Layer (includes Provincial Highway, Designated Municipal Truck Route, Designated Municipal Truck Route with Restriction, Municipal Road with No Truck Restrictions, Federal Road with No Truck Restrictions)

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Truck Advisories and Restrictions

image

Edit: Add 'Bylaw Link Field', add 'Notes' field

al-tabb commented 4 years ago

Overhead Structure with Height Marker

image

Edit: Add 'Notes' field

al-tabb commented 4 years ago

Overhead Structure without Height Marker

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Overhead Directional Sign

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Inspection Stations

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Cardlock

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Port of Vancouver Facilities / Terminals

image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Metro Vancouver Boundary

image

al-tabb commented 4 years ago

Truck Parking image

Edit: add 'Notes' field

al-tabb commented 4 years ago

Layers without popups: Industrial Area, Downtown Vancouver, Major Road Network, Provincial Highway

gk-tl commented 4 years ago

If not too late, please change “Truck Weight Definition” to “Heavy Truck Definition (LGVW)”

In the notes field, please add text:

“A heavy truck, which is defined as a vehicle with a licensed gross vehicle weight (LGVW) greater than the weight specified above, must use truck routes for through-travel between the origin and destination. Heavy trucks are permitted to travel off truck routes for local pick-up and delivery, but must use the shortest distance between the truck route and the origin or destination.”

qqnluaq commented 4 years ago

Truck Advisories and Restrictions Edit: Add 'Bylaw Link Field', add 'Notes' field

I don't see a Notes field:

FID: 1372
Bylaw_Link: "https://westvancouver.ca/sites/default/files/bylaws/TrafficandParkingBylawNo.4370%2C2004.pdf#page=26"
Provincial: 0
Designated: 0
Docu_PgNum: "Pg. 23 - 24, 37 - 38"
PDF_Page: "Pg. 26 - 27, 40 - 41"
City: "West Vancouver"
RGN: "GVRD"
Restricted: 1
Type: "Truck Travel Restriction or Prohibition"
TruckDefWt: 10000
Bylaw: "No. 4370, 2004, Pt. 8.16"
AdviseType: "Restriction"
Shape_Leng: null
AdviseDesc: "Trucks, Trailers or Truck-Tractor combinations in excess of 10,000kg GVW are prohibited in a downhill direction. For this road, travelling southbound is prohibited"
SHAPE__Length: 1133.27777844219
gk-tl commented 4 years ago

@al-tabb indicated adding a "notes" field as an edit:

Truck Routes Layer (includes Provincial Highway, Designated Municipal Truck Route, Designated Municipal Truck Route with Restriction, Municipal Road with No Truck Restrictions, Federal Road with No Truck Restrictions)

image

Edit: add 'Notes' field

NicoledeGreef commented 4 years ago

Notes was not supplied in the data, I think, unless that is the AdviseDesc field.
Is it being requested that we add Notes to the data? Ideally, Translink will supply the data with all fields defined so that going forward the model will be consistent.

gk-tl commented 4 years ago

Followed up with @al-tabb . The "notes" field is already in the GeoDatabase (currently a null value/blank). However, Alan suggested that it would be best if he updates the file and re-submits with the changes below:

If it's not too late, please change “Truck Weight Definition” to “Heavy Truck Definition (LGVW)”

In the notes field, please add text:

“A heavy truck, which is defined as a vehicle with a licensed gross vehicle weight (LGVW) greater than the weight specified above, must use truck routes for through-travel between the origin and destination. Heavy trucks are permitted to travel off truck routes for local pick-up and delivery, but must use the shortest distance between the truck route and the origin or destination.”

qqnluaq commented 4 years ago

Temporary Road Closure Extent & Temporary Road Closure aren't mentioned here

qqnluaq commented 4 years ago

Layers that where I was requested to add a Notes attribute but one doesn't seem to exist in data

"Overhead Directional Signs" "Overhead Structure without Height Marker" "Overhead Structure with Height Marker"

have no Notes field in GDB, using Comments field as Notes

"Port of Vancouver Facilities / Terminals"

Have a Notes field in GDB, as well as Description. Should app display Description or Notes (or both)?

al-tabb commented 4 years ago

@qqnluaq Are you looking at the geodatabase or at the AGOL services? I have added 'Notes' fields for datasets in the geodatabase.

qqnluaq commented 4 years ago

I don't have access to the GDB, only AGOL

al-tabb commented 4 years ago

I sent the GDB to you by email this morning. I am not able to update the AGOL services.

gk-tl commented 4 years ago

Complete. Thank you.