H19 and up, and Mapbox on Steroids

   4506   8   0
User Avatar
Member
121 posts
Joined: Feb. 2014
Offline
Anyone have an up to date solution, (for which many of us would pay), to the issue of labs mapbox resolution? Mapbox on steroids was great but won't work with newer versions. Foolish I know but It's reasonably important in the pipeline for one of my projects....


Happy Friday!

Andi.
User Avatar
Member
104 posts
Joined: July 2019
Offline
Here is a quick and dirty update for Mapbox on steroids based on Lab mapbox 2.1

Attachments:
mapbox_on_steroids.1.0.hdalc (80.6 KB)
mapbox_on_steroids.png (3.9 MB)
mapbox.hiplc (488.2 KB)

User Avatar
Member
121 posts
Joined: Feb. 2014
Offline
Very kind Faitel,

I get this when trying to generate 16k textures though. That last line sounds impressive.




Traceback (most recent call last):
File "Sop/mapbox_on_steroids::1.0/refresh", line 1, in <module>
File "Sop/mapbox_on_steroids::1.0, PythonModule", line 157, in update
File "Sop/mapbox_on_steroids::1.0, PythonModule", line 303, in refresh
File "Sop/mapbox_on_steroids::1.0, PythonModule", line 129, in tiler
File "Sop/mapbox_on_steroids::1.0, PythonModule", line 32, in cropmap
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.657\python27\lib\site-packages\PIL\Image.py", line 1167, in crop
return self._new(self._crop(self.im, box))
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.657\python27\lib\site-packages\PIL\Image.py", line 1185, in _crop
_decompression_bomb_check(absolute_values)
File "C:\PROGRA~1\SIDEEF~1\HOUDIN~1.657\python27\lib\site-packages\PIL\Image.py", line 2728, in _decompression_bomb_check
"could be decompression bomb DOS attack." % (pixels, 2 * MAX_IMAGE_PIXELS)
DecompressionBombError: Image size (268435456 pixels) exceeds limit of 178956970 pixels, could be decompression bomb DOS attack.




cheers,

A>
User Avatar
Member
104 posts
Joined: July 2019
Offline
Fixed, pixel limit removed
Edited by FaitelTech - Aug. 22, 2022 17:50:40

Attachments:
steroids2.png (3.8 MB)
mapbox_on_steroids.1.1.hdalc (74.0 KB)
mapbox.hiplc (447.5 KB)

User Avatar
Member
121 posts
Joined: Feb. 2014
Offline
Hi Faitel,

thanks for this, managed to get it working. Cheeky to ask, but I don't suppose theres an option to get an hda rather than an hdalc?



cheers,

A.
User Avatar
Member
1703 posts
Joined: March 2009
Online
Andi Farhall
I don't suppose theres an option to get an hda

Careful with using the downloaded data in commercial projects. It's a big no-no. (Not saying that you do, but for awareness)
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
3 posts
Joined: June 2022
Offline
Amazing work Faitel,

Thank you so much for this.
User Avatar
Member
104 posts
Joined: July 2019
Offline
Andi Farhall
Hi Faitel,

thanks for this, managed to get it working. Cheeky to ask, but I don't suppose theres an option to get an hda rather than an hdalc?


I wrote to Stanislav [www.youtube.com] the author of the original Mapbox on steroids and he was kind enough to upgrade the asset to fully commercial HDA and place it on Gumroad.
You can download it here: https://bereg.gumroad.com/l/IMnXfK [bereg.gumroad.com]
User Avatar
Member
12 posts
Joined: Oct. 2016
Offline
Sorry to revive this old post, but has anyone been able to get OSM data to download successfully with mapbox on steroids? I just end up getting zero byte osm files, or sometimes ~500 byte, but that output on the mapbox sop is always empty.
  • Quick Links