Data from WMS Layer

36 views
Skip to first unread message

Sergi Gàmiz Ribelles

unread,
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

unread,
Mar 30, 2022, 4:01:55 AMMar 30
to mapi...@googlegroups.com

Hi

 

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

www.precisely.com

 

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

 

From: mapi...@googlegroups.com <mapi...@googlegroups.com> On Behalf Of Sergi Gàmiz Ribelles
Sent: 28. marts 2022 12:39
To: MapInfo-L <mapi...@googlegroups.com>
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 mapi...@googlegroups.com
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en

---
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 mapinfo-l+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mapinfo-l/0d72f26f-f9de-46c6-9933-941701ab37e8n%40googlegroups.com.

Sergi Gàmiz Ribelles

unread,
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

unread,
Apr 1, 2022, 5:16:33 AMApr 1
to mapi...@googlegroups.com

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
Forward
0 new messages