V4 Documentation

Created on 23 May 2025, 15 days ago

I have used geolocation for years in Drupal 7 and 8, also used geofield module for years.

I have been playing with Geolocation 4 for Drupal 10+ for a few weeks and still unsure as to how its working, how to manage it, what to use for specific scenarios etc.

It is radically different, from uploading to a field on a node, it doesn't look like it stores the gpx file on the node, but does something else entirely?

Trying to implement in Search API and to make maps that show routes from GPX files.

I'm getting errors everywhere, especially when using "rendered entity" display mode on views, even when geolocation has nothing to do with the view.

I'm creating a database of trail running races and want to show gpx routes on a map, the entire route, but struggling.

We need some documentation because i've been playing around for days and weeks now and still unsure as to what is actually going on, what type of fields i should be using, where its all stored, its just so different.

Thanks

💬 Support request
Status

Active

Version

4.0

Component

Documentation

Created by

🇬🇧United Kingdom effortDee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @effortDee
  • 🇩🇪Germany christianadamski Berlin, Germany

    Hey,

    it's just me. In my spare time. Just to manage expectations.

    For each error, please open an issue with the error description and maybe screenshots.

    As for GPX, its conceptually hard. A GPX file can contain any amount of trails with any amount or tracks waypoints etc. So they are stored in a separate entity type. The GPX file field just keeps a reference to the uploaded data.

    If you have more specific questions, please ask.

  • 🇬🇧United Kingdom effortDee

    Hi Christian,

    Yeh i have noticed and i applaud you for taking this module to such lengths, i can see its going to go far, i've just become utterly confused by how it works and i see so many new geolocation types and how to work things compared to past editions.

    OK, thanks for clarifying that bit on the GPX file! I now see it in content.

    I'll have a few more hours and try to work things out and maybe i can start writing documentation as i'm trying so much with this module in the coming months.

    Thanks again!

  • 🇩🇪Germany christianadamski Berlin, Germany

    Regarding SearchAPI, there is a gap I think. There is SearchAPI support for Geolocation field and geometry, but GPX is its own entity type. So it would probably need separate SearchAPI integration.

Production build 0.71.5 2024