PHPackages                             janpieterk/gemeentekaart-rest - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. janpieterk/gemeentekaart-rest

ActiveProject[API Development](/categories/api)

janpieterk/gemeentekaart-rest
=============================

REST interface to janpieterk/gemeentekaart-core

1.1.0(7y ago)14GPL-2.0-onlyPHPPHP &gt;=5.3.10

Since Feb 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/janpieterk/gemeentekaart-rest)[ Packagist](https://packagist.org/packages/janpieterk/gemeentekaart-rest)[ Docs](https://github.com/janpieterk/gemeentekaart-rest)[ RSS](/packages/janpieterk-gemeentekaart-rest/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (4)Used By (0)

GemeenteKaart REST service
==========================

[](#gemeentekaart-rest-service)

Deze documentatie in het [Nederlands](README.nl.md).

---

This is the REST service to [janpieterk/gemeentekaart-core](https://github.com/janpieterk/gemeentekaart-core)

How to install
--------------

[](#how-to-install)

- Make sure you have a web server running with PHP support

To install from github with composer:

```
$ cd
$ composer create-project janpieterk/gemeentekaart-rest --repository='{"type":"vcs","url":"https://github.com/janpieterk/gemeentekaart-rest"}'
```

To install from [packagist.org](https://packagist.org) with composer:

```
$ cd
$ composer create-project janpieterk/gemeentekaart-rest
```

To install with git and composer:

```
$ cd
$ git clone https://github.com/janpieterk/gemeentekaart-rest.git
$ cd gemeentekaart-rest
$ composer install
```

- Now visit `http:///gemeentekaart-rest` to view the documentation and access the REST service.

Running the PHPUnit tests for gemeentekaart-rest:

- edit the file [testconfig.local.inc.php](test/testconfig_local.inc.php) and change the constant `KAART_SERVER_HOSTNAME` to the hostname of the web server running the gemeentekaaart-rest REST service. Then run the shell script `test/run_tests.sh`.

Summary
-------

[](#summary)

This service can be used to create a choropleth map of either the municipalities of The Netherlands (default: borders as of 2007, 443 municipalities), the municipalities of Flanders (308 municipalities), the municipalities of The Netherlands and Flanders combined, the 40 COROP areas of The Netherlands (see [COROP](http://en.wikipedia.org/w/index.php?title=COROP&oldid=482861432), the twelve provinces of The Netherlands, or the 28 dialect areas of Daan/Blok (1969) mapped on municipality borders. Areas can be assigned colors, typically to denote the relative frequency of some phenomenon. Some predefined combinations are also possible, at the moment: municipalities with COROP areas, municipalities with provinces, municipalities with dialect areas.

### New in version 1.1

[](#new-in-version-11)

Since version 1.1 the historical municipality and province borders fron the data set [NLGis shapefiles](https://doi.org/10.17026/dans-xb9-t677) by Dr. O.W.A. Boonstra are incorporated in the project. Borders from 1812-1997 area available and can be requested by adding a `yea
