This API allows you to join geospatial data with tabular data. Use the following endpoints to interact with the API:
/tjs/api/wfsThis endpoint retrieves geospatial data from a Web Feature Service (WFS) and merges it with tabular data from a specified CSV file. It adheres to the Open Geospatial Consortium (OGC) Table Joining Service (TJS) standard, enabling seamless integration of geospatial and non-spatial data for mapping and analysis. Parameters descriptions are here for WFS Endpoint.
Example RequestDescription: Fetches WFS GeoJSON format from a GeoServer.
GET /tjs/api/wfs?FrameworkURI==https://geoserver.schawanji.tech/geoserver/ows?&GetDataURL=https://raw.githubusercontent.com/schawanji/TJS-Server/refs/heads/main/static/covid_data.csv&typeName=us-states&FrameworkKey=name&AttributeKey=state
/tjs/api/tms/This endpoint retrieves data from a Vector Tile Map Service (VTMS), and merges it with tabular data from a specified CSV file. The code fetches tiles GeoJSON format from a VTMS endpoint based on the requested coordinates, zoom level, and tile parameters. It adheres to the Open Geospatial Consortium (OGC) Table Joining Service (TJS) standard, enabling seamless integration of geospatial and non-spatial data for mapping and analysis. Parameters descriptions are here for VTMS Endpoint.
Example RequestDescription: Fetches GeoJSON tiles from a GeoServer.
GET /tjs/api/tms/?FrameworkURI=https://geoserver.schawanji.tech/geoserver/gwc/service/tms/1.0.0/geoconnect:us-states@EPSG:900913@geojson/{z}/{x}/{-y}.geojson&GetDataURL=https://raw.githubusercontent.com/schawanji/TJS-Server/refs/heads/main/static/covid_data.csv&typeName=us-states&FrameworkKey=name&AttributeKey=state
The response is a GeoJSON object containing the merged data, where the WFS or Vector TMS geospatial features are enriched with attributes from the CSV file.
This endpoint is ideal for applications requiring geospatial visualizations with associated tabular data, such as mapping COVID-19 statistics by state or visualizing demographic information on a map.