1

Re: GetGridMap from a URL

I need to be able to return a simple GridMap from a URL with query string, but I can't work out which bit of the server to hit. So I figure it should be something like:

http://www.nbnws.net/ws/webservice?request=GetGridMap&TaxonVersionKey=NHMSYS0000309499

But this doesn't work, nor do any other of the many permutations I've tried.

Before I go completely nuts, can someone help please?

Thanks

Alan

2

Re: GetGridMap from a URL

Hi
Generally the web services are a bit more complex to call than that but it so happens that I created an interface which allows you to do pretty much what you want.
Try http://www.brc.ac.uk/schemes/NBNWidget/tvkGridMap.aspx?tvk=NHMSYS0000309499
There are additional query string parameters for adjusting map size etc. which I am planning to document in the next edition of NBN News. I'll post details in this thread too. In fact I'll get on with that now.

Regards,
Jim Bacon.

3

Re: GetGridMap from a URL

Hi Jim

Thanks for this but it's not really what I need, precisely because it IS an interface (and I already understand how to do this). I want to be able to go directly to the WMS server and grab an image - as in the following example for a different WMS site:

http://atlas.gc.ca/cgi-bin/atlaswms_en? … height=390

Is this not possible?

Cheers

Alan

4 (edited by Jim Bacon 06-05-2009 10:27:03)

Re: GetGridMap from a URL

Hi,

What a shame, I thought I had a nice easy answer for you.
For anyone else who would find my little interface useful you can now find the documentation for it at http://www.brc.ac.uk/schemes/NBNWidget/Easy_Maps_v5.pdf

Now you have elaborated a bit more I can see you could do with someone with more knowledge than me to answer. As far as I was aware, though, there is no WMS server and you can't do what you are hoping. I would be happy to hear that I was wrong!

Regards,
Jim Bacon.

5

Re: GetGridMap from a URL

Hi Alan,

I'm afraid there is no WMS for the grid map web service, nor is there a REST style call to it like the example you showed.  You can only call it using the published web service - http://data.nbn.org.uk/library/webservices/wsGridMap.jsp.  It would be nice to have...

Cheers, Jon

6

Re: GetGridMap from a URL

Ah - OK. My misunderstanding. Thanks Jonathan, I will have to try a different approach, perhaps using Jim's "Easy Maps" interface mentioned above (which I recommend a look at to anyone who hasn't).

Cheers

Alan

7

Re: GetGridMap from a URL

Dragging this one up again - it would indeed be nice to have WMS access to the Gateway data, although "pure" WMS does not support filtering of the results set so it would have to be WMS + WFS filtering (like GeoServer supports). That would let me mash Gateway data onto my Indicia maps.

John van Breda
Biodiverse IT