• The Derbyshire Caver, No. 158

    The latest issue is finally complete and printed

    Subscribers should have received their issue in the post - please let us know if you haven't. For everyone else, the online version is now available for free download:

    Click here for download link

Survex file Mime Types

bubba

Administrator
Can anyone technically minded tell me the Mime Types for .svx and .3d files?

I could do with them to get the Wiki software to allow survey file uploads.

If not, I'll have to bypass checks for these filetypes but I'd rather do things properly.

 

graham

New member
Suggest you ask Ollie or Wookey directly via the Survex list. Wookey comes here sometimes, not sure if Ollie does. Most of us haven't a clue how to find out.
 

bubba

Administrator
Never mind, I installed Survex and checked the registry. There's no Mime Types set so I'll have to get the Wiki to bypass the check for those file types.
 

bubba

Administrator
Cheers - survex files are just text so I set the mime type to text and the Wiki is happy now.

That info will be handy for the future though  (y)
 

wookey

Active member
The survex.mime file in v1.2 source says:

application/x-survex-svx:        ext: svx
application/x-survex-3d:        ext: 3d
application/x-survex-err:        ext: err
application/x-survex-pos:        ext: pos
application/x-compass-plot:        ext: plf plt
application/x-cmap-xyz:          ext: xyz

.3d files are not just text. by default they are binaries. You can make them text but these days no-one does.
 
Top