Follow Surveyors Online Toolbox Hub

Surveyors Online Toolbox will help you accomplish your online tasks with handy tools. In this group for conversion tools, sharing files and applications for the field.

Survey Legend

Advanced GEOmetatag Generator Tool

Overview of the Advanced Geo-Tag Generator from a Land Surveyor's Perspective

This Advanced Geo-Tag Generator page is a valuable tool for land surveyors, enabling the quick generation of geo-metadata tags for specific locations based on latitude, longitude, and even What3Words addresses. As a land surveyor, this tool allows you to pinpoint precise geographical locations and generate meta tags that can be embedded into web pages or reports. It uses Google Maps and What3Words integration to make location management seamless. Below, I’ll walk you through the mechanics of the tool and provide practical use cases relevant to our field.

Key Features:

  1. Google Maps Integration: You can use Google Maps to search for addresses, view a map of the location, or manually drag a marker to set the exact position.
  2. What3Words Integration: For more precise and user-friendly location identification, the page converts latitude and longitude coordinates into a What3Words address.
  3. Geo-Meta Tag Generation: Once a location is selected or entered, the page generates standard geo-meta tags based on the location's latitude, longitude, What3Words address, and regional data, which can be used for SEO or inclusion in reports.

Practical Use Cases for Land Surveyors:

  1. Metadata for Reports: When submitting a survey report, you can embed geo-meta tags for your surveyed location, making your reports more accessible to non-surveyors, particularly those using geographic information systems (GIS) or conducting environmental impact studies.

  2. Embedding Location Metadata on Your Website: If you’re showcasing your portfolio of projects on a website, you can include the geo-meta tags of each project site. This allows clients to view precise locations of previous work or available plots.

  3. Geo-Fencing and SEO: For surveyors working with real estate developers or government contracts, the meta tags generated here are invaluable for geo-fencing strategies or improving the search visibility of a project by embedding accurate geographic information in the web pages.

Detailed Walkthrough of How the Page Works:

HTML Structure:

The page has a straightforward layout using HTML and TailwindCSS for styling. It’s minimal and responsive, which is especially useful if you’re using it on-site through a mobile device.

  • Header Section: The header simply displays the title of the tool—"Advanced Geo-Tag Generator"—which helps keep the interface focused on functionality.
  • Input Fields: The tool features three key input fields:
    • Address Search: Allows you to search for a location by entering an address.
    • Latitude/Longitude Fields: These fields show the latitude and longitude of the current location, whether selected manually or via GPS.
    • What3Words Address: Once the latitude and longitude are set, the tool automatically converts the coordinates into a What3Words address.

Google Maps API:

The map is embedded using the Google Maps API. Upon loading, a marker is placed on a default (latitude = 0, longitude = 0) position.

  • Marker Manipulation: As a surveyor, you can drag the marker to a specific location. Once the marker is dropped, the updatePosition() function is triggered, updating the latitude, longitude, and fetching the corresponding What3Words address.

  • Get Current Location: You can click on the "Use Current Location" button, which uses the browser’s geolocation services to fetch your current latitude and longitude, placing the marker accordingly. This is particularly helpful when you're on-site and want to quickly capture location data.

What3Words API:

When a location is selected, the tool uses the What3Words API to convert the latitude and longitude into a three-word address. This is incredibly useful for pinpointing precise locations in a user-friendly format, especially when working in rural areas or with clients unfamiliar with traditional coordinates.

Generating Geo-Meta Tags:

Once the latitude, longitude, and What3Words address are captured, the tool generates meta tags with this information. The generated tags include:

  • geo.region: Represents the country and region of the location.
  • geo.placename: The name of the city.
  • geo.position: The exact latitude and longitude.
  • ICBM: Another format for geographic coordinates.
  • What3Words: The three-word address from What3Words.

Script Functionality:

The primary functionality is handled by JavaScript, with notable functions like:

  1. initMap(): Initializes the Google Map, setting the marker’s initial location.
  2. updatePosition(): Updates the latitude and longitude when the marker is moved or the current location is used. It also generates the geo-meta tags.
  3. convertAddressToGeoMetaTags(): Allows you to input an address, which the tool geocodes into latitude and longitude.
  4. fetchWhat3Words(): Fetches the What3Words address corresponding to the latitude and longitude.
  5. generateGeoMetaTags(): Uses the geocoded information to create meta tags for embedding in websites or reports.

Conclusion:

This Advanced Geo-Tag Generator tool is an excellent asset for land surveyors to quickly convert geolocations into meaningful meta tags and What3Words addresses. Whether you're submitting precise location data in a report, embedding geographical metadata on a website, or simply needing quick access to exact coordinates while on-site, this tool provides a seamless and efficient solution for modern surveying needs.

Read more…
E-mail me when people leave their comments –

You need to be a member of Land Surveyors United - Surveying Education Community to add thoughts!

Join Land Surveyors United - Surveying Education Community