SLD troubles -desperate!

edfialk wef1 at CEC.WUSTL.EDU
Thu Jan 4 12:14:05 EST 2007


HURRAY! That did it.  Thanks so much everyone that helped.

All I did was recompile with --with-ogr=path and bam it worked.

thanks again!
-Ed



Yewondwossen Assefa wrote:
> 
> Hi There,
> 
>   OGR is also a needed library (for geometry conversions). Is it 
> possible for you to test it with OGR enabled (USE_OGR flag) ? If that is 
> the case I will update the docs to reflect it.
> 
> Later,
> 
> 
> Edward Fialkowski wrote:
>> I have been unable to get my WMS capable MapServer to recognize an sld 
>> passed in through the url (SLD=http:...)
>> 
>> The sld is readable, I have tested it on an example from the SLD 
>> documentation - i.e. written my own SLD and pointed to it from the 
>> example, works perfectly.
>> 
>> I am totally out of ideas as to why I cannot get it to show up on my own 
>> server.
>> 
>> I'll give as much information as i can, any help would be extremely 
>> appreciated.
>> 
>> map file:
>> 
>> MAP            
>>   NAME "All"
>>   STATUS on
>>   SIZE 800 600
>>   EXTENT -2200000 -712631 3072800 3840000
>>   UNITS METERS
>>   SHAPEPATH "/var/www/html/mapserver
>> /mapdata/"
>>   IMAGECOLOR 220 220 220
>>   FONTSET "/var/www/html/mapserver/mapdata/"
>> 
>> WEB              
>>   IMAGEPATH "/var/www/html/tmp/"
>>   IMAGEURL "/tmp/"      
>>   METADATA
>>         "wms_title"     "All"
>>         "wms_onlineresource" 
>> "http://niceguy.wustl.edu/cgi-bin/mapserv.exe 
>> <http://niceguy.wustl.edu/cgi-bin/mapserv.exe>?"
>>         "wms_srs"       "epsg:4326"
>>   END                
>> END          
>> 
>> PROJECTION              
>>         "init=epsg:4326"
>> END    
>> LAYER
>>   NAME NAmer_bdr        
>>   METADATA
>>         "wms_title"     "NAmer_bdr"
>>   END
>>   TYPE LINE
>>   STATUS on          
>>   DATA bound_p
>>   PROJECTION
>>         "init=epsg:4326"
>>   END
>>   CLASS
>>         STYLE
>>           OUTLINECOLOR 0 0 0
>>         END                
>>   END          
>> END          
>> 
>> 
>> SLD File:
>> <StyledLayerDescriptor version="1.0.0">
>>   <NamedLayer>
>>     <Name>NAmer_bdr</Name>      
>>     <UserStyle>
>>       <Title>NAmer_bdr</Title>
>>       <FeatureTypeStyle>
>>         <Rule>
>>         <LineSymbolizer>
>>          <Geometry>
>>            <PropertyName>center-line</PropertyName>
>>          </Geometry>
>>          <Stroke>
>>            <CssParameter name="stroke">#00FF00</CssParameter>
>>          </Stroke>
>>         </LineSymbolizer>
>>         </Rule>
>>       </FeatureTypeStyle>
>>     </UserStyle>
>>   </NamedLayer>
>> </StyledLayerDescriptor>
>> 
>> 
>> and just in case:
>> [root at niceguy mapserver-4.10.0]# ./mapserv -v
>> MapServer version 4.10.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP 
>> OUTPUT=PDF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE 
>> SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7 INPUT=GDAL 
>> INPUT=SHAPEFILE
>> 
>> Please, please any help.
>> Thanks!
>> -Ed
> 
> 
> -- 
> ----------------------------------------------------------------
> Assefa Yewondwossen
> Software Analyst
> 
> Email: assefa at dmsolutions.ca
> http://www.dmsolutions.ca/
> 
> Phone: (613) 565-5056 (ext 14)
> Fax:   (613) 565-0925
> ----------------------------------------------------------------
> 
> 

-- 
View this message in context: http://www.nabble.com/SLD-troubles--desperate%21-tf2909232.html#a8163045
Sent from the Mapserver - User mailing list archive at Nabble.com.



More information about the mapserver-users mailing list