Hi Kimaidou The QgsSLDParser in the mapservercode transforms SLD->QGIS symbology (not the other way round). The code is a bit old and it does not handle the new symbology. So I think it would be good to rewrite the SLD conversion completely based on symbology-ng.
> What would be the best / easiest way ? Code in C++ ? If so, I will need > some help here :) since I have never coded in C++ before. Yes, for maximum reusability, it should be in C++ and in the core library. Like this, it can be used by desktop, mapserver and plugins. Import from SLD could be done based on the rule based renderer class, which has a similar organisation as SLD. Regards, Marco Am Dienstag, 7. Dezember 2010, um 13.32:05 schrieb kimaidou: > Hi again, > > Since my last post, I found Qgis-Mapserver had all we need to convert a > Qgis symbology into a SLD file (and the other way probably). > This is very interesting, but I still need to figure out how I can use it > :) Marco, can I access the methods as QgsSLDParser from a python plugin ? > > What would be the best / easiest way ? Code in C++ ? If so, I will need > some help here :) since I have never coded in C++ before. > > Sorry if my questions are out of topic (because already discussed / closed, > etc.) > > Kimaidou > > 2010/12/7 kimaidou <[email protected]> > > > Hi devs, > > > > I love the new symbology engine. I would like to use Qgis to create > > some > > > > SLD for Mapserver or Openlayers, etc. > > I know the SLD Export plugin written by Luca Casagrande which does the > > job for unique value symbology. > > > > I would like to know if some further work had been done either on this > > plugin or in Qgis trunk to provide an extended SLD export feature ? If > > not, I will try to find time to improve Luca's plugin. I am not sure it > > would be easy though ;) > > > > Thanks in advance for any advice / info > > > > Kimaidou -- Dr. Marco Hugentobler Sourcepole - Linux & Open Source Solutions Churerstr. 22, CH-8808 Pfäffikon SZ, Switzerland [email protected] http://www.sourcepole.ch Technical Advisor QGIS Project Steering Committee _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
