<!--
(C) Copyright 1996-2016 ECMWF.
This software is licensed under the terms of the Apache Licence Version 2.0
which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
In applying this licence, ECMWF does not waive the privileges and immunities
granted to it by virtue of its status as an intergovernmental organisation nor
does it submit to any jurisdiction.
-->
<magics>
	<class xmltag="geojson"
		name="GeoJSon"
		directory="web"
		prefix="geojson"
		action="pgeojson"
		include="GeoJSon.h">
		<parameter member="type"
			to="string"
			default="file"
			from="string"
			name="geojson_input_type"
			values='string/file'>
			<documentation>data are in a file ( file ) or passed as a string (string)</documentation>
		</parameter>
		<parameter member="path"
			to="string"
			default=""
			from="string"
			name="geojson_input_filename">
			<documentation>Path to the file containing the GeoJson data</documentation>
		</parameter>
		<parameter member="input"
			to="string"
			default="{}"
			from="string"
			name="geojson_input">
			<documentation>String containing the GeoJson data</documentation>
		</parameter>
		<parameter member="binning_resolution"
			to="float"
			default="1."
			from="float"
			name="geojson_binning_grid_resolution">
			<documentation>String containing the GeoJson data</documentation>
		</parameter>
		<parameter member="value"
			to="string"
			default="value"
			from="string"
			name="geojson_value_property">
			<documentation>String containing the GeoJson data</documentation>
		</parameter>
	</class>
</magics>
