Open erikvullings opened 8 years ago
Hey Erik, Yea that was in my to-do list but can't do much progress these days. This should be rather easy actually, especially if you don't need too much precision but the problem is, making it a plugin probably wont be enough as you'll have to snap everything on this bumped terrain now. Solution is simple, we need something like a priority list or value for plugins. So that it'll run Elevation plugin first, ready the terrain and then building/road etc factory will be able to snap their objects on it.
I'm in a little rough spot at the moment. Lots of people are requesting new stuff and I'm still working on refactoring and refining the existing infrastructure. this one sounds kinda fun though, I'll try to look into this soon ;)
oh and I just checked the api as well, it's extremely simple to use. Shouldn't take more than a few hours to implement it all.
I had a look at this last night, indeed it's technically a 10 minute work BUT it turns out query quota is quite low (2 request per second, no idea why they have this per second thing instead of per minutes or hours) so couldn't finish it. It feels weird now. Do I implement a timer and batching system just to work around this silly limitation? Or maybe I should mail and ask Mapzen about this? That batching thing won't be easy really... Anyway so I got that to work if you load one tile at a time but can't make it load mulitple tiles at the same time and it's quite useless without that.
Hi Baran, not sure if you are still working on it, but the limitation seems to have gone. Only bad thing is that it only supports zoom levels up to 15. I've tested the plugin, and it seems to be working, but I cannot see any effect? Any idea why? Also, how would I go about clamping the other layers (buildings etc) to it?
@erikvullings hey Erik! I think something's wrong with my notifications as I didn't get any for some other new issues here, just got this one now, damn >< I haven't had any time to work on this for weeks now, I will come back and at least polish existing features as soon as possible though. I think I remember it's capped at level 15 really, but cannot be sure now. Have you checked the documentation? Does it throw an exception at 15+ or simply returns lvl15 data?
At least good that you got this one :-)
Level 15 is probably the level for which they have world coverage, so that's why they limit it there (as documented). At higher zoom levels, you get a warning message (e.g. at 16):
<?xml version="1.0" encoding="UTF-8"?>
<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>terrarium/16/16841/10755.png</Key>
<RequestId>8E56125BBB751C41</RequestId>
<HostId>gNxAfPlKJiikfnC8i+abHjrM/mBBmFVARljN874tJQochFPSmWThfkcw002aX7Kq/cGVivYCf38=</HostId>
</Error>
I would be happy to help implement this, but unfortunately, I'm a Unity noob and don't know much about meshes, textures etc. yet. However, I'm keen to learn more.
In addition, I'm working on a local proxy, so we can inject Unity models or prefabs instead of the simple buildings that we currently see.
Not sure if I get that correctly but it's kinda silly that they pop "no such key" error for not supported levels or something. Well this is a learning project for all of us really, so just give it a shot I say! I'll try to help as much as I can but I still can't find any time even to open the project these days :(
Hi Baran, you've probably noticed too that Mapzen also offers 3D elevation data (https://mapzen.com/blog/elevation/). Wouldn't it be great if MapzenGo would use this (tiled) data too?