Ticket #100 (closed enhancement: done)
Maintenance Crew callout map layer for CPTMS
| Reported by: | jdalbey | Owned by: | tanmay |
|---|---|---|---|
| Priority: | Medium | Milestone: | May 2021 Training |
| Component: | CPTMS | Version: | |
| Severity: | Minor | Keywords: | |
| Cc: |
Description
A digital version of the printed map now in use. Neil will ask Sergio for digital info used to construct map regions. Have an identifying marker in the center of each region that when clicked opens a details page with the contact info for the crew.
Change History
comment:2 Changed 6 years ago by jdalbey
- Owner changed from jdalbey to tanmay
- Priority changed from Low to Medium
- Status changed from new to assigned
- Milestone changed from Wish List to March 2020 Training
comment:3 Changed 6 years ago by jdalbey
Directions for creating a GPX file with the polygons of the callout map regions.
Launch caltopo.com in a browswer.
Search for irvine, ca
Hover over the map type selector in the upper right corner. Choose OpenStreeMap as the Base Layer.
Adjust zoom level as desired.
Refer to CalloutMapDistrict14.png.
In the left panel, click "Add New Object" and select "Polygon"
In the dialog, provide a label for which Callout area it is and choose desired color.
Click OK
On the map, click on the first point of the polygon you are creating. Move the mouse, and click on the second point. A line will be drawn. Continue until all points on the polygon have been drawn. You don't need to connect back to the first point; caltopo does that for you automatically.
When done, click "export" on the top toolbar, choose "download GPX".
In the Export Selection box, verify all shapes are checked and click "Export". The download file is named "export.gpx".
Extract the GPX coordinates and edit them,
changing this:
<trkpt lat="33.72405411343989" lon="-117.73738861083986"/>
to this:
{lat: 33.724054, lng: -117.737388},
The resulting list of lat, long values is ready to be added to the CalloutMap Prototype.
