[Mapbender-users] problem with sld editor and geoserver

zorg zorg at probesys.com
Wed Nov 10 11:43:29 EST 2010


Hi
I'm  very happy to see a such open community

thanks all for your help

I'm not very experience with this but I'll try to look further next week



Le 10/11/2010 13:49, Michael Schulz a écrit :
> Hi,
>
> ok, I could reproduce this behaviour with MB 2.7 also. This is a
> problem of the SLD parser (it has nothing to do with the wfs_conf
> assignment to a wms layer). The SLD-Editor has been initially
> developed and tested for Mapserver. I have done some things to be able
> to handle also GeoServer, but that was for GS 1.6/1.7 and especially
> prior to GS supporting the getStyles request.
>
> I think from GS 2 onwards the getStyles request is supported but the
> SLD parser is currently not able to cope with it. This would mean it
> will need to be overhauled for this requirement. Unfortunately I don't
> have enough ressources at the moment to do this.
>
> Zorg, do you have experience and/or ressources to look into this?
>
> Cheers, Michael
>
>
> 2010/11/10 Michael Schulz<mschulz at webgis.de>:
>    
>> Hi,
>>
>> no, I just need some time to setup a corresponding environment, don't
>> yet have a MB 2.6.2 with Geoserver 2.0 somewhere up and running ...
>> But, did you have a look in the php error log file?
>>
>> I assume this is a bug, so it would be good if you could file a ticket
>> for it and assign it to me (mschulz).
>>
>> Cheers, Michael
>>
>> 2010/11/10 zorg<zorg at probesys.com>:
>>      
>>> Hi
>>> Have I done something wrong or is this a bug
>>> do you need more information
>>> Thanks
>>> Le 09/11/2010 10:45, Michael Schulz a écrit :
>>>        
>>>> Hi,
>>>>
>>>> ok, thanks for that. Do you have assigned a wfs configuration to a wms
>>>> layer on which you want to use the SLD-Editor?
>>>>
>>>> Cheers, Michael
>>>>
>>>> 2010/11/9 zorg<zorg at probesys.com>:
>>>>
>>>>          
>>>>> Hi
>>>>> everything is blank
>>>>> I have investigate a little and in fact when sld.main.php is call hte
>>>>> script
>>>>> doesnt work after line 96 (no error appear)
>>>>> I have try putting echo "test"; and it doesn't show after line 96 (hope
>>>>> i'm
>>>>> clear)
>>>>>
>>>>> /* Check for a related WFS featuretype */
>>>>> $wfs_conf_id = $dbutils->getLayerWfsConfId($_SESSION["sld_gui_id"],
>>>>> $layer_id);
>>>>> if ( $wfs_conf_id ) {
>>>>>         $featuretype_id = $dbutils->getWfsConfFeatureTypeId($wfs_conf_id);
>>>>>         $classWfsConf->getelements($featuretype_id);
>>>>>         $wfs_element = $classWfsConf->elements;
>>>>>         $fts =
>>>>> $styledlayerdescriptor->layers[0]->styles[0]->featuretypestyles[0];
>>>>>         $fts->setElementArray("element_id",$wfs_element->element_id);
>>>>>         $fts->setElementArray("element_name",$wfs_element->element_name);
>>>>> } else {
>>>>>         $wfs_element = false;
>>>>> }
>>>>>
>>>>>
>>>>>
>>>>> Le 08/11/2010 20:11, Michael Schulz a écrit :
>>>>>
>>>>>            
>>>>>> No, there's no other, my question was more whether the whole window
>>>>>> being completly empty/white or e.g. only the maps or whatever.
>>>>>>
>>>>>> I'll have a look into that issue...  Cheers, Michael
>>>>>>
>>>>>>
>>>>>> 2010/11/8 zorg<zorg at probesys.com>:
>>>>>>
>>>>>>
>>>>>>              
>>>>>>> I using mapbender  2.6.2,  GeoServer 2.0.2
>>>>>>>
>>>>>>> Yes i'm talking about the sld editor popup (is there another one???)
>>>>>>> Le 08/11/2010 16:29, Michael Schulz a écrit :
>>>>>>>
>>>>>>>
>>>>>>>                
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> you mean the Sld-Editor popup window is completly empty? This is
>>>>>>>> Mapbender 2.6.2, right? Which Geoserver are you using?
>>>>>>>>
>>>>>>>> Cheers, Michael
>>>>>>>>
>>>>>>>>
>>>>>>>> 2010/11/8 zorg<zorg at probesys.com>:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>                  
>>>>>>>>> Hi
>>>>>>>>> If i try to use sldeditor with geoserver wms I get a blank page with
>>>>>>>>> no
>>>>>>>>> error
>>>>>>>>> in the log i have this
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 2010.11.08, 15:33:25,Notice: class_locale: setting locale to fr
>>>>>>>>> 2010.11.08, 15:33:25,Notice: locale fr_FR.utf8 ok on linux
>>>>>>>>> 2010.11.08, 15:33:25,Notice: mb_validateSession.php: checking file
>>>>>>>>> /mapbender/sld/sld_main.php
>>>>>>>>> 2010.11.08, 15:33:25,Notice: gui id not set
>>>>>>>>> 2010.11.08, 15:33:25,Notice: gui id set to guiID: admin_en_services
>>>>>>>>> 2010.11.08, 15:33:25,Notice: mb_validateSession.php: GUI:
>>>>>>>>> admin_en_services,
>>>>>>>>> checking file /mapbender/sld/sld_main.php...session valid.
>>>>>>>>>
>>>>>>>>> If you have nay idea
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Mapbender_users mailing list
>>>>>>>>> Mapbender_users at lists.osgeo.org
>>>>>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>                    
>>>>>>>>
>>>>>>>>
>>>>>>>>                  
>>>>>>> _______________________________________________
>>>>>>> Mapbender_users mailing list
>>>>>>> Mapbender_users at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>                
>>>>>>
>>>>>>
>>>>>>              
>>>>> _______________________________________________
>>>>> Mapbender_users mailing list
>>>>> Mapbender_users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>>>>>
>>>>>
>>>>>            
>>>>
>>>>
>>>>          
>>>
>>>        
>>
>>
>> --
>> -----------------------------------------------------------
>> Michael Schulz
>> mschulz at webgis.de
>>
>> in medias res
>> Gesellschaft für Informationstechnologie mbH
>>
>> Schwimmbadstraße 2
>> D-79100  Freiburg i. Br.
>>
>> Tel:  +49 (0)761 705798-102
>> Tel:  +49 (0)761 705798-0
>> Fax: +49 (0)761 705798-09
>>
>> http://www.webgis.de / http://www.zopecms.de
>> --------------------------------------------------------------
>> Geschäftsführer: Stefan Giese, Dr. Christof Lindenbeck
>> Eingetragen im Handelsregister HRB 5930 beim Amtsgericht Freiburg
>>
>>      
>
>
>    



More information about the Mapbender_users mailing list