Comments (9)
Something every simple like: https://bulma.io/documentation/
from pygeoapi.
Suggestion from Paul van Genuchten
Make proposed page easy to customize using configuration options. and possibility of adding icons
from pygeoapi.
The templating system seems a good option to change the layout according to user needs
https://github.com/geopython/pygeoapi/blob/master/pygeoapi/templates/base.html
Some comments to improve the generic base template:
- head-title/keyword/abstract should not be filled using generic config, in stead it should use properties from the collection or feature exposed on that page (title will be displayed on google search result), so would be interesting to configure for each Collection which property of Feature can be used as title (aka schema.org/name)
- if the css were based on less, it would be nice to allow to define a color-scheme & font.
- add an organisation logo (upload logo.png from admin)
- add option to configure links in the header or footer (contact, disclaimer, help etc)
from pygeoapi.
@pvgenuchten this is a really good point:
head-title/keyword/abstract should not be filled using generic config, in stead it should use properties from the collection or feature exposed on that page (title will be displayed on google search result), so would be interesting to configure for each Collection which property of Feature can be used as title (aka schema.org/name)
I just tested the results in Google Search. Google indexes up to the individual item, which is really nice (and could be useful for some datasets). But the HTML representation could be improved. See for example https://www.google.com/search?q=site:demo.pygeoapi.io&start=70
Improvements like: add a specific H1 header (and title element) for an item (there is no H1 currently), preferably a human readable title, but that may require some more work (e.g. an optional title_field
per provider for example). It may not be today, but I could maybe implement something for this
from pygeoapi.
Closing given we probably have enough given our current HTML representation. Feel free to reopen if we missed anything. Having said this, I will open a new ticket for being able to modify look and feel.
from pygeoapi.
I agree with Thijs (sorry missed this discussion) we should make sure to list at least the id of the feature in the title, now google shows same title for each feature
I'll work on a PR
from pygeoapi.
or maybe better to move this to a new issue...
from pygeoapi.
FYI #296 opened for review/comment.
from pygeoapi.
Think this also can be closed, the scope is also is rather broad but at the time of opening the HTML was rather barren. Better to have more specific/targeted issues like #361.
from pygeoapi.
Related Issues (20)
- EDR providers lack support for /locations and locations/<location_id> queries
- Enable CQL filtering to accept filter geometries in any CRS HOT 1
- most recent version of starlette breaks pygeoapi CI
- allow running pygeoapi starlette with uvloop
- Improve documentation about Tile Publishing HOT 1
- Address requirement 5 of OGC API - Tiles Core Requirements HOT 1
- Address requirement 6A of OGC API - Tiles Core Requirements for the MVT-elastic provider
- pygeoapi serve runs pygeoapi web application twice HOT 3
- Serving tiles from a url on mvt-tippecanoe is not working HOT 1
- Error starting pygeoapi with django server
- Provide a default configuration if none given
- replace geoalchemy with geoalchemy2 as a dependency
- wfs provider tests fail occasionally HOT 2
- Make sqlalchemy a first level dependency for providers
- Do not provide an option to choose charset for compressed GZIP responses
- mimetype config option does nothing HOT 2
- Remove server host and port from pygeoapi configuration
- Starlette get request data does not work after dropping dependency on nest-asyncio HOT 1
- Django EDR implementation broken on non-instance endpoints
- Retreiving feature count from WFS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pygeoapi.