Data from WMS Layer

Skip to first unread message

Sergi Gàmiz Ribelles

Mar 28, 2022, 6:38:48 AMMar 28
to MapInfo-L
Hi again. Using MapBasic 15, is there any way to retrieve data from a WMS layer?
Data is shown in the Info-window but i don't know how to get it by code.
WMS cannot be accessed as a grid.
Any idea? Thank you very much.

Peter Horsbøll Møller

Mar 30, 2022, 4:01:55 AMMar 30



The data from a WMS service can be requested through the GetFeatureInfo service that many WMS services publish.

You can create a custom tool or function for requesting this data for a given point.

Not an easy task however


Peter Horsbøll Møller


Peter Horsbøll Møller
Principal Sales Engineer - Distinguished Engineer


From: <> On Behalf Of Sergi Gàmiz Ribelles
Sent: 28. marts 2022 12:39
To: MapInfo-L <>
Subject: [MI-L] Data from WMS Layer


This message originated Externally. Use proper judgement and caution with attachments, links, or responses.


You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to
To unsubscribe from this group, go to:
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at

You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Sergi Gàmiz Ribelles

Apr 1, 2022, 4:52:02 AMApr 1
to MapInfo-L
Thank you Peter. I'll explore it.
Have recent versions of MIpro any built-in capability for this issue?

El dia dimecres, 30 de març de 2022 a les 10:01:55 UTC+2, Peter Horsbøll Møller va escriure:

Peter Horsbøll Møller

Apr 1, 2022, 5:16:33 AMApr 1

I’d probably go down the route of doing this either through .NET or through Python.

You can write Python code directly through the Python console or through the SQL Window in the later versions of MapInfo Pro (v2019/v2021)

Or even load .py files like you would load a MapBasic application

Reply all
Reply to author
0 new messages