PHP Classes

File: tests/functional/001_records/081_read_countries_as_geojson.log

Recommend this page to a friend!
  Classes of Punto Waskito   PHP CRUD API   tests/functional/001_records/081_read_countries_as_geojson.log   Download  
File: tests/functional/001_records/081_read_countries_as_geojson.log
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP CRUD API
Provide API to manipulate database table records
Author: By
Last change:
Date: 3 years ago
Size: 2,354 bytes
 

Contents

Class file image Download
skip-for-sqlite: no support for geometry functions (spatialite) === GET /geojson/countries/3 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 105 {"type":"Feature","id":3,"properties":{"name":"Point"},"geometry":{"type":"Point","coordinates":[30,10]}} === GET /geojson/countries/4 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 127 {"type":"Feature","id":4,"properties":{"name":"Line"},"geometry":{"type":"LineString","coordinates":[[30,10],[10,30],[40,40]]}} === GET /geojson/countries/5 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 143 {"type":"Feature","id":5,"properties":{"name":"Poly1"},"geometry":{"type":"Polygon","coordinates":[[[30,10],[40,40],[20,40],[10,20],[30,10]]]}} === GET /geojson/countries/6 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 177 {"type":"Feature","id":6,"properties":{"name":"Poly2"},"geometry":{"type":"Polygon","coordinates":[[[35,10],[45,45],[15,40],[10,20],[35,10]],[[20,30],[35,35],[30,20],[20,30]]]}} === GET /geojson/countries/7 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 137 {"type":"Feature","id":7,"properties":{"name":"Mpoint"},"geometry":{"type":"MultiPoint","coordinates":[[10,40],[40,30],[20,20],[30,10]]}} === GET /geojson/countries/8 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 169 {"type":"Feature","id":8,"properties":{"name":"Mline"},"geometry":{"type":"MultiLineString","coordinates":[[[10,10],[20,20],[10,40]],[[40,40],[30,30],[40,20],[30,10]]]}} === GET /geojson/countries/9 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 184 {"type":"Feature","id":9,"properties":{"name":"Mpoly1"},"geometry":{"type":"MultiPolygon","coordinates":[[[[30,20],[45,40],[10,40],[30,20]]],[[[15,5],[40,10],[10,20],[5,10],[15,5]]]]}} === GET /geojson/countries/10 === 200 Content-Type: application/json; charset=utf-8 Content-Length: 229 {"type":"Feature","id":10,"properties":{"name":"Mpoly2"},"geometry":{"type":"MultiPolygon","coordinates":[[[[40,40],[20,45],[45,30],[40,40]]],[[[20,35],[10,30],[10,10],[30,5],[45,20],[20,35]],[[30,20],[20,15],[20,25],[30,20]]]]}} === GET /geojson/countries/11 === 500 Content-Type: application/json; charset=utf-8 Content-Length: 73 {"code":9999,"message":"Geometry type not supported: GEOMETRYCOLLECTION"}