-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rebranding (UN-5194) #79
base: main
Are you sure you want to change the base?
Changes from all commits
3cf5944
ac6b5ad
853ce3d
5a46f1e
0eb399e
f212049
eeeadc1
e47429b
2acdaf6
3a25bc6
a446c05
231bff7
bdd056a
6b1c724
98dad1d
81b7fdd
5f43463
8634a0e
f3918ff
a16010d
8d1db16
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[report] | ||
omit = Unfolded/qgis_plugin_tools/* | ||
omit = | ||
kepler/qgis_plugin_tools/* | ||
Unfolded/* |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
**/__pycache__ | ||
**/*.pyc |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Unfolded/i18n | ||
kepler/i18n | ||
/.idea/ | ||
*.gpkg-shm | ||
*.gpkg-wal | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "kepler/qgis_plugin_tools"] | ||
path = kepler/qgis_plugin_tools | ||
url = [email protected]:GispoCoding/qgis_plugin_tools.git | ||
[submodule "Unfolded/qgis_plugin_tools"] | ||
path = Unfolded/qgis_plugin_tools | ||
url = https://github.com/GispoCoding/qgis_plugin_tools.git |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
plugin_path: Unfolded | ||
github_organization_slug: UnfoldedInc | ||
plugin_path: kepler | ||
github_organization_slug: foursquare | ||
project_slug: qgis-plugin | ||
transifex_coordinator: replace-me | ||
transifex_organization: replace-me |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,7 @@ | ||
# CHANGELOG | ||
|
||
### 1.0.5 - 09/06/2023 | ||
### 1.0.0 - 21/07/2023 | ||
|
||
* Additional bug fixes | ||
|
||
### 1.0.4 - 29/05/2023 | ||
|
||
* Support for additional symbols: Logarithmic, Pretty Breaks and Natural Breaks (Jenks) | ||
* Several bugfixes | ||
|
||
### 1.0.3 - 03/03/2023 | ||
|
||
* Update Studio map import URL | ||
|
||
### 1.0.2 - 28/06/2021 | ||
|
||
* Fixed support for QGIS 3.20 | ||
* Fixed encoding issues on Windows | ||
|
||
### 1.0.1 - 25/03/2021 | ||
|
||
* Changed CSV separator to comma | ||
* Improved UI | ||
* <a href="https://github.com/UnfoldedInc/qgis-plugin/compare/1.0.0...1.0.1">Full Changelog</a> | ||
|
||
### 1.0.0 - 24/03/2021 | ||
|
||
* Initial configuration export functionality | ||
* Support for points, lines and polygons | ||
* Support for single symbol styles | ||
* Support for graduated and categorized styles | ||
* Multithreading support | ||
* <a href="https://github.com/UnfoldedInc/qgis-plugin/compare/1.0.0-rc1...1.0.0">Full Changelog</a> | ||
* Initial version | ||
|
||
### |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
# Unfolded QGIS plugin | ||
# kepler QGIS plugin by Foursquare | ||
|
||
![](https://github.com/UnfoldedInc/qgis-plugin/workflows/Tests/badge.svg) | ||
[![codecov.io](https://codecov.io/github/UnfoldedInc/qgis-plugin/coverage.svg?branch=main)](https://codecov.io/github/UnfoldedInc/qgis-plugin?branch=main) | ||
![](https://github.com/UnfoldedInc/qgis-plugin/workflows/Release/badge.svg) | ||
![](https://github.com/foursquare/qgis-plugin/workflows/Tests/badge.svg) | ||
[![codecov.io](https://codecov.io/github/foursquare/qgis-plugin/coverage.svg?branch=main)](https://codecov.io/github/foursquare/qgis-plugin?branch=main) | ||
![](https://github.com/foursquare/qgis-plugin/workflows/Release/badge.svg) | ||
|
||
<img src="docs/imgs/foursquare-logo.png" height="100"> | ||
|
||
This plugin exports [QGIS](http://qgis.org/) vector layers into a format that can be imported into [Unfolded Studio](https://studio.unfolded.ai/) for further analysis or one-click publishing to the web, after signing up for a free [Unfolded](https://unfolded.ai/) account. | ||
This plugin exports [QGIS](http://qgis.org/) vector layers into a format that can be imported into [Foursquare Studio](https://studio.foursquare.com/) for further analysis or one-click publishing to the web, after signing up for a free [Foursquare Studio](https://studio.foursquare.com/) account. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to expand this to talk about both Foursquare and kepler.gl. Probably best to work on this in a Google Doc before a PR, copy the current text into a Google Doc and we can collaborate on that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've created a "README.md" section within rebranding RFC doc. |
||
|
||
# Documentation | ||
|
||
This readme contains a short overview of basic functionality of the plugin. Full documentation is available at [docs.unfolded.ai](https://docs.unfolded.ai/integrations/qgis). | ||
This readme contains a short overview of basic functionality of the plugin. Full documentation is available at [location.foursquare.com/studio/docs](https://location.foursquare.com/studio/docs/integrations-qgis). | ||
|
||
## Requirements | ||
|
||
|
@@ -28,25 +28,25 @@ User can export any vector data format that | |
is [supported in QGIS](https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/index.html) and the data can | ||
be in any known coordinate reference system as it is automatically reprojected (to EPSG:4326) during export. | ||
|
||
Layer geometries and styles are exported in to a single ZIP configuration file, which can then be imported to Unfolded | ||
Layer geometries and styles are exported in to a single ZIP configuration file, which can then be imported to Foursquare | ||
Studio. | ||
|
||
Before opening the plugin, users add their datasets to QGIS in the normal way (see | ||
e.g. [QGIS tutorials](https://www.qgistutorials.com/en/)), perform some data processing tasks if necessary and add | ||
cartographic styling for the vector layers. | ||
|
||
After the user is satisfied with their result and the plugin has been installed, the `Unfolded` plugin can now be opened | ||
After the user is satisfied with their result and the plugin has been installed, the `kepler` plugin can now be opened | ||
under the *Web* tab in QGIS. It opens a new window, which lets the user control the map export process. | ||
|
||
![Main plugin dialog](docs/imgs/main_dialog.png) | ||
|
||
- **Layer Selection** - If a project contains multiple layers, user can select which layers should be exported and which | ||
should be visible by default (note layers are preserved in the exported map and the user can control layer visibility | ||
in Unfolded Studio after importing the map). | ||
in Foursquare Studio after importing the map). | ||
|
||
- **Basemap Selection** - In the main *Export* tab the user can also select which type of basemap they want to use and | ||
which Unfolded Studio functionality (e.g. brushing, geocoding) that the exported interactive map should offer. All of | ||
these values can be changed after import into Unfolded Studio. | ||
which Foursquare Studio functionality (e.g. brushing, geocoding) that the exported interactive map should offer. All of | ||
these values can be changed after import into Foursquare Studio. | ||
|
||
- **Interactive Features** - In the *Settings* tab user can define where they want the exported configuration file to be | ||
exported on their local disk. A user can also add their personal MapBox API key if they wish to add MapBox basemaps to | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.py] | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
[*.ui] | ||
indent_size = 2 | ||
max_line_length = 100000 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.gitattributes export-ignore | ||
.editorconfig export-ignore | ||
test export-ignore | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Gispo Ltd., hereby disclaims all copyright interest in the program Foursquare | ||
# Copyright (C) 2021 Gispo Ltd (https://www.gispo.fi/). | ||
# | ||
# | ||
# This file is part of kepler QGIS plugin by Foursquare. | ||
# | ||
# kepler QGIS plugin by Foursquare is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# kepler QGIS plugin by Foursquare is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with kepler QGIS plugin by Foursquare. If not, see <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. | ||
|
||
import os | ||
|
||
from .qgis_plugin_tools.infrastructure.debugging import setup_pydevd | ||
|
||
if os.environ.get('QGIS_PLUGIN_USE_DEBUGGER') == 'pydevd': | ||
if os.environ.get('IN_TESTS', "0") != "1" and os.environ.get('QGIS_PLUGIN_IN_CI', "0") != "1": | ||
setup_pydevd() | ||
|
||
|
||
def classFactory(iface): | ||
from .plugin import Plugin | ||
return Plugin(iface) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
|
||
# Gispo Ltd., hereby disclaims all copyright interest in the program kepler QGIS plugin by Foursquare | ||
# Copyright (C) 2021 Gispo Ltd (https://www.gispo.fi/). | ||
# | ||
# | ||
# This file is part of kepler QGIS plugin by Foursquare. | ||
# | ||
# kepler QGIS plugin by Foursquare is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# kepler QGIS plugin by Foursquare is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with kepler QGIS plugin by Foursquare. If not, see <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. | ||
|
||
import glob | ||
|
||
from qgis_plugin_tools.infrastructure.plugin_maker import PluginMaker | ||
|
||
''' | ||
################################################# | ||
# Edit the following to match the plugin | ||
################################################# | ||
''' | ||
|
||
py_files = [fil for fil in glob.glob("**/*.py", recursive=True) if "test/" not in fil] | ||
locales = ['fi'] | ||
profile = 'default' | ||
ui_files = list(glob.glob("**/*.ui", recursive=True)) | ||
resources = list(glob.glob("**/*.qrc", recursive=True)) | ||
extra_dirs = ["resources"] | ||
compiled_resources = [] | ||
|
||
PluginMaker(py_files=py_files, ui_files=ui_files, resources=resources, extra_dirs=extra_dirs, | ||
compiled_resources=compiled_resources, locales=locales, profile=profile) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
# Gispo Ltd., hereby disclaims all copyright interest in the program Unfolded QGIS plugin | ||
# Gispo Ltd., hereby disclaims all copyright interest in the program kepler QGIS plugin by Foursquare | ||
# Copyright (C) 2021 Gispo Ltd (https://www.gispo.fi/). | ||
# | ||
# | ||
# This file is part of Unfolded QGIS plugin. | ||
# This file is part of kepler QGIS plugin by Foursquare. | ||
# | ||
# Unfolded QGIS plugin is free software: you can redistribute it and/or modify | ||
# kepler QGIS plugin by Foursquare is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 2 of the License, or | ||
# (at your option) any later version. | ||
# | ||
# Unfolded QGIS plugin is distributed in the hope that it will be useful, | ||
# kepler QGIS plugin by Foursquare is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with Unfolded QGIS plugin. If not, see <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. | ||
# along with kepler QGIS plugin by Foursquare. If not, see <https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html>. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.