rmp icon indicating copy to clipboard operation
rmp copied to clipboard

Appeal for inserting real map as semi-transparent background to facilitate drawing

Open Monolitho opened this issue 1 year ago • 10 comments

I hope that we can upload images of real map and set the transparecy as the background of the project so that we can draw lines accordingly.

Monolitho avatar Aug 21 '24 13:08 Monolitho

I’d love to see this happen. It would really help keep maps to scale.

Furness804 avatar Aug 26 '24 23:08 Furness804

Hi, thanks for the suggestion. May I confirm that the idea is for rmp or rmg? Looks like rmg does not allow drawing lines :)

thekingofcity avatar Aug 27 '24 07:08 thekingofcity

Sorry, it's rmp! I will send an issue there.

Monolitho avatar Aug 27 '24 12:08 Monolitho

At least for now I have came up with an alternative plan: In Ubuntu, open rmp in a browser and set it to semitransparent via xprop(search how to use it in Google) After that you may open your image at the buttom of the browser for your reference.

Monolitho avatar Aug 30 '24 09:08 Monolitho

Hi, sorry for the late reply. As you may know, the new 5.0 release includes a master node that allows you to import any SVG content in the canvas. Thus, another workaround will be to import the map as SVG type and set this master node under others.

https://www.bilibili.com/video/BV1zXaUeCEx1/

https://github.com/anvaka/city-roads

thekingofcity avatar Aug 30 '24 10:08 thekingofcity

Alright, but the version on the website is still 3.x.x... When can we use 5.0 release?

Monolitho avatar Aug 30 '24 11:08 Monolitho

Hi, to use the 5.0 version please go to https://railmapgen.org

28yfang avatar Aug 30 '24 11:08 28yfang

would you support other image formats in the future?

Monolitho avatar Sep 05 '24 01:09 Monolitho

Yes, there is a plan to support converting any raster images (e.g. jpg, png) to SVG and then inserting it. We currently do not have a timetable for this but should be available in the following year :)

thekingofcity avatar Sep 05 '24 02:09 thekingofcity

Thanks a lot!

Monolitho avatar Sep 07 '24 06:09 Monolitho