xmpli / locus-qgis Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
It would be good if we could have default styles linked to the category returned. At the moment these are:-
'General','Events','Community','Planning', 'Democracy', 'Education', 'Health', 'Highways and Transport','Waste and Recycling', 'Environment', 'Crime'
An item can have more than one category so the first in the list would be used
The plugin will be written in python and be targeted at QGIS 3 API.
It will be available from the plugin drop down menu and an icon on the QGIS menu bar
The plugin will present two screens to the user:-
The setting screen will allow the user to change the base URL for the search. This will default to:-
https://api.sh.vialocus.co.uk/
The search screen will allow the user to do the following:-
{
"category_search" : "/search/{Category}/{Search Text}",
"bounding_box" : "/bboxsearch/{**BBOX**}/{Category}/{Search Text}",
"reference_search" : "/refsearch/{Reference}/{Category}",
"point_search" : "/pointsearch/{**LOCATION**}/{Distance}"
}
Items such as {Category}, {Search text} are variable supplied by the end user and must be used to create a search form. Variables are not mandatory.
Items such as {BBOX} and {LOCATION} are filled by the system
xmax ymax, xmin ymin
eg:-
-0.8 51.3,-0.7 51.4
eg:-
SRID=4326;POINT(-1.1 53)
The API returns results in GeoJSON format.
<URL>/list_categories
eg:-
https://api.sh.vialocus.co.uk/list_categories
These need adding (and testing)
/search/{category}/{search_text}/{limit}/{offset}
/pointsearch/{location}/{location_distance}/{category}/{search_text}/{limit}/{offset}
(location is in EWKT format, distance in metres)
/refsearch/{reference}/{category}/{limit}/{offset}
(reference alphanumeric)
/address_search/{address}/{limit}/{offset}
(address is a freeform addresss
limit default 100, offset default 0
As title
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.