Update Readme

This commit is contained in:
Carla
2015-06-23 16:47:19 +02:00
parent 5b5a9710b2
commit ee06bf8366

View File

@@ -83,5 +83,15 @@ If you need to look up the iso code for any list of countries without returning
SELECT (admin0_synonym_lookup(Array['United States', 'ESP'])).*
```
# Testing
In order to test the data and the functions created under the script avaialble in this folder, you will need to run `bash test.sh` from `test/data` and `test/functions`. These functions test the amount of geometries generated, their bounding box, and the bounding box of the results generated by the geocoder functions. The tests also ensure a minimum quality in the synonyms table/function, checking that the official name (in English) for the regions is recognised.
# Historic
* [22/06/2015]: Removes code that provokes an empty geometry for `IOA`, which was being stored as a null geometry. [PR 144](https://github.com/CartoDB/data-services/pull/144)
* [23/06/2015]:
* Change of SQL code in `subdivide_polygons.sql` in order to create all of them with ST_Collect, which makes uniform the geometry types: ST_MultiPolygon
* Uploaded basic tests for administrative regions of level 0 geocoder
* Updated Testing section of `README.md`
* [22/06/2015]:
* Removes code that provokes an empty geometry for `IOA`, which was being stored as a null geometry. [PR 144](https://github.com/CartoDB/data-services/pull/144)