# WebMercatorfromLLA not defined

**URL:** <https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358>\
**Category:** Geo\
**Created:** [March 23, 2022, 11:05pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358 "2022-03-23T23:05:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [March 23, 2022, 11:05pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/1 "2022-03-23T23:05:01Z")

</div>

I am trying to use WebMercatorfromLLA… Julia tells me that is not defined. Any other transformation, function work

`ERROR: UndefVarError: WebMercatorfromLLA not defined Stacktrace: [1] top-level scope @ ~/Documents/Hardware & Software/Julia/Geodesy/geodesy.jl:35`

---

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [March 29, 2022, 7:36am UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/2 "2022-03-29T07:36:38Z")

</div>

Any answer from the contributors to the package?

---

<div class="post-metadata">

**Author:** ![goerch](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/goerch/32/29122_2.png) [@goerch](https://discourse.julialang.org/u/goerch)\
**Post date:** [March 29, 2022, 7:53am UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/3 "2022-03-29T07:53:31Z")

</div>

Looks to me like the [commit](https://github.com/JuliaGeo/Geodesy.jl/commit/bd12357536d7d7f701b252285f58bc70accf6dfa) is newer than the latest release.

If you want to use it

- you’ll probably have to build from source
- maybe you should file an issue?

---

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [March 29, 2022, 8:56am UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/4 "2022-03-29T08:56:17Z")

</div>

Thanks… I am not a good programmer… No idea how to proceed to build from source…Any tips? I’ve already filed the issue 5 days ago.

---

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [April 1, 2022, 11:01pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/5 "2022-04-01T23:01:31Z")

</div>

Again, this is he error I get. Could any of the 12 contributors to Geodesy.ly take a look? Thanks

```nohighlight
   _ _ _(_)_ | Documentation: https://docs.julialang.org
  (_) | (_) (_) |
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 1.7.2 (2022-02-06)
 _/ |\ __'_|_|_|\__'_| | Official https://julialang.org/ release
|__/ |

julia> using Geodesy

julia> ARP_WGS84_lat = 38 + 52/60 + 22.29/3600
38.87285833333333

julia> ARP_WGS84_lon = 1 + 22/60 + 23.22/3600
1.3731166666666668

julia> ARP_WGS84_alt = 7
7

julia> ARP_WGS84 = LLA(lat=ARP_WGS84_lat, lon=ARP_WGS84_lon, alt=ARP_WGS84_alt)
LLA(lat=38.87285833333333°, lon=1.3731166666666668°, alt=7.0)

julia> ARP_WM = WebMercatorfromLLA(ARP_WGS84)
ERROR: UndefVarError: WebMercatorfromLLA not defined
Stacktrace:
 [1] top-level scope
   @ REPL[6]:1

```

---

<div class="post-metadata">

**Author:** ![nilshg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nilshg/32/2283_2.png) [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Post date:** [April 2, 2022, 5:12am UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/6 "2022-04-02T05:12:19Z")

</div>

The error was already explained above - the latest release of Geodesy does not include the change which introduced WebMercator support to the package so you need to `] add Geodesy#master` if you want to use it.

---

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [April 2, 2022, 5:51am UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/7 "2022-04-02T05:51:29Z")

</div>

Thanks… I had already got it. If so, could any of you “correct” it and upload the final version in line with the documentation?

---

<div class="post-metadata">

**Author:** ![visr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/visr/32/17204_2.png) [@visr](https://discourse.julialang.org/u/visr)\
**Post date:** [April 23, 2022, 7:18pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/8 "2022-04-23T19:18:51Z")

</div>

I just tagged Geodesy v1.1 that includes WebMercatorfromLLA. Sorry it took a while. This package needs a maintainer…  
[https://github.com/JuliaGeo/Geodesy.jl/releases/tag/v1.1.0](https://github.com/JuliaGeo/Geodesy.jl/releases/tag/v1.1.0)

---

<div class="post-metadata">

**Author:** ![julio.ca2020](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@julio.ca2020](https://discourse.julialang.org/u/julio.ca2020)\
**Post date:** [April 26, 2022, 7:24pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/9 "2022-04-26T19:24:05Z")

</div>

Thank you!!!.. Would it be possible to upload an example in the documentation of how to use it? Thanks in advance!

---

<div class="post-metadata">

**Author:** ![visr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/visr/32/17204_2.png) [@visr](https://discourse.julialang.org/u/visr)\
**Post date:** [April 26, 2022, 7:59pm UTC](https://discourse.julialang.org/t/webmercatorfromlla-not-defined/78358/10 "2022-04-26T19:59:33Z")

</div>

I think it’s no different from the other transformations that are already defined, and demonstrated in the README’s Quick Start. Though if that’s not clear it can be helpful to look at the tests as well: [Implement Web Mercator by c42f · Pull Request #67 · JuliaGeo/Geodesy.jl · GitHub](https://github.com/JuliaGeo/Geodesy.jl/pull/67/files#diff-2c5b8ee78d943638c5ce436f1f2ddb701be818fd0218dde0cb34c2568307ec0c)
