Small clarification inline, and then I do not have anything more to add.
- Telling apart XML/text/Binary is the heart of this problem. Crack that
>> and then build factory after.
>>
> I lost you there. A factory can build all three types at the same time.
>
Telling apart the individual ProcessParameterIO instances (and what they
are capable of) is the hear of the problem. Once we have that sorted it may
inform what the find methods look like, and what information needs to be
available at the Factory level.
Like I do not think we need the FunctionFactory approach as we do not have
a FunctionName equivalent that can be listed independently.
> - How to represent combination input/output/mime types? Either list the
>> same format multiple times (once for each combination) or create a
>> MultplexProcessParameterIO
>>
> The above sentence has no meaning to me, don't believe it matches the
> current PPIO design.
>
Fair enough, I will use more words. Was thinking of a single mime type -
say "text/json" - showing up in the list as:
- GeoJSONPPInput: mimetype="text/json" version="1.0" subformat="geojson"
- GeoJSONPPOutput: mimetype="text/json" version="1.0" subformat="geojson"
- ESRIJSONPPInput: mimetype="text/json" version="10.2"
subformat="Featureset"
- ESRIJSONPPOutput: mimetype="text/json" version="10.2"
subformat="Featureset"
- ESRIJSONPPOutput: mimetype="text/json" version="10.2.1"
subformat="Featureseti"
- ESRIJSONPPOutput: mimetype="text/json" version="10.2.2"
subformat="Featureset"
This implies [1] GeoJSON 1.0 is available for read/write while [2] ESRI
FeatureSet read/write is available for 10.2, while FeatureSet write also
supports 10.2.1 and 10.2.2. This is clear, each ProcessParameterIO
does does one thing making find easier.
The "multi" idea would be to allow individual ProcessParameterIO
implementations to take on more than one format, flavour - resulting in a
list such as:
- GeoJSONPPIO: mimetype="text/json" version="1.0" subformat="geojson"
read=true, write=true
- ESRIJSONPPOutput: mimetype="text/json" version="10.2" subformat="Featureset"
read=true, write=true
- ESRIJSONPPOutput: mimetype="text/json" version=("10.2.1","10.2.2")
subformat="Featureset"
read=false, write=true
Here are the competing JSON formats:
[1] http://geojson.org
[2]
http://resources.arcgis.com/en/help/main/10.2/index.html#//001200000059000000
Jody
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel