Exporting images at original/actual size

108 views
Skip to first unread message

jhex6

unread,
May 14, 2012, 9:41:46 AM5/14/12
to MapInfo-L
Hi there,

I am pretty new to this software so apologies if I make little sense.

I am trying to join maps from OS open data, and then export them as
large high-quality images. I have been able to import and arrange the
maps, and am now trying to export a section of my layout into an image
file.

The OS data is in the form of TIFF rasters (5000x5000 pixels). I am
combining 3x3 maps and so ideally want to export an image of
15000x15000 pixels, without loosing any pixel info. So far I have been
making the window fit around the area I want the best I can, and then
exporting using "save window as" and specifying a size slightly larger
than what it should be.

Is there any way I can either export to actual pixels or make the
window exactly 15000x15000 so that I know it will export pixel to
pixel?

Thanks for any help in advance

Jamie

unread,
May 15, 2012, 9:21:17 AM5/15/12
to MapInfo-L
not sure if this is helpful but if you have global mapper this would
do exactly what you want. if you don't have it its cheap and a trial
version may be able to do what your after if you're lucky.

Blair Freebairn

unread,
May 15, 2012, 1:02:45 PM5/15/12
to MapInfo-L
couple of options, one using the MI UI, the other needs a bit of
MapBasic but is quicker and will give you nicer images and more
control. Unfortunately both need a bit of 'bodging' as there is no way
I know of to directly use pixels as a map setting

So in both cases you first need to figure out how many screen/paper
centimetres/inches/feet/miles(!) 15000 pixels actually is. This will
depend on the screen resolution. Say your screen in 96 dpi to get a
15000 pixel 'window' you need it to be 156.25 inches on each side. Now
you clearly cant have a single window display completely on your
monitor that is that big (unless you have access to a high def cinema
screen). So the simple 'save window as' wont work. So you have to
either ...


1 - Using the UI. Create a new layout and set the paper size to a
custom setting of say 200 inches on a side (many PDF printers allow
this for example). This will create a humoungous canvas of the
requisite "size" that you can then place a square map frame onto of
exactly 156.25 inches on an edge and have that frame be filled with
your map images. Then you can do 'save window as' but on the layout
not the actual map window and MI will save you a huge 15000 on a side
image which *should* map pixel to pixel

2 - Using mapbasic you can directly control the size of a regular map
window with something like

set window fWindowID
width 156.25 units "in"
Height 156.25 units "in"

and then use the set map statement to sort out your scale, image
handling (pixel re-sampling, aliasing, transparency settings etc) to
get exactly what you are after. and then use a final bit of mapbasic
to save the window

save window fwindowID
as "c:\MyMap.tiff"
type "TIFF"



There may be more direct and simple ways, but I don't know of any!


Best

Mats Elfström

unread,
May 16, 2012, 5:45:20 PM5/16/12
to mapi...@googlegroups.com
Hi Jack!
I do not know which MI version you have, but as far back as v8.5, you could save any map window to a given pixel size, regardless of the actual size of the mapper window. Look at the options for 'save window as'.
It can be used in MB as well, quite handy when you want to save a small mapper window to the same size but a higher resolution=more pixels.

HTH Mats.E


2012/5/14 jhex6 <jackh...@gmail.com>

--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en



--
______________________________________________
Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
tel: +46 46 145959 / mob: +46 70 595 39 35
alt e-mail: mats.e...@telia.com


jhex6

unread,
May 18, 2012, 7:41:48 AM5/18/12
to MapInfo-L
Thanks for all the comments.

I'm going to give Global mapper a try and then go back to Mapinfo and
try Blair's method if it doesn't have what I need.
Reply all
Reply to author
Forward
0 new messages