MapInfo Pro

Expand all | Collapse all

Row filter does not show BBOX operator for geo fields

  • 1.  Row filter does not show BBOX operator for geo fields

    Posted 06-29-2020 08:07
    When trying to open a WFS table in MapInfo Pro 2019.2 (19.0.2.0028), e.g. the "WorldCap" layer from the PB WFS Demo, I expect to see a "BBOX" operator for the geometry field in the row picker, but recently that was not offered anymore, see this screenshot:

    When I inspect the web traffic, I can see that the field is described as such:

    [...]
    <xs:element minOccurs="0" name="Obj" type="gml:GeometryPropertyType"></xs:element>
    [...]

    A field from another service which used to work had the type "gml:MultiSurfacePropertyType".

    There seems to be some caching going on, so I can't see all requests.

    This used to be working, albeit with the previous version (2019.1). It stopped working, then as part of trying to find out why it wasn't working, I upgraded, but that did not help.

    Does anyone have an idea what is going on here, while this used to work less than two weeks ago?

    ------------------------------
    Gerben Vos
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Row filter does not show BBOX operator for geo fields

    Posted 06-29-2020 08:19
    Edited by Peter Horsbøll Møller 06-29-2020 08:19
    Hi Gerben

    This is typically the case if you have no map window active or haven't selected a record that can be used in the Filter dialog.

    I used the same service and saw this behavior. When I opened a map, a GeoMap in this case, the dialog changed and allowed me to select an operator as well as a value.



    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 3.  RE: Row filter does not show BBOX operator for geo fields

    Posted 06-29-2020 09:26

    Yes, that appears to work, thanks. Strange, I remember the map being otherwise empty, but maybe some empty map was opened that first time.

    A further question (I can create this as a separate post if that's what I'm supposed to do):
    With the BBOX operator set to CURRENT_MAPPER, after  panning to another area, the statement "wfs refresh table Fredede_omr using map" (whether or not with "window 3014" after it, with 3014 the window id; this is for the Fredede_omr layer in the Land register of Denmark WFS service) in the MapBasic windows doesn't load the data for the new view; looking at the request with Fiddler it seems to request data for the original coordinates. Are any further settings necessary?



    ------------------------------
    Gerben Vos
    Knowledge Community Shared Account
    ------------------------------



  • 4.  RE: Row filter does not show BBOX operator for geo fields

    Posted 06-30-2020 03:51
    Yes, check your Options (PRO, Options, Web Services, WFS).
    Make sure that you have checked Update Mapper Filters With Current Mappe(r Extent)



    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 5.  RE: Row filter does not show BBOX operator for geo fields

    Posted 06-30-2020 05:28
    Edited by Gerben Vos 06-30-2020 07:33
    That option was already set, but still it does not update the new area in MapInfo.

    (Interestingly enough, although the request to the WFS server is the same for both the old and new areas, the returned data is not identical, although it may describe the same objects.) (Edit: the returned data is from the original area in both cases.)

    ------------------------------
    Gerben Vos
    Knowledge Community Shared Account
    ------------------------------



  • 6.  RE: Row filter does not show BBOX operator for geo fields

    Posted 07-01-2020 10:16
    Let me check this internally as I know we had a bug related to using the Refresh from the Table List.

    I'm certain I was able to refresh a WFS table using the Refresh option on the TABLE tab, but that doesn't seem to work for me now either.

    Currently, the only way I made it work was by going to the WFS Table Properties, go to Row Filter and change the dropdown to Current Mapper and then go back out using the OK button.

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------



  • 7.  RE: Row filter does not show BBOX operator for geo fields

    Posted 07-02-2020 08:53
    One of our engineering teams is taking a look at this issue in their next sprint.

    Hopefully, we can get this fixed for the v2019.3 release later this year.

    ------------------------------
    Peter Horsbøll Møller
    Distinguished Engineer
    Pitney Bowes Software & Data
    ------------------------------