Bug 92654 - Add the GeoJSON mime-type
Summary: Add the GeoJSON mime-type
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Shared Mime Info group
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-23 20:26 UTC by Jonas Danielsson
Modified: 2015-10-24 16:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Add GeoJSON mime-type (6.38 KB, text/plain)
2015-10-23 20:26 UTC, Jonas Danielsson
Details
Add GeoJSON mime-type (6.38 KB, patch)
2015-10-23 20:27 UTC, Jonas Danielsson
Details | Splinter Review
Add GeoJSON mime-type (6.43 KB, patch)
2015-10-24 14:31 UTC, Jonas Danielsson
Details | Splinter Review

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.