Changes between Initial Version and Version 2 of Ticket #3975


Ignore:
Timestamp:
Aug 1, 2011, 6:39:14 AM (13 years ago)
Author:
dmorissette
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3975

    • Property Status newclosed
    • Property Resolutioninvalid
  • Ticket #3975 – Description

    initial v2  
    33The data is in MS SQL 2008, in coord sys 4326.
    44Here is example WFS request:
     5
    56http://www.anglingdiary.org.uk/esdmMapServer6/ms/apps/mapserv.exe?map=D:\Websites\mojoPortal_SFCC\esdmMapServer\map\SFCC.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=SFCCWatersLine&SRS=4326&BBOX=-5.2,56.3,-5.5,56.6
     7
    68This should return a ton of features. But DEBUG output revealed this:
     9{{{
    710[Sun Jul 31 11:23:42 2011].658000 msOGRFileWhichShapes: Setting spatial filter to -7.557295 49.767308 -7.557291 49.767311
    811[Sun Jul 31 11:23:42 2011].660000 msOGRFileNextShape: Returning MS_DONE (no more shapes)
     12}}}
    913So for some reason it was incorrectly transforming the BBOX.
    1014I have found the cause (after much experimenting!).
    1115Originally I had this WEB metadata:
     16{{{
    1217WEB
    1318    IMAGEPATH "D:\Websites\blah\tmp"
     
    1621      "wfs_srs" "EPSG:27700 EPSG:4326"
    1722      etc etc
     23}}}
    1824and the WFS request returned no features.
    1925I changed the wfs_srs to this:
     26{{{
    2027      "wfs_srs" "EPSG:4326 EPSG:27700"
     28}}}
    2129and it started working.
    2230Interestingly, requests in &SRS=27700 always worked.
    2331For info, I also have this in the MAP:
     32{{{
    2433PROJECTION
    2534    "init=epsg:4326"
    2635END
     36}}}
    2737and the same in each LAYER. If I took this section out of the layer, then it would also start working (without correcting the WEB metadata), but it responded with the wrong SRS in the GML.
    2838Hope this is enough information!