Skip to main content

Accessing map feeds

Map feed addresses are in the format:

https://io.trap.nz/geo/trapnz-projects/wfs/apikey/project_id
and
https://io.trap.nz/geo/trapnz-projects/wms/apikey/project_id

for WFS and WMS feeds respectively.

The Project ID is the last part of the URL when you select your project in Trap.NZ.
i.e. when you select the project after logging in, the URL will look something like https://trap.nz/node/123456, and in this case, the Project ID will be 123456.

Note: Some of the map feeds apply to all the projects you are a member of. If you are using those feeds, you still need to select a default project. It doesn’t matter which one.

So for a test user and project the WFS feed looks like this:
https://io.trap.nz/geo/trapnz-projects/wfs/35GElj7FEyGB-gpalO5ptgcEjxmNe7QzOiJNbEPZmSU/123456

You can paste these URLs into your GIS system and it will show you the available layers. 

The layers currently available are:
  • my-projects
    The project polygons and metadata from the Trap.NZ projects you have access to
  • my-project-lines
    All the lines from the Trap.NZ projects you have access to
  • my-project-traps
    All traps from the Trap.NZ projects you have access to
  • my-project-traps-records
    All trap records from the Trap.NZ projects you have access to
  • my-project-bait-stations
    All bait stations from the Trap.NZ projects you have access to
  • my-project-monitoring -stations
    All monitoring stations from the Trap.NZ projects you have access to
  • default-projects
    The project polygon and metadata from the project specified in the URL
  • default-project-lines
    All lines from the Trap.NZ project specified in the URL
  • default-project-traps
    All traps from the Trap.NZ project specified in the URL
  • default-project-trap-records
    All trap records from the Trap.NZ project specified in the URL
  • default-project-bait-stations
    All bait stations from the Trap.NZ project specified in the URL
  • default-project-monitoring -stations
    All monitoring stations from the Trap.NZ project specified in the URL

 

Notes
  • More map feeds will be added over time (e.g. bait station and monitoring records)
  • The WFS server is set to return a maximum of 10k features per request. Therefore you must set a page size value smaller than that. We suggest 5k to begin with.
  • Bait stations and Trap record feeds are updated overnight - they won't contain records or installations added today. Other feeds are real-time feeds.