Bug 92654

Summary: Add the GeoJSON mime-type
Product: shared-mime-info Reporter: Jonas Danielsson <jonas>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Add GeoJSON mime-type
Add GeoJSON mime-type
Add GeoJSON mime-type

Description Jonas Danielsson 2015-10-23 20:26:13 UTC
Created attachment 119157 [details]
Add GeoJSON mime-type
Comment 1 Jonas Danielsson 2015-10-23 20:27:21 UTC
Created attachment 119158 [details] [review]
Add GeoJSON mime-type

Add application/vnd.geo+json as specified by IANA at:
http://www.iana.org/assignments/media-types/application/vnd.geo+json
Comment 2 Bastien Nocera 2015-10-24 14:11:40 UTC
Comment on attachment 119158 [details] [review]
Add GeoJSON mime-type

Review of attachment 119158 [details] [review]:
-----------------------------------------------------------------

::: freedesktop.org.xml.in
@@ +6197,5 @@
>    </mime-type>
> +  <mime-type type="application/vnd.geo+json">
> +    <_comment>GeoJSON geospatial data</_comment>
> +    <glob pattern="*.geojson"/>
> +    <glob pattern="*.geo.json"/>

Missing a "sub-class-of" for the top-level json type, no?
Comment 3 Jonas Danielsson 2015-10-24 14:31:14 UTC
Comment on attachment 119158 [details] [review]
Add GeoJSON mime-type

Review of attachment 119158 [details] [review]:
-----------------------------------------------------------------

::: freedesktop.org.xml.in
@@ +6197,5 @@
>    </mime-type>
> +  <mime-type type="application/vnd.geo+json">
> +    <_comment>GeoJSON geospatial data</_comment>
> +    <glob pattern="*.geojson"/>
> +    <glob pattern="*.geo.json"/>

Seems I do, thanks!
Comment 4 Jonas Danielsson 2015-10-24 14:31:54 UTC
Created attachment 119173 [details] [review]
Add GeoJSON mime-type

Add application/vnd.geo+json as specified by IANA at:
http://www.iana.org/assignments/media-types/application/vnd.geo+json
Comment 5 Bastien Nocera 2015-10-24 16:23:40 UTC
commit 4ed3648868a2c2dddfa8c31aaf660e9d5131fefd
Author: Jonas Danielsson <jonas@threetimestwo.org>
Date:   Fri Oct 23 22:22:52 2015 +0200

    Add GeoJSON mime-type
    
    Add application/vnd.geo+json as specified by IANA at:
    http://www.iana.org/assignments/media-types/application/vnd.geo+json
    
    https://bugs.freedesktop.org/show_bug.cgi?id=92654

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.