Templot Club Archive 2007-2020                             

topic: 1278Importing Background Shape (Picture)
author remove search highlighting
 
posted: 31 Oct 2010 14:57

from:

David Higgs
 
Bletchley - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
I'm trying to import a Map into Templot of Moretonhamstead which I believe is to a scale of 1:25000. The GIF File is 2164 W x 1008H with a Bit Depth of 24. When importing to Templot I believe I need to know the DPI, how do I find this information or have I got it completely wrong:(

Regards

David

posted: 31 Oct 2010 15:56

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
David Higgs wrote:
I'm trying to import a Map into Templot of Moretonhamstead which I believe is to a scale of 1:25000. The GIF File is 2164 W x 1008H with a Bit Depth of 24. When importing to Templot I believe I need to know the DPI, how do I find this information or have I got it completely wrong:(
Hi David,

In the current versions of Templot you can't use GIF files, you need to save it again in BMP format.

Save it in the C:\TEMPLOT\SHAPE-FILES\ folder so that Templot can find it every time you reload the BGS file from there.



Edits: Templot2 now supports GIF, PNG, JPG, in addition to BMP.

For scanned items -- use JPG.

For computer graphics and CAD drawings -- use PNG. Do not use JPG for these.

It is no longer necessary to save the image file in the shapes folder.

The video needs updating to reflect these changes.



If it is a "25-inch" OS map the scale is actually 1:2500, not 1:25000. That is the scale of the "Explorer" OS maps and too small to be much use in Templot.

Did you scan it yourself? Usually the scan DPI (dots per inch) is set in the scanning software and displayed somewhere, often in the bottom status bar, or by right-clicking and selecting Properties.

See this video for more about all this:

 http://www.templot.com/martweb/videos/map_picture_shape.exe

If you don't know the DPI setting, you can try guessing it. Common settings are 100, 150, 300, 600 DPI, so you could try each of those and see which makes the scan image match your templates when zoomed in on the screen. The easiest to check is the track spacing for double track. 

If still no joy, you need access to the original paper map so that you can calculate the DPI. Measure accurately in mm the exact length of the scanned area on the paper map. Suppose it is 275mm.

Divide this into the width of the scan to find the DPM figure (dots per mm) and then multiply by 25.4 to find the DPI (dots per inch).

So DPI would be =  25.4 x 2164 / 275 = 199.875

Clearly therefore the real DPI would have been 200, and you can use that figure to create the picture shape.

If still no joy, you can use the modify shape: > mouse actions: > scale mouse action to resize the picture shape in Templot to the best match to your track templates.

regards,

Martin.
Last edited on 10 Nov 2012 11:53 by Martin Wynne
posted: 31 Oct 2010 17:13

from:

David Higgs
 
Bletchley - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Hello Martin,

Many thanks for your reply; I should have mentioned that I had converted the GIF file into BMP file. 

I've managed to import the file @ 300 DPI and to a scale of 1:2500. You were quite right, I was using the wrong scale. I did a quick check of the Rail Gauge with the Ruler and it looks fairly near although it wasn't easy due to the pixelization when zooming in. I 'll check the dimension of the Station Building and Platform length to see if it's anywhere near before proceeding.

The line / map runs NW / SE, I take it that once I have plotted the layout I can then rotate the plan to run East / West?

Regards

David

posted: 31 Oct 2010 17:54

from:

Martin Wynne
 
West Of The Severn - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
David Higgs wrote:
The line / map runs NW / SE, I take it that once I have plotted the layout I can then rotate the plan to run East / West?
Hi David,

Yes, you can rotate the finished track plan -- group > rotate group by... menu item, or action > mouse actions: group > rotate group mouse action.

This is the easier option, but it may not be too convenient to do all the track design work at an angle. 

Alternatively you can rotate the picture shape before working over it. This won't change the scale of it. On the background shapes dialog, click the picture shape in the list  and then modify shape: > picture content: > twist... button. Make sure you click the important information bar on the next dialog and read the notes.

There are two options for the twist quality on the picture options tab, so set this first. Hi/greyscale is best, but may take a long time to complete.

Make sure to save the twisted image afterwards -- modify shape: > picture content: > save... button.

regards,

Martin.

posted: 31 Oct 2010 18:13

from:

David Higgs
 
Bletchley - United Kingdom

click the date to link to this post
click member name to view archived images
view images in gallery view images as slides
Martin, that's excellant. I would much prefer to work on the track design in the horizontal plane so I will try rotating the picture shape and report back.

Regards

David



Templot Club > Forums > Templot talk > Importing Background Shape (Picture)
about Templot Club

Templot Companion - User Guide - A-Z Index Templot Explained for beginners Please click: important information for new members and first-time visitors.
indexing link for search engines

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.
The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason. Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2020  

Powered by UltraBB - © 2009 Data 1 Systems