SLD not working on linux Fedora Core 5

Ruben Pardo correosig at GMAIL.COM
Mon Nov 5 08:23:25 PST 2007


Thanks to Tom, the problem was solved.

I put in the httpd.conf

Alias /tmp/ "/usr/local/apache2/apps/mosaico_sandbox/htdocs/tmp"

having my tmp directory in
"/usr/local/apache2/apps/mosaico_sandbox/htdocs/tmp"
and in the  mapfile

 IMAGEURL tmp/
 IMAGEPATH "/tmp/"

and also de OGR correctly installed in the linux.




2007/11/5, Ruben Pardo <correosig at gmail.com>:
>
> Thanks Tom,
>
> when i do a GetCapabilities request on Linux i get
>
> <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1"
> RemoteWFS="0"/>
>
> on windows i get the same ...
>
> <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1"
> RemoteWFS="0"/>
>
>
>  I've got differents ports  because i've got two servers, an oc4j that
> generate SLD's, and
> a apache with mapserver. The SLDs are visible from the mapserver machine.
> I also test with a SLD in
> the same server, but i doesn't work
>
> thanks
>
>
> 2007/11/5, Kralidis,Tom [Burlington] < Tom.Kralidis at ec.gc.ca>:
> >
> >
> > Hi,
> >
> > A couple of initial ideas:
> >
> > - when you do a GetCapabilities request on Windows, do you get the
> > following within the XML:
> > <UserDefinedSymbolization SupportSLD="1" UserLayer="0" UserStyle="1"
> > RemoteWFS="0"/>
> >
> > - I notice that the SLD is on a host with a different port.  Can the WMS
> > box see the box of the SLD document (not sure if your example below is
> > actual or has been modified for the list)
> >
> > ..Tom
> >
> >
> >
> >
> >
> > ________________________________
> >
> >         From: UMN MapServer Users List
> > [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Ruben Pardo
> >         Sent: 05 November, 2007 5:56 AM
> >         To: MAPSERVER-USERS at LISTS.UMN.EDU
> >         Subject: [UMN_MAPSERVER-USERS] SLD not working on linux Fedora
> > Core 5
> >
> >
> >         Hi everybody,
> >
> >         I'm using  mapserver attaching SLD to a mapserver request. On
> > windows the same request, with the same mapfile, with the same SLD
> > works perfectly but it doesn't with my linux configuration.
> >         I read that the only thing that i need to get working SLD is
> > OGR.
> >         works with windows.
> >
> >
> >         what could id do? where can i see what it happens?
> >
> >
> >         The request is:
> >
> > http://localhost/cgi-bin/mapserv?map=/usr/local/apache2/apps/mosaico_san
> > dbox/htdocs/prbmosaico.map&service=WMS&request=GetMap&Layers=Municipios&
> > version=1.1.1&SLD=http://localhost:8989/mosaico/jspx/sig/tmp/prb.xml
> > <http://localhost/cgi-bin/mapserv?map=/usr/local/apache2/apps/mosaico_sa
> > ndbox/htdocs/prbmosaico.map&service=WMS&request=GetMap&Layers=Municipios
> >
> > &version=1.1.1&SLD=http://localhost:8989/mosaico/jspx/sig/tmp/prb.xml>
> >
> >         My linux mapserver version is:
> >         MapServer version 4.10.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
> > OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
> > SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> > SUPPORTS=FASTCGI SUPPORTS=THREADS INPUT=TIFF INPUT=EPPL7 INPUT=SDE
> > INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
> >
> >         The linux os is:
> >         2.6.15-1.2054_FC5
> >
> >         thanks a lot.
> >
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20071105/4dda8657/attachment.htm>


More information about the MapServer-users mailing list