What is MIME type "application/vnd.geoplan"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

application/vnd.geoplan is a vendor-specific MIME type. It identifies files containing GeoplanW data, typically in the G2W format.

This MIME type tells your computer that the file holds geospatial planning details. It often contains map layers, coordinate information, and plan layouts designed for the GeoplanW software.

Key uses:

For further technical details, visit the IANA media types registry.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: application/vnd.geoplan    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="application/vnd.geoplan">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'application/vnd.geoplan');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the application/vnd.geoplan MIME type used for?

The MIME type application/vnd.geoplan is used to identify files containing GeoplanW data, most commonly associated with the .g2w extension. It stores geospatial planning information, such as map layers and coordinate systems, specifically for use with GeoplanW software.

How do I configure Apache to serve .g2w files correctly?

To ensure your Apache server sends the correct headers for GeoplanW files, add the following line to your .htaccess file or main configuration: AddType application/vnd.geoplan .g2w. This prevents the server from treating the file as a generic binary stream.

Why does my browser download the file instead of showing the map?

Web browsers like Chrome, Firefox, and Edge do not have built-in support for rendering application/vnd.geoplan data. Because they cannot display the geospatial content natively, they default to downloading the file so you can open it with the appropriate desktop application.

What does the 'vnd' prefix mean in this MIME type?

The vnd prefix stands for vendor, indicating that this is a proprietary format controlled by a specific organization rather than an open standard. While standard types like application/json are universal, application/vnd.geoplan is specific to GeoplanW software.

How do I add support for this MIME type in Nginx?

You can support this file type in Nginx by editing your mime.types file or the types block in your server configuration. Add the line application/vnd.geoplan g2w; and reload the server to apply the changes.

Is application/vnd.geoplan compatible with Google Earth or GIS software?

Not directly. This is a specific format for GeoplanW, whereas Google Earth uses KML (application/vnd.google-earth.kml+xml) and other GIS tools use Shapefiles or GeoJSON. You would typically need to export the data from the GeoplanW software into a common format to use it elsewhere.

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 are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.