diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..110a5c1 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,24 @@ +# Change Log +All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/). + +## [Unreleased] +### Changed +- Add a new arity to `make-widget-async` to provide a different widget shape. + +## [0.1.1] - 2018-06-19 +### Changed +- Documentation on how to make the widgets. + +### Removed +- `make-widget-sync` - we're all async, all the time. + +### Fixed +- Fixed widget maker to keep working when daylight savings switches over. + +## 0.1.0 - 2018-06-19 +### Added +- Files from the new template. +- Widget maker public API - `make-widget-sync`. + +[Unreleased]: https://github.com/your-name/adl-data/compare/0.1.1...HEAD +[0.1.1]: https://github.com/your-name/adl-data/compare/0.1.0...0.1.1 diff --git a/LICENSE b/LICENSE index d159169..30cfcb0 100644 --- a/LICENSE +++ b/LICENSE @@ -1,339 +1,258 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +# GNU GENERAL PUBLIC LICENSE - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Version 2, June 1991 - Preamble +Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. +Preamble - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. +The licenses for most software are designed to take away your freedom to share +and change it. By contrast, the GNU General Public License is intended to guarantee +your freedom to share and change free software--to make sure the software is free +for all its users. This General Public License applies to most of the Free +Software Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by the GNU +Lesser General Public License instead.) You can apply it to your programs, too. - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. +When we speak of free software, we are referring to freedom, not price. Our +General Public Licenses are designed to make sure that you have the freedom to +distribute copies of free software (and charge for this service if you wish), +that you receive source code or can get it if you want it, that you can change +the software or use pieces of it in new free programs; and that you know you +can do these things. - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. +To protect your rights, we need to make restrictions that forbid anyone to +deny you these rights or to ask you to surrender the rights. These restrictions +translate to certain responsibilities for you if you distribute copies of the +software, or if you modify it. - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. +For example, if you distribute copies of such a program, whether gratis or for +a fee, you must give the recipients all the rights that you have. You must make +sure that they, too, receive or can get the source code. And you must show them +these terms so they know their rights. - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. +We protect your rights with two steps: (1) copyright the software, and (2) +offer you this license which gives you legal permission to copy, distribute +and/or modify the software. - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. +Also, for each author's protection and ours, we want to make certain that +everyone understands that there is no warranty for this free software. If the +software is modified by someone else and passed on, we want its recipients to +know that what they have is not the original, so that any problems introduced +by others will not reflect on the original authors' reputations. - The precise terms and conditions for copying, distribution and -modification follow. +Finally, any free program is threatened constantly by software patents. We wish +to avoid the danger that redistributors of a free program will individually +obtain patent licenses, in effect making the program proprietary. To prevent +this, we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +The precise terms and conditions for copying, distribution and modification follow. - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". +## TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. +0. This License applies to any program or other work which contains a notice + placed by the copyright holder saying it may be distributed under the terms of + this General Public License. The "Program", below, refers to any such program + or work, and a "work based on the Program" means either the Program or any + derivative work under copyright law: that is to say, a work containing the + Program or a portion of it, either verbatim or with modifications and/or + translated into another language. (Hereinafter, translation is included without + limitation in the term "modification".) Each licensee is addressed as "you". - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. + Activities other than copying, distribution and modification are not covered by + this License; they are outside its scope. The act of running the Program is not + restricted, and the output from the Program is covered only if its contents + constitute a work based on the Program (independent of having been made by + running the Program). Whether that is true depends on what the Program does. -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. +1. You may copy and distribute verbatim copies of the Program's source code as + you receive it, in any medium, provided that you conspicuously and appropriately + publish on each copy an appropriate copyright notice and disclaimer of warranty; + keep intact all the notices that refer to this License and to the absence of any + warranty; and give any other recipients of the Program a copy of this License + along with the Program. - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: + You may charge a fee for the physical act of transferring a copy, and you may at + your option offer warranty protection in exchange for a fee. - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. +2. You may modify your copy or copies of the Program or any portion of it, thus + forming a work based on the Program, and copy and distribute such modifications + or work under the terms of Section 1 above, provided that you also meet all of + these conditions: - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. + a) You must cause the modified files to carry prominent notices stating that + you changed the files and the date of any change. + b) You must cause any work that you distribute or publish, that in whole or in + part contains or is derived from the Program or any part thereof, to be + licensed as a whole at no charge to all third parties under the terms of this + License. + c) If the modified program normally reads commands interactively when run, you + must cause it, when started running for such interactive use in the most + ordinary way, to print or display an announcement including an appropriate + copyright notice and a notice that there is no warranty (or else, saying + that you provide a warranty) and that users may redistribute the program + under these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but does not + normally print such an announcement, your work based on the Program is not + required to print an announcement.) - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) + These requirements apply to the modified work as a whole. If identifiable + sections of that work are not derived from the Program, and can be reasonably + considered independent and separate works in themselves, then this License, + and its terms, do not apply to those sections when you distribute them as + separate works. But when you distribute the same sections as part of a whole + which is a work based on the Program, the distribution of the whole must be on + the terms of this License, whose permissions for other licensees extend to the + entire whole, and thus to each and every part regardless of who wrote it. -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. + Thus, it is not the intent of this section to claim rights or contest your + rights to work written entirely by you; rather, the intent is to exercise the + right to control the distribution of derivative or collective works based on + the Program. -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. + In addition, mere aggregation of another work not based on the Program with the + Program (or with a work based on the Program) on a volume of a storage or + distribution medium does not bring the other work under the scope of this + License. -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. + 3. You may copy and distribute the Program (or a work based on it, under + Section 2) in object code or executable form under the terms of Sections 1 + and 2 above provided that you also do one of the following: - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: + a) Accompany it with the complete corresponding machine-readable source code, + which must be distributed under the terms of Sections 1 and 2 above on a + medium customarily used for software interchange; or, + b) Accompany it with a written offer, valid for at least three years, to give + any third party, for a charge no more than your cost of physically + performing source distribution, a complete machine-readable copy of the + corresponding source code, to be distributed under the terms of Sections 1 + and 2 above on a medium customarily used for software interchange; or, + c) Accompany it with the information you received as to the offer to distribute + corresponding source code. (This alternative is allowed only for + noncommercial distribution and only if you received the program in object + code or executable form with such an offer, in accord with Subsection b + above.) - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, + The source code for a work means the preferred form of the work for making + modifications to it. For an executable work, complete source code means all the + source code for all modules it contains, plus any associated interface + definition files, plus the scripts used to control compilation and installation + of the executable. However, as a special exception, the source code distributed + need not include anything that is normally distributed (in either source or + binary form) with the major components (compiler, kernel, and so on) of the + operating system on which the executable runs, unless that component itself + accompanies the executable. - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, + If distribution of executable or object code is made by offering access to + copy from a designated place, then offering equivalent access to copy the + source code from the same place counts as distribution of the source code, + even though third parties are not compelled to copy the source along with the + object code. - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) +4. You may not copy, modify, sublicense, or distribute the Program except as + expressly provided under this License. Any attempt otherwise to copy, modify, + sublicense or distribute the Program is void, and will automatically + terminate your rights under this License. However, parties who have + received copies, or rights, from you under this License will not have their + licenses terminated so long as such parties remain in full compliance. -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. +5. You are not required to accept this License, since you have not signed it. + However, nothing else grants you permission to modify or distribute the + Program or its derivative works. These actions are prohibited by law if + you do not accept this License. Therefore, by modifying or distributing + the Program (or any work based on the Program), you indicate your + acceptance of this License to do so, and all its terms and conditions + for copying, distributing or modifying the Program or works based on it. -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. +6. Each time you redistribute the Program (or any work based on the Program), + the recipient automatically receives a license from the original licensor + to copy, distribute or modify the Program subject to these terms and + conditions. You may not impose any further restrictions on the recipients' + exercise of the rights granted herein. You are not responsible for enforcing + compliance by third parties to this License. - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. +7. If, as a consequence of a court judgment or allegation of patent infringement + or for any other reason (not limited to patent issues), conditions are + imposed on you (whether by court order, agreement or otherwise) that + contradict the conditions of this License, they do not excuse you from the + conditions of this License. If you cannot distribute so as to satisfy + simultaneously your obligations under this License and any other pertinent + obligations, then as a consequence you may not distribute the Program at + all. For example, if a patent license would not permit royalty-free + redistribution of the Program by all those who receive copies directly or + indirectly through you, then the only way you could satisfy both it and + this License would be to refrain entirely from distribution of the Program. - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. + If any portion of this section is held invalid or unenforceable under any + particular circumstance, the balance of the section is intended to apply + and the section as a whole is intended to apply in other circumstances. - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. + It is not the purpose of this section to induce you to infringe any patents + or other property right claims or to contest validity of any such claims; + this section has the sole purpose of protecting the integrity of the free + software distribution system, which is implemented by public license + practices. Many people have made generous contributions to the wide range + of software distributed through that system in reliance on consistent + application of that system; it is up to the author/donor to decide if he or + she is willing to distribute software through any other system and a + licensee cannot impose that choice. - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. + This section is intended to make thoroughly clear what is believed to be a + consequence of the rest of this License. -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. +8. If the distribution and/or use of the Program is restricted in certain + countries either by patents or by copyrighted interfaces, the original + copyright holder who places the Program under this License may add an + explicit geographical distribution limitation excluding those countries, + so that distribution is permitted only in or among countries not thus + excluded. In such case, this License incorporates the limitation as if + written in the body of this License. -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. +9. The Free Software Foundation may publish revised and/or new versions of the + General Public License from time to time. Such new versions will be similar + in spirit to the present version, but may differ in detail to address new + problems or concerns. -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. + Each version is given a distinguishing version number. If the Program + specifies a version number of this License which applies to it and + "any later version", you have the option of following the terms and + conditions either of that version or of any later version published + by the Free Software Foundation. If the Program does not specify a version + number of this License, you may choose any version ever published by the + Free Software Foundation. - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. +10. If you wish to incorporate parts of the Program into other free programs + whose distribution conditions are different, write to the author to ask for + permission. For software which is copyrighted by the Free Software + Foundation, write to the Free Software Foundation; we sometimes make + exceptions for this. Our decision will be guided by the two goals of + preserving the free status of all derivatives of our free software and of + promoting the sharing and reuse of software generally. - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. +NO WARRANTY -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR + THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN + OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES + PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED + OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO + THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM + PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR + CORRECTION. - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL + ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE + THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY + GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE + USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF + DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD + PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), + EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES. - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. +END OF TERMS AND CONDITIONS diff --git a/README.md b/README.md new file mode 100644 index 0000000..efce647 --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# adl-data + +A Clojure library designed to import data (mainly geographical and electoral data) into YouYesYet. As such, not directly relevant to anyone but me at this stage, but I will ultimately separate out the more generally useful bits of the import scripts and make them available in a library. + +## Usage + +At this stage, who knows? + +## License + +Copyright © 2018 Simon Brooke + +Distributed under the Gnu General Public License either version 2.0 or (at +your option) any later version. diff --git a/doc/intro.md b/doc/intro.md new file mode 100644 index 0000000..d6db195 --- /dev/null +++ b/doc/intro.md @@ -0,0 +1,3 @@ +# Introduction to adl-data + +TODO: write [great documentation](http://jacobian.org/writing/what-to-write/) diff --git a/project.clj b/project.clj new file mode 100644 index 0000000..f9b772a --- /dev/null +++ b/project.clj @@ -0,0 +1,10 @@ +(defproject yyy-data "0.1.0-SNAPSHOT" + :description "FIXME: write description" + :url "http://example.com/FIXME" + :license {:name "Eclipse Public License" + :url "http://www.eclipse.org/legal/epl-v10.html"} + :dependencies [[adl-support "0.1.0-SNAPSHOT"] + [generateme/fastmath "1.0.1"] + [org.clojure/clojure "1.8.0"] + [org.clojure/data.json "0.2.6"] + [net.mikera/core.matrix "0.62.0"]]) diff --git a/resources/data/dg7.json b/resources/data/dg7.json new file mode 100644 index 0000000..dfaad4e --- /dev/null +++ b/resources/data/dg7.json @@ -0,0 +1,2878 @@ +{ + "header" : { + "uri" : "https://api.ordnancesurvey.co.uk/places/v1/addresses/postcode?postcode=dg7", + "query" : "postcode=dg7", + "offset" : 0, + "totalresults" : 6328, + "format" : "JSON", + "dataset" : "DPA", + "lr" : "EN,CY", + "maxresults" : 100, + "epoch" : "58", + "output_srs" : "EPSG:27700" + }, + "results" : [ { + "DPA" : { + "UPRN" : "137000654", + "UDPRN" : "6856974", + "ADDRESS" : "19, TORRS DRIVE, CASTLE DOUGLAS, DG7 1JH", + "BUILDING_NUMBER" : "19", + "THOROUGHFARE_NAME" : "TORRS DRIVE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1JH", + "RPC" : "2", + "X_COORDINATE" : 277250.0, + "Y_COORDINATE" : 562421.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031477114", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079399", + "UDPRN" : "6858351", + "ADDRESS" : "RIVENDELL, RINGFORD, CASTLE DOUGLAS, DG7 2AL", + "BUILDING_NAME" : "RIVENDELL", + "DEPENDENT_LOCALITY" : "RINGFORD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2AL", + "RPC" : "2", + "X_COORDINATE" : 268859.0, + "Y_COORDINATE" : 557718.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031468338", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079427", + "UDPRN" : "6858352", + "ADDRESS" : "SOUTH LODGE, QUEENSHILL, RINGFORD, CASTLE DOUGLAS, DG7 2AL", + "SUB_BUILDING_NAME" : "SOUTH LODGE", + "BUILDING_NAME" : "QUEENSHILL", + "DEPENDENT_LOCALITY" : "RINGFORD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2AL", + "RPC" : "2", + "X_COORDINATE" : 268995.0, + "Y_COORDINATE" : 557835.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031468357", + "PARENT_UPRN" : "137105312", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137018374", + "UDPRN" : "6859780", + "ADDRESS" : "28, ST. MICHAELS ROAD, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AY", + "BUILDING_NUMBER" : "28", + "THOROUGHFARE_NAME" : "ST. MICHAELS ROAD", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AY", + "RPC" : "2", + "X_COORDINATE" : 273301.0, + "Y_COORDINATE" : 566668.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471705", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137045089", + "UDPRN" : "6856373", + "ADDRESS" : "90, QUEEN STREET, CASTLE DOUGLAS, DG7 1EG", + "BUILDING_NUMBER" : "90", + "THOROUGHFARE_NAME" : "QUEEN STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1EG", + "RPC" : "2", + "X_COORDINATE" : 276528.0, + "Y_COORDINATE" : 562291.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475400", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080678", + "UDPRN" : "6859985", + "ADDRESS" : "DAVAAR COTTAGE, CORSOCK, CASTLE DOUGLAS, DG7 3DU", + "BUILDING_NAME" : "DAVAAR COTTAGE", + "DEPENDENT_LOCALITY" : "CORSOCK", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3DU", + "RPC" : "2", + "X_COORDINATE" : 276157.0, + "Y_COORDINATE" : 580142.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031479019", + "PARENT_UPRN" : "137080674", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137008093", + "UDPRN" : "6859461", + "ADDRESS" : "4, TANNERY WYND, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2NN", + "BUILDING_NUMBER" : "4", + "THOROUGHFARE_NAME" : "TANNERY WYND", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2NN", + "RPC" : "2", + "X_COORDINATE" : 260005.0, + "Y_COORDINATE" : 556267.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461859", + "PARENT_UPRN" : "137104209", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079334", + "UDPRN" : "6858278", + "ADDRESS" : "NETHERHALL DAIRY HOUSE, BRIDGE OF DEE, CASTLE DOUGLAS, DG7 2AA", + "BUILDING_NAME" : "NETHERHALL DAIRY HOUSE", + "DEPENDENT_LOCALITY" : "BRIDGE OF DEE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2AA", + "RPC" : "2", + "X_COORDINATE" : 273104.0, + "Y_COORDINATE" : 560987.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471397", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080172", + "UDPRN" : "6859440", + "ADDRESS" : "AIRDS OF KELLS COTTAGE, MOSSDALE, CASTLE DOUGLAS, DG7 2NJ", + "BUILDING_NAME" : "AIRDS OF KELLS COTTAGE", + "DEPENDENT_LOCALITY" : "MOSSDALE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2NJ", + "RPC" : "2", + "X_COORDINATE" : 267567.0, + "Y_COORDINATE" : 570358.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031465781", + "LAST_UPDATE_DATE" : "22/10/2017", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137005209", + "UDPRN" : "6858954", + "ADDRESS" : "3, CARNEY'S CORNER, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2HW", + "BUILDING_NUMBER" : "3", + "THOROUGHFARE_NAME" : "CARNEY'S CORNER", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2HW", + "RPC" : "1", + "X_COORDINATE" : 260003.0, + "Y_COORDINATE" : 556687.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461819", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137097807", + "UDPRN" : "50622542", + "ADDRESS" : "18, WHITELAW DRIVE, CASTLE DOUGLAS, DG7 1GF", + "BUILDING_NUMBER" : "18", + "THOROUGHFARE_NAME" : "WHITELAW DRIVE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1GF", + "RPC" : "2", + "X_COORDINATE" : 277423.0, + "Y_COORDINATE" : 562823.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320732120", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "20/05/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137048096", + "UDPRN" : "6856358", + "ADDRESS" : "69, QUEEN STREET, CASTLE DOUGLAS, DG7 1EG", + "BUILDING_NUMBER" : "69", + "THOROUGHFARE_NAME" : "QUEEN STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1EG", + "RPC" : "2", + "X_COORDINATE" : 276561.0, + "Y_COORDINATE" : 562271.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475095", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137054451", + "UDPRN" : "6855896", + "ADDRESS" : "13, BURGHFIELD ROAD, CASTLE DOUGLAS, DG7 1BQ", + "BUILDING_NUMBER" : "13", + "THOROUGHFARE_NAME" : "BURGHFIELD ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BQ", + "RPC" : "2", + "X_COORDINATE" : 276356.0, + "Y_COORDINATE" : 562698.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474759", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079239", + "UDPRN" : "6858097", + "ADDRESS" : "LOCHBANK HOUSE, BUCHAN, CASTLE DOUGLAS, DG7 1TH", + "BUILDING_NAME" : "LOCHBANK HOUSE", + "THOROUGHFARE_NAME" : "BUCHAN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1TH", + "RPC" : "2", + "X_COORDINATE" : 276006.0, + "Y_COORDINATE" : 561159.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000319197938", + "PARENT_UPRN" : "137105511", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080667", + "UDPRN" : "6859981", + "ADDRESS" : "KNOCKLEARN, CORSOCK, CASTLE DOUGLAS, DG7 3DS", + "BUILDING_NAME" : "KNOCKLEARN", + "DEPENDENT_LOCALITY" : "CORSOCK", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3DS", + "RPC" : "2", + "X_COORDINATE" : 275348.0, + "Y_COORDINATE" : 579177.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031473625", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137097584", + "UDPRN" : "28061194", + "ADDRESS" : "39, LONGACRE ROAD, CASTLE DOUGLAS, DG7 3EF", + "BUILDING_NUMBER" : "39", + "THOROUGHFARE_NAME" : "LONGACRE ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3EF", + "RPC" : "2", + "X_COORDINATE" : 277080.0, + "Y_COORDINATE" : 563610.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320712384", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "19/05/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078927", + "UDPRN" : "6857834", + "ADDRESS" : "HAZELFIELD HOUSE, CASTLE DOUGLAS, DG7 1RF", + "BUILDING_NAME" : "HAZELFIELD HOUSE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1RF", + "RPC" : "2", + "X_COORDINATE" : 277656.0, + "Y_COORDINATE" : 549165.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031476704", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081062", + "UDPRN" : "6860535", + "ADDRESS" : "ROSLYN, SPRINGHOLM, CASTLE DOUGLAS, DG7 3LP", + "BUILDING_NAME" : "ROSLYN", + "DEPENDENT_LOCALITY" : "SPRINGHOLM", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LP", + "RPC" : "2", + "X_COORDINATE" : 280750.0, + "Y_COORDINATE" : 570235.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031480669", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137043187", + "UDPRN" : "6861501", + "ADDRESS" : "58, MAIN STREET, DALRY, CASTLE DOUGLAS, DG7 3UW", + "BUILDING_NUMBER" : "58", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UW", + "RPC" : "2", + "X_COORDINATE" : 262253.0, + "Y_COORDINATE" : 581301.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031462775", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137099479", + "UDPRN" : "51042486", + "ADDRESS" : "THREE GABLES, ABERCROMBY PLACE, ABERCROMBY ROAD, CASTLE DOUGLAS, DG7 1GA", + "BUILDING_NAME" : "THREE GABLES", + "DEPENDENT_THOROUGHFARE_NAME" : "ABERCROMBY PLACE", + "THOROUGHFARE_NAME" : "ABERCROMBY ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1GA", + "RPC" : "2", + "X_COORDINATE" : 275920.0, + "Y_COORDINATE" : 563052.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320751176", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "16/06/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137012278", + "UDPRN" : "6858222", + "ADDRESS" : "AYEMORE COTTAGE, CRAIG ROAD, RHONEHOUSE, CASTLE DOUGLAS, DG7 1UB", + "BUILDING_NAME" : "AYEMORE COTTAGE", + "THOROUGHFARE_NAME" : "CRAIG ROAD", + "DEPENDENT_LOCALITY" : "RHONEHOUSE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1UB", + "RPC" : "2", + "X_COORDINATE" : 274286.0, + "Y_COORDINATE" : 559675.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472397", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137025229", + "UDPRN" : "6859618", + "ADDRESS" : "5, HAWKES COURT, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AB", + "BUILDING_NUMBER" : "5", + "THOROUGHFARE_NAME" : "HAWKES COURT", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AB", + "RPC" : "2", + "X_COORDINATE" : 273167.0, + "Y_COORDINATE" : 566853.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471833", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137046052", + "UDPRN" : "6857931", + "ADDRESS" : "1, CRAIG TERRACE, RHONEHOUSE, CASTLE DOUGLAS, DG7 1SB", + "BUILDING_NUMBER" : "1", + "THOROUGHFARE_NAME" : "CRAIG TERRACE", + "DEPENDENT_LOCALITY" : "RHONEHOUSE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1SB", + "RPC" : "2", + "X_COORDINATE" : 274205.0, + "Y_COORDINATE" : 559702.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472412", + "PARENT_UPRN" : "137104216", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080618", + "UDPRN" : "6859937", + "ADDRESS" : "MILLBRAE COTTAGE, CORSOCK, CASTLE DOUGLAS, DG7 3DL", + "BUILDING_NAME" : "MILLBRAE COTTAGE", + "DEPENDENT_LOCALITY" : "CORSOCK", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3DL", + "RPC" : "2", + "X_COORDINATE" : 275971.0, + "Y_COORDINATE" : 575782.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031473493", + "PARENT_UPRN" : "137080613", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137005309", + "UDPRN" : "6859082", + "ADDRESS" : "8, BRIDGE TERRACE, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2JP", + "BUILDING_NUMBER" : "8", + "THOROUGHFARE_NAME" : "BRIDGE TERRACE", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2JP", + "RPC" : "2", + "X_COORDINATE" : 259795.0, + "Y_COORDINATE" : 556177.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031460799", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137048340", + "UDPRN" : "6859716", + "ADDRESS" : "2, MAIN STREET, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AU", + "BUILDING_NUMBER" : "2", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AU", + "RPC" : "2", + "X_COORDINATE" : 273166.0, + "Y_COORDINATE" : 566685.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471771", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137007233", + "UDPRN" : "6861052", + "ADDRESS" : "6, CARSONS KNOWE, NEW GALLOWAY, CASTLE DOUGLAS, DG7 3RY", + "BUILDING_NUMBER" : "6", + "THOROUGHFARE_NAME" : "CARSONS KNOWE", + "DEPENDENT_LOCALITY" : "NEW GALLOWAY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3RY", + "RPC" : "2", + "X_COORDINATE" : 263555.0, + "Y_COORDINATE" : 577615.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031463412", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078994", + "UDPRN" : "6857890", + "ADDRESS" : "HILLHEAD, KELTON, CASTLE DOUGLAS, DG7 1RZ", + "BUILDING_NAME" : "HILLHEAD", + "DEPENDENT_LOCALITY" : "KELTON", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1RZ", + "RPC" : "2", + "X_COORDINATE" : 274714.0, + "Y_COORDINATE" : 560294.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472459", + "PARENT_UPRN" : "137104982", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079214", + "UDPRN" : "6858080", + "ADDRESS" : "MILNTHIRD COTTAGE, KELTON, CASTLE DOUGLAS, DG7 1TA", + "BUILDING_NAME" : "MILNTHIRD COTTAGE", + "DEPENDENT_LOCALITY" : "KELTON", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1TA", + "RPC" : "2", + "X_COORDINATE" : 271971.0, + "Y_COORDINATE" : 556520.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031470346", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080044", + "UDPRN" : "6859336", + "ADDRESS" : "JOHN A NEIL F I A, WOODLANDS, CASTLE DOUGLAS, DG7 2LL", + "ORGANISATION_NAME" : "JOHN A NEIL F I A", + "BUILDING_NAME" : "WOODLANDS", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2LL", + "RPC" : "2", + "X_COORDINATE" : 274687.0, + "Y_COORDINATE" : 564257.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "R", + "CLASSIFICATION_CODE_DESCRIPTION" : "Residential", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472547", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137101937", + "UDPRN" : "51127794", + "ADDRESS" : "11, TEMPLAND, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3BF", + "BUILDING_NUMBER" : "11", + "THOROUGHFARE_NAME" : "TEMPLAND", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3BF", + "RPC" : "2", + "X_COORDINATE" : 273273.0, + "Y_COORDINATE" : 566926.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320894951", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/01/2011", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137036285", + "UDPRN" : "6855447", + "ADDRESS" : "60, KING STREET, CASTLE DOUGLAS, DG7 1AD", + "BUILDING_NUMBER" : "60", + "THOROUGHFARE_NAME" : "KING STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1AD", + "RPC" : "2", + "X_COORDINATE" : 276540.0, + "Y_COORDINATE" : 562480.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475824", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080446", + "UDPRN" : "27512390", + "ADDRESS" : "OLD SCHOOL HOUSE, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AP", + "BUILDING_NAME" : "OLD SCHOOL HOUSE", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AP", + "RPC" : "2", + "X_COORDINATE" : 273470.0, + "Y_COORDINATE" : 566287.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471650", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137007307", + "UDPRN" : "6860945", + "ADDRESS" : "INTON, HIGH STREET, NEW GALLOWAY, CASTLE DOUGLAS, DG7 3RN", + "BUILDING_NAME" : "INTON", + "THOROUGHFARE_NAME" : "HIGH STREET", + "DEPENDENT_LOCALITY" : "NEW GALLOWAY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3RN", + "RPC" : "2", + "X_COORDINATE" : 263397.0, + "Y_COORDINATE" : 577502.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031463528", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137058796", + "UDPRN" : "6855948", + "ADDRESS" : "3, WALLACE COURT, CASTLE DOUGLAS, DG7 1BT", + "BUILDING_NUMBER" : "3", + "THOROUGHFARE_NAME" : "WALLACE COURT", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BT", + "RPC" : "2", + "X_COORDINATE" : 276351.0, + "Y_COORDINATE" : 562620.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474739", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078641", + "UDPRN" : "6857433", + "ADDRESS" : "ALLANBANK COTTAGE, CASTLE DOUGLAS, DG7 1NS", + "BUILDING_NAME" : "ALLANBANK COTTAGE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1NS", + "RPC" : "2", + "X_COORDINATE" : 279665.0, + "Y_COORDINATE" : 561628.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031479446", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081102", + "UDPRN" : "6860536", + "ADDRESS" : "OLD SCHOOL HOUSE, SPRINGHOLM, CASTLE DOUGLAS, DG7 3LP", + "BUILDING_NAME" : "OLD SCHOOL HOUSE", + "DEPENDENT_LOCALITY" : "SPRINGHOLM", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LP", + "RPC" : "1", + "X_COORDINATE" : 280735.0, + "Y_COORDINATE" : 570178.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031480663", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137033829", + "UDPRN" : "6859462", + "ADDRESS" : "5, TANNERY WYND, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2NN", + "BUILDING_NUMBER" : "5", + "THOROUGHFARE_NAME" : "TANNERY WYND", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2NN", + "RPC" : "2", + "X_COORDINATE" : 259995.0, + "Y_COORDINATE" : 556260.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "C", + "CLASSIFICATION_CODE_DESCRIPTION" : "Commercial", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461111", + "PARENT_UPRN" : "137104209", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137054452", + "UDPRN" : "6855897", + "ADDRESS" : "15, BURGHFIELD ROAD, CASTLE DOUGLAS, DG7 1BQ", + "BUILDING_NUMBER" : "15", + "THOROUGHFARE_NAME" : "BURGHFIELD ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BQ", + "RPC" : "2", + "X_COORDINATE" : 276357.0, + "Y_COORDINATE" : 562698.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474759", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078854", + "UDPRN" : "6857656", + "ADDRESS" : "FOREST COTTAGE, AUCHENCAIRN, CASTLE DOUGLAS, DG7 1QN", + "BUILDING_NAME" : "FOREST COTTAGE", + "DEPENDENT_LOCALITY" : "AUCHENCAIRN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1QN", + "RPC" : "2", + "X_COORDINATE" : 278711.0, + "Y_COORDINATE" : 552540.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031478178", + "PARENT_UPRN" : "137078853", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079442", + "UDPRN" : "6858369", + "ADDRESS" : "FELLNAW FARM, RINGFORD, CASTLE DOUGLAS, DG7 2AP", + "BUILDING_NAME" : "FELLNAW FARM", + "DEPENDENT_LOCALITY" : "RINGFORD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2AP", + "RPC" : "2", + "X_COORDINATE" : 267476.0, + "Y_COORDINATE" : 557099.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031465645", + "LAST_UPDATE_DATE" : "17/06/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079616", + "UDPRN" : "6858517", + "ADDRESS" : "KENLUM, CALLY, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2DJ", + "SUB_BUILDING_NAME" : "KENLUM", + "BUILDING_NAME" : "CALLY", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2DJ", + "RPC" : "2", + "X_COORDINATE" : 260329.0, + "Y_COORDINATE" : 555428.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461466", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081022", + "UDPRN" : "6860398", + "ADDRESS" : "BLACKFORD COTTAGE, HAUGH OF URR, CASTLE DOUGLAS, DG7 3LE", + "BUILDING_NAME" : "BLACKFORD COTTAGE", + "DEPENDENT_LOCALITY" : "HAUGH OF URR", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LE", + "RPC" : "2", + "X_COORDINATE" : 281802.0, + "Y_COORDINATE" : 567346.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481529", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137099324", + "UDPRN" : "50864192", + "ADDRESS" : "BRAMBLE COTTAGE, ST. DAVID STREET, KIRKPATRICK DURHAM, CASTLE DOUGLAS, DG7 3HE", + "BUILDING_NAME" : "BRAMBLE COTTAGE", + "THOROUGHFARE_NAME" : "ST. DAVID STREET", + "DEPENDENT_LOCALITY" : "KIRKPATRICK DURHAM", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3HE", + "RPC" : "2", + "X_COORDINATE" : 278809.0, + "Y_COORDINATE" : 570369.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320733609", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "11/06/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137107687", + "UDPRN" : "51473109", + "ADDRESS" : "1, MULLOCH VIEW, DALRY, CASTLE DOUGLAS, DG7 3UJ", + "BUILDING_NUMBER" : "1", + "THOROUGHFARE_NAME" : "MULLOCH VIEW", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UJ", + "RPC" : "2", + "X_COORDINATE" : 262540.0, + "Y_COORDINATE" : 581355.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE" : "2", + "BLPU_STATE_CODE_DESCRIPTION" : "In use", + "TOPOGRAPHY_LAYER_TOID" : "osgb5000005122066521", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "11/03/2014", + "BLPU_STATE_DATE" : "11/03/2014", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137020711", + "UDPRN" : "6859859", + "ADDRESS" : "22, RHONEPARK CRESCENT, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3BN", + "BUILDING_NUMBER" : "22", + "THOROUGHFARE_NAME" : "RHONEPARK CRESCENT", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3BN", + "RPC" : "2", + "X_COORDINATE" : 272982.0, + "Y_COORDINATE" : 566822.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031470950", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081250", + "UDPRN" : "6860694", + "ADDRESS" : "NETHER GLENLAIR GATE COTTAGE, KNOCKVENNIE, CASTLE DOUGLAS, DG7 3NY", + "BUILDING_NAME" : "NETHER GLENLAIR GATE COTTAGE", + "DEPENDENT_LOCALITY" : "KNOCKVENNIE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3NY", + "RPC" : "2", + "X_COORDINATE" : 275513.0, + "Y_COORDINATE" : 571865.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031473404", + "PARENT_UPRN" : "137081255", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137060547", + "UDPRN" : "28469864", + "ADDRESS" : "HOLMCROFT, GLEN ROAD, PALNACKIE, CASTLE DOUGLAS, DG7 1PH", + "BUILDING_NAME" : "HOLMCROFT", + "THOROUGHFARE_NAME" : "GLEN ROAD", + "DEPENDENT_LOCALITY" : "PALNACKIE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1PH", + "RPC" : "2", + "X_COORDINATE" : 282166.0, + "Y_COORDINATE" : 556701.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320698654", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137099337", + "UDPRN" : "28618930", + "ADDRESS" : "30, BRACKEN WOOD, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2FA", + "BUILDING_NUMBER" : "30", + "THOROUGHFARE_NAME" : "BRACKEN WOOD", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2FA", + "RPC" : "2", + "X_COORDINATE" : 258825.0, + "Y_COORDINATE" : 556730.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320736243", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "11/06/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137099197", + "UDPRN" : "27889394", + "ADDRESS" : "15, RIVERBANK COURT, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2FB", + "BUILDING_NUMBER" : "15", + "THOROUGHFARE_NAME" : "RIVERBANK COURT", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2FB", + "RPC" : "2", + "X_COORDINATE" : 259506.0, + "Y_COORDINATE" : 556610.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320644126", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "10/06/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137107702", + "UDPRN" : "53215585", + "ADDRESS" : "23, MULLOCH VIEW, DALRY, CASTLE DOUGLAS, DG7 3UJ", + "BUILDING_NUMBER" : "23", + "THOROUGHFARE_NAME" : "MULLOCH VIEW", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UJ", + "RPC" : "2", + "X_COORDINATE" : 262532.0, + "Y_COORDINATE" : 581270.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE" : "2", + "BLPU_STATE_CODE_DESCRIPTION" : "In use", + "TOPOGRAPHY_LAYER_TOID" : "osgb5000005122066503", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "11/03/2014", + "BLPU_STATE_DATE" : "11/03/2014", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137012669", + "UDPRN" : "6857542", + "ADDRESS" : "11, GLEN ROAD, PALNACKIE, CASTLE DOUGLAS, DG7 1PH", + "BUILDING_NUMBER" : "11", + "THOROUGHFARE_NAME" : "GLEN ROAD", + "DEPENDENT_LOCALITY" : "PALNACKIE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1PH", + "RPC" : "2", + "X_COORDINATE" : 282101.0, + "Y_COORDINATE" : 556751.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481916", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137000886", + "UDPRN" : "6855846", + "ADDRESS" : "6, CAIRNSMORE ROAD, CASTLE DOUGLAS, DG7 1BN", + "BUILDING_NUMBER" : "6", + "THOROUGHFARE_NAME" : "CAIRNSMORE ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BN", + "RPC" : "2", + "X_COORDINATE" : 276274.0, + "Y_COORDINATE" : 562751.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474222", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079652", + "UDPRN" : "6858553", + "ADDRESS" : "HORSEPARK COTTAGE, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2DS", + "BUILDING_NAME" : "HORSEPARK COTTAGE", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2DS", + "RPC" : "2", + "X_COORDINATE" : 258686.0, + "Y_COORDINATE" : 551898.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031460201", + "PARENT_UPRN" : "137102726", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080895", + "UDPRN" : "6860243", + "ADDRESS" : "AUCHENHAY FARM, CORSOCK, CASTLE DOUGLAS, DG7 3HZ", + "BUILDING_NAME" : "AUCHENHAY FARM", + "DEPENDENT_LOCALITY" : "CORSOCK", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3HZ", + "RPC" : "2", + "X_COORDINATE" : 277801.0, + "Y_COORDINATE" : 578057.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031478009", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137028233", + "UDPRN" : "6860865", + "ADDRESS" : "BRAE COTTAGE, BACK STREET, NEW GALLOWAY, CASTLE DOUGLAS, DG7 3RA", + "BUILDING_NAME" : "BRAE COTTAGE", + "THOROUGHFARE_NAME" : "BACK STREET", + "DEPENDENT_LOCALITY" : "NEW GALLOWAY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3RA", + "RPC" : "2", + "X_COORDINATE" : 263432.0, + "Y_COORDINATE" : 577578.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb5000005189581397", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137043709", + "UDPRN" : "6860925", + "ADDRESS" : "THE WILDERNESS, HIGH STREET, NEW GALLOWAY, CASTLE DOUGLAS, DG7 3RL", + "BUILDING_NAME" : "THE WILDERNESS", + "THOROUGHFARE_NAME" : "HIGH STREET", + "DEPENDENT_LOCALITY" : "NEW GALLOWAY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3RL", + "RPC" : "2", + "X_COORDINATE" : 263418.0, + "Y_COORDINATE" : 577223.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031463645", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137082002", + "UDPRN" : "6861619", + "ADDRESS" : "POLHARROW SCHOOL HOUSE, DALRY, CASTLE DOUGLAS, DG7 3XS", + "BUILDING_NAME" : "POLHARROW SCHOOL HOUSE", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3XS", + "RPC" : "2", + "X_COORDINATE" : 258839.0, + "Y_COORDINATE" : 584280.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031460490", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137037374", + "UDPRN" : "6859278", + "ADDRESS" : "3, PENNYWELL, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2LE", + "BUILDING_NUMBER" : "3", + "THOROUGHFARE_NAME" : "PENNYWELL", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2LE", + "RPC" : "2", + "X_COORDINATE" : 259648.0, + "Y_COORDINATE" : 556657.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031460926", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078791", + "UDPRN" : "6857610", + "ADDRESS" : "DUNFION, PALNACKIE, CASTLE DOUGLAS, DG7 1PW", + "BUILDING_NAME" : "DUNFION", + "DEPENDENT_LOCALITY" : "PALNACKIE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1PW", + "RPC" : "2", + "X_COORDINATE" : 281861.0, + "Y_COORDINATE" : 556631.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481122", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "10091912147", + "UDPRN" : "6859518", + "ADDRESS" : "NEUK AUTOS, NEUK FARM, CASTLE DOUGLAS, DG7 2PF", + "ORGANISATION_NAME" : "NEUK AUTOS", + "BUILDING_NAME" : "NEUK FARM", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2PF", + "RPC" : "2", + "X_COORDINATE" : 270841.0, + "Y_COORDINATE" : 563217.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "OR04", + "CLASSIFICATION_CODE_DESCRIPTION" : "Additional Mail / Packet Addressee", + "LOCAL_CUSTODIAN_CODE" : 7655, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "ORDNANCE SURVEY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031470117", + "PARENT_UPRN" : "137080268", + "LAST_UPDATE_DATE" : "11/06/2016", + "ENTRY_DATE" : "19/03/2012", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137016769", + "UDPRN" : "6855796", + "ADDRESS" : "1, URR TERRACE, CASTLE DOUGLAS, DG7 1BL", + "BUILDING_NUMBER" : "1", + "THOROUGHFARE_NAME" : "URR TERRACE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BL", + "RPC" : "2", + "X_COORDINATE" : 276134.0, + "Y_COORDINATE" : 562846.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474276", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137109009", + "UDPRN" : "54121428", + "ADDRESS" : "STABLE BARN, HAUGH OF URR, CASTLE DOUGLAS, DG7 3LF", + "BUILDING_NAME" : "STABLE BARN", + "DEPENDENT_LOCALITY" : "HAUGH OF URR", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LF", + "RPC" : "2", + "X_COORDINATE" : 280818.0, + "Y_COORDINATE" : 567372.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "R", + "CLASSIFICATION_CODE_DESCRIPTION" : "Residential", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE" : "2", + "BLPU_STATE_CODE_DESCRIPTION" : "In use", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031480420", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "03/11/2015", + "BLPU_STATE_DATE" : "03/11/2015", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137033997", + "UDPRN" : "6855645", + "ADDRESS" : "28, DOUGLAS TERRACE, CASTLE DOUGLAS, DG7 1AZ", + "BUILDING_NUMBER" : "28", + "THOROUGHFARE_NAME" : "DOUGLAS TERRACE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1AZ", + "RPC" : "2", + "X_COORDINATE" : 276147.0, + "Y_COORDINATE" : 562318.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474361", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081447", + "UDPRN" : "6860829", + "ADDRESS" : "HAZELNUT COTTAGE, BALMACLELLAN, CASTLE DOUGLAS, DG7 3QH", + "BUILDING_NAME" : "HAZELNUT COTTAGE", + "DEPENDENT_LOCALITY" : "BALMACLELLAN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3QH", + "RPC" : "1", + "X_COORDINATE" : 267558.0, + "Y_COORDINATE" : 579439.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031465840", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079029", + "UDPRN" : "6857919", + "ADDRESS" : "MILLHILL, RHONEHOUSE, CASTLE DOUGLAS, DG7 1SA", + "BUILDING_NAME" : "MILLHILL", + "DEPENDENT_LOCALITY" : "RHONEHOUSE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1SA", + "RPC" : "2", + "X_COORDINATE" : 274328.0, + "Y_COORDINATE" : 559843.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472363", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137006251", + "UDPRN" : "6859725", + "ADDRESS" : "30, MAIN STREET, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AU", + "BUILDING_NUMBER" : "30", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AU", + "RPC" : "2", + "X_COORDINATE" : 273072.0, + "Y_COORDINATE" : 566838.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471754", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081010", + "UDPRN" : "6860387", + "ADDRESS" : "THE OLD KIRK, HARDGATE, CASTLE DOUGLAS, DG7 3LD", + "BUILDING_NAME" : "THE OLD KIRK", + "DEPENDENT_LOCALITY" : "HARDGATE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LD", + "RPC" : "2", + "X_COORDINATE" : 281341.0, + "Y_COORDINATE" : 566855.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481449", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137099201", + "UDPRN" : "27889398", + "ADDRESS" : "19, RIVERBANK COURT, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2FB", + "BUILDING_NUMBER" : "19", + "THOROUGHFARE_NAME" : "RIVERBANK COURT", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2FB", + "RPC" : "2", + "X_COORDINATE" : 259542.0, + "Y_COORDINATE" : 556613.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320644129", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "10/06/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079806", + "UDPRN" : "6858695", + "ADDRESS" : "CARDONESS HOUSE, CARDONESS, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2EP", + "BUILDING_NAME" : "CARDONESS HOUSE", + "THOROUGHFARE_NAME" : "CARDONESS", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2EP", + "RPC" : "2", + "X_COORDINATE" : 256647.0, + "Y_COORDINATE" : 553610.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031459774", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137004821", + "UDPRN" : "6859019", + "ADDRESS" : "12, CASTRAMONT ROAD, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2JE", + "BUILDING_NUMBER" : "12", + "THOROUGHFARE_NAME" : "CASTRAMONT ROAD", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2JE", + "RPC" : "2", + "X_COORDINATE" : 260051.0, + "Y_COORDINATE" : 556730.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461800", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079156", + "UDPRN" : "6858026", + "ADDRESS" : "KIRKBRIDE COTTAGE, GELSTON, CASTLE DOUGLAS, DG7 1SU", + "BUILDING_NAME" : "KIRKBRIDE COTTAGE", + "DEPENDENT_LOCALITY" : "GELSTON", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1SU", + "RPC" : "1", + "X_COORDINATE" : 274429.0, + "Y_COORDINATE" : 554594.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031472258", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137097809", + "UDPRN" : "50622544", + "ADDRESS" : "22, WHITELAW DRIVE, CASTLE DOUGLAS, DG7 1GF", + "BUILDING_NUMBER" : "22", + "THOROUGHFARE_NAME" : "WHITELAW DRIVE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1GF", + "RPC" : "2", + "X_COORDINATE" : 277441.0, + "Y_COORDINATE" : 562824.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320732122", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "20/05/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137030344", + "UDPRN" : "28565431", + "ADDRESS" : "6, NETHERHALL PLACE, BRIDGE OF DEE, CASTLE DOUGLAS, DG7 1TS", + "BUILDING_NUMBER" : "6", + "THOROUGHFARE_NAME" : "NETHERHALL PLACE", + "DEPENDENT_LOCALITY" : "BRIDGE OF DEE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1TS", + "RPC" : "2", + "X_COORDINATE" : 273097.0, + "Y_COORDINATE" : 559985.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320550706", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137041300", + "UDPRN" : "6855911", + "ADDRESS" : "41, BURGHFIELD ROAD, CASTLE DOUGLAS, DG7 1BQ", + "BUILDING_NUMBER" : "41", + "THOROUGHFARE_NAME" : "BURGHFIELD ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BQ", + "RPC" : "2", + "X_COORDINATE" : 276395.0, + "Y_COORDINATE" : 562733.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474757", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081927", + "UDPRN" : "6861361", + "ADDRESS" : "STROANFREGGAN SCHOOLHOUSE, DALRY, CASTLE DOUGLAS, DG7 3UG", + "BUILDING_NAME" : "STROANFREGGAN SCHOOLHOUSE", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UG", + "RPC" : "2", + "X_COORDINATE" : 264346.0, + "Y_COORDINATE" : 591803.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "X", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dual Use", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031469817", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137023125", + "UDPRN" : "6856871", + "ADDRESS" : "STEWARTRY AGRICULTURAL SOCIETY, NEW MARKET STREET, CASTLE DOUGLAS, DG7 1HY", + "ORGANISATION_NAME" : "STEWARTRY AGRICULTURAL SOCIETY", + "THOROUGHFARE_NAME" : "NEW MARKET STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1HY", + "RPC" : "2", + "X_COORDINATE" : 276804.0, + "Y_COORDINATE" : 562668.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "CO01", + "CLASSIFICATION_CODE_DESCRIPTION" : "Office / Work Studio", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475325", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078950", + "UDPRN" : "6857847", + "ADDRESS" : "RASCARREL FARM, AUCHENCAIRN, CASTLE DOUGLAS, DG7 1RJ", + "BUILDING_NAME" : "RASCARREL FARM", + "DEPENDENT_LOCALITY" : "AUCHENCAIRN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1RJ", + "RPC" : "2", + "X_COORDINATE" : 279947.0, + "Y_COORDINATE" : 548119.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031479073", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080374", + "UDPRN" : "6859603", + "ADDRESS" : "LOCHENBRECK COTTAGE, LAURIESTON, CASTLE DOUGLAS, DG7 2PY", + "BUILDING_NAME" : "LOCHENBRECK COTTAGE", + "DEPENDENT_LOCALITY" : "LAURIESTON", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2PY", + "RPC" : "2", + "X_COORDINATE" : 264803.0, + "Y_COORDINATE" : 565076.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031465079", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137034384", + "UDPRN" : "6857856", + "ADDRESS" : "GLENCAIRN, BAKERY STREET, AUCHENCAIRN, CASTLE DOUGLAS, DG7 1RN", + "BUILDING_NAME" : "GLENCAIRN", + "THOROUGHFARE_NAME" : "BAKERY STREET", + "DEPENDENT_LOCALITY" : "AUCHENCAIRN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1RN", + "RPC" : "2", + "X_COORDINATE" : 279789.0, + "Y_COORDINATE" : 551442.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031479192", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137000959", + "UDPRN" : "6857552", + "ADDRESS" : "8, GLEN ROAD, PALNACKIE, CASTLE DOUGLAS, DG7 1PH", + "BUILDING_NUMBER" : "8", + "THOROUGHFARE_NAME" : "GLEN ROAD", + "DEPENDENT_LOCALITY" : "PALNACKIE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1PH", + "RPC" : "2", + "X_COORDINATE" : 282081.0, + "Y_COORDINATE" : 556804.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481896", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "10091771580", + "UDPRN" : "27632775", + "ADDRESS" : "WILLIAMSON & HENRY, 32, HIGH STREET, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2HP", + "ORGANISATION_NAME" : "WILLIAMSON & HENRY", + "BUILDING_NUMBER" : "32", + "THOROUGHFARE_NAME" : "HIGH STREET", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2HP", + "RPC" : "2", + "X_COORDINATE" : 260087.0, + "Y_COORDINATE" : 556381.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "OR04", + "CLASSIFICATION_CODE_DESCRIPTION" : "Additional Mail / Packet Addressee", + "LOCAL_CUSTODIAN_CODE" : 7655, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "ORDNANCE SURVEY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461581", + "PARENT_UPRN" : "137023934", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "19/03/2012", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137027000", + "UDPRN" : "6857745", + "ADDRESS" : "23, MAIN STREET, AUCHENCAIRN, CASTLE DOUGLAS, DG7 1QU", + "BUILDING_NUMBER" : "23", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "AUCHENCAIRN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1QU", + "RPC" : "2", + "X_COORDINATE" : 279834.0, + "Y_COORDINATE" : 551417.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031479181", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137078906", + "UDPRN" : "6857819", + "ADDRESS" : "WOODEND, AUCHENCAIRN, CASTLE DOUGLAS, DG7 1QZ", + "BUILDING_NAME" : "WOODEND", + "DEPENDENT_LOCALITY" : "AUCHENCAIRN", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1QZ", + "RPC" : "2", + "X_COORDINATE" : 281921.0, + "Y_COORDINATE" : 550058.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031481036", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137009185", + "UDPRN" : "6856353", + "ADDRESS" : "CAIRN EDWARD, DUNGUILE COURT, 72, QUEEN STREET, CASTLE DOUGLAS, DG7 1EG", + "SUB_BUILDING_NAME" : "CAIRN EDWARD", + "BUILDING_NAME" : "DUNGUILE COURT", + "BUILDING_NUMBER" : "72", + "THOROUGHFARE_NAME" : "QUEEN STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1EG", + "RPC" : "2", + "X_COORDINATE" : 276549.0, + "Y_COORDINATE" : 562330.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475411", + "PARENT_UPRN" : "137009183", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137028507", + "UDPRN" : "6859814", + "ADDRESS" : "6, ST. MICHAELS CRESCENT, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3BA", + "BUILDING_NUMBER" : "6", + "THOROUGHFARE_NAME" : "ST. MICHAELS CRESCENT", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3BA", + "RPC" : "2", + "X_COORDINATE" : 273384.0, + "Y_COORDINATE" : 566771.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471679", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137043629", + "UDPRN" : "6858418", + "ADDRESS" : "COIGACH, LAURIESTON ROAD, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2BE", + "BUILDING_NAME" : "COIGACH", + "THOROUGHFARE_NAME" : "LAURIESTON ROAD", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2BE", + "RPC" : "2", + "X_COORDINATE" : 260336.0, + "Y_COORDINATE" : 557770.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031461906", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137007177", + "UDPRN" : "6856994", + "ADDRESS" : "10, TORRS PLACE, CASTLE DOUGLAS, DG7 1JJ", + "BUILDING_NUMBER" : "10", + "THOROUGHFARE_NAME" : "TORRS PLACE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1JJ", + "RPC" : "2", + "X_COORDINATE" : 277280.0, + "Y_COORDINATE" : 562525.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031477147", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079630", + "UDPRN" : "6858536", + "ADDRESS" : "SYLLODIOCH, GATEHOUSE OF FLEET, CASTLE DOUGLAS, DG7 2DP", + "BUILDING_NAME" : "SYLLODIOCH", + "DEPENDENT_LOCALITY" : "GATEHOUSE OF FLEET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 2DP", + "RPC" : "2", + "X_COORDINATE" : 259303.0, + "Y_COORDINATE" : 553050.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031460585", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137080653", + "UDPRN" : "6859969", + "ADDRESS" : "HOWMUIR, CORSOCK, CASTLE DOUGLAS, DG7 3DP", + "BUILDING_NAME" : "HOWMUIR", + "DEPENDENT_LOCALITY" : "CORSOCK", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3DP", + "RPC" : "2", + "X_COORDINATE" : 275607.0, + "Y_COORDINATE" : 576271.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "X", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dual Use", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031473571", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137079320", + "UDPRN" : "6858205", + "ADDRESS" : "BARSTIBLY HOUSE, CASTLE DOUGLAS, DG7 1TY", + "BUILDING_NAME" : "BARSTIBLY HOUSE", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1TY", + "RPC" : "1", + "X_COORDINATE" : 271029.0, + "Y_COORDINATE" : 557944.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031470349", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137037831", + "UDPRN" : "6857033", + "ADDRESS" : "5, BIRKLAND ROAD, CASTLE DOUGLAS, DG7 1JL", + "BUILDING_NUMBER" : "5", + "THOROUGHFARE_NAME" : "BIRKLAND ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1JL", + "RPC" : "2", + "X_COORDINATE" : 277212.0, + "Y_COORDINATE" : 562617.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031476977", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081091", + "UDPRN" : "6860506", + "ADDRESS" : "BEECH HOUSE, SPRINGHOLM, CASTLE DOUGLAS, DG7 3LP", + "BUILDING_NAME" : "BEECH HOUSE", + "DEPENDENT_LOCALITY" : "SPRINGHOLM", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3LP", + "RPC" : "2", + "X_COORDINATE" : 280909.0, + "Y_COORDINATE" : 570461.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031480708", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137048575", + "UDPRN" : "6856018", + "ADDRESS" : "7, BRAESIDE CRESCENT, CASTLE DOUGLAS, DG7 1BW", + "BUILDING_NUMBER" : "7", + "THOROUGHFARE_NAME" : "BRAESIDE CRESCENT", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1BW", + "RPC" : "2", + "X_COORDINATE" : 276238.0, + "Y_COORDINATE" : 562726.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031474229", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137019639", + "UDPRN" : "6855586", + "ADDRESS" : "3, CHURCH STREET, CASTLE DOUGLAS, DG7 1AT", + "BUILDING_NUMBER" : "3", + "THOROUGHFARE_NAME" : "CHURCH STREET", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 1AT", + "RPC" : "2", + "X_COORDINATE" : 276375.0, + "Y_COORDINATE" : 562359.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031475541", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137081591", + "UDPRN" : "6861080", + "ADDRESS" : "DARSALLOCH, NEW GALLOWAY, CASTLE DOUGLAS, DG7 3SB", + "BUILDING_NAME" : "DARSALLOCH", + "DEPENDENT_LOCALITY" : "NEW GALLOWAY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3SB", + "RPC" : "2", + "X_COORDINATE" : 260788.0, + "Y_COORDINATE" : 577021.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031465896", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137107713", + "UDPRN" : "53215559", + "ADDRESS" : "6, MULLOCH DRIVE, DALRY, CASTLE DOUGLAS, DG7 3UL", + "BUILDING_NUMBER" : "6", + "THOROUGHFARE_NAME" : "MULLOCH DRIVE", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UL", + "RPC" : "2", + "X_COORDINATE" : 262450.0, + "Y_COORDINATE" : 581284.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE" : "2", + "BLPU_STATE_CODE_DESCRIPTION" : "In use", + "TOPOGRAPHY_LAYER_TOID" : "osgb5000005122066460", + "LAST_UPDATE_DATE" : "19/03/2016", + "ENTRY_DATE" : "11/03/2014", + "BLPU_STATE_DATE" : "11/03/2014", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137018906", + "UDPRN" : "6861380", + "ADDRESS" : "43, MAIN STREET, DALRY, CASTLE DOUGLAS, DG7 3UP", + "BUILDING_NUMBER" : "43", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "DALRY", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3UP", + "RPC" : "2", + "X_COORDINATE" : 262070.0, + "Y_COORDINATE" : 581209.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031462707", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137097591", + "UDPRN" : "28061199", + "ADDRESS" : "8, LONGACRE ROAD, CASTLE DOUGLAS, DG7 3EF", + "BUILDING_NUMBER" : "8", + "THOROUGHFARE_NAME" : "LONGACRE ROAD", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3EF", + "RPC" : "2", + "X_COORDINATE" : 277026.0, + "Y_COORDINATE" : 563563.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000000320712347", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "19/05/2009", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + }, { + "DPA" : { + "UPRN" : "137009832", + "UDPRN" : "6859705", + "ADDRESS" : "1, MAIN STREET, CROSSMICHAEL, CASTLE DOUGLAS, DG7 3AU", + "BUILDING_NUMBER" : "1", + "THOROUGHFARE_NAME" : "MAIN STREET", + "DEPENDENT_LOCALITY" : "CROSSMICHAEL", + "POST_TOWN" : "CASTLE DOUGLAS", + "POSTCODE" : "DG7 3AU", + "RPC" : "2", + "X_COORDINATE" : 273188.0, + "Y_COORDINATE" : 566703.0, + "STATUS" : "APPROVED", + "LOGICAL_STATUS_CODE" : "1", + "CLASSIFICATION_CODE" : "RD", + "CLASSIFICATION_CODE_DESCRIPTION" : "Dwelling", + "LOCAL_CUSTODIAN_CODE" : 9058, + "LOCAL_CUSTODIAN_CODE_DESCRIPTION" : "DUMFRIES AND GALLOWAY", + "POSTAL_ADDRESS_CODE" : "D", + "POSTAL_ADDRESS_CODE_DESCRIPTION" : "A record which is linked to PAF", + "BLPU_STATE_CODE_DESCRIPTION" : "Unknown/Not applicable", + "TOPOGRAPHY_LAYER_TOID" : "osgb1000031471730", + "LAST_UPDATE_DATE" : "10/02/2016", + "ENTRY_DATE" : "31/07/2007", + "LANGUAGE" : "EN", + "MATCH" : 1.0, + "MATCH_DESCRIPTION" : "EXACT" + } + } ] +} diff --git a/src/yyy_data/core.clj b/src/yyy_data/core.clj new file mode 100644 index 0000000..f17b4ee --- /dev/null +++ b/src/yyy_data/core.clj @@ -0,0 +1,190 @@ +(ns yyy-data.core + (:require [adl-support.utils :refer :all] + [fastmath.core :refer [radians degrees sin cos sqrt atan2]] + [clojure.core.matrix :as mx] + [clojure.data.json :as json] + [clojure.string :as s])) + +(declare Cartesian Point) + +;;; Coordinate system conversion cribbed from https://www.movable-type.co.uk/scripts/latlong-os-gridref.html + +(def ellipsoids + "Ellipsoid parameters; major axis (a), minor axis (b), and flattening (f) for each ellipsoid." + { + :WGS84 { :a 6378137 :b 6356752.314245 :f (/ 1 298.257223563) } + :Airy1830 { :a 6377563.396 :b 6356256.909 :f (/ 1 299.3249646) } + :AiryModified { :a 6377340.189 :b 6356034.448 :f (/ 1 299.3249646) } + :Bessel1841 { :a 6377397.155 :b 6356078.962818 :f (/ 1 299.1528128) } + :Clarke1866 { :a 6378206.4 :b 6356583.8 :f (/ 1 294.978698214) } + :Clarke1880IGN { :a 6378249.2 :b 6356515.0 :f (/ 1 293.466021294) } + :GRS80 { :a 6378137 :b 6356752.314140 :f (/ 1 298.257222101) } + :Intl1924 { :a 6378388 :b 6356911.946 :f (/ 1 297) } ;; aka Hayford + :WGS72 { :a 6378135 :b 6356750.5 :f (/ 1 298.26) } + }) + + +(def datums + "Datums; with associated ellipsoid, and Helmert transform parameters to convert from WGS 84 into + given datum. + + Note that precision of various datums will vary, and WGS-84 (original) is not defined to be + accurate to better than ±1 metre. No transformation should be assumed to be accurate to better + than a meter; for many datums somewhat less. + + Yes, I know that the plural of datums is data..." + { + ;; transforms: t in metres, s in ppm, r in arcseconds tx ty tz s rx ry rz + :ED50 { :key :ED50 :ellipsoid (ellipsoids :Intl1924) :transform { :tx 89.5, :ty 93.8 :tz 123.1 :s -1.2 :rx 0.0 :ry 0.0 :rz 0.156 }} + :Irl1975 { :key :Irl1975 :ellipsoid (ellipsoids :AiryModified) :transform { :tx -482.530 :ty 130.596 :tz -564.557 :s -8.150 :rx -1.042 :ry -0.214 :rz -0.631 }} + :NAD27 { :key :NAD27 :ellipsoid (ellipsoids :Clarke1866) :transform { :tx 8 :ty -160 :tz -176 :s 0 :rx 0 :ry 0 :rz 0 }} + :NAD83 { :key :NAD83 :ellipsoid (ellipsoids :GRS80) :transform { :tx 1.004 :ty -1.910 :tz -0.515 :s -0.0015 :rx 0.0267 :ry 0.00034:rz 0.011 }} + :NTF { :key :NTF :ellipsoid (ellipsoids :Clarke1880IGN) :transform { :tx 168 :ty 60 :tz -320 :s 0 :rx 0 :ry 0 :rz 0 }} + :OSGB36 { :key :OSGB36 :ellipsoid (ellipsoids :Airy1830) :transform { :tx -446.448 :ty 125.157 :tz -542.060 :s 20.4894 :rx -0.1502 :ry -0.2470 :rz -0.8421 }} + :Potsdam { :key :Potsdam :ellipsoid (ellipsoids :Bessel1841) :transform { :tx -582 :ty -105 :tz -414 :s -8.3 :rx 1.04 :ry 0.35 :rz -3.08 }} + :TokyoJapan { :key :TokyoJapan :ellipsoid (ellipsoids :Bessel1841) :transform { :tx 148 :ty -507 :tz -685 :s 0 :rx 0 :ry 0 :rz 0 }} + :WGS72 { :key :WGS72 :ellipsoid (ellipsoids :WGS72) :transform { :tx 0 :ty 0 :tz -4.5 :s -0.22 :rx 0 :ry 0 :rz 0.554 }} + :WGS84 { :key :WGS84 :ellipsoid (ellipsoids :WGS84) :transform { :tx 0.0 :ty 0.0 :tz 0.0 :s 0.0 :rx 0.0 :ry 0.0 :rz 0.0 }} + }) + + +(defprotocol Location + "A location on the surface of the earth" + (datum [l]) + (datum-key [l]) + (ellipsoid [l]) + (grid-x [l]) + (grid-y [l]) + (latitude [l]) + (longitude [l]) + (to-cartesian [l]) + (to-point [l]) + (to-point [l d])) + + +(defrecord Cartesian + [x y z] + Location + ;; datum is a bit meaningless for a Cartesian; get the default. + (datum [x] (datums :WGS84)) + (datum-key [x] :WGS84) + (ellipsoid [x] (:ellipsoid (datum x))) + ;; I already am cartesian; return myself + (to-cartesian [x] x) + (to-point [this datum] (let + [a (:a (:ellipsoid datum)) + b (:b (:ellipsoid datum)) + f (:f (:ellipsoid datum)) + e2 (- (* 2 f) (* f f)) ;; first eccentricity squared + ε2 (/ e2 (- 1 e2)) ;; second eccentricity squared + p (sqrt (+ (* (:x this) (:x this)) (* (:y this) (:y this)))) + ;; distance from minor radius + R (sqrt (+ (* p p) (* (:z this) (:z this)))) + ;; polar radius + tanβ (* (/ (* b (:z this))(* a p)) (/ (* b (+ 1 ε2)) R)) + sinβ (/ tanβ (sqrt (+ 1 (* tanβ tanβ)))) + cosβ (/ sinβ tanβ) + φ (if + (Double/isNaN cosβ) 0 + (atan2 (+ z (* ε2 b sinβ sinβ sinβ)) + (- p (* e2 a cosβ cosβ cosβ)))) + λ (atan2 (:y this) (:x this)) + v (/ a (sqrt (- 1 (* e2 (sin φ) (sin φ)))))] + (Point. (degrees φ) (degrees λ) datum))) + ) + + +(defn inverse-transform [t] + "Return a transform which is the inverse of `t`. More generally, + expects a map `t` whose values are numbers, and returns a map which has + for each key in `t` a number which is the inverse of the value of the + same key in `t`." + (reduce + merge + {} + (map + #(if (number? (t %)) (hash-map % (- 0 (t %)))) + (keys t)))) + +;; (inverse-transform { :tx 89.5, :ty 93.8 :tz 123.1 :s -1.2 :rx 0.0 :ry 0.0 :rz 0.156 }) + +(defrecord Point + "A point with an `x` co-ordinate, a `y` co-ordinate, and a datum `d`. We're + agnostic as to whether `d` is passed as a keyword or a map, but it must be + taken from `datums`, q.v." + [x y d] + Location + (datum [x] + (cond + (keyword? (:d x)) + (datums (:d x)) + (map? (:d x)) + (:d x))) + (datum-key [x] + (cond + (keyword? (:d x)) + (:d x) + (map? (:d x)) + (:key (:d x)))) + (ellipsoid [x] + (:ellipsoid (datum [x]))) + (to-cartesian [x] + (let [φ (radians (latitude x)) + λ (radians (longitude x)) + h 0 + a (:a (:ellipsoid (:datum x))) + f (:f (:ellipsoid (:datum x))) + sinφ (sin φ) + cosφ (cos φ) + sinλ (sin λ) + cosλ (cos λ) + e2 (- (* 2 f) (* f f)) + v (/ a (sqrt (- 1 (* e2 sinφ sinφ))))] + (Cartesian. + (* (+ v h) cosφ cosλ) + (* (+ v h) cosφ sinλ) + (* v (+ h (- 1 e2)) sinφ)))) + (to-point [x] x) + (to-point [x new-datum] + (let [od (datum x) + nd (if (keyword? new-datum) (datums new-datum) new-datum) + c (to-cartesian x)] + (cond + (= od nd) x + (= (:key od) :WGS84) (to-point + (apply-transform c (:transform nd))) + (= (:key nd) :WGS84) (to-point + (apply-transform + c + (inverse-transformation (:datum x)))) + true + (to-datum (to-datum x :WGS84) nd))))) + + (latitude [x] + (:y (to-datum +;; (defn os-grid-x-to-lat-long +;; ([x y] +;; (os-grid-x-to-lat-long {:x x :y y}) +;; ([point] +;; (let [datum +;; ) + +;; (defn os-grid-y-to-latitude +;; [y] +;; ) + +(defn + +(defn post-code-data-to-addresses + [filename] + (map + (fn [a] + (s/join + (list + "insert into addresses (address:ellipsoid postcode}} latitude, longitude) values ('" + (:address %) "', '" (:postcode %) + "', " 0 "," 0 ");")) + ) + (filter + #(= (:classification_code_description %) "Dwelling") + (:results (json/read-str (slurp filename) :key-fn #(keyword (.toLowerCase %))))))) diff --git a/test/yyy_data/core_test.clj b/test/yyy_data/core_test.clj new file mode 100644 index 0000000..2c6dda5 --- /dev/null +++ b/test/yyy_data/core_test.clj @@ -0,0 +1,7 @@ +(ns yyy-data.core-test + (:require [clojure.test :refer :all] + [adl-data.core :refer :all])) + +(deftest a-test + (testing "FIXME, I fail." + (is (= 0 1))))