| 10:59 | * | appservice[m] has quit (Ping timeout: 245 seconds) |
| 17:44 | symbioquine[m] | Finally got around to testing out the Mapbox layers to see if they are a reasonable replacement for Google maps in my area. It seems like they're both much lower resolution and older imagery. |
| 18:04 | shane_aldrich[m] | <symbioquine[m] "Finally got around to testing ou"> Did you look at the documentation here: docs.mapbox.com/ ? |
| 18:06 | symbioquine[m] | No, I was just testing out the default configuration in farmOS with the default account API key. |
| 18:13 | symbioquine[m] | From skimming their API docs though, I don't see anything to select the age of the imagery. |
| 18:16 | symbioquine[m] | ... and what I'm seeing in farmOS matches the age/quality of the demos on the Mapbox site. Naively I would assume that they'd show off their most recent and highest quality satellite imagery there - even if they might have options for older or lower resolution available. |
| 20:07 | shane_aldrich[m] | True. |
| 20:08 | mstenta[m] | I wish Google would just make their layers available via standard XYZ URL endpoints. |
| 20:08 | mstenta[m] | I don't understand why they don't. It could still require an API key. |
| 20:09 | symbioquine[m] | Yeah |
| 20:09 | mstenta[m] | During my explorations for farmOS-map I discovered that it actually is possible to reverse-engineer the URL... but... it's against their license to do so, as I understand it. |
| 20:10 | mstenta[m] | And that's why ol3-googlemaps works around that by using the actual Google Maps JS library rendered underneath the OpenLayers map (if I remember all the details correctly...) |
| 20:11 | mstenta[m] | symbioquine: I wonder if BingMaps has better imagery for you? openlayers.org/en/latest/examples/bing-m |
| 20:11 | mstenta[m] | Maybe it would be worth considering Bing - seems like OL supports it out of the box. |
| 20:15 | mstenta[m] | Bing imagery is the WORST of the three for my place :-( |
| 20:15 | mstenta[m] | And MapBox isn't much better... |
| 20:15 | mstenta[m] | Google is by far the best... |
| 20:16 | mstenta[m] | Bah... man... we're going to need to keep supporting a Google module :-( |
| 20:16 | mstenta[m] | As much as I'd love to drop it... |
| 20:39 | symbioquine[m] | <mstenta[m] "symbioquine: I wonder if BingMap"> It's a bit better than the Mapbox imagery, but worse than GM. |
| 20:40 | symbioquine[m] | The GM imagery is actually even better in many ways than the county-specific imagery. |
| 20:40 | symbioquine[m] | <mstenta[m] "Bah... man... we're going to nee"> Yeah |
| 20:41 | mstenta[m] | Not surprising... Google does a good job with maps... (I say that begrudgingly) |
| 20:42 | symbioquine[m] | <mstenta[m] "During my explorations for farmO"> Might be possible to make a generic raster-by-url contrib module, then users could make that decision for themselves without code or farmOS explicitly endorsing it. |
| 20:44 | mstenta[m] | ah hmm |
| 20:44 | mstenta[m] | "use at your own risk" |
| 20:45 | symbioquine[m] | Yeah, it could be a bit dicey 🤫 |
| 20:45 | mstenta[m] | well in either case, i think i need to support it for farmier users... so i think i'll need the legal approach :-) |
| 20:45 | symbioquine[m] | Yep, makes sense |
| 20:48 | symbioquine[m] | When I get back to my computer I'll have to check out whether the current OL GM example works the same way... dev.openlayers.org/examples/google.html |
| 20:49 | mstenta[m] | Ah yea... so that's actually for OpenLayers v2 |
| 20:49 | mstenta[m] | They did officially support Google back then... but then dropped support in v3+ |
| 20:49 | mstenta[m] | Because of the added complexity I think |
| 20:49 | symbioquine[m] | Ahhh :( |
| 20:51 | mstenta[m] | stackoverflow.com/questions/28738238/how |
| 20:51 | mstenta[m] | > Google Maps is officially not supported by ol3, see gist.github.com/elemoine/e82c7dd4b1d0ef4 |
| 20:51 | mstenta[m] | This describes how to use the raster layer URLs directly: gis.stackexchange.com/questions/231629/o |
| 20:52 | mstenta[m] | And this comment: |
| 20:52 | mstenta[m] | > Be careful if you plan to use this; it is a direct violation of Google Maps' terms of service and you will likely get in trouble. – Alex McMillan Aug 21 '18 at 5:23 |
| 20:52 | mstenta[m] | And this one: |
| 20:52 | mstenta[m] | > No it doesn't, and it will probably never support it, since there is no direct tiles access with GMaps. The only option that I know of is still something like: github.com/mapgears/ol3-google-maps |
| 20:53 | mstenta[m] | Which brings us full circle :-) |
| 20:53 | symbioquine[m] | Yeah, bummer |