Which MIME types are related to file extension ".bsqw"?
The .bsqw file extension is associated with 1 MIME types:
A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.
About .bsqw Files
BSQW files are plain text files used as ESRI World Files to provide georeference information for raster images.
They contain six lines of numeric data that define the image scaling, rotation, and translation relative to a map coordinate system.
This small file works with GIS software to accurately position maps and aerial photos.
- Plain text format: Easily viewed and edited with basic text editors like Notepad.
- Georeferencing: Every line represents a parameter (pixel scale, rotation factors, and coordinate offsets) used for map alignment.
- GIS compatibility: Read by applications such as ESRI ArcGIS and QGIS to integrate images with geographic data.
Relationship between file extension and MIME type
A file extension is a suffix at the end of a filename that indicates what type of file it is. File extensions help both users and operating systems identify what application should be used to open the file.
File extensions are typically separated from the filename by a period (dot) and consist of 2-4 characters, though they can be longer. For example, in the filename "document.pdf", ".pdf" is the file extension.
File extensions are closely related to MIME types, as they both serve to identify the format of a file. However, while MIME types are used primarily by web browsers and servers, file extensions are used by operating systems and applications.
Associated MIME types
FAQs
How do I open a BSQW file?
Since this is a plain text file, you can view its contents using basic editors like Microsoft Notepad, Apple TextEdit, or Notepad++. To use the file for its intended purpose (georeferencing), keep it in the same folder as your raster image and open the image using GIS software like ESRI ArcGIS Pro or QGIS.
What does a BSQW file contain?
A BSQW file contains six lines of decimal numbers that define the pixel size, rotation, and top-left coordinate of an image. This simple structure allows mapping software to translate a standard raster image into a georeferenced map layer without altering the original image data.
Why isn't my GIS software recognizing the BSQW file?
For the georeferencing to work, the BSQW file must have the exact same filename as the associated image file (e.g., aerial01.bsq and aerial01.bsqw) and exist in the same directory. Additionally, ensure the file extension is strictly .bsqw and not hidden as .bsqw.txt by your operating system.
Can I convert a BSQW file to a GeoTIFF?
You cannot convert the BSQW text file itself into an image, but you can merge the data. By using tools like GDAL or QGIS, you can save the original raster image along with the .bsqw coordinate data into a single GeoTIFF (.tif) file, which embeds the location data directly into the image header.
What is the correct MIME type for serving BSQW files?
Because these are unformatted text files, they use the standard text/plain MIME type. If you are hosting these files for download, ensure your web server is configured with this type so browsers handle them as text rather than unknown binary objects.
Is it safe to edit a BSQW file manually?
Yes, you can edit the values with a text editor to manually shift or scale an image's position. However, manual editing requires precise knowledge of the coordinate system; entering incorrect values will result in the map layer appearing in the wrong location or at the wrong scale.
General FAQ
What is a MIME type?
A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.
MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.
MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.
How do I find the MIME type for a file?
You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.
Why can one extension have multiple MIME types?
Different programs and historical usage may assign various MIME identifiers to the same file format. Listing them together helps maintain compatibility across tools.