Giter VIP home page Giter VIP logo

orange3-geo's Introduction

Orange3-Geo

Discord Chat build: passing codecov

Orange add-on for dealing with geography and geo-location. It provides widgets for visualizing maps and regions, and encoding and decoding geographical data.

Installation

Install from Orange add-on installer through Options - Add-ons.

To install the add-on with pip use

pip install Orange3-Geo

To install the add-on from source, run

python setup.py install

To register this add-on with Orange, but keep the code in the development directory (do not copy it to Python's site-packages directory), run

python setup.py develop

You can also run

pip install -e .

which is sometimes preferable as you can pip uninstall packages later. You may also want to read CONTRIBUTING.md

Usage

After the installation the widgets from this add-on are registered with Orange. To run Orange from the terminal use

orange-canvas

or

python3 -m Orange.canvas

New widgets are in the toolbox bar under the Geo section.

orange3-geo's People

Contributors

ajdapretnar avatar ales-erjavec avatar andrejakovacic avatar anjamejac avatar astaric avatar jakakokosar avatar janezd avatar jerneju avatar kernc avatar larazupan avatar markotoplak avatar matejklemen avatar nejcdebevec avatar primozgodec avatar robertcv avatar rokgomiscek avatar vesnat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

orange3-geo's Issues

GeoMap: improve legend

Issue

Legend can get very big and is useless in parts.

Screen Shot 2019-04-12 at 12 35 37

Fixes
  • Remove Size from legend. The current implementation is useless and other solutions are only marginally better.
  • Limit the number of shape values to 5. 9 is too much. Also they should be the same as in core Orange. See biolab/orange3#3748.
  • Have better continuous legend. Either copy Scatter Plot ('discretize' colors) or have it them same as in Choropleth, which is really nice (allows you to define custom color steps).

Error during installation

Geo version
Orange version

3.4.4

Expected behavior

Install complete

Actual behavior

Error is shown

Additional info (worksheets, data, screenshots, ...)
Collecting Orange3-Geo
Using cached Orange3-Geo-0.1.8.tar.gz
Requirement already satisfied (use --upgrade to upgrade): Orange3 in c:\users\paniwatk\appdata\local\orange3\python34\lib\site-packages (from Orange3-Geo)
Requirement already satisfied (use --upgrade to upgrade): scikit-learn in c:\users\paniwatk\appdata\local\orange3\python34\lib\site-packages (from Orange3-Geo)
Requirement already satisfied (use --upgrade to upgrade): pandas in c:\users\paniwatk\appdata\local\orange3\python34\lib\site-packages (from Orange3-Geo)
Collecting scipy>=0.17 (from Orange3-Geo)
Using cached scipy-0.19.1.tar.gz
Collecting shapely (from Orange3-Geo)
Using cached Shapely-1.6.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\paniwatk\AppData\Local\Temp\pip-build-po9mwode\shapely\setup.py", line 80, in <module>
from shapely._buildcfg import geos_version_string, geos_version, \
File "C:\Users\paniwatk\AppData\Local\Temp\pip-build-po9mwode\shapely\shapely\_buildcfg.py", line 200, in <module>
lgeos = CDLL("geos_c.dll")
File "C:\Users\paniwatk\AppData\Local\Orange3\Python34\lib\ctypes\__init__.py", line 351, in __init__
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\paniwatk\AppData\Local\Temp\pip-build-po9mwode\shapely\
You are using pip version 8.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'python -m pip install --upgrade pip' command

Choropleth shows wrong values for Mode aggregation

Geo version

0.2.2

Orange version

3.8

Expected behavior

Choropleth should use the same colors each time a visualization is shown

Steps to reproduce the behavior
  1. Connect Illegal dump sites (from Datasets widget) to Choroplet.
  2. Visualize Mode of Acess type. For me the colors are red, green and orange
    screen shot 2018-01-31 at 09 13 01
  3. Select Mode (or Acess type) again. Colors change.
    screen shot 2018-01-31 at 09 13 35
Additional info (worksheets, data, screenshots, ...)

screen shot 2018-01-31 at 09 14 21

Geo Map: shorten drop downs

Geo version
Orange version
Expected behavior

Combo box drop-downs are nice and cute.

Actual behavior

Drop-downs are super big (at least on OSX).

Steps to reproduce the behavior

Plot HDI in Geo Map.

Additional info (worksheets, data, screenshots, ...)

Image speaks for itself.

Screen Shot 2019-04-12 at 13 48 12

GeoMap - Cannot fetch map from the internet

Geo version

0.2.5

Orange version

3.22

Expected behavior

When double click on GeoMap, the map is shown in the background

Actual behavior

Map does not appear and there is a warning message in the bottom of the GeoMap window "Cannot fetch map from the internet. Displaying only cached parts"

Steps to reproduce the behavior

When dropping the GeoMap widget on the workspace, there is a warning sign in the top of the widget icon. Then, by double-clicking it, there is a warning message and no map displayed.

Additional info (worksheets, data, screenshots, ...)

image

Choropleth Map: selected location shows wrong country

Geo version

Last version: ~0.1.8

Orange version

3.9dev

Expected behavior

Coordinates should point to the correct country.

Actual behavior

Neighboring country is selected.

Steps to reproduce the behavior

Illegal waste dumpsites in Slovenia (2017) is loaded in Data Sets widget and then point near the border is selected.

Additional info (worksheets, data, screenshots, ...)

screenshot_20171222_102142

Add-on slows down opening of Orange

After the add-on is installed, Orange takes significantly longer to load.

Time intensive jobs should not be executed when the module is loaded. If possible, they should execute asynchronously or when needed.

Custom tooltip

In Power BI there is an option to customize Tooltip, where it accepts a list of fields. Similar functionality in Orange3-geo will make it feel complete.
image

OWGeoMap: TimeoutError

Geo version

0.2.3

Orange version

3.21.0

Expected behavior

No crash

Actual behavior

Geo map crashes with TimeoutError when passed a big dataset as input.

Steps to reproduce the behavior

Datasets (Traffic accidents - persons) -> GeoMap -> crash

Additional info (worksheets, data, screenshots, ...)

Points in Geo Map sometimes dissapear

Geo version

0.2.3

Expected behavior

Upon any change of the input data, Geo Map should display the points according to their latitude and longitude.

Actual behavior

Sometimes, upon some change of the input, the points are not rendered and the Geo Map is empty. Points appear again under moving the map slightly with the mouse, probably through triggering a refresh.

Steps to reproduce the behavior

Use illegal waste dumps data from Datasets, down-sample to about 1000 data instances (for speed), construct t-SNE and then shift-select some groups of data points from t-SNE. Geo Map would show the data until the third group is selected, at which point the data instances would disappear from the map.

Screen Shot 2019-03-15 at 13 21 15

Error on Canvas close

Traceback (most recent call last):
  File "/Users/anze/miniconda3/envs/o3/lib/python3.6/site-packages/orangecontrib/geo/widgets/owchoropleth.py", line 228, in __del__
    self.progressBarFinished(None)
  File "/Users/anze/dev/orange3/Orange/widgets/utils/progressbar.py", line 133, in progressBarFinished
    self.setWindowTitle(self.captionTitle)
RuntimeError: wrapped C/C++ object of type OWChoropleth has been deleted

Choropleth: color by mode

Geo version

0.1.8

Orange version

3.5.dev

Expected behavior

Choropleth colors regions by mode (majority value for categorical, shade corresponding to ratio to all).
Or subselection of a value and color by sum of the value.

Actual behavior

Choropleth crashes on selection of discrete variable in Attribute.

Steps to reproduce the behavior

Data sets (illegal-waste) - Choropleth. Select any discrete variable as Attribute (e.g. Access type).

Additional info (worksheets, data, screenshots, ...)

geocoding fuction of geo widget stucked at 50%

sir/mam geocoding widget is not working when i am entering lattitude and longitude file it stucks at 50%. please provide a youtube video for it. which projection of lattitude /longitude we should take.

Qt version string parsing fails on Qt >= 5.10

Geo version

master and 0.2.1

Orange version

3.8

Expected behavior

Map widget will be loaded on Qt >= 5.10

Actual behavior

When starting Orange3 with Orange3-geo using log-level 4 on a installation with Qt >= 5.10 it fails to load the module with:

Error while importing 'Orange.widgets.visualize.owmap'.
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/Orange/canvas/registry/discovery.py", line 261, in iter_widget_descriptions
    module = asmodule(name)
  File "/usr/lib/python3.6/site-packages/Orange/canvas/registry/discovery.py", line 493, in asmodule
    return __import__(module, fromlist=[""])
  File "/usr/lib/python3.6/site-packages/Orange/widgets/visualize/owmap.py", line 26, in <module>
    raise RuntimeError('Map widget only works with Qt 5.3+')
RuntimeError: Map widget only works with Qt 5.3+
Steps to reproduce the behavior

Start Orange3 with Qt 5.10 or higher.

Additional info (worksheets, data, screenshots, ...)

In file ./orangecontrib/geo/widgets/owmap.py there is a comparison error with the version string:

if QT_VERSION_STR <= '5.3':
raise RuntimeError('Map widget only works with Qt 5.3+')

Acutally my QT_VERSION_STR is "5.10.0", so this fails. After commenting this block out, the map starts to work again.

Geo won't install

Geo version

Using cached Orange3-Geo-0.1.8.tar.gz

Orange version

3.5.0
git revision a75eb36

Expected behavior

installed add in

Actual behavior

error below

Steps to reproduce the behavior
Additional info (worksheets, data, screenshots, ...)

Windows 10

setuptools have been upgrade, machine restarted but the problem still persists

Collecting Orange3-Geo
Using cached Orange3-Geo-0.1.8.tar.gz
Requirement already satisfied: Orange3 in c:\users\username\appdata\local\continuum\anaconda3\lib\site-packages (from Orange3-Geo)
Requirement already satisfied: scikit-learn in c:\users\username\appdata\local\continuum\anaconda3\lib\site-packages (from Orange3-Geo)
Requirement already satisfied: pandas in c:\users\username\appdata\local\continuum\anaconda3\lib\site-packages (from Orange3-Geo)
Requirement already satisfied: scipy>=0.17 in c:\users\username\appdata\local\continuum\anaconda3\lib\site-packages (from Orange3-Geo)
Collecting shapely (from Orange3-Geo)
Using cached Shapely-1.6.1.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in 
File "C:\Users\username\AppData\Local\Temp\1\pip-build-7uepv9kq\shapely\setup.py", line 80, in 
from shapely.buildcfg import geos_version_string, geos_version, 
File "C:\Users\username\AppData\Local\Temp\1\pip-build-7uepv9kq\shapely\shapely_buildcfg.py", line 200, in 
lgeos = CDLL("geos_c.dll")
File "c:\users\username\appdata\local\continuum\anaconda3\lib\ctypes_init.py", line 344, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\username\AppData\Local\Temp\1\pip-build-7uepv9kq\shapely\

Geo Map: Topographic 2 requires API key

Geo version

0.2.3

Orange version

3.16.dev

Issue

Choice of Topographic 2 map requires API key.

Steps to reproduce the behavior

File - Geo Map. Select Topographic 2.

Additional info (worksheets, data, screenshots, ...)

screen shot 2018-09-04 at 15 04 08

No documentation

Geo version

4693633c4c2c2a8aca723e980b15889ff72220d8 (current)

Orange version

~3.8

Expected behavior

Documentation should be shown.

Actual behavior

No documentation despite the fact that documentation file is in a repository.

Steps to reproduce the behavior

Open widget windows and press F1.

Additional info (worksheets, data, screenshots, ...)

screenshot_20171208_094428

GeoMap: crash on mismatching settings

Issue

Geo Map crashes Orange.

Error calling 'set_data' of 'Geo Map'
Traceback (most recent call last):
  File "/Users/ajda/orange/orange3/Orange/canvas/scheme/widgetsscheme.py", line 1072, in process_signals_for_widget
    handler(*args)
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 833, in set_data
    self.map.set_data(self.data, self.lat_attr, self.lon_attr)
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 141, in set_data
    self.redraw_markers_overlay_image(new_image=True)
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 475, in redraw_markers_overlay_image
    self._update_js_markers(visible, in_subset[visible])
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 391, in _update_js_markers
    for rgb in self._colorgen.getRGB(self._scaled_color_values[visible])]
IndexError: index 5 is out of bounds for axis 0 with size 1
---------------------------- IndexError Exception -----------------------------
Traceback (most recent call last):
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 51, in redraw_markers_overlay_image
    return self.redraw_markers_overlay_image(*args)
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 475, in redraw_markers_overlay_image
    self._update_js_markers(visible, in_subset[visible])
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owmap.py", line 391, in _update_js_markers
    for rgb in self._colorgen.getRGB(self._scaled_color_values[visible])]
IndexError: index 14 is out of bounds for axis 0 with size 1
-------------------------------------------------------------------------------
Steps to reproduce

File (any with lat/lon) - Geo Map. Set a couple of things, color, size, shape. I was using HDI, with shape set to Child labour, where there are many values. Legend was set.
Then I inserted Data Table between File and Geo Map and selected a couple of instances from the table. Geo Map reports the first error.
Then I open GeoMap and try to re-plot the points by pressing Center map. This crashes Orange.

Geocoding: concatenation error

Geo version

latest

Orange version

3.23.0

Expected behavior

Geocoding works.

Actual behavior

Geocoding crashes.

Steps to reproduce the behavior

Datasets (Cyber Security Breaches) - Geocoding. Set the Region Identifier to US State.

Additional info (worksheets, data, screenshots, ...)
Traceback (most recent call last):
  File "/Users/ajda/orange/orange-widget-base/orangewidget/gui.py", line 1737, in __call__
    self.func(**kwds)
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owgeocoding.py", line 216, in region_attr_changed
    self.commit()
  File "/Users/ajda/orange/orange-widget-base/orangewidget/gui.py", line 1524, in unconditional_commit
    do_commit()
  File "/Users/ajda/orange/orange-widget-base/orangewidget/gui.py", line 1532, in do_commit
    commit()
  File "/Users/ajda/orange/orange3-geo/orangecontrib/geo/widgets/owgeocoding.py", line 223, in commit
    output = self.data.concatenate((self.data, output))
  File "/Users/ajda/orange/orange3/Orange/data/table.py", line 853, in concatenate
    raise ValueError('concatenated tables must have the same domain')
ValueError: concatenated tables must have the same domain

Geo Map widget does not show map

Geo version

0.2.2

Orange version

3.9.1

Expected behavior

Show a map when the widget, connected to a data source, is clicked on.

Actual behavior

Shows the control panel only (select Map, Latitude, Longitude, etc.) but without the map.

Steps to reproduce the behavior

Install Orange via pip, install add-on through the menu in canvas.
Pick any dataset, for instance Traffic Accidents - Events, connect to Geo Map.

Additional info (worksheets, data, screenshots, ...)

screen shot 2018-02-04 at 20 37 37

GeoCoding: Match countries only on the output

Geo version

0.2.3

Orange version

3.14.0

Expected behavior

When setting identifiers in the Unmatched Identifiers section, identifiers are always the same as input data.

Actual behavior

When pressing commit, identifiers change internally. So if one makes a typo, the typo-ed version is now used as Unmatched identifier. This causes a mass of confusion.

Steps to reproduce the behavior

Use any geo data (e.g. HDI from Datasets). Set one of the Unmatched identifiers to X and press Commit. Now X is in Unmatched identifiers.

Additional info (worksheets, data, screenshots, ...)

screen shot 2018-07-02 at 14 52 26

Choropleth: Remove unused colors from legend

Geo version

master

Expected behavior

When I visualize a discrete attribute and select mode, only displayed values should be present in the legend

Actual behavior

All possible values are present in legeng.

Steps to reproduce the behavior

Open selected workflow. Legend on Choropleth should contain only colors shown on the visualisation.

Additional info (worksheets, data, screenshots, ...)

Workflow.zip

GeoCoding: suggested identifiers not found

Geo version

0.2.3

Orange version

3.14.0

Expected behavior

GeoCoding can suggest appropriate alternatives to country names and takes them into consideration.

Actual behavior

When encoding North and South Korea, corresponding latitudes and longitudes are not found.

Steps to reproduce the behavior

Use HDI.txt (rename to .csv). Send to GeoCoding. Rename Korea (Democratic Republic of) to the suggested Dem. Rep. Korea. Latitude and longitude still not added.

Additional info (worksheets, data, screenshots, ...)

HDI.txt

screen shot 2018-07-02 at 14 48 51

geocoding: Override/Fix matching

Geo version

master

Expected behavior

When matching fails because values in dataset do not match those in the "database", there is no match. Widget should allow me "match" those values by hand

Proposal

After encoding the data, the widget should display a table with values that could not be matches. The table would contain two columns, first column with values from the dataset, the second column a dropdown with all possible regions/countries/... Matchings made there should be used the next time apply is pressed.

Geocoding: loading identifier stuck

Geo version

0.2.3

Orange version

3.22.0

Expected behavior

Able to load identifier, similar to link attached:
https://blog.biolab.si/2017/10/13/diving-into-car-registration-data/

Actual behavior

the geocoding process stop at 25% thus returning error.

Steps to reproduce the behavior
  1. Load car.ows from: https://www.dropbox.com/s/p00wpnbmygajgoc/cars.ows?dl=0
  2. Load file from: https://www.dropbox.com/s/rb4gx2856f34i47/OsebnaVozila.tab?dl=0
  3. Set the pipeline as recomended on: https://blog.biolab.si/2017/10/13/diving-into-car-registration-data/
Additional info (worksheets, data, screenshots, ...)

Capture

Windows 7 installation

Orange version

current on Windows 7

Expected behavior

Add-on should install via Options/Add-ons.

Actual behavior

Collecting Orange3-Geo
Downloading Orange3-Geo-0.1.8.tar.gz (14.2MB)
….
Collecting shapely (from Orange3-Geo)
Using cached Shapely-1.5.17.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\user\AppData\Local\Temp\pip-build-k4iz1ise\shapely\setup.py", line 38, in
from shapely.buildcfg import geos_version_string, geos_version,
File "C:\Users\user\AppData\Local\Temp\pip-build-k4iz1ise\shapely\shapely_buildcfg.py", line 200, in
lgeos = CDLL("geos.dll")
File "C:\Python34\lib\ctypes_init
.py", line 351, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found

GeoCoding: change default to Encode

Geo version

0.2.3

Orange version

3.14.0

Expected behavior

GeoCoding encodes region names to coordinates on the fly.

Actual behavior

Default is decoding, which I think is not what most users want.

Suggestion

Change default to Encode. Search for string variables with names such as 'Country', 'State', 'Geo'... I am not sure about the heuristic. Should be similar to lat/lon detection. Alternatively, if no such variable is found, go with the first string variable. If no string variable found, go with the current default.

Choropleth & Geo Map: cannot find new lat/lon

Geo version

0.2.3

Orange version

3.15.dev

Expected behavior

One Geocoding is performed, Choropleth and Geo Map find latitude and longitude attributes.

Actual behavior

Lat/lon attributes are not always found.

Steps to reproduce the behavior

First connect Choropleth and Geo Map directly to data. The first continuous variable will be used. Then use Geocoding and encode the data to get lat/lon. Connect to Choropleth and Geo Map. Both still display the first continuous attribute.

Additional info (worksheets, data, screenshots, ...)

Use HDI data from Data sets and encode by Country.

Geo Map: visualization moves around

Expected behavior

Visualization is fixed for every instance where re-plotting is not necessary.

Actual behavior

Visualization is re-plotted every time the user moves the map. Even if for a few millimeters (no new points appear).

Potential issue

Sometimes you optimize by not showing all the points on the map. Then the map needs to be re-plotted.

Orange3 crashed when grag geomap

Geo version:0.2.3
Orange version:3.22
Expected behavior: use geomap
Actual behavior

crashed and orange3 quit automatically

Steps to reproduce the behavior
Additional info (worksheets, data, screenshots, ...)
Error while importing 'orangecontrib.text.widgets.ownyt'. The widget will not be shown.
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/orangecontrib/text/widgets/ownyt.py", line 16, in <module>
    from orangewidget import gui
ModuleNotFoundError: No module named 'orangewidget'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/Orange/canvas/registry/discovery.py", line 257, in iter_widget_descriptions
    module = asmodule(name)
  File "/usr/local/lib/python3.6/dist-packages/Orange/canvas/registry/discovery.py", line 484, in asmodule
    return __import__(module, fromlist=[""])
  File "/usr/local/lib/python3.6/dist-packages/orangecontrib/text/widgets/ownyt.py", line 18, in <module>
    from Orange.canvas.widgets.widget import gui
ModuleNotFoundError: No module named 'Orange.canvas.widgets'
libpng warning: iCCP: known incorrect sRGB profile
/usr/local/lib/python3.6/dist-packages/Orange/widgets/utils/webview.py:97: UserWarning: To debug QWebEngineView, set environment variable QTWEBENGINE_REMOTE_DEBUGGING=12088 and then visit http://127.0.0.1:12088/ in a Chromium-based browser. See https://doc.qt.io/qt-5/qtwebengine-debugging.html This has also been done for you.
  'This has also been done for you.'.format(port=port))
[10611:10611:0706/142512.667143:ERROR:zygote_host_impl_linux.cc(89)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.

Geo add-on: no datasets

Geo version

current and probably all versions

Orange version

...

Expected behavior

Maybe add-on should have some datasets with geo information included.

However I know that at least one dataset with geo data can be obtained via Data Sets widget in Core (Illegal waste dumpsites in Slovenia (2017)).

Actual behavior

No datasets.

Steps to reproduce the behavior

Check Geo add-on's folders.

Additional info (worksheets, data, screenshots, ...)

Geo Map: align combo boxes and sliders

Align combo boxes and sliders to be the same length. Map and Size should be longer. Also sliders for Jittering, Opacity, etc. should all be the same length. See Scatter Plot for comparison.

Screen Shot 2019-04-12 at 13 51 46

Geo Map: implement message regarding the selection of points

Geo version

0.2.3

Orange version

3.20

Expected behavior

Geo Map provide information on how to select a subset of points.

Actual behavior

No information provided.

Steps to reproduce the behavior
Additional info (worksheets, data, screenshots, ...)

We used to have messages upon opening widgets (for the first time, I suppose) that informed the user about selection. Where did they go?

Choropleth: if color by discrete, set aggregation to mode

Geo version

0.2.3.

Orange version

3.15.dev

Expected behavior

Orange shows appropriate colors for discrete.

Actual behavior

The default would stay at Count, which would show nothing on HDI data (all blue).

Idea

If the color attribute is discrete, hide all that don't apply (mean, median, etc) and shift the default to mode.

Additional info (worksheets, data, screenshots, ...)

Use HDI data set from Data sets and perform clustering.

geocoding: Need robust matching of names

Expected behavior

Kočevje is recognised as a region

Actual behavior

It is not (though Kocevje is)

I will prepare a PR to update the JSON files to include slovenian character in slovenian region (municipality) names, but in the long run, it would be nice to be able to perform some kind of "fuzzy" matching

Geo Map: color issue

Geo version

current (>0.2.1)

Orange version

current (>3.8)

Expected behavior

Widget can handle numeric variable colors which pass through black.

Actual behavior

Widget crashes.

File "orangecontrib/geo/widgets/owmap.py", line 240, in set_marker_color
if not np.isnan(min) else [])
File "orangecontrib/geo/widgets/owmap.py", line 239, in
[color_to_hex(i) for i in variable.colors if i]]
File "Orange/util.py", line 158, in color_to_hex
return "#{:02X}{:02X}{:02X}".format(*color)

Steps to reproduce the behavior

See the workflow below. Notice that numeric color's property Pass through black is selected.

Geo Map can show proper colors on a map but not in a legend.

Additional info (worksheets, data, screenshots, ...)

screenshot_20171212_094901

screenshot_20171212_095023

OWGeoMap: Latitude and Longitude features issue

Geo version

0.2.3

Orange version

3.21.0

Expected behavior

No crash

Actual behavior

The widget crashes when lat and lon variables are removed from input data.

Steps to reproduce the behavior

Datasets (Illegal waste dumpsites in Slovenia) -> Select columns -> Geo Map
In Select columns widget move Latitude and Longitude to Available Variables.

Additional info (worksheets, data, screenshots, ...)

Cannot install this add on

Geo version

0.2.4.post1

Orange version

3.23.1

Expected behavior

installs the geo add on

Actual behavior

error message

An error occured while running a subprocess
Comand failed: python python-m pip install --constraint (location of file) exited with non zero status

Steps to reproduce the behavior
Additional info (worksheets, data, screenshots, ...)

GeoMap: plot nans as gray

Geo version

0.2.3

Orange version

3.23.dev

Expected behavior

When using color in GeoMap, if the data point does not have a value for color, it is colored gray.

Actual behavior

For missing discrete values, GeoMap assigns the majority (or last) colour to the missing point.

Steps to reproduce the behavior

Final point should be gray. It is blue.

lon lat cls
13.8702458314692 45.5157143495946 blue
14.2827006569709 46.3361569621774 blue
14.5618722896744 45.9940297351865 red
13.9242429453275 46.2966524664663 blue
13.6125593405668 45.4960877667921 red
13.7610002413114 45.5461231622814 blue
13.6445001070469 45.5258150652623  
Additional info (worksheets, data, screenshots, ...)

Installation issues; GeoCoding widget stuck at 50%

sir, i am installing geo widget in orange-3.4 but following packages needs to be installed externally then it was installed.

shutilwhich-1.1.0 python file

geos-0.2.1-py3-none-any.whl

pandas-0.17.1-cp34-none-win32.whl

Shapely-1.4.0-cp34-none-win32.whl

but after installation when i am loading any lat/long file in of polygons in geocoding function of geo widget. it stucks at 50% and orange crashes.
please provide an youtube video to resolv this issue of loading files in geocoding function

Choropleth: TimeoutError

Geo version

latest

Orange version

3.23.0

Expected behavior

No error.

Actual behavior

Timeout Error probably in Choropleth.

Steps to reproduce the behavior

No idea how.

Additional info (worksheets, data, screenshots, ...)

This happened at the course. A student's internet connection shut down for a while. We were using Choropleth and Geocoding. The error continually appeared on the screen and it was impossible to get rid of it. Re-connecting to the internet didn't help.
Writing it down for reference.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.