User Tools

Site Tools


pfox:c17

https://lists.openstreetmap.org/pipermail/talk-us/2022-September/021826.html

https://share.garmin.com/KV66R

IAR Parsing

Goal: to create clickable link to open Google maps on coordinates.
Example: www.google.com/maps/search/?api=1&query=38.4906801528414,-78.9331920701736

The Google link is:

www.google.com/maps/search/?api=1&query=

Each time I tried making the parsing settings as elementary as possible. I think #2 is as simple as I can make it. It works great on the page, but the received message is never right for some reason.

Attempt #1

In this attempt I've removed the google link.
Previous to that, received messages were like this:

www.google.com/maps/search/?api=1&query=38.4427008440185
Lon : -79.098714747066

Now with the maps link removed, it should be comma separated coordinates.

The received text is:

(CO-17/R-17) ABDOMINAL PAIN - R
8078 MORGANS RUN LN, Dayton
X Street : DEAD END / BRIERY BRANCH RD
Incident # : 2022-00013786
Tac : 2
Priority : 2 - Medium
Units : A176
Box : 17-15
38.4427008440185
Lon : -79.098714747066
CAD

Attempt #2

results in being correct, except hard carriage return and no comma between coord. Like this:

(CO-17/R-17) Call : PAIN - R
Address : 6077 APRIL DR, Bridgewater
X Street : LAMBERT TOWN RD / DEAD END
Incident # : 2022-00013792 (16500)
Tac : *TAC  2
Priority : 3 - Low
Units : A176
Fire Box : 17-15
http://www.google.com/maps/search/?api=1&query=38.4212169173478
-79.0688406683259
CAD # : 113
Move Up : 
Stand-By :

Attempt #3

Results in this message received:

(CO-17/R-17) Call : HAZMAT INCIDENT
3444 RALSTON RD, Rockingham
X Street : SINGERS GLEN RD, SKY RD / FARM VIEW LN
Incident # : 202200014256 (16500)
Tac : *TAC  3
Priority : 1  High
Units : E23, RSQ7, E756, DO90, HM900, CO40, A176
Fire Box : 7506
Lat : 38.4906801528414
Lon : 78.9331920701736
CAD # : 829

Other Info

Ambulance payouts:

  • 40% to vehicle owner.
  • 25% to the driver's agency.
  • 25% to the AIC's agency.
  • 10% to county for overhead.
  • $11.05 per loaded mile to vehicle owner.
pfox/c17.txt · Last modified: 2023/09/16 16:36 by pfox