840 | | The new code must be inserted in your service.c file and need to be recompiled and replace the older version of your ZOO Service Provider in the /usr/lib/cgi-bin/ directory. You must of course place the corresponding ZOO Metadata File in the same directory. |
841 | | |
842 | | As we explained before, ZOO Kernel is permissive in the sense that you can pass more arguments than defined in you zcfg file, so let's try using a copy of the Boundary.zcfg file renamed as Buffer.zcfg and containing the Buffer identifier. Then, please test your service using an Execute request as you did before. You will obtain the buffer result in a ResponseDocument. |
843 | | |
844 | | You may have noted that the above code check if a BufferDistance input was passed to the service. If not, we will use 1 as the default value, which explains why you do not have to use one more input to your previous queries. |
845 | | |
846 | | You can change the BufferDistance value used by your Service to compute Buffer of your geometry by adding it to the !DataInputs value in your request. Note that using KVP syntaxe, each !DataInputs are separated by a semicolon. |
| 840 | The new code must be inserted in your {{{service.c}}} file and need to be recompiled and replace the older version of your ZOO Service Provider in the {{{/usr/lib/cgi-bin/}}} directory. You must of course place the corresponding ZOO Metadata File in the same directory. |
| 841 | |
| 842 | As we explained before, ZOO Kernel is permissive in the sense that you can pass more arguments than defined in you zcfg file, so let's try using a copy of the {{{Boundary.zcfg}}} file renamed as {{{Buffer.zcfg}}} and containing the Buffer identifier. Then, please test your service using an {{{Execute}}} request as you did before. You will obtain the buffer result in a {{{ResponseDocument}}}. |
| 843 | |
| 844 | You may have noted that the above code check if a {{{BufferDistance}}} input was passed to the service. If not, we will use 1 as the default value, which explains why you do not have to use one more input to your previous queries. |
| 845 | |
| 846 | You can change the {{{BufferDistance}}} value used by your Service to compute Buffer of your geometry by adding it to the !DataInputs value in your request. Note that using KVP syntaxe, each !DataInputs are separated by a semicolon. |