PDA

View Full Version : PYR: accessing "pyramid" files???



jeric_synergy
10-04-2012, 12:12 PM
A client has large files in the "PYR" format, which apparently is a very obscure image format if you're not a GIS professional. PYR is short for pyramid, and its some sort of cascading resolution JPG file (I think).

Unfortunately I haven't had much luck finding (free) software that will access these at all-- the client's no help and the data is archival and, what's the word??, 'grandfathered' in.

Anyone know anything about "pyramid" PYR files? THANKS.

Lightwolf
10-04-2012, 05:22 PM
Hm, I've never heard of it, and a quick check of my favourite conversion tool for geodata (GDAL) doesn't list it as a supported file format either.

If the JPEGs are available as separate files you may be able to mosaic them automatically to a single image using GDAL though.

Are you sure they are called "PYR" files? What are the file name extensions associated with it?

Cheers,
Mike

jeric_synergy
10-04-2012, 07:25 PM
Hm, I've never heard of it, and a quick check of my favourite conversion tool for geodata (GDAL) doesn't list it as a supported file format either.
If the JPEGs are available as separate files you may be able to mosaic them automatically to a single image using GDAL though.
Are you sure they are called "PYR" files? What are the file name extensions associated with it?
Cheers,
Mike
Here's a small one, zipped and attached. I've found plenty of mention of the format on the intertubez, but no readers. It's an image format, not geophysical data as I usually think of it.

108314

Rayek
10-04-2012, 11:28 PM
http://www.qgis.org/en/about-qgis.html

That should be able to do a conversion to a more common graphics format. Under Raster -->Conversion -->translate you should be able to convert a pyr file, but for some reason when I tried this with your sample file, it would not do it.

- - - Updated - - -

PS ImageMagick should be able to perform a conversion as well - I did not test this, though.

Cryonic
10-04-2012, 11:28 PM
I haven't checked, but... from what I gather, these are most likely a type of TIFF called a Pyramidal TIFF.

http://iipimage.sourceforge.net/documentation/images/

http://www.cs.sunysb.edu/documentation/ImageMagick-6.2.3/www/formats.html
PTIF RW Pyramid encoded TIFF Multi-resolution TIFF containing successively smaller versions of the image down to the size of an icon. The desired sub-image size may be specified when reading via the -size option.

Lightwolf
10-05-2012, 02:44 AM
I haven't checked, but... from what I gather, these are most likely a type of TIFF called a Pyramidal TIFF.

I checked the file header, it's not a TIF.

Very likely some proprietary format... I haven't found any information on it yet.

Gotcha, it seems to be the internal format of a russian GIS tool: http://www.racurs.ru/?page=291

Cheers,
Mike

jeric_synergy
10-05-2012, 08:43 AM
Gotcha, it seems to be the internal format of a russian GIS tool: http://www.racurs.ru/?page=291
Mike
Whoa, good find Mike. :bowdown: I'm dl'ing their demo software now: did you try it?

Thanks so much!

Lightwolf
10-05-2012, 08:53 AM
I'm dl'ing their demo software now: did you try it?
That would be too easy... :p :D

No, I didn't.

Cheers,
Mike

jeric_synergy
10-05-2012, 08:55 AM
Well, here's hopin'.... THanks for finding that!

jeric_synergy
10-08-2012, 08:12 AM
OK, installed the sw... pretty damn confusing. AFAICT, this sw is not capable of loading the PYR files.

Lightwolf
10-08-2012, 08:18 AM
OK, installed the sw... pretty damn confusing. AFAICT, this sw is not capable of loading the PYR files.
Darn. Then you need to find out more about the software used to create those files as well as the file format itself. I'm afraid it's quite proprietary.

Just to be clear, pyramidical files are common, there's a bunch of flavours from TIFF to JPEG 2000, ECW over to Zoomifiy (which uses separate images per tile and an XML description) - however, the PYR file format apparently isn't.

Cheers,
Mike

jeric_synergy
10-08-2012, 10:24 AM
They were apparently from Small Blue Planet?/"What Now ? Software". Thanks for your efforts.