[mapserver-users] Can't get Tinyows WFS Layer to show in OpenLayer

Olivier Courtin olivier.courtin at gmail.com
Wed Feb 1 23:57:52 PST 2012


On Wed, Feb 1, 2012 at 7:33 PM, Wang, Ya <Ya.Wang at vta.org> wrote:

Hi,

 I am a newbie of mapserver and other online mapping technologies.
> Recently, I have been struggling to load a TinyOWS WFS Layer to an
> OpenLayers map.  I set up proxy.cgi, which works fine. I checked TinyOWS
> using command “tinyows –check”, which also seems to be working. The page
> http://.../cgi-bin/tinyows.exe?service=wfs&request=getCapabilities&version=1.1.0&typename=tows:lrtstopsdoesn’t return any error either.  I can also load a mapserver WMS layer
> into the OpenLayers Map with no problem. However, no feature from the WFS
> layer would show in the OpenLayers map.  Since both the WMS and WFS layers
> are of the same projection, which is EPSG:2227, I assume that the
> misspecification of projection is not likely to be the caprice here.   The
> following is the JavaScript I used and the response returned. Could someone
> help me find out what I did wrong? Many thanks in advance!
>
> **
>
> **
>

Several questions related to your issue:

- What TinyOWS version do you use ?

- What happen if you use QGIS as WMS/WFS client rather than OpenLayers ?

- Could you activate TinyOWS log and check if there's any error message in
it ?

- Could you use Firebug with OpenLayers to check the TinyOWS output stream ?


HTH,

-- 
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120202/dc523795/attachment.htm>


More information about the MapServer-users mailing list