->

01 March 2010

UK Crime Mapping March 2010 update includes API

UK Crime Mapping  March 2010 update includes API
+Reverse Geocoder "Nearest Police Station" 
+ Geocode Policing Team "Policing team that covers a given point"

Crime Maps Updated - March 2010












Viewing the maps is now more useful with thematic classification including  Burglary, Robbery, Vehicle Crime, Violence, Anti-social behaviour.

Example shown above:

There is now an Police API  note: an API key is required

The Police API allows you to retrieve information about neighbourhood areas in all 43 English & Welsh police forces. All forces are required to keep this data accurate and up to date, so the API provides a rich and definitive data source for information such as:
  • Neighbourhood team members
  • Upcoming events
  • Crime levels & statistics
  • Nearest police stations
"The API is implemented as a standard XML REST web service using HTTP GET/POST requests.
Code examples are provided, but you may need to tailor these to your language of choice. There are plenty of articles on how to make cURL requests with PHP, .NET, Python and others."

More information API 

Here is an example request:


XML request and response - http://policeapi.rkh.co.uk/hello-world/

Nearest Police Station (Reverse Geocoder)
"Return a list of the nearest police stations from a text search query."
Search string, can be one of many things:
  • Village/town/place name, e.g. Syston, Leicester
  • Postcode, e.g. SW1H 0BG
  • Latitude & Longitude, e.g. 51.487797,-0.234833
<police-api>
02        <request>
03            <key>{api_key}</key>
04            <function>nearest-police-station</function>
05            <parameters>
06                <q>hyde park, london</q>
07            </parameters>
08        </request>
09        <response>
10            <centre-point>
11                <latitude>51.503263</latitude>
12                <longitude>-0.150975</longitude>

13            </centre-point>
14            <stations>
15                <station>
16                    <distance>1.26</distance>
17                    <force-id>city-of-london</force-id>
18                    <name>Snowhill</name>

19                    <address></address>
20                    <postcode></postcode>

http://policeapi.rkh.co.uk/nearest-police-station/

Geocode a policing team

Return the policing team that covers a given point location:

1    <police-api>
02        <request>
03            <key>{api_key}</key>
04            <function>geocode-team</function>
05            <parameters>
06                <q>stonehenge</q>
07            </parameters>
08        </request>
09        <response>
10            <centre-point>
11                <latitude>51.179025024176</latitude>
12                <longitude>-1.8274748325348</longitude>

13            </centre-point>
14            <team>
15                <force-id>wiltshire</force-id>
16                <team-id>EM11</team-id>

17            </team>
18        </response>
19        <error></error>
20    </police-api>

http://policeapi.rkh.co.uk/geocode-crime-area/

Labels: , , , , , , ,

24 July 2009

Where's Gary? Walkers Map Game Quiz

Where's Gary? Walkers Map Game Quiz

"The aim of the Game is to find Gary and give him a right clicking!"

He’s hiding somewhere in the Multimap map, and all you’ve got to do is find him.
Type in your answer to the question, click go and see if you have found Gary.
If you get stuck just click on the hints below and you’ll jump closer to his location.

When you find Gary, just click on him and then Gary will move to a new location,
where you’ll be able to look for him again.

Where is Gary Linker Map Quiz Game
Walkers Crisps and Multimap have join together to create a fun game.

Find Gary three times in a day and you can claim one ‘Gary’s Great Trips’ point.
You can boost your points total playing ‘Where’s Gary’
by one point each day.

If you’ve already claimed today’s point you can still continue to practice your Gary
hunting skills for tomorrow!

Try Finding Gary Lineker
http://explore.multimap.com/Walkers/quiz.html

or
http://www.walkers-crisps.co.uk/garysgreattrips/video/wheregary.html

Who is Gary Lineker?
http://en.wikipedia.org/wiki/Gary_Lineker
(was a good football player now a sports presenter/pundit for BBC Sport)

Promotion is by Walkers Snacks Limited

Labels: , , , , , , ,