[mapserver-users] SLD and OUTPUTFORMAT compatibility?

Martin Ouellet geomartino at gmail.com
Tue Nov 23 07:39:34 PST 2010


oups, here's the zip

MartinO

2010/11/23 Martin Ouellet <geomartino at gmail.com>

> Hi Assafa, thanks for your quick reply
>
> I'am working with mapserver 5.6.5 (installed form elgis RPM -
> http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS)
>
> Here the requested files:
>
> I've prefix the files with "aggpng_working" of identify the working example
> 1) aggpng_working_mapserv.log (log of mapserver for this case only)
> 2) the working scenario generate 2 mapfile:
> aggpng_working_4cebdca9_13c_2._sld.map
> aggpng_working_4cebdca9_13f_2._sld.map
>
> I've prefix the files with "gdpng_notworking" to identify the case who's
> not working
> 3) gdpng_notworking_mapserv.log (log of mapserver for this case only)
> 4) gdpng_notworking_4cebdbff_7fc0_2._sld.map
>
> Thanks again...
>
> MartinO
>
> 2010/11/23 Yewondwossen Assefa <yassefa at dmsolutions.ca>
>
>  Hi Martin,
>>
>>  Can you try to check the map file after the sld has been applied: you can
>> do that by setting your map file in debug and checking the log file  look
>> for something like "...Map file after SLD was applied"  (ex: something like
>> this):
>> CONFIG  "MS_ERRORFILE" "f:/msapps/gmap-ms40/htdocs/gmap.log"
>> DEBUG 5
>>
>> We can then check why the same style setting is not drawing the same way
>> with the 2 drivers.  Please also indicate which version of MapServer you are
>> using.
>>
>> regards,
>>
>>
>>
>>
>> On 23/11/2010 9:15 AM, Martin Ouellet wrote:
>>
>> Hi all,
>>
>>  I have 2 two differents settings for symbolize my lines (refer to SLD
>> settings below):
>>
>>  1) a dashed line which is working *only when I specify the outputformat:
>>   *DRIVER "*GD*/PNG"
>> **Note that with the driver GD/PNG, the external graphic below is not
>> working but the symbol (ico-ulaval-flag.gif) is copied locally in the
>> /ms_tmp directory.
>> It seem to be ignored by mapserver (but raising no error)...
>>
>>  2) a external graphic which is working *only when I specify the
>> outputformat:  *DRIVER "*AGG*/PNG"
>>
>>  Q: Is there a way/config to support both at the same time?
>>
>>  any advice?
>>
>>  Thanks you in advance!
>>
>>  MartinOuellet
>>
>>  SLD settings:
>>
>> ______________________________________________________________________________________
>>
>>  <!--line with a dashed pattern->
>>  <se:LineSymbolizer>
>>   <se:Stroke>
>>     <sld:CssParameter name="stroke">#000A99</sld:CssParameter>
>>     <sld:CssParameter name="stroke-dasharray">6.0 2.0 1.0 2.0 1.0 2.0 1.0
>> 2.0 4.0</sld:CssParameter>
>>     <sld:CssParameter name="stroke-width">1.0</sld:CssParameter>
>>   </se:Stroke>
>> </se:LineSymbolizer>
>>
>>  <!--line with a external graphic symbol->
>>  <se:LineSymbolizer>
>>   <se:Stroke>
>>      <se:GraphicStroke>
>>       <se:Graphic>
>>         <ExternalGraphic>
>>    <OnlineResource xlink:type="simple" xlink:href="
>> http://www.fsi.ulaval.ca/typo3conf/ext/Annuaire_facultaire/images/ico-ulaval-flag.gif
>> "/>
>>    <Format>image/gif</Format>
>>  </ExternalGraphic>
>>         <Size>10.0</Size>
>>     </se:Graphic>
>>   </se:GraphicStroke>
>>   </se:Stroke>
>> </se:LineSymbolizer>
>>
>>
>> _______________________________________________
>> mapserver-users mailing listmapserver-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>>
>> --
>> ----------------------------------------------------------------
>> Assefa Yewondwossen
>> Software Analyst
>>
>> Email: yassefa at dmsolutions.ca    http://www.dmsolutions.ca/
>>
>> Phone: (613) 565-5056 (ext 14)
>> Fax:   (613) 565-0925
>> ----------------------------------------------------------------
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101123/7a4b412a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sld_driver.zip
Type: application/zip
Size: 8693 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20101123/7a4b412a/attachment.zip>


More information about the MapServer-users mailing list