1

Re: SpeciesListResponse SpeciesAttributes in 3.5

I have provided a 3.4 based web-service for our partners which allows them to do a data search for a circular buffer area, returning a species list, accompanied by record counts and record date-ranges for each species.

I've just tried to migrate this to 3.5 and can't find SpeciesAttributes  in the returned data. Is there something I have to do to get these now in 3.5?

The documentation at http://data.nbn.org.uk/Documentation/Web_Services/Web_Services-SOAP/Schema_Elements/#Species cryptically says regarding SpeciesAttributes:

This element contains attributes for the species. In 3.4 the following attributes are returned by the SpeciesList webservice:

    Downloadable – If a dataset to which you have download access is available
    RecordCount – The number of records on the NBN Gateway for this species, based off dataset filter
    StartYear – Year of the earliest record based off dataset filter
    EndYear – Year of the latest record based off dataset filter

but not saying what it does in 3.5...

If this feature has been removed in 3.5, what is the recommended way for me to continue to provide our partners with record counts and date ranges for a circular buffer please?

Thanks, Keith

2

Re: SpeciesListResponse SpeciesAttributes in 3.5

There also seems to be a performance issue with the circular buffer search in 3.5. The following request takes just a few seconds for a response from the Gateway using 3.4 but takes in the order of four and half minutes with 3.5...

<tax:SpeciesListRequest xmlns:dat="http://www.nbnws.net/Dataset" xmlns:map="http://www.nbnws.net/Map" xmlns:sit="http://www.nbnws.net/SiteBoundary" xmlns:spat="http://www.nbnws.net/Spatial" xmlns:tax1="http://www.nbnws.net/TaxonReportingCategory" xmlns:tax="http://www.nbnws.net/Taxon" registrationKey="a85d4c129728e58da6ed1b9af84632e15e2b5927" sort="Scientific">
-<spat:GeographicalFilter>
-<spat:Buffer>
<spat:Point srs="EPSG_27700" x="512350" y="245650" />
-<spat:Distance>
1000
</spat:Distance>
</spat:Buffer>
<map:MapSettings fillColour="#cedce8" fillTransparency="0.4" height="350" outlineColour="#000000" outlineWidth="2" width="350" />
-<spat:OverlayRule>
overlaps
</spat:OverlayRule>
-<spat:MinimumResolution>
_2km
</spat:MinimumResolution>
</spat:GeographicalFilter>
-<tax:DateRange>
-<tax:Start>
1600
</tax:Start>
-<tax:End>
2011
</tax:End>
</tax:DateRange>
-<dat:DatasetList>
-<dat:DatasetKey>
GA000458
</dat:DatasetKey>
-<dat:DatasetKey>
GA000676
</dat:DatasetKey>
-<dat:DatasetKey>
GA000700
</dat:DatasetKey>
-<dat:DatasetKey>
GA000699
</dat:DatasetKey>
-<dat:DatasetKey>
GA000481
</dat:DatasetKey>
-<dat:DatasetKey>
GA000674
</dat:DatasetKey>
-<dat:DatasetKey>
GA000703
</dat:DatasetKey>
-<dat:DatasetKey>
GA000704
</dat:DatasetKey>
-<dat:DatasetKey>
GA000482
</dat:DatasetKey>
-<dat:DatasetKey>
GA000701
</dat:DatasetKey>
-<dat:DatasetKey>
GA000705
</dat:DatasetKey>
-<dat:DatasetKey>
GA000479
</dat:DatasetKey>
-<dat:DatasetKey>
GA000702
</dat:DatasetKey>
-<dat:DatasetKey>
GA000675
</dat:DatasetKey>
-<dat:DatasetKey>
GA000677
</dat:DatasetKey>
</dat:DatasetList>
</tax:SpeciesListRequest>

I may not have the name spaces right - the online documentation is so confusing that I've had to guess at some of these.

Regards, Keith

3

Re: SpeciesListResponse SpeciesAttributes in 3.5

Keith,

A new release of webservices v3.5 will be issued next week. This will restore v3.4's SpeciesAttributes, and we are looking into an odd performance issue with ArcSDE and your spatial request.

Thank you for your continued patience

Paul Gilbertson,
NBN Gateway Developer

4

Re: SpeciesListResponse SpeciesAttributes in 3.5

I've just tried re-running my code and I'm seeing the same behaviours with 3.5 as I saw a few weeks ago.

Did the planned release not occur, or do I have to do something different now to pick it up please?

Regards, Keith

5

Re: SpeciesListResponse SpeciesAttributes in 3.5

I've just tried my scripts again and am still seeing the same behaviour as posted in entries 1 and 2 of this thread. Do I need to make any changes to get things working please?

Regards, Keith