LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-14-2012, 08:10 PM   #1
cyborg_jt
Member
 
Registered: Jan 2004
Location: New Zealand
Distribution: 2.6.11-gentoo-r3
Posts: 120

Rep: Reputation: 15
Displaying a set of very large images


I have some geoTIFF topomaps. As far as I know they contain GPS coordnates and the actual topographical map imbedded in the single file. These files are huge - 128MB each and there are a couple of hundred of these.

I want to make a program that allows me to view these files - zoom and move around, all as one map. You can buy such programs but I want to make my own.

I know some C, but have little experience with images and GUIs.

What would the process of displaying these images. Can one simply read each geotiff file - zoom etc using some librays. I am guessing I need to split the files into smaller segments so it can load faster. What about a zoomed out mode? How does google earth do it?
 
Old 04-14-2012, 08:43 PM   #2
uhelp
Member
 
Registered: Nov 2011
Location: Germany, Bavaria, Nueremberg area
Distribution: openSUSE, Debian, LFS
Posts: 205

Rep: Reputation: 43
You don't have to buy one.
There are tons of it for free.

If you want to do it anyway,
make yourself familiar with some GUI tool-kits/frameworks in the first place.

If you have chosen one, read the examples.
They usually come with lots of examples for dealing with pictures.
 
Old 04-14-2012, 11:55 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
128 meg is not big
at 128 it sounds like a ASTER or GTOPO 30 tile


i am currently working with a map that is 12+ Gig ( c1 Magellan Venus map )
srtm_ramp2.world.86400x43200.bin for the Earth is 3 gig
the Mars MOLA data at 65535x32768 PX is 4 gig

gmic is a good program , it dose have a 4 gig max ( even on a 64 bit system with 12 gig ram)
http://gmic.sourceforge.net/index.shtml
for gmic
Code:
gmic -type ushort MapName.tiff
will display a 16 bit unsinged ( use "short" for a singed -32767 to 32768 )
most scientific DEM's are in singed LSB format
or for a small 128 meg image
nip2/vip displays 16 bit unsinged and 32 bit float tiff images just fine
http://www.vips.ecs.soton.ac.uk/index.php?title=VIPS

however for a geo referenced DEM if you want to keep the info
use GRASS
http://grass.fbk.eu/

i use ISIS3 from nasa/usgs
http://isis.astrogeology.usgs.gov/index.html



also Cinepaint ( an old GTK1 program) will display a 16 bit tiff

Last edited by John VV; 04-15-2012 at 12:03 AM. Reason: added
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem displaying images in browser Tank Jr Mandriva 1 09-26-2007 12:22 PM
Quick way of displaying images Hydroksyde Linux - Software 0 10-02-2005 08:24 PM
displaying jpeg images Dave31836 Programming 2 01-25-2005 10:28 AM
apache not displaying images tlgates Linux - Networking 0 01-24-2005 03:06 PM
Displaying images in CGI scripts dodger-newbie Programming 9 03-22-2004 01:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration