Experimenting with Geolocation API

We have a lot of great raster base map services available in Kentucky and I wanted to access them for my current location when I use my mobile device in the field. While there are many ways to make a mobile map, I wanted use Leaflet JS and build a custom geolocation service using the Geolocation API. Some desired features for the web page:

  • The interface should be just the map, with a single button to access the controls
  • Location services should record a track of previous locations with distance covered
  • Location coordinates should be averaged over a sample period to help with accuracy
  • Other information for the current location should be offered on the page, e.g., hourly weather forecasts.

Map cound found here: https://outrageGIS.com/location

The below screen capture shows the control panel for selecting base map and enabling the the location services. It also gratuitously adds content from the last three posts to this forum. (Practicing with Tailwind CSS for potential site redesign.)

Screen Capture of control panel

Please feel to add your comments and tell how it works on your mobile device. It has tested on Chrome and Safari mobile browsers.

Some caveats.

  • The tracking feature is tuned to walking. If you drive or bike, the track will more generalized the faster you travel.
  • Of course, you’ll need to enable location for the page :). I promise that nothing is used or saved from your session. This is a completely client-side app.
  • If you refresh your browser, the page is reset and your track is lost. Working on a local database option to save the track.
  • This page requires an online connection. Working on an offline version, too.

Screen Capture of control panel Above is an screen capture of the Kentucky Topo map for the state. Other base maps include, lidar-derived surface models and current GOES-16 imagery.

Screen capture of mobile device Screen capture of track mapping on a mobile device

Weather archive updates

We collect imagery from national park webcams in the Great Smokies and Mammoth Cave parks and then make animated gifs of those webcam images. In 2011, I penciled this quick note:

110629 Nice time-lapse photography for all cameras and satellite. Make movie?

Beginning in 2012, we started archiving these animations.

New webcam added to animation archive

Turns out, we had Mammoth Cave working for the entire 2021 year, but didn’t have them accessible via a web page. With a little grep and sed action, the gifs were added to the default page for the Great Smokies archive. Visit the interface here.

Weather and animation archive

We plan on having at least the last year covered in the archive. At 60 GB a year now with HD cameras, it can get expensive hosting multiple years. I do have the years back to 2012 stored offline.

New Red River Gorge map

Over the past spring, we’ve been revamping our popular map for the Red River Gorge. The map should be available in early June. One of the additions is a new Bird’s Eye View map that user lidar elevation data and Blender 3d modeling software. You can view a zoomable image with this link

New map in our printed series for the Red River Gorge
New map in our printed series for the Red River Gorge

2020 Census data

Time to explore the data on a map. The experiment is show block group data for select demographic data, which was used for redistricting. This interactive presentation is a test of concept to show population density. Eventually, an UI element will be added to symbolize block groups by precent population in self-identified racial group – as defined in Census categories.

Kentucky Population density, 2020 Census with selected racial demographics by Block Group
uky-gis.github.io/ky-2020-block-groups/

Custom shaded relief maps

After a few weeks fiddling with the Blender 3D application to make smooth shaded reliefs, I decided to create raster tilesets that could be used with web mapping applications for a unique look. While the shading is not as accurate as multidirectional shading techniques used in GDAL and ArcGIS Pro, it makes a more artistic rendering.

To view a web page with samples, check out boydx.github.io/hugo-maps and also learn about the New Maps Plus program at the University of Kentucky).

Examples

Open ground features (click for high-resolution 13k version)
Kentucky bare-earth hillshade (click for hi-res 23k image)

An archive of message boards

phpBB

Back in the early 2000s, this popular messaging board (and others like it) was where online interaction happened. Many were focused on local groups and activities. Then, Facebook, spambots, and more dangerous hacking emerged. These boards couldn’t keep up and users eventually found more immediately gratifying social media platforms.

I have taken two popular boards and retired most of their functionality. One can view posts, but cannot add new ones or search (sorry).

Mapping the Sheltowee Trace from SheltoweeTrace.com
Lexrides from BikeLex.com

Woodland Art Fair: maps for sale!

Please join us for our 17th year at the Woodland Art Fair. New to the fair this year is our Sheltowee Trace map set. We will have reduced prices for our popular map laminations and t-shirts, while they last!

To find us, walk to the Kentucky state icon on the following map:

Our map booth in Kentucky

Eating a PB&J by oak tree

Point cloud of kid eating lunch by a tree
Lidar point cloud from a handheld sensor

Having fun with lidar

Lexington has a awesome fall event called, Paint by Nature, which encourages folks to create artwork around notable trees in the city. These trees aren’t necessarily the largest or showiest in their area, but are highly suitable plantings for their ecological settings.

While I didn’t make a submission, I did map the trees and used various lidar sources to visualize them. Visit this 3D visualization powered with Potree point cloud renderer. A growing list of similar visualizations can be found here.

Map of trees

Visit the trees in the Paint by Nature program on this page.

Web site of maps

Sheltowee Trace elevation profile

Working on the 2020 update of the Sheltowee Trace maps using high-resolution DEMs derived from lidar point clouds. An elevation profile was created by sampling elevation every 264 feet along the 343-mile trail. This profile shows the proposed extension from Burnt Mill bridge to Rugby.

Enlarge

The resolution is high enough to see the indentation of wider trail beds, which helps verify GPS data.

Trail bed observed new Gray’s Arch recreation area

The updated trail maps should be at the printer by mid-July.

Map of maps

Testing a post about maps.

Enlarge map

Turkey Foot Campground

Hiker Sheltowee Trace North map
Size: small
Fee: no
Accommodations: 15 sites
Amenities: Vault toilet
Open all year
Ownership: Daniel Boone National Forest, USFS

Buy Sheltowee Trace North Trail Map

Campground entrance
Camp along War Fork
War Fork
Enlarge map

S-Tree Campground

Hiker Sheltowee Trace South map
Size: small
Fee: no
Accommodations: 20 sites
Amenities: Vault toilets
Open year around
Ownership: National Forest Service, DBNF

Buy Sheltowee Trace South Trail Map

Sheltowee Trace
Sheltowee Trace
Enlarge map

Clear Creek Campground

Hiker Sheltowee Trace North map
Size: small
Fee: yes
Accommodations: 20 sites
Amenities: Vault toilets, drinking water
Open spring – fall
Ownership: Daniel Boone National Forest, USFS

Buy Sheltowee Trace North Trail Map

Clear Creek Furnace
Overlook on Sheltowee Trace
Enlarge map

Koomer Ridge Campground

Hiker Sheltowee Trace North map
Size: medium
Fee: yes
Accommodations: 73 sites
Amenities: Electricity, drinking water, bath houses (not available during winter)
Open all year
Ownership: Daniel Boone National Forest, USFS

Buy Sheltowee Trace North Trail Map

Campsite
Camp amphitheater
Trail around camp
Enlarge map

Holly Bay Campground

Hiker Sheltowee Trace South map
Size: Large
Fee: Yes
Accommodations: 94 sites
Amenities: Marina, bath house, drinking water, electricity, waste disposal, boat ramp
Open spring-fall
Ownership: National Forest Service, DBNF

Buy Sheltowee Trace South Trail Map

Laurel River dam
Laurel River Lake
Enlarge map
0

Your Cart