MapInfo Pro Developers User Group

 View Only
  • 1.  MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 03-16-2023 12:49

    Hello,

    I have previously extracted aerial image dates from metadata in a local XML file, but having moved to a WMS layer, I have to use the info tool WMS GetFeatureInfo, and find the date in date_flown = '[date,time]'. How do I capture that information using a MapBasic command? Ideally it needs to be captured when I click inside a polygon to open a dialog box. 

    Many thanks,

    Steve



    ------------------------------
    Steve Oram
    Biodiversity Officer
    PTES
    London
    ------------------------------


  • 2.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 03-26-2023 11:56

    Hi Steve,

    few months ago I built a large application that reads data from WMS among many other capabilities; my application captures elevations, Z levels from a variety of sources. If you want  and you are not in a hurry I can prepare for you a short MB script just for your needs. I should need the URL of that WMS connection. I offer this for free.

    Sergi Gamiz-Ribelles



    ------------------------------
    Sergi Gamiz-Ribelles
    Knowledge Community Shared Account
    ------------------------------



  • 3.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 03-27-2023 05:40

    Hi Sergi,

    That's a very kind offer, thank you. Four days after posting my question I thought I probably wouldn't get a response, so I opened a ticket directly with support. A case is open but I haven't had a response yet. We should probably wait to see what they come back with before inconveniencing you with this task, but I may still need help as I'm not a 'real' programmer.

    With thanks,

    Steve



    ------------------------------
    Steve Oram
    Biodiversity Officer
    PTES
    London
    ------------------------------



  • 4.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 04-03-2023 12:07

    Hello Sergi,

    The case is still with Engineering and they have yet to come up with anything. If they don't find a resolution soon, perhaps we can have another look at your offer of help.

    Kind regards,
    Steve



    ------------------------------
    Steve Oram
    Biodiversity Officer
    PTES
    London
    ------------------------------



  • 5.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 04-05-2023 00:05

    OK, I'll be glad to help you.
    good Easter!
    Sergi



    ------------------------------
    Sergi Gamiz-Ribelles
    Knowledge Community Shared Account
    ------------------------------



  • 6.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 04-06-2023 09:16

    Well engineering research have finally admitted defeat!

    Shall we talk after Easter?

    Thanks,
    Steve



    ------------------------------
    Steve Oram
    Biodiversity Officer
    PTES
    London
    ------------------------------



  • 7.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 04-07-2023 11:08

    Of course.



    ------------------------------
    Sergi Gamiz-Ribelles
    Knowledge Community Shared Account
    ------------------------------



  • 8.  RE: MapBasic - Insert WMS GetFeatureInfo response into table

    Posted 04-12-2023 12:46

    Hi Steve,
    Please, whitch is the URL of that WMS you need? thank you.
    SGR



    ------------------------------
    Sergi Gamiz-Ribelles
    Knowledge Community Shared Account
    ------------------------------