[Script] WME Image Overlays (1.4.1)

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein, Glodenox, JustinS83

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [Script] WME Image Overlays (1.4.0)

Postby WazingArch » Sun Jul 14, 2019 1:56 pm

jm6087 wrote:
WazingArch wrote:Hi, I am pressing this button but nothing happens. Am I missing something? Thanks.
screenshot_77.png


Have you already added the image to the map?

I attach the image to the map, and if I click on its name the image disappears. Is this an expected behaviour?
Coordinator: BG • Global Champ • Translator
[ img ]
Уики България | Best map editing practice
WazingArch
Coordinators
Coordinators
 
Posts: 481
Joined: Thu May 24, 2012 6:02 am
Location: Bulgaria
Has thanked: 236 times
Been thanked: 112 times

Re: [Script] WME Image Overlays (1.4.0)

Postby Glodenox » Sun Jul 14, 2019 2:36 pm

You mean that the image disappears when you click on its name when the name is put in bold text (indicating that it is visible)? That is expected behaviour. That is how you're able to show and hide the images. It should always become visible if you click the edit button though.
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1082
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 551 times
Been thanked: 1237 times

Re: [Script] WME Image Overlays (1.4.0)

Postby SeveriorumPatrem » Sat Aug 03, 2019 7:48 pm

I made this attached image to use with Image Overlays while creating or improving roundabouts, specifically to make it easy to ensure that roundabout attachments are within the correct parameters to produce "turn right", "turn left", "continue straight", etc.

As a quick start guide for anyone who is not familiar with roundabout attachment points and how they impact turn directives, you can generate the above turn directions in place of "take the 2nd exit" etc, as long as the attachment points are at 90 degree intervals +/- 15 degrees. The actual turn angle of the segment relative to the roundabout segments is irrelevant in this regard.... it's the difference in degrees between attachment points from the point of view of the center of the roundabout that controls turn directives.

Use Image Overlays to place and position this guide on top of where you will be placing your roundabout, and draw your roads so that when the RAB is added your attachment points will fit within the narrow forks relative to adjacent attached segments, and you're all set to generate clean roundabout turn instructions without any trial and error adjustments.

To allow plenty of margin for error, the angles on this guide are +/- 10 degrees instead of +/- 15, so you can actually fudge a little bit outside of the narrow forks and probably still be OK, just verify with JAI after you save your work.

--------------

EDIT: Or...of course, you could use the RA Util script, which allows you to see turn angles while you use it to cleanly move specific junctions and accomplish the same goal when working on existing RABs - I hadn't realized it did that when I put this together, but was brought to my attention by the great iainhouse, lol. :oops: :lol:
Attachments
RAB anglenator.png
(21.01 KiB) Downloaded 263 times
Capture.JPG
(57.65 KiB) Downloaded 264 times
[ img ][ img ][ img ][ img ]
The Grumpy Dad
The more I learn, the more I discover how much I don't know.
SeveriorumPatrem
State Manager
State Manager
 
Posts: 955
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 524 times
Been thanked: 343 times

Re: [Script] WME Image Overlays (1.4.0)

Postby atrophicshiner » Wed Aug 07, 2019 8:43 am

SeveriorumPatrem wrote:...I hadn't realized it did that when I put this together, but was brought to my attention by the great iainhouse, lol. :oops: :lol:


Confess, how much did he pay you :!: :?:
- Chris - (Catching up with the Ia[i]ns one Chris at a time)

[ img ][ img ]
UK Local Champ would you believe
AM the Middle bit of England
Usability | Simplicity | Retention
atrophicshiner
Waze Local Champs
Waze Local Champs
 
Posts: 2713
Joined: Sat Dec 19, 2015 11:10 am
Location: Coventry, UK
Has thanked: 991 times
Been thanked: 877 times

Re: [Script] WME Image Overlays (1.4.0)

Postby SeveriorumPatrem » Thu Aug 08, 2019 5:52 pm

atrophicshiner wrote:
SeveriorumPatrem wrote:...I hadn't realized it did that when I put this together, but was brought to my attention by the great iainhouse, lol. :oops: :lol:


Confess, how much did he pay you :!: :?:


Sorry, that's covered in the standard NDA, so can't comment. :lol:
[ img ][ img ][ img ][ img ]
The Grumpy Dad
The more I learn, the more I discover how much I don't know.
SeveriorumPatrem
State Manager
State Manager
 
Posts: 955
Joined: Thu Nov 19, 2015 11:05 pm
Location: SW Washington State
Has thanked: 524 times
Been thanked: 343 times

Re: [Script] WME Image Overlays (1.4.0)

Postby rizapasha » Thu Sep 05, 2019 6:23 am

could you support more wider image format such as ecw and geotiff especially image with world file WGS1984?
rizapasha
 
Posts: 77
Joined: Mon Mar 25, 2019 4:24 am
Has thanked: 0 time
Been thanked: 0 time

Re: [Script] WME Image Overlays (1.4.0)

Postby Glodenox » Thu Sep 05, 2019 7:18 am

Hmm, that is probably not going to be easy to do. Neither ECW or the TIFF format are supported within any modern browser. I'd say that including a whole JavaScript library (if an open source one exists) just to support those image formats is out of the scope of this userscript. I'd probably also need to look into the binary code to extract the coordinates contained within the file, which is really not something you want to do in JavaScript.

I'll create an issue for it in case browser support changes for these file formats, but I honestly don't see it happening any time soon (if ever) :?
Belgium & Luxembourg Coordinator • Script Writing Community Coordinator
[ img ][ img ]
Glodenox
Waze Global Champs
Waze Global Champs
 
Posts: 1082
Joined: Tue Aug 11, 2015 9:04 pm
Location: Belgium
Has thanked: 551 times
Been thanked: 1237 times

Re: [Script] WME Image Overlays (1.4.0)

Postby steveinark » Thu Sep 05, 2019 12:01 pm

And we could assume file conversion to a supported type image would be much simpler to accomplish for some files.
[ img ]
Arkansas State Mgr (SM)
South Central Region Multi-State Mgr (MSM): AR + Louisiana - Mississippi - Oklahoma - Texas
Steve (Eureka Springs, AR)
steveinark
State Manager
State Manager
 
Posts: 385
Joined: Sat Apr 19, 2014 1:52 pm
Location: Eureka Springs, AR, USA
Has thanked: 477 times
Been thanked: 163 times

Re: [Script] WME Image Overlays (1.4.0)

Postby Twister-UK » Sat Oct 12, 2019 9:35 am

Two things I'd find useful would be a) to allow the stretch controls to act on the rotated orientation of the image rather than its original orientation and b) have an aspect ratio lock option to automatically adjust the width as the height changes and vice versa.
Chris (not to be confused with Chris or Chris...)
AM SE England & Shetland Islands, UK Local Champ, WME Beta Tester & ScriptMangler
WME/Livemap enhancement scripts @ GreasyFork and Chrome Web Store


[ img ][ img ][ img ]
Twister-UK
Waze Local Champs
Waze Local Champs
 
Posts: 3662
Joined: Sat Jan 07, 2012 12:00 am
Location: NW London
Has thanked: 599 times
Been thanked: 3438 times

Re: [Script] WME Image Overlays (1.4.0)

Postby WazingArch » Thu Nov 21, 2019 12:07 pm

This script is broken again. Now it is not possible to switch between attached images and show them.
Coordinator: BG • Global Champ • Translator
[ img ]
Уики България | Best map editing practice
WazingArch
Coordinators
Coordinators
 
Posts: 481
Joined: Thu May 24, 2012 6:02 am
Location: Bulgaria
Has thanked: 236 times
Been thanked: 112 times

PreviousNext

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: No registered users