Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Monolitho opened this issue Aug 21, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@Monolitho
Copy link

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.

@Furness804
Copy link

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

@thekingofcity
Copy link
Member

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

@Monolitho
Copy link
Author

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

@thekingofcity thekingofcity transferred this issue from railmapgen/rmg Aug 29, 2024
@Monolitho
Copy link
Author

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.

@thekingofcity
Copy link
Member

thekingofcity commented Aug 30, 2024

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

@Monolitho
Copy link
Author

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

@28yfang
Copy link

28yfang commented Aug 30, 2024

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

@Monolitho
Copy link
Author

would you support other image formats in the future?

@thekingofcity
Copy link
Member

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 :)

@Monolitho
Copy link
Author

Thanks a lot!

@thekingofcity thekingofcity added the enhancement New feature or request label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

4 participants