source: josm/trunk/macosx/JOSM.app/Contents/Info.plist_template.xml @ 15550

Last change on this file since 15550 was 15550, checked in by Don-vip, 4 years ago

fix #18350 - Registers opening *.geojson files on macOS

RFC7946 defines Uniform Type Identifier: public.geojson conforms to public.json

File size: 7.4 KB
Line 
1<key>NSSupportsAutomaticGraphicsSwitching</key>
2<true/>
3<key>CFBundleAllowMixedLocalizations</key>
4<string>true</string>
5<key>UTExportedTypeDeclarations</key>
6<array>
7    <!-- Export JOSM file format UTI (*.osm) -->
8    <dict>
9        <key>UTTypeIdentifier</key>
10        <string>org.openstreetmap.josm.osm</string>
11        <key>UTTypeDescription</key>
12        <string>JOSM File</string>
13        <key>UTTypeIconFile</key>
14        <string>JOSM.icns</string>
15        <key>UTTypeReferenceURL</key>
16        <string>http://wiki.openstreetmap.org/wiki/JOSM_file_format</string>
17        <key>UTTypeConformsTo</key>
18        <array>
19            <string>public.xml</string>
20        </array>
21        <key>UTTypeTagSpecification</key>
22        <dict>
23            <key>com.apple.ostype</key>
24            <string>JOSM</string>
25            <key>public.filename-extension</key>
26            <array>
27                <string>osm</string>
28            </array>
29            <key>public.mime-type</key>
30            <string>application/x-osm+xml</string>
31        </dict>
32    </dict>
33    <!-- Export JOSM session file format UTI (*.joz) -->
34    <dict>
35        <key>UTTypeIdentifier</key>
36        <string>org.openstreetmap.josm.joz</string>
37        <key>UTTypeDescription</key>
38        <string>JOZ File</string>
39        <key>UTTypeIconFile</key>
40        <string>JOSM.icns</string>
41        <key>UTTypeConformsTo</key>
42        <array>
43            <string>com.pkware.zip-archive</string>
44        </array>
45        <key>UTTypeTagSpecification</key>
46        <dict>
47            <key>com.apple.ostype</key>
48            <string>JOSM</string>
49            <key>public.filename-extension</key>
50            <array>
51                <string>joz</string>
52            </array>
53        </dict>
54    </dict>
55    <!-- Export GeoJSON file format UTI (*.geojson) -->
56    <dict>
57        <key>UTTypeIdentifier</key>
58        <string>public.geojson</string>
59        <key>UTTypeDescription</key>
60        <string>GeoJSON File</string>
61        <key>UTTypeIconFile</key>
62        <string>JOSM.icns</string>
63        <key>UTTypeConformsTo</key>
64        <array>
65            <string>public.json</string>
66        </array>
67        <key>UTTypeTagSpecification</key>
68        <dict>
69            <key>com.apple.ostype</key>
70            <string>GeoJSON</string>
71            <key>public.filename-extension</key>
72            <array>
73                <string>geojson</string>
74            </array>
75        </dict>
76    </dict>
77</array>
78<key>UTImportedTypeDeclarations</key>
79<array>
80    <!-- Import GPX file format "standard" UTI (*.gpx) -->
81    <dict>
82        <key>UTTypeIdentifier</key>
83        <string>com.topografix.gpx</string>
84        <key>UTTypeReferenceURL</key>
85        <string>http://www.topografix.com/GPX/1/1/</string>
86        <key>UTTypeDescription</key>
87        <string>GPS Exchange Format (GPX)</string>
88        <key>UTTypeConformsTo</key>
89        <array>
90            <string>public.xml</string>
91        </array>
92        <key>UTTypeTagSpecification</key>
93        <dict>
94            <key>public.filename-extension</key>
95            <array>
96                <string>gpx</string>
97            </array>
98            <key>public.mime-type</key>
99            <string>application/gpx+xml</string>
100        </dict>
101    </dict>
102    <!-- Import GPX file format Apple UTI (*.gpx) -->
103    <dict>
104        <key>UTTypeIdentifier</key>
105        <string>com.apple.dt.document.gpx</string>
106        <key>UTTypeReferenceURL</key>
107        <string>http://www.topografix.com/GPX/1/1/</string>
108        <key>UTTypeDescription</key>
109        <string>GPX File</string>
110        <key>UTTypeConformsTo</key>
111        <array>
112            <string>public.xml</string>
113        </array>
114        <key>UTTypeTagSpecification</key>
115        <dict>
116            <key>public.filename-extension</key>
117            <array>
118                <string>gpx</string>
119            </array>
120            <key>public.mime-type</key>
121            <string>application/gpx+xml</string>
122        </dict>
123    </dict>
124</array>
125<key>CFBundleDocumentTypes</key>
126<array>
127    <!-- Registers opening *.osm files -->
128    <dict>
129        <key>CFBundleTypeIconFile</key>
130        <string>JOSM.icns</string>
131        <key>CFBundleTypeName</key>
132        <string>OSM Files</string>
133        <key>CFBundleTypeRole</key>
134        <string>Editor</string>
135        <key>LSHandlerRank</key>
136        <string>Owner</string>
137        <key>LSItemContentTypes</key>
138        <array>
139            <string>org.openstreetmap.josm.osm</string>
140        </array>
141        <key>NSExportableTypes</key>
142        <array>
143            <string>org.openstreetmap.josm.osm</string>
144            <string>com.topografix.gpx</string>
145            <string>com.pkware.zip-archive</string>
146            <string>org.gnu.gnu-zip-archive</string>
147            <string>public.archive.bzip2</string>
148        </array>
149    </dict>
150    <!-- Registers opening *.joz files -->
151    <dict>
152        <key>CFBundleTypeIconFile</key>
153        <string>JOSM.icns</string>
154        <key>CFBundleTypeName</key>
155        <string>JOZ Files</string>
156        <key>CFBundleTypeRole</key>
157        <string>Editor</string>
158        <key>LSHandlerRank</key>
159        <string>Owner</string>
160        <key>LSItemContentTypes</key>
161        <array>
162            <string>org.openstreetmap.josm.joz</string>
163        </array>
164    </dict>
165    <!-- Registers opening *.geojson files -->
166    <dict>
167        <key>CFBundleTypeIconFile</key>
168        <string>JOSM.icns</string>
169        <key>CFBundleTypeName</key>
170        <string>GeoJSON Files</string>
171        <key>CFBundleTypeRole</key>
172        <string>Editor</string>
173        <key>LSHandlerRank</key>
174        <string>Owner</string>
175        <key>LSItemContentTypes</key>
176        <array>
177            <string>public.geojson</string>
178        </array>
179    </dict>
180    <!-- Registers opening *.gpx files -->
181    <dict>
182        <key>CFBundleTypeIconFile</key>
183        <string>JOSM.icns</string>
184        <key>CFBundleTypeName</key>
185        <string>GPX Files</string>
186        <key>CFBundleTypeRole</key>
187        <string>Editor</string>
188        <key>LSHandlerRank</key>
189        <string>Alternate</string>
190        <key>LSItemContentTypes</key>
191        <array>
192            <string>com.topografix.gpx</string>
193            <string>com.apple.dt.document.gpx</string>
194        </array>
195        <key>NSExportableTypes</key>
196        <array>
197            <string>org.openstreetmap.josm.osm</string>
198        </array>
199    </dict>
200    <!-- Registers opening *.osm.zip, *.osm.gz, *.osm.bz2 files -->
201    <dict>
202        <key>CFBundleTypeIconFile</key>
203        <string>JOSM.icns</string>
204        <key>CFBundleTypeName</key>
205        <string>OSM Compressed Files</string>
206        <key>CFBundleTypeRole</key>
207        <string>Editor</string>
208        <key>LSHandlerRank</key>
209        <string>Alternate</string>
210        <key>LSItemContentTypes</key>
211        <array>
212            <string>com.pkware.zip-archive</string>
213            <string>org.gnu.gnu-zip-archive</string>
214            <string>public.archive.bzip2</string>
215        </array>
216        <key>NSExportableTypes</key>
217        <array>
218            <string>org.openstreetmap.josm.osm</string>
219            <string>com.pkware.zip-archive</string>
220            <string>org.gnu.gnu-zip-archive</string>
221            <string>public.archive.bzip2</string>
222        </array>
223    </dict>
224</array>
Note: See TracBrowser for help on using the repository browser.