Frank,<br><br>I've reviewed the document and it looks good to me, though it seems better to enforce these constraints rather at deployment time and not at run-time. However I would have some further questions:<br><br>1. With regards to GDAL_APPLICATION_LICENSE_POLICY=DEFAULT does this mean that GDAL will provide an error if a licensing violation is happening at run-time? For example when MapServer attempts to display an ECW and a MySQL layer at the same time? If this is not the case, I would prefer changing 'DEFAULT' to 'NONRECIPROCAL' and it would prevent from loading the GPL drivers during the default operation. Having GDAL_APPLICATION_LICENSE_POLICY=NONRECIPROCAL would provide better match with the licensing policy of GDAL itself which intends to be MIT/X.<br>
<br><br>2. In my opinion the user shouldn't override any specific settings (like RECIPROCAL or PROPRIETARY) being enforced by the application. In this regard the user is allowed to violate the GPL like loading proprietary drivers in QGIS. I don't think if USE_ALL should be a valid environment setting either. This should only be allowed by a compilation flag which is not intended to be used for distribution purposes.<br>
<br><br>3. I think the user should only be allowed to override GDAL_APPLICATION_LICENSE_POLICY=DEFAULT either by the environment settings or in the SWIG interface. <br><br>4. I don't really understand the rationale behind the PREFER_PROPRIETARY and PREFER_RECIPROCAL settings. Shouldn't we raise an error if a licence violation is detected? I think we might have to decide which kind of the licensing enforcement should be applied in GDAL, like:<br>
<br>Version 1, The actual licensing mode is predefined within the scope of the execution (either by the applevel or environment setting) and GDAL should avoid to load any incompatible drivers.<br><br>Version 2, The actual licensing mode may be controlled by the drivers loaded and provide an error if an incompatible driver is about to be used.<br>
<br>I'm a bit hesitant to think Version 2 would be sufficient which allows to change the licensing mode of the application at run-time. I think we should enforce the same licensing mode at least during the scope of the execution or the within a single deployment if possible.<br>
<br><br>Best regards,<br><br>Tamas<br><br><br><br><br><div class="gmail_quote">2011/1/29 Frank Warmerdam <span dir="ltr"><<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Folks,<br>
<br>
I have been thinking about how to adjust OSGeo4W in particular, and GDAL<br>
in general to make it easier to distribute software in a way that complies<br>
with the conflict between GPLed software and proprietary software.<br>
<br>
In the case of OSGeo4W the main restrictions is that we should not be<br>
distributing GRASS in such a way that proprietary drivers like the MrSID<br>
driver can be used without the user having knowingly combined them by<br>
themselves.<br>
<br>
To that end, I have prepared an RFC which attempts to address this at<br>
the GDAL driver registration level. I'd appreciate feedback:<br>
<br>
<a href="http://trac.osgeo.org/gdal/wiki/rfc34_license_policy" target="_blank">http://trac.osgeo.org/gdal/wiki/rfc34_license_policy</a><br>
<br>
Best regards,<br>
-- <br>
---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>
light and sound - activate the windows | <a href="http://pobox.com/%7Ewarmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush | Geospatial Programmer for Rent<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div><br><div style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">
</div>