[GRASS-SVN] r45215 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jan 27 05:31:27 EST 2011
Author: huhabla
Date: 2011-01-27 02:31:27 -0800 (Thu, 27 Jan 2011)
New Revision: 45215
Modified:
grass/trunk/lib/gis/parser_wps.c
Log:
Removed default values from resolution option. Updated docu.
Modified: grass/trunk/lib/gis/parser_wps.c
===================================================================
--- grass/trunk/lib/gis/parser_wps.c 2011-01-27 01:28:29 UTC (rev 45214)
+++ grass/trunk/lib/gis/parser_wps.c 2011-01-27 10:31:27 UTC (rev 45215)
@@ -97,15 +97,10 @@
* values and value options (range is missing)
* Flags are supported as boolean values.
*
- * The mime types for vector maps are GML 2.1.2 and grass ascii and binary vectors.
- * mime type: application/grass-vector-ascii -> a text file generated with v.out.asci
- * Example.: urn:file:///path/name
- * mime type: application/grass-vector-binary -> the binary vectors must be addressed with a non standard urn:
- * Example: urn:grass:vector:location/mapset/name
+ * The mime types for vector maps are GML, KML, dgn, shape and zipped shape.
+*
+ * The mime types for raster maps are tiff, geotiff, hfa, netcdf, gif, jpeg and png.
*
- * The mime types for raster maps are tiff and png as well as grass ascii
- * and binary raster maps, following the same scheme as the vector maps
- *
* The mime types are reflecting the capabilities of gdal and may be extended.
*
* BoundignBox support is currently not available for inputs and outputs.
@@ -118,8 +113,11 @@
* does not allow multiple outputs with only one identifier).
* Multiple outputs must be wrapped via a python script or created as group.
*
- * There is not support for optional outputs.
- *
+ * In future the following mimetypes may be supported
+ * mime type: application/grass-vector-ascii -> a text file generated with v.out.asci
+ * Example.: urn:file:///path/name
+ * mime type: application/grass-vector-binary -> the binary vectors must be addressed with a non standard urn:
+ * Example: urn:grass:vector:location/mapset/name
* */
void G__wps_print_process_description(void)
@@ -331,10 +329,10 @@
if(num_raster_inputs > 0 || num_raster_outputs > 0) {
wps_print_literal_input_output(WPS_INPUT, 0, 1, "grass_resolution_ns", "Resolution of the mapset in north-south direction in meters or degrees",
"This parameter defines the north-south resolution of the mapset in meter or degrees, which should be used to process the input and output raster data. To enable this setting, you need to specify north-south and east-west resolution.",
- "float", 1, NULL, 0, "25", TYPE_OTHER);
+ "float", 1, NULL, 0, NULL, TYPE_OTHER);
wps_print_literal_input_output(WPS_INPUT, 0, 1, "grass_resolution_ew", "Resolution of the mapset in east-west direction in meters or degrees",
"This parameter defines the east-west resolution of the mapset in meters or degrees, which should be used to process the input and output raster data. To enable this setting, you need to specify north-south and east-west resolution.",
- "float", 1, NULL, 0, "25", TYPE_OTHER);
+ "float", 1, NULL, 0, NULL, TYPE_OTHER);
}
/* In case multi band raster maps should be imported, the band number must be provided */
if(num_raster_inputs > 0)
More information about the grass-commit
mailing list