Customizing ArcReader to support GPS Kelly Johnston Indiana Department of Environmental Management
the task… Give mobile users without an ArcGIS license access to a location-enabled GIS viewer. …mobile users… Field inspectors /Law enforcement / Public Safety laptop computers / limited network connections …without an ArcGIS license… casual users / can’t justify $ for GIS software …location-enabled… live input from a GPS device update a map display to the current location. …GIS viewer… no requirement to update or edit data
the task… Give mobile users without an ArcGIS license access to a location-enabled GIS viewer. …mobile users… Field inspectors Law enforcement / Public Safety …without an ArcGIS license… casual users / can’t justify $ for GIS software …location-enabled… live input from a GPS device update a map display to the current location. …GIS viewer… no requirement to update or edit data
$$$ No Personal Geodatabases ESRI Desktop Options
Adobe Model
ArcMap. PMF Publisher Extension ArcReader (free) Adobe ModelESRI Model
ArcGIS Desktop Functionality Matrix
my question… “Seems GPS is not something ArcReader explicitly supports, but I'm wondering…is it possible?”
the first answer… “As far as your question goes - ArcReader, unfortunately, does not offer GPS capability. You would have to deploy either an ArcPad solution or an ArcView solution to get the GPS option. Let me know if that helps you out.”
my question… “Seems GPS is not something ArcReader explicitly supports, but I'm wondering…is it possible?” the first answer… “As far as your question goes - ArcReader, unfortunately, does not offer GPS capability. You would have to deploy either an ArcPad solution or an ArcView solution to get the GPS option. Let me know if that helps you out.” the second answer… “Yes, with a bit of programming and some duct tape…”
“Yes, with a bit of programming and some duct tape...” +
ESRI Publisher Library Reference The ArcReader application cannot be customized and extended in the same way as other ArcGIS Desktop products. Instead, developers can use the ArcReaderControl to build and extend Windows applications with custom ArcReader functionality. ArcReader – how can it be customized? for example…
ArcMap and ArcReader User Interfaces
customizing ArcMap – build upon existing user interface
customizing ArcReader – start from scratch
customizing ArcReader – add ArcReaderControl
ArcReader – Publisher Object Model
customizing ArcReader – add menus, buttons… ESRI ArcReader Control
customizing ArcReader – write code to interpret GPS input sentences…
GPS
GPS Receiver…
NMEA Standard for GPS
26 NMEA sentences transmitted by GPS unit $GPAAM$GPAAM - Waypoint Arrival Alarm $GPALM$GPALM - GPS Almanac Data (Can also be received by GPS unit) $GPAPB$GPAPB - Autopilot format "B" $GPBOD$GPBOD - Bearing, origin to destination $GPBWC$GPBWC - Bearing and distance to waypoint, great circle $GPGGA$GPGGA - Global Positioning System Fix Data $GPGLL$GPGLL - Geographic position, latitude / longitude $GPGRS$GPGRS - GPS Range Residuals $GPGSA$GPGSA - GPS DOP and active satellites $GPGST$GPGST - GPS Pseudorange Noise Statistics $GPGSV$GPGSV - GPS Satellites in view $GPHDT$GPHDT - Heading, True $GPMSK$GPMSK - Control for a Beacon Receiver $GPMSS$GPMSS - Beacon Receiver Status $GPR00$GPR00 - List of waypoints in currently active route $GPRMA$GPRMA - Recommended minimum specific Loran-C data $GPRMB$GPRMB - Recommended minimum navigation info $GPRMC$GPRMC - Recommended minimum specific GPS/Transit data $GPRTE$GPRTE - Routes $GPTRF$GPTRF - Transit Fix Data $GPSTN$GPSTN - Multiple Data ID $GPVBW$GPVBW - Dual Ground / Water Speed $GPVTG$GPVTG - Track made good and ground speed $GPWPL$GPWPL - Waypoint location $GPXTE$GPXTE - Cross-track error, Measured $GPZDA$GPZDA - UTC Date / Time and Local Time Zone Offset
GPS data in NMEA sentence format
Interpreting GPRMC sentence $GPRMC,225446,A, ,N, ,W,000.5,054.7,191105,020.3,E* Time of fix 22:54:46 UTC A Navigation receiver warning A = Valid position, V = Warning ,N Latitude 49 deg min. North ,W Longitude 123 deg min. West Speed over ground, Knots Course Made Good, degrees true UTC Date of fix, 19 November ,E Magnetic variation, 20.3 deg. East *68 mandatory checksum
GPS Position
GPS Graphics
Key Program Logic Get GPS coordinate location Update map window centered at new coordinates Refresh Map Display Draw Location Indicator Repeat
Let’s Go For A Drive!