[Arches] Arches 5.1.0 released

2020-10-27 Thread Cyrus Hiatt
The Arches team is happy to announce the 5.1.0 release which includes a 
number of important new features and bug fixes:

Here some of the release highlights:

   - Bidirectional support for the resource relationship datatype. Resource 
   relationships saved to a tile are now represented in the search page's 
   related resources interface.
   - Users are now able to restrict access of an instance to specific users 
   and groups.
   - The date datatype, widget, and advanced search now support time.
   - Tile edits and deletion made on the web are now synced with instances 
   in a collector project.
   - Arches now provides an annotation datatype and interface allowing 
   users to annotate imagery from a IIIF service.
   - Improved management of front-end dependencies so that Arches upgrades 
   are less likely to impact project customizations.
   - Improved support for localization. Administrators can now configure 
   their Arches interface to switch between different languages.
   - You can find the detailed release notes here: 5.1.0 release notes 
   

Users are encouraged to update at their earliest convenience. If you are 
upgrading from Arches 4, be sure to follow the project upgrade instructions 
to 5.0 before proceeding.

As always the documentation can be found at 

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/d5a7ba63-0f15-4416-a935-cce860e0af63n%40googlegroups.com.


[Arches] Re: New map layers hover click and customizing popup

2020-10-27 Thread Gabriel Contreras
Hello,

Still I couldn't get any result importing postgis layer directly form the 
database with hover or click functionality, I have tried with the river 
example. I have checked all the steps and also the errors but I would 
apreaciate if someone can point in some direction.

Those are the error I got when I run python manage.py packages -o 
add_mapbox_layer -j  'poly_testing.json' -n 'test' or for the sample of 
river python manage.py packages -o add_mapbox_layer -j  'rivers.json' -n 
'river' instead of add_tile_server. 

No module named 'arches.settings_local'
Error attempting to load settings from relative '.settings_local'. 
Attempting 'arches.settings_local' import
Error attempting to load settings from 'arches.settings_local.py'.
No module named 'arches.settings_local'
operation: add_mapbox_layer
Traceback (most recent call last):
  File "manage.py", line 30, in 
execute_from_command_line(sys.argv)
  File 
"/home/gabriel-ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 381, in execute_from_command_line
utility.execute()
  File 
"/home/gabriel-ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/gabriel-ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/base.py",
 
line 323, in run_from_argv
self.execute(*args, **cmd_options)
  File 
"/home/gabriel-ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/base.py",
 
line 364, in execute
output = self.handle(*args, **options)
  File 
"/home/gabriel-ubuntu/arches/arches/management/commands/packages.py", line 
282, in handle
self.add_mapbox_layer(
  File 
"/home/gabriel-ubuntu/arches/arches/management/commands/packages.py", line 
1152, in add_mapbox_layer
for source_name, source_dict in data["sources"].items():
KeyError: 'sources'

Thanks in advance


On Thursday, 22 October 2020 at 12:42:27 UTC+1 Gabriel Contreras wrote:

> Hello,
>
> I am adding some layers to my arches project, I have added some samples 
> using geoserver using postgis as WMS services.
> I would like to have the same layer but having the capability of popup 
> information from each feature. 
>
> I have tried to add it by using the example and adding it following this 
> instructions in arches documentation 
> , but I 
> am missing something and is not working, I have tried with the samples 
> provided in arches-4-example 
> 
>  for 
> vector examples, but still something I am missing.
>
> I run the SQL query for the table poly_testing and to add the source I 
> have tried both way, adding directly the source to django administration 
> and the layer ()
>
> [image: Screenshot from 2020-10-22 12-33-52.png]
>
> [image: Screenshot from 2020-10-22 12-33-34.png]
>
>
>
> And also running the scrypt from the same folder where the 
> poly_testing.json and meta.json are located :
>
> python  manage.py packages -o add_mapbox_layer -j  poly_testing.json -n 
> "poly_testing"
>
> NExt step I will try is to customize map popup. 
>
>
> Than you very much in advance. 
>
> Best
>

-- 
-- To post, send email to archesproject@googlegroups.com. To unsubscribe, send 
email to archesproject+unsubscr...@googlegroups.com. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to archesproject+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/867232c5-3f16-4f62-95a2-31aa65907aabn%40googlegroups.com.