Commit Graph

30 Commits

Author SHA1 Message Date
Tom Kralidis a67964dbcd implement ordered properties (#76) 2018-11-26 20:47:45 -05:00
Tom Kralidis efd89a56c9 fix CLI logic 2018-11-26 19:34:11 -05:00
Tom Kralidis d2b76936e6 implement query sorting (#63) 2018-11-20 00:58:15 +00:00
Jorge Samuel Mendes de Jesus c621b21391 Postgis provider support (#72)
* 	new file:   docker/Dockerfile
Dockerfile for pygeoapi

* testing postgis on travis

* testing 9.6

* install postgis as package

* create database

* postgis dataset - travis

* missing path

* 	modified:   tests/data/hotosm_bdi_waterways.sql.gz

Change in name of dataset

* postgresql code

* 	modified:   pygeoapi/provider/postgresql.py
update with origin

* Postgresql working provider, typo in geopackage

* update to travis. Change on gpkg

* missing dep (psycopg2)

* pytest

* problem with operator in travis

* ProviderConnectionError implementation

* postgresql with schema support

* Changes requested by @tomkralidis

* missing pygeoapi-config.yml

* delete openapi.yml

deleted openapi.yml
2018-11-16 11:53:31 -05:00
Jorge Samuel Mendes de Jesus 66266102a3 Geopackage support (#64)
* 	new file:   docker/Dockerfile
Dockerfile for pygeoapi

* typo

* typo

* geopackage provider

* test travis

* changed href to http

* incorrect field in yml

* missing flake8 check

* POI test dataset

* unit tests

* working unitttests and update to readme

* .gitignore docker

* requests for PR #64

* Update __init__.py

Flake8 whitespace

* flake8 fix and removal of incorrect dockerfile
2018-09-11 12:32:11 -04:00
Tom Kralidis 9558a8f130 fix HTTP response headers for CSV 2018-08-22 15:54:40 +00:00
Tom Kralidis 081d7ed1c8 add support for CSV output (#52) 2018-07-04 06:29:05 -04:00
Jorge Samuel Mendes de Jesus c1e9943c48 Docker composition (ES docker + pygeoapi docker) (#31)
* 	new file:   docker/Dockerfile
Dockerfile for pygeoapi

* Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask

* ES and pygeoapi docker

* Final file structure

* generic port 5000 and localhost

* sqlit3 suport in alpine and fixes on sqlite provider

* B4 sync with upstream

* Working composition problems with ES features

* Cosmetic changes update to README.md

* using load_es_data.py from github local openapi.yml

* added docker pull only of pygeoapi

* b4 rebase

* Using 0.0.0.0 in pygeoapi-config otherwise no docker for flask

* ES and pygeoapi docker

* Final file structure

* generic port 5000 and localhost

* sqlit3 suport in alpine and fixes on sqlite provider

* B4 sync with upstream

* Cosmetic changes update to README.md

* using load_es_data.py from github local openapi.yml

* added docker pull only of pygeoapi

* b4 rebase

* updates and sync

* missing proper local.config.yml

* wait-for pygeoapi

* sync with master config

* 	deleted:    docker/ES/wait-for-it.sh
	new file:   docker/pygeoapi/docker-entrypoint.sh
	new file:   docker/pygeoapi/run_pygeoapi.sh
	openapi.yml
	pygeoapi/provider/__sqlite.py

Missing sh files

* missing set +e

* wait for ES to be yellow or green

* More detailed Readme

* 	new file:   .gitignore

* simple image docker

* missing docker run

* 	new file:   Dockerfile
	new file:   docker.config.yml
	new file:   run_pygeoapi.sh
Simple image

* typos on README
2018-07-03 14:52:17 -04:00
Jorge Samuel Mendes de Jesus b869921bf4 Update load_es_data
ES default timeout is to low (30s), needs to be increased (90s) for docker composition
2018-05-27 14:16:00 +02:00
Tom Kralidis de2c530770 fix CSV provider geometry types (#40) (#44) 2018-05-19 16:59:32 -04:00
Tom Kralidis b822f8137b remove shapely dependency and cast CSV geometries as common use case of x/y columns 2018-05-03 19:23:40 -04:00
Tom Kralidis 7c02f19b54 fix numberReturned response property 2018-04-30 01:55:56 +00:00
Tom Kralidis 0fe664bd78 fix property queries 2018-04-30 00:54:52 +00:00
Tom Kralidis 9e2b5d20b0 add tests for ES backend (#38) 2018-04-29 09:15:34 -04:00
Tom Kralidis 325cd05e1b fix travis and ES (#37) 2018-04-29 08:20:59 -04:00
Tom Kralidis 625121fd48 fix GeoJSON tests 2018-04-11 17:01:43 +00:00
Tom Kralidis f321162a08 fix ref 2018-04-11 15:41:11 +00:00
Tom Kralidis acff20bc49 add loader for ES test data 2018-04-10 20:53:24 +00:00
Tom Kralidis e0cbf35f12 update item html templates, GeoJSON identifiers in test data 2018-04-08 00:34:22 +00:00
Tom Kralidis 9381911654 fix ref 2018-04-02 19:30:59 -04:00
Tom Kralidis 14894e4abb add CSV provider 2018-04-02 18:09:02 +00:00
Tom Kralidis c9b7c51d18 add README for data, populated places data JSON (for ES testing) update .gitignore 2018-04-02 17:01:00 +00:00
Jorge Samuel Mendes de Jesus 1de0439e2d Spatiallite3 provider implementation (#17)
* 	new file:   docker/Dockerfile
Dockerfile for pygeoapi

* 	modified:   pygeoapi/provider/__init__.py
	new file:   tests/data/ne_110m_lakes.sqlite
	new file:   tests/json_marshmallow.py
	new file:   tests/test_sqlite_provider.py

Sqlit implementation and testing marshmallows

* 	new file:   provider/sqlite.py
	new file:   provider/tmp_parser.py
Sqlite provider

* Testing sqlalchemy

* query for sqlite3

* Countries dataset, message in assert

* yml config

* table in data link and query implemented without limit

* PR of refactor

* functional sqlite3 driver

* flake8

* pipreq for complete list of requirements

* updated readme with working examples, extra requirements

* typos, SQLite removed Dockerfile and ne_100m_lakes.sqlite

* update requirements

* pypandoc in requirements-dev.txt
2018-04-02 12:05:26 -04:00
Tom Kralidis 2cd3621ddd refactor configuration, remove file:// 2018-03-09 12:21:54 -05:00
Tom Kralidis d6e4b1dc00 implement logging, first pass cli (#14) 2018-03-08 08:38:42 -05:00
Matthew Perry 5ae0fdce4e add ids for geojson 2018-03-07 13:08:55 -07:00
Matthew Perry 797617c025 merge with master, move query params out of _load 2018-03-07 06:30:56 -07:00
Matthew Perry 5283c3df10 implement a working CRUD system with GeoJSON backend 2018-03-06 18:43:58 -07:00
Tom Kralidis 7ee1b09a0a move data into tests/ 2018-03-07 00:28:05 +00:00
Tom Kralidis d1d2a589b3 add CSV provider, misc updates 2018-03-07 00:08:05 +00:00