[Arches] Re: Signing in

2017-08-15 Thread David Osborne
Hello all

I'm fairly new to Arches, as I've joined a small project team to set up an 
Arches installation for Jersey Heritage (Jersey is the largest of the 
Channel Islands, near the northern coast of France). My career has been in 
IT and for some time now, I've worked for Information Services in the 
University of Nottingham, so on our Arches project, I'm the technical nerd! 
I'm happiest with Linux, MacOS and open-source software, so I'm finding 
Arches fun to work with. However, my academic background is in archaeology 
and I will be going part-time from the end of September to start a PhD here 
at Nottingham, looking at diet and mobility of animals and people in 
prehistoric Lincolnshire (from the Neolithic to the Iron Age). With Lincoln 
being fairly close, the "disco_data" example data for Arches includes 
several sites I know.

As I write this from my office desk, sunshine is streaming through the 
windows and outside, I can see a landscaped garden area between two blocks 
of our buildings. No heritage to speak of, although our King's Meadow 
Campus where I'm based used to be the old Carlton TV studios, so that's 
some sort of late 20C heritage of a sort.

regards
David

On Thursday, 22 August 2013 16:29:37 UTC+1, Edmund Lee wrote:
>
> Hello all, ... and welcome in particular to those who have joined the 
> Arches Discussion Forum recently.
>
> This online group was initially set up for the project team, and has just 
> recently been opened up as the public, so some of us haven't met before. 
> How about we all share a bit of background, just like we would if we were 
> meeting in the real world? If that sounds good to you, reply to this thread 
> and share with the group some or all of the following:
>
>- what is your interest in Arches?
>
>
>- where in the world are you working?
>
> and, just to make it a bit more fun,
>
>- what can you see out of the window? Is there any heritage in your 
>view?
>
> I look forward to getting to know everyone a bit better!
>
>
> Ed
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] linking with bibliographic database

2017-08-16 Thread David Osborne
Hi Alison

Are you aware of refbase ? Essentially, it's a 
shared bibliographic reference manager (open source, of course). If you 
could link with that, or incorporate it into what you plan to build in 
Arches, that may go some way to satisfying many requirements. There's a 
public implementation at http://www.refbase.org/

regards
David

On Tuesday, 4 July 2017 18:17:40 UTC+1, Alison Dalgity wrote:
>
> Hi Seta.
>
>
> To answer your question and to add a little to what Rob mentioned 
> below. You can already record what you refer to as basic bibliographic data 
> in Arches, and relate those references to archeological sites, for example. 
> And different languages should not be a problem.
>
>
> As Rob mentioned, we have started the preliminary work to build a 
> bibliographic module for Arches, which will likely not be completed for 
> another 18-months or so. It will initially be used to manage and publish 
> the abstracting and indexing data produced by AATA Online (aata.getty.edu). 
> To be clear, though, it is not being built, initially at least, with a view 
> towards *producing* *publications*, so your requirement for "different 
> automatic citation style options," for example, may not be included. 
> Something like that, however, could certainly be added by someone in the 
> community once the ground development work is done.
>
>
> Best for now,
>
> Alison
>
> On Tuesday, July 4, 2017 at 1:20:19 AM UTC-7, Seta S wrote:
>>
>> Dear Rob,
>>
>> thanks for your answer! I have to say, I do not have much insight on what 
>> is all possible in Arches, because we have not used it so far. However, our 
>> bibliography is partly what you might call basic, but many of them are also 
>> rather specific (and not in English), so I don´t know how interesting it 
>> would be for AATA? 
>>
>> What we really need is a bibliographic database for our project (with 
>> everything that comes with such a database - tagging with keywords, Word 
>> extension and different automatic citation style options..), because we 
>> would like to use it also when we are writing publications. The second 
>> thing we will need is an archaeological site database for which we would 
>> like to use Arches. However, also this site database should include some 
>> bibliographic references. Therefore, the idea was to bring this two 
>> together, and my question is, how we could best do this? Or can we do all 
>> of the above directly with Arches?
>>
>> Thank you again!
>> Best,
>> Seta   
>>
>> On Friday, June 30, 2017 at 9:39:30 PM UTC+2, Robert Sanderson wrote:
>>>
>>>
>>> Dear Seta,
>>>
>>> At the Getty, we are starting work on the use of Arches as a platform 
>>> for managing at least basic bibliographic descriptions in order to update 
>>> and integrate the AATA online database[1].  As you can see, it definitely 
>>> needs that update!  
>>>
>>> Is there a particular reason why you wouldn't just describe the 
>>> bibliographic references in Arches itself?
>>>
>>> Thanks!
>>>
>>> Rob
>>>
>>> [1] http://aata.getty.edu/Home
>>>
>>>
>>>
>>>
>>> On Thu, Jun 29, 2017 at 6:19 AM, Seta S  wrote:
>>>
 Hi everyone!

 We are thinking of using Arches for our database of archaeological 
 sites and areas. One of the database fields would also contain 
 bibliographic references. To avoid using plain text as the field type, is 
 there a way of linking an online bibliographic database system (such as 
 Zotero or Mendeley) with an Arches-based database? If so, which system 
 would be best to use for such linking?

 Thanks! 

 -- 
 -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
 send email to archesprojec...@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 archesprojec...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>
>>>
>>> -- 
>>> Rob Sanderson
>>> Semantic Architect
>>> The Getty Trust
>>> Los Angeles, CA 90049
>>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Signing in

2017-08-20 Thread David Osborne
Hi Ed

Thanks for the welcome! We're at an early stage with our project at the 
moment, so haven't yet met with any issues but I'm sure I'll raise them 
here if/when they arise. So far, we've been setting up Arches 4.0 on a 
MacBook under MacOS (Sierra 10.12.6) using the Lincoln data for 
demonstration to interested parties, which I've repeated on my own MacBook 
as well as in Ubuntu 16.04 running in VMware Fusion. I'll be setting up the 
production system in a cloud service using Linux.

I'm starting to consider Arches for my PhD data. I'm planning to set up a 
database of isotope data and fortunately, Postgres is my preferred 
software. I'll also be incorporating GIS and R for statistical analysis, so 
Arches would tick at least some of those boxes.

regards
David

On Thursday, 17 August 2017 12:24:22 UTC+1, Edmund Lee wrote:
>
> Hi David, and welcome to the Arches community!
>
> It's good to hear that Arches is being adopted at Jersey Heritage. Maybe 
> you could post a bit more about the particular issues arising with that 
> installation? I'm sure your experience will be useful to other Arches sites.
>
> The PhD sounds fascinating. Do you see a potential use for Arches in 
> documenting your research? Animal husbandry sites? Collection 
> documentation? Prehistoric transhumance routeways?
>
> All the best
>
> Ed
>
> On Tuesday, August 15, 2017 at 5:21:51 PM UTC+1, David Osborne wrote:
>
>> Hello all
>>
>> I'm fairly new to Arches, as I've joined a small project team to set up 
>> an Arches installation for Jersey Heritage (Jersey is the largest of the 
>> Channel Islands, near the northern coast of France). My career has been in 
>> IT and for some time now, I've worked for Information Services in the 
>> University of Nottingham, so on our Arches project, I'm the technical nerd! 
>> I'm happiest with Linux, MacOS and open-source software, so I'm finding 
>> Arches fun to work with. However, my academic background is in archaeology 
>> and I will be going part-time from the end of September to start a PhD here 
>> at Nottingham, looking at diet and mobility of animals and people in 
>> prehistoric Lincolnshire (from the Neolithic to the Iron Age). With Lincoln 
>> being fairly close, the "disco_data" example data for Arches includes 
>> several sites I know.
>>
>> As I write this from my office desk, sunshine is streaming through the 
>> windows and outside, I can see a landscaped garden area between two blocks 
>> of our buildings. No heritage to speak of, although our King's Meadow 
>> Campus where I'm based used to be the old Carlton TV studios, so that's 
>> some sort of late 20C heritage.
>>
>> regards
>> David
>>
>> On Thursday, 22 August 2013 16:29:37 UTC+1, Edmund Lee wrote:
>>>
>>> Hello all, ... and welcome in particular to those who have joined the 
>>> Arches Discussion Forum recently.
>>>
>>> This online group was initially set up for the project team, and has 
>>> just recently been opened up as the public, so some of us haven't met 
>>> before. How about we all share a bit of background, just like we would if 
>>> we were meeting in the real world? If that sounds good to you, reply to 
>>> this thread and share with the group some or all of the following:
>>>
>>>- what is your interest in Arches?
>>>
>>>
>>>- where in the world are you working?
>>>
>>> and, just to make it a bit more fun,
>>>
>>>- what can you see out of the window? Is there any heritage in your 
>>>view?
>>>
>>> I look forward to getting to know everyone a bit better!
>>>
>>>
>>> Ed
>>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Choosing a cloud service for Arches

2017-08-20 Thread David Osborne
Does anyone using a cloud implementation of Arches have recommendations for 
choosing a provider? For our project, I'm considering Amazon AWS, Google's 
Cloud Platform and Microsoft Azure. This is a new installation, so there 
are no legacy systems to be considered. In the past, I've read about AWS 
but I don't yet know very much about Google's offering. At the university 
where I work, we're starting to deploy some new services in Azure, so I've 
had a little more exposure to that and it does seem to offer some useful 
services, with PostgreSQL as a supported database, for example. However, my 
work on Arches is not related to the university.

How do the costs compare for the three providers? Similarly, how are they 
for support? I'll be grateful for any comments.

Thanks
David


-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Choosing a cloud service for Arches

2017-08-24 Thread David Osborne
Thanks, Adam. That looks like a +1 for AWS and I appreciate your comments 
about Amazon's support and documentation.

regards
David

On Monday, 21 August 2017 21:09:59 UTC+1, Adam Cox wrote:
>
> Hi David, I do all of my hosting on AWS because it is extremely flexible, 
> and the price is right. I don't have experience with Google Cloud Engine or 
> Azure... I would imagine that both of those services have everything you 
> need to get set up with Arches, but from Joel's comment it sounds like 
> Azure is more expensive than AWS. As for support, I have had a few issues 
> that were all quickly and easily resolved by opening support cases, and I 
> have also found their documentation to be very thorough. There is a 
> learning curve, but I highly recommend AWS. I don't know about GCE's "free 
> forever" tier, but AWS has its own "free tier" that includes the services 
> you would need for Arches, though it only lasts one year, just so you 
> know...
>
> If it's ever of interest to you, my company offers hosting for Arches v3 
> or v4, either in production or just to help you out with development (set 
> up a quick instance and give you access to it, etc.).
>
> Hope that info is all helpful! 
>
> Adam
>
> On Sunday, August 20, 2017 at 10:28:50 AM UTC-4, David Osborne wrote:
>>
>> Does anyone using a cloud implementation of Arches have recommendations 
>> for choosing a provider? For our project, I'm considering Amazon AWS, 
>> Google's Cloud Platform and Microsoft Azure. This is a new installation, so 
>> there are no legacy systems to be considered. In the past, I've read about 
>> AWS but I don't yet know very much about Google's offering. At the 
>> university where I work, we're starting to deploy some new services in 
>> Azure, so I've had a little more exposure to that and it does seem to offer 
>> some useful services, with PostgreSQL as a supported database, for example. 
>> However, my work on Arches is not related to the university.
>>
>> How do the costs compare for the three providers? Similarly, how are they 
>> for support? I'll be grateful for any comments.
>>
>> Thanks
>> David
>>
>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Choosing a cloud service for Arches

2017-08-24 Thread David Osborne
Thanks, Vincent: another +1 for AWS... I can see a trend emerging! Thanks 
for your comments about the Postgres service on AWS, that's useful to know.

regards
David

On Wednesday, 23 August 2017 15:23:48 UTC+1, Vincent Meijer wrote:
>
> Hi David,
>
> We at CVAST (University of South Florida) use AWS as well and had good 
> experiences with it so far. 
> There are people working for AWS that are dedicated to supporting 
> educational instances at no cost. I talk regularly with their account 
> manager and their solution architect. 
>
> AWS also provides PostgreSQL as a service. We use it and so far it saved 
> me a lot of work configuring and hosting my own Postgres instance. 
>
> Our Arches instances (not in production yet) run in Docker containers in 
> the AWS service called EC2 Container Service (ECS)
>
> Best,
> Vincent
>
>
> On Sunday, 20 August 2017 10:28:50 UTC-4, David Osborne wrote:
>>
>> Does anyone using a cloud implementation of Arches have recommendations 
>> for choosing a provider? For our project, I'm considering Amazon AWS, 
>> Google's Cloud Platform and Microsoft Azure. This is a new installation, so 
>> there are no legacy systems to be considered. In the past, I've read about 
>> AWS but I don't yet know very much about Google's offering. At the 
>> university where I work, we're starting to deploy some new services in 
>> Azure, so I've had a little more exposure to that and it does seem to offer 
>> some useful services, with PostgreSQL as a supported database, for example. 
>> However, my work on Arches is not related to the university.
>>
>> How do the costs compare for the three providers? Similarly, how are they 
>> for support? I'll be grateful for any comments.
>>
>> Thanks
>> David
>>
>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Choosing a cloud service for Arches

2017-08-24 Thread David Osborne
Thanks, Joel. It's interesting to have feedback from someone with 
experience of both AWS and Azure. I should have mentioned that we're on 
Arches v4 for our project.

regards
David

On Monday, 21 August 2017 15:17:50 UTC+1, Joel Aldor wrote:
>
> Hi David,
>
> We've run Arches both on AWS and Microsoft Azure, and they run pretty 
> smoothly on both. They will only differ on settings.py configuration during 
> installation. Also, AWS is cheaper than Azure on almost all aspects. 
> Haven't tried Google Cloud yet, but it does have a "forever free" pricing 
> tier with server and storage specs that will fit for Arches version 3. 
>
> Regards,
>
> Joel
>
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Problems installing disco_data on Ubuntu 16.04

2017-11-15 Thread David Osborne
I'm running through setting up Arches 4.0.1 on Ubuntu 16.04 on my MacBook 
under Vagrant, before setting up a server on AWS. I think I've got Arches 
and its pre-requisite packages installed correctly and I wanted to install 
the disco_data package as test data to verify that my Arches installation 
is correct. However, the load_data.sh script starts producing error 
messages just after the database migrations and more errors occur later. 
The first error claims that the "is_required" column doesn't exist in the 
nodes table, although connecting later via psql, I can see that the column 
is present. I've made several attempts to get disco_data installed but all 
with the same results, so I don't know where to look next to fix this.

Are there any standard test procedures to verify that Arches is correctly 
installed, other than using disco_data?

The result of running the load_data.sh script is 
at https://gist.github.com/daosborne/21997d901cd872fc5e3126c1197e5c9b, if 
anyone can suggest where the cause of my problem may lie.

Thanks,
David

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Problems installing disco_data on Ubuntu 16.04

2017-11-16 Thread David Osborne
Thanks, Ryan, that's very encouraging. I thought I'd used *git fetch* to 
update my clone of the repo but maybe starting afresh would be best. I'll 
let you know how I get on.

regards
David

On Wednesday, 15 November 2017 23:12:15 UTC, Ryan Anderson wrote:
>
> Hi David,
>
> From your log it looks like there are a few things going on here.
>
> 1.) You can ignore the first error about the “is_required” column not 
> existing, that’s just a small error in a database migration that is fixed 
> in a later migration.
>
> 2.) It looks like the graphs in your DISCO data are out of date. I can 
> tell from these errors: 
>
> "u"'E9_Move' is not a valid CIDOC CRM v6.2 ontology class””
>
> The graphs have been updated in newer versions of the DISCO repository.
>
> 3.) Because your graphs are out of date they are not being loaded which is 
> causing this error during business data load later:
>
> "ERROR: No resource model found. Please make sure the resource model this 
> business data is mapped to has been imported into Arches.”
>
> Potential Solution:
>
> We recently reorganized the DISCO package to bring it in line with the 
> project/package paradigm that Arches uses in deployment. You usually create 
> a project when installing arches for production and you can read more about 
> packages here: http://arches4.readthedocs.io/en/latest/create-package/
>
> If you pull the most recent DISCO package the load_data.sh script has been 
> removed, because you now load the DISCO package like you would any other 
> Arches package. That is (from within your project root dir with your 
> virtualenv activated): 
> python manage.py packages -o load_packages -d /Full/path/to/package
>
>
> Hope this helps.
>
> Regards,
> Ryan
>
> On Nov 15, 2017, at 2:48 PM, David Osborne <daosborne@gmail.com 
> > wrote:
>
> I'm running through setting up Arches 4.0.1 on Ubuntu 16.04 on my MacBook 
> under Vagrant, before setting up a server on AWS. I think I've got Arches 
> and its pre-requisite packages installed correctly and I wanted to install 
> the disco_data package as test data to verify that my Arches installation 
> is correct. However, the load_data.sh script starts producing error 
> messages just after the database migrations and more errors occur later. 
> The first error claims that the "is_required" column doesn't exist in the 
> nodes table, although connecting later via psql, I can see that the column 
> is present. I've made several attempts to get disco_data installed but all 
> with the same results, so I don't know where to look next to fix this.
>
> Are there any standard test procedures to verify that Arches is correctly 
> installed, other than using disco_data?
>
> The result of running the load_data.sh script is at 
> https://gist.github.com/daosborne/21997d901cd872fc5e3126c1197e5c9b, if 
> anyone can suggest where the cause of my problem may lie.
>
> Thanks,
> David
>
> -- 
> -- To post, send email to arches...@googlegroups.com . To 
> unsubscribe, send email to archesprojec...@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 archesprojec...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Problems installing disco_data on Ubuntu 16.04

2017-11-18 Thread David Osborne
After downloading a zip archive of the repo, the installation was more 
successful this time (
https://gist.github.com/daosborne/e65d6fb2b3601796af3bbb324d29bbe3). 
However, several import errors were reported and the resource_import.log 
file contained 30,188 lines like
Sat Nov 11 10:49:54 2017 ERROR: Relation not created, either zero or 
multiple resources found with legacyid: 6a535ad3-2cc7-422b-aae5-9b4ab5a6c1a7
so I suspect I may be missing some data.

I also have the problem that after starting up the Django server, 
attempting to save the Mapbox key in the system settings just produces the 
rotating dots on the screen and nothing further happens.

Maybe I need to check the installation of Arches and its dependencies?

David

On Thursday, 16 November 2017 14:55:05 UTC, David Osborne wrote:
>
> Thanks, Ryan, that's very encouraging. I thought I'd used *git fetch* to 
> update my clone of the repo but maybe starting afresh would be best. I'll 
> let you know how I get on.
>
> regards
> David
>
> On Wednesday, 15 November 2017 23:12:15 UTC, Ryan Anderson wrote:
>>
>> Hi David,
>>
>> From your log it looks like there are a few things going on here.
>>
>> 1.) You can ignore the first error about the “is_required” column not 
>> existing, that’s just a small error in a database migration that is fixed 
>> in a later migration.
>>
>> 2.) It looks like the graphs in your DISCO data are out of date. I can 
>> tell from these errors: 
>>
>> "u"'E9_Move' is not a valid CIDOC CRM v6.2 ontology class””
>>
>> The graphs have been updated in newer versions of the DISCO repository.
>>
>> 3.) Because your graphs are out of date they are not being loaded which 
>> is causing this error during business data load later:
>>
>> "ERROR: No resource model found. Please make sure the resource model 
>> this business data is mapped to has been imported into Arches.”
>>
>> Potential Solution:
>>
>> We recently reorganized the DISCO package to bring it in line with the 
>> project/package paradigm that Arches uses in deployment. You usually create 
>> a project when installing arches for production and you can read more about 
>> packages here: http://arches4.readthedocs.io/en/latest/create-package/
>>
>> If you pull the most recent DISCO package the load_data.sh script has 
>> been removed, because you now load the DISCO package like you would any 
>> other Arches package. That is (from within your project root dir with your 
>> virtualenv activated): 
>> python manage.py packages -o load_packages -d /Full/path/to/package
>>
>>
>> Hope this helps.
>>
>> Regards,
>> Ryan
>>
>> On Nov 15, 2017, at 2:48 PM, David Osborne <daosborne@gmail.com> 
>> wrote:
>>
>> I'm running through setting up Arches 4.0.1 on Ubuntu 16.04 on my MacBook 
>> under Vagrant, before setting up a server on AWS. I think I've got Arches 
>> and its pre-requisite packages installed correctly and I wanted to install 
>> the disco_data package as test data to verify that my Arches installation 
>> is correct. However, the load_data.sh script starts producing error 
>> messages just after the database migrations and more errors occur later. 
>> The first error claims that the "is_required" column doesn't exist in the 
>> nodes table, although connecting later via psql, I can see that the column 
>> is present. I've made several attempts to get disco_data installed but all 
>> with the same results, so I don't know where to look next to fix this.
>>
>> Are there any standard test procedures to verify that Arches is correctly 
>> installed, other than using disco_data?
>>
>> The result of running the load_data.sh script is at 
>> https://gist.github.com/daosborne/21997d901cd872fc5e3126c1197e5c9b, if 
>> anyone can suggest where the cause of my problem may lie.
>>
>> Thanks,
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>> send email to archesprojec...@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 archesprojec...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Adapting the Lincoln HER reference data and resource models

2018-01-14 Thread David Osborne
I am working on setting up a new HER installation and would like to model 
it, more or less, on the structures used by Lincoln in the demo data. Some 
of the reference data, such as building periods and archaeological periods, 
need to be supplemented, extended or replaced, so I have worked out how to 
construct a thesaurus from a directory of CSV files, using the 
add_uuid_to_csvs and thesaurus_from_csvs utilities from Adam's Github repo 
*fpan-data* which he mentioned on the forum in September. However, when 
trying to judiciously add to that only some of the Lincoln reference data 
CSVs (and ignoring those from the DISCO project), I must have missed some 
crucial steps: if I try download the mapping for the Assets resource model, 
my Assets_concepts.json file says that each concept such as *Style* or 
*External 
Identifier Type* "does not appear to be configured with a valid concept 
collectionid". My problem is that I realise I don't yet fully understand 
the inter-relationships between all the parts of the reference data.

What would be the simplest course of action to load our relatively small 
initial set of HER data (only 205 sites/buildings), to have it ready for an 
important demo in just over two weeks' time? At present, I'm thinking: load 
the DISCO_data package; delete all the resources from the database via the 
command-line; delete all the DISCO reference data/models via the web 
interface; then load our data from CSV, with appropriate fields edited to 
use the uuids of the relevant concepts.

Can I safely delete anything relating to the DISCO project without 
affecting the HER structures?

It would be nice to use our thesaurus, if it's just a simple matter of 
referring to its uuids for items such as building type instead of the 
nearest Lincoln equivalent, or is more work needed to make the thesaurus 
usable than generating the XML file using Adam's *fpan-data* utilities 
mentioned above? At a pinch, we could just use the Lincoln terms for now 
and move to using our thesaurus later: it's essential to have something 
working by the end of the month which resembles the Lincoln demo but 
displays our data instead!

Any suggestions welcome. I can upload some files I'm using, if that would 
help, just let me know what would be useful to see.

Thanks in advance,
David

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Adapting the Lincoln HER reference data and resource models

2018-01-17 Thread David Osborne
Hi Ryan

Thanks for such a detailed reply, which fills in some of the gaps in my 
knowledge. I'll try your suggestions and report back!

cheers
David

On Tuesday, 16 January 2018 01:51:56 UTC, Ryan Anderson wrote:
>
> Hi David,
>
> It sounds like you are on the right track, and that's awesome. Here's some 
> information that might help push you along. I'm going to work my way 
> backwards from the error you encountered.
>
> The error you're seeing in your concepts file appears when a concept node 
> in a resource model or branch is not associated with a concept collection 
> from the RDM.
>
> A little background on the concepts file . . . the concepts file 
> (Assets_concepts.json) was/is meant to assist Arches users in looking up 
> valueid's of concepts from the RDM. Until recently it was necessary to use 
> these valueids in your business data CSV files. With few exceptions, you 
> can now use the value itself in your CSV file and Arches will figure out 
> the valueid 'behind the scenes' on import. The concepts file lists all the 
> concept (and concept-value-list, and domain, and domain-value-list) nodes 
> in a resource model and all the valid values that can be used in your 
> business data csv to populate that node.
>
> Back to your error . . . nodes in a resource model or branch of data type 
> concept (or concept-value-list) are 'fed' by a collection of concepts. This 
> collection is stored in the Collections tab of the RDM. But the Arches user 
> must tell the node which collection will be the source of that nodes 
> values. You can assign a collection to a node in the graph manager by 
> clicking on the node then going to the node config panel (between the 
> resource model diagram and the node list in the graph manager) and 
> selecting the collection in the Concept Collection dropdown and clicking 
> save. The node will now know that values from the assigned collection are 
> valid input values. The concept file will now also know which collection is 
> associated with that node and in turn, the list of valid values for that 
> node as well. 
>
> In your case you can create a Style and Identifier Type collection in the 
> RDM from your imported concepts by selected the Top Node from the Thesauri 
> tab of the RDM then clicking Manage -> Make Collection. Once your 
> collection is created follow the steps above to associate the collection to 
> the correct node in the graph manager.
>
>
> If this all seems to onerous, there's no harm in loading the DISCO 
> package, deleting out the business data and replacing it with your own. 
> Deleting the business data with the remove_resources command should not 
> modify either the RDM or the resource models.
>
>
> Let us know how it goes.
>
>
> Cheers,
> Ryan
>
>
>
>
> On Sunday, January 14, 2018 at 3:52:53 AM UTC-8, David Osborne wrote:
>>
>> I am working on setting up a new HER installation and would like to model 
>> it, more or less, on the structures used by Lincoln in the demo data. Some 
>> of the reference data, such as building periods and archaeological periods, 
>> need to be supplemented, extended or replaced, so I have worked out how to 
>> construct a thesaurus from a directory of CSV files, using the 
>> add_uuid_to_csvs and thesaurus_from_csvs utilities from Adam's Github repo 
>> *fpan-data* which he mentioned on the forum in September. However, when 
>> trying to judiciously add to that only some of the Lincoln reference data 
>> CSVs (and ignoring those from the DISCO project), I must have missed some 
>> crucial steps: if I try download the mapping for the Assets resource model, 
>> my Assets_concepts.json file says that each concept such as *Style* or 
>> *External 
>> Identifier Type* "does not appear to be configured with a valid concept 
>> collectionid". My problem is that I realise I don't yet fully understand 
>> the inter-relationships between all the parts of the reference data.
>>
>> What would be the simplest course of action to load our relatively small 
>> initial set of HER data (only 205 sites/buildings), to have it ready for an 
>> important demo in just over two weeks' time? At present, I'm thinking: load 
>> the DISCO_data package; delete all the resources from the database via the 
>> command-line; delete all the DISCO reference data/models via the web 
>> interface; then load our data from CSV, with appropriate fields edited to 
>> use the uuids of the relevant concepts.
>>
>> Can I safely delete anything relating to the DISCO project without 
>> affecting the HER structures?
>>
>> It would be nice to use our thesaurus, if it's just a simple matter of 
&

[Arches] Re: Problems upgrading Arches 4.0.1 to 4.1.0 due to missing modules

2018-03-06 Thread David Osborne
I may have found a solution to this myself. After searching for *jose* on 
the Python package index, I found *python-jose* as an alternative which 
seemed to have the missing *jws* name needed for an import.

I therefore ran
pip uninstall jose
pip install python-jose
and my python manage.py migrate then produced an error message relating to 
the database contents, instead of reporting a missing module:

django.db.migrations.exceptions.NodeNotFoundError: Migration 
models.0010_4_1_0 dependencies reference nonexistent parent node (u'auth', 
u'0008_alter_user_username_max_length')

(Full details in the gist at 
https://gist.github.com/daosborne/24a698df329f097b0e683fe89da20d69)

Might this sort of database migration error be expected and is it serious? 
The database works well with 4.0.1

TL;DR
To recap for anyone else with missing modules after doing an upgrade from 
4.0.1 to 4.1.0, try
pip install django-recaptcha
pip install python-jose
which (almost) worked for me (your mileage may vary).

David

On Tuesday, 6 March 2018 12:26:36 UTC, David Osborne wrote:
>
> I have a working Arches 4.0.1 installation in a Vagrant VM which I want to 
> upgrade to 4.1.0, to check the process in advance of upgrading our project 
> server.
>
> Following the upgrade instructions in 
> https://github.com/archesproject/arches/blob/master/docs/releases/4.1.0.md, 
> I get an error at the step 
>
> python manage.py migrate due to the captcha module not being installed:
>
> (ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py migrate
> Traceback (most recent call last):
>   File "manage.py", line 29, in 
> execute_from_command_line(sys.argv)
>   File 
> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>  line 353, in execute_from_command_line
> utility.execute()
>   File 
> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>  line 327, in execute
> django.setup()
>   File 
> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py",
>  line 18, in setup
> apps.populate(settings.INSTALLED_APPS)
>   File 
> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py",
>  line 85, in populate
> app_config = AppConfig.create(entry)
>   File 
> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py",
>  line 90, in create
> module = import_module(entry)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
> __import__(name)
> ImportError: No module named captcha
>
>
> I then attempted variously to install, in turn, the captcha, 
> django-simple-captcha and django-recaptcha modules, finally sticking with 
> django-recaptcha,
> which required a module "jose" but that eventually had a missing "jws" name 
> it couldn't find, and at that point I gave up and decided to shout "Help!"
>
> There's a log of all this at 
> https://gist.github.com/daosborne/d867f8a2a457aa7b7652cb9432e0321d
> beginning and ending with "pip list" to show the modules which were installed.
>
> I'm sure there will be a simple solution!
> cheers
> David
>
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


Re: [Arches] Re: Problems upgrading Arches 4.0.1 to 4.1.0 due to missing modules

2018-03-07 Thread David Osborne
Hi Adam

On a clone of my 4.0.1 VM, running

pip install arches --upgrade --no-binary :all:

worked: no missing modules and the database migration step completed with 
no errors, so thanks for your advice.

However, although the web interface displays OK as before (I'm serving it 
via Apache), clicking *Search* just gives the "spinning balls" in the 
centre of the page, instead of the map showing the asset locations. I'll 
try to get some diagnostics out of Postgres to see what's happening.

cheers
David

On Wednesday, 7 March 2018 00:00:12 UTC, Adam Cox wrote:
>
> Hi David, regarding the python packages, good detective work on this, and 
> I think I've found the issue.
>
> python-jose, etc. should have been installed during
>
> pip install arches --upgrade
>
> but I've found that just as we need to add --no-binary :all: to the 
> normal pip install command, it also needs to be added to this upgrade 
> command.
>
> When I run
>
> pip install arches==4.0.1 --no-binary :all:
> pip install arches --upgrade --no-binary :all:
>
> then running pip freeze or pip list *does *show that python-jose and 
> django-recaptcha have successfully installed. But if I leave --no-binary 
> :all: out of the second command as you would have from following the 
> release notes, then, as you found, those new packages are not found. 
>
> On Tue, Mar 6, 2018 at 3:44 PM, David Osborne <daosborne@gmail.com 
> > wrote:
>
>> I may have found a solution to this myself. After searching for *jose* 
>> on the Python package index, I found *python-jose* as an alternative 
>> which seemed to have the missing *jws* name needed for an import.
>>
>> I therefore ran
>> pip uninstall jose
>> pip install python-jose
>> and my python manage.py migrate then produced an error message relating 
>> to the database contents, instead of reporting a missing module:
>>
>> django.db.migrations.exceptions.NodeNotFoundError: Migration 
>> models.0010_4_1_0 dependencies reference nonexistent parent node (u'auth', 
>> u'0008_alter_user_username_max_length')
>>
>> (Full details in the gist at 
>> https://gist.github.com/daosborne/24a698df329f097b0e683fe89da20d69)
>>
>> Might this sort of database migration error be expected and is it 
>> serious? The database works well with 4.0.1
>>
>> TL;DR
>> To recap for anyone else with missing modules after doing an upgrade from 
>> 4.0.1 to 4.1.0, try
>> pip install django-recaptcha
>> pip install python-jose
>> which (almost) worked for me (your mileage may vary).
>>
>> David
>>
>>
>> On Tuesday, 6 March 2018 12:26:36 UTC, David Osborne wrote:
>>>
>>> I have a working Arches 4.0.1 installation in a Vagrant VM which I want 
>>> to upgrade to 4.1.0, to check the process in advance of upgrading our 
>>> project server.
>>>
>>> Following the upgrade instructions in 
>>> https://github.com/archesproject/arches/blob/master/docs/releases/4.1.0.md, 
>>> I get an error at the step 
>>>
>>> python manage.py migrate due to the captcha module not being installed:
>>>
>>> (ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py migrate
>>> Traceback (most recent call last):
>>>   File "manage.py", line 29, in 
>>> execute_from_command_line(sys.argv)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>>  line 353, in execute_from_command_line
>>> utility.execute()
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>>  line 327, in execute
>>> django.setup()
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py",
>>>  line 18, in setup
>>> apps.populate(settings.INSTALLED_APPS)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py",
>>>  line 85, in populate
>>> app_config = AppConfig.create(entry)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py",
>>>  line 90, in create
>>> module = import_module(entry)
>>>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>>> __import__(name)
>>> ImportError: No module named captcha
>>>
>>>
>>> I then attempted variously to install, in turn, the cap

Re: [Arches] Re: Problems upgrading Arches 4.0.1 to 4.1.0 due to missing modules

2018-03-07 Thread David Osborne
Thanks for confirming I was on the right track, Adam. I'll try again with a 
clone of my Vagrant VM to see if that gets me past the database migration 
error.

cheers
David

On Wednesday, 7 March 2018 00:00:12 UTC, Adam Cox wrote:
>
> Hi David, regarding the python packages, good detective work on this, and 
> I think I've found the issue.
>
> python-jose, etc. should have been installed during
>
> pip install arches --upgrade
>
> but I've found that just as we need to add --no-binary :all: to the 
> normal pip install command, it also needs to be added to this upgrade 
> command.
>
> When I run
>
> pip install arches==4.0.1 --no-binary :all:
> pip install arches --upgrade --no-binary :all:
>
> then running pip freeze or pip list *does *show that python-jose and 
> django-recaptcha have successfully installed. But if I leave --no-binary 
> :all: out of the second command as you would have from following the 
> release notes, then, as you found, those new packages are not found. 
>
> On Tue, Mar 6, 2018 at 3:44 PM, David Osborne <daosborne@gmail.com 
> > wrote:
>
>> I may have found a solution to this myself. After searching for *jose* 
>> on the Python package index, I found *python-jose* as an alternative 
>> which seemed to have the missing *jws* name needed for an import.
>>
>> I therefore ran
>> pip uninstall jose
>> pip install python-jose
>> and my python manage.py migrate then produced an error message relating 
>> to the database contents, instead of reporting a missing module:
>>
>> django.db.migrations.exceptions.NodeNotFoundError: Migration 
>> models.0010_4_1_0 dependencies reference nonexistent parent node (u'auth', 
>> u'0008_alter_user_username_max_length')
>>
>> (Full details in the gist at 
>> https://gist.github.com/daosborne/24a698df329f097b0e683fe89da20d69)
>>
>> Might this sort of database migration error be expected and is it 
>> serious? The database works well with 4.0.1
>>
>> TL;DR
>> To recap for anyone else with missing modules after doing an upgrade from 
>> 4.0.1 to 4.1.0, try
>> pip install django-recaptcha
>> pip install python-jose
>> which (almost) worked for me (your mileage may vary).
>>
>> David
>>
>>
>> On Tuesday, 6 March 2018 12:26:36 UTC, David Osborne wrote:
>>>
>>> I have a working Arches 4.0.1 installation in a Vagrant VM which I want 
>>> to upgrade to 4.1.0, to check the process in advance of upgrading our 
>>> project server.
>>>
>>> Following the upgrade instructions in 
>>> https://github.com/archesproject/arches/blob/master/docs/releases/4.1.0.md, 
>>> I get an error at the step 
>>>
>>> python manage.py migrate due to the captcha module not being installed:
>>>
>>> (ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py migrate
>>> Traceback (most recent call last):
>>>   File "manage.py", line 29, in 
>>> execute_from_command_line(sys.argv)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>>  line 353, in execute_from_command_line
>>> utility.execute()
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>>  line 327, in execute
>>> django.setup()
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py",
>>>  line 18, in setup
>>> apps.populate(settings.INSTALLED_APPS)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py",
>>>  line 85, in populate
>>> app_config = AppConfig.create(entry)
>>>   File 
>>> "/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py",
>>>  line 90, in create
>>> module = import_module(entry)
>>>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
>>> __import__(name)
>>> ImportError: No module named captcha
>>>
>>>
>>> I then attempted variously to install, in turn, the captcha, 
>>> django-simple-captcha and django-recaptcha modules, finally sticking with 
>>> django-recaptcha,
>>> which required a module "jose" but that eventually had a missing "jws" name 
>>> it couldn't find, and at that point I gave up and decided to shout "Help!"
>>>
>>>

[Arches] Problems upgrading Arches 4.0.1 to 4.1.0 due to missing modules

2018-03-06 Thread David Osborne
I have a working Arches 4.0.1 installation in a Vagrant VM which I want to 
upgrade to 4.1.0, to check the process in advance of upgrading our project 
server.

Following the upgrade instructions in 
https://github.com/archesproject/arches/blob/master/docs/releases/4.1.0.md, 
I get an error at the step 

python manage.py migrate due to the captcha module not being installed:

(ENV) vagrant@vagrant:~/Projects/my_project$ python manage.py migrate
Traceback (most recent call last):
  File "manage.py", line 29, in 
execute_from_command_line(sys.argv)
  File 
"/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 line 353, in execute_from_command_line
utility.execute()
  File 
"/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 line 327, in execute
django.setup()
  File 
"/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py",
 line 18, in setup
apps.populate(settings.INSTALLED_APPS)
  File 
"/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py",
 line 85, in populate
app_config = AppConfig.create(entry)
  File 
"/home/vagrant/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py",
 line 90, in create
module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named captcha


I then attempted variously to install, in turn, the captcha, 
django-simple-captcha and django-recaptcha modules, finally sticking with 
django-recaptcha,
which required a module "jose" but that eventually had a missing "jws" name it 
couldn't find, and at that point I gave up and decided to shout "Help!"

There's a log of all this at 
https://gist.github.com/daosborne/d867f8a2a457aa7b7652cb9432e0321d
beginning and ending with "pip list" to show the modules which were installed.

I'm sure there will be a simple solution!
cheers
David

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Re: Error after changing map search area

2019-04-17 Thread David Osborne
Hi Alexei

Thank you, that worked perfectly. I edited the file, recompiled the .pyc 
and restarted Apache to pick it up and we have a working website again.

We were planning to upgrade to 4.4.1 but we can wait until a permanent fix 
is developed.

Many thanks,
David


On Wednesday, 17 April 2019 19:11:09 UTC+1, Alexei Peters wrote:
>
> Hi David,
> I created a ticket for this issue here: 
> https://github.com/archesproject/arches/issues/4780
>
> In the mean time to get you past this bug you'll have to temporarily edit 
> one of the files found here on your system:
>
> /home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/context_processors.py
>
> Open the file and go to line 40.
> You should see this line:
>   default_center = None
>
> Replace that line with this:
>   default_center = {'coordinates': [0,0]}
>
> Save the file.
> At this point you should be able to access Arches again and change the 
> setting in the interface. 
> It won't be any harm to leave that file edited until a permanent fix is 
> applied.
>
> Hope this helps.
> -Alexei
>
>
> On Sunday, April 14, 2019 at 8:53:06 AM UTC-7, David Osborne wrote:
>>
>> We're seeing an error on our Arches 4.3.3 installation on an Ubuntu 16.04 
>> server, following an attempt by a colleague to update the map search 
>> rectangle in the admin Settings web interface.
>>
>> When connecting to our Apache2 service, we now get the following error
>>
>>
>> TypeError at / 
>>
>> 'NoneType' object has no attribute '__getitem__'
>>
>> Request Method: GET 
>> Request URL: http://her.jerseyheritage.org/ 
>> Django Version: 1.11.15 
>> Exception Type: TypeError 
>> Exception Value: 
>>
>> 'NoneType' object has no attribute '__getitem__'
>>
>> Exception Location: 
>> /home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/context_processors.py
>>  
>> in map_info, line 43 
>> Python Executable: /home/ubuntu/Projects/ENV/bin/python 
>> Python Version: 2.7.12 
>> Python Path: 
>>
>> ['/home/ubuntu/Projects/jersey_her',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7/plat-x86_64-linux-gnu',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7/lib-tk',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7/lib-old',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7/lib-dynload',
>>  '/usr/lib/python2.7',
>>  '/usr/lib/python2.7/plat-x86_64-linux-gnu',
>>  '/usr/lib/python2.7/lib-tk',
>>  '/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages',
>>  '/home/ubuntu/Projects/ENV/lib/python2.7/site-packages',
>>  '/home/ubuntu/Projects/jersey_her/jersey_her']
>>
>>
>> The Python traceback is in an attachment. The error in 
>> context_processors.py is in code which seems related to the search 
>> rectangle, as if Arches thinks the settings have been made but the values 
>> have been lost, whether in a file, or stored in the database, I don't know. 
>> Because of the error, we're unable to get into the Arches web interface to 
>> change the settings. I'm reluctant to reinstall everything so I'm hoping 
>> someone can suggest a manual reset.
>>
>> Thanks
>> David
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Error after changing map search area

2019-04-14 Thread David Osborne
We're seeing an error on our Arches 4.3.3 installation on an Ubuntu 16.04 
server, following an attempt by a colleague to update the map search 
rectangle in the admin Settings web interface.

When connecting to our Apache2 service, we now get the following error


TypeError at / 

'NoneType' object has no attribute '__getitem__'

Request Method: GET 
Request URL: http://her.jerseyheritage.org/ 
Django Version: 1.11.15 
Exception Type: TypeError 
Exception Value: 

'NoneType' object has no attribute '__getitem__'

Exception Location: 
/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/utils/context_processors.py
 
in map_info, line 43 
Python Executable: /home/ubuntu/Projects/ENV/bin/python 
Python Version: 2.7.12 
Python Path: 

['/home/ubuntu/Projects/jersey_her',
 '/home/ubuntu/Projects/ENV/lib/python2.7',
 '/home/ubuntu/Projects/ENV/lib/python2.7/plat-x86_64-linux-gnu',
 '/home/ubuntu/Projects/ENV/lib/python2.7/lib-tk',
 '/home/ubuntu/Projects/ENV/lib/python2.7/lib-old',
 '/home/ubuntu/Projects/ENV/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-x86_64-linux-gnu',
 '/usr/lib/python2.7/lib-tk',
 '/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages',
 '/home/ubuntu/Projects/ENV/lib/python2.7/site-packages',
 '/home/ubuntu/Projects/jersey_her/jersey_her']


The Python traceback is in an attachment. The error in 
context_processors.py is in code which seems related to the search 
rectangle, as if Arches thinks the settings have been made but the values 
have been lost, whether in a file, or stored in the database, I don't know. 
Because of the error, we're unable to get into the Arches web interface to 
change the settings. I'm reluctant to reinstall everything so I'm hoping 
someone can suggest a manual reset.

Thanks
David





















-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.
Environment:


Request Method: GET
Request URL: http://her.jerseyheritage.org/

Django Version: 1.11.15
Python Version: 2.7.12
Installed Applications:
('django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'django.contrib.gis',
 'arches',
 'arches.app.models',
 'arches.management',
 'guardian',
 'captcha',
 'revproxy',
 'corsheaders',
 'oauth2_provider')
Installed Middleware:
['corsheaders.middleware.CorsMiddleware',
 'django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'oauth2_provider.middleware.OAuth2TokenMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'arches.app.utils.middleware.SetAnonymousUser']



Traceback:

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/handlers/exception.py"
 in inner
  41. response = get_response(request)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/handlers/base.py"
 in _get_response
  187. response = self.process_exception_by_middleware(e, 
request)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/core/handlers/base.py"
 in _get_response
  185. response = wrapped_callback(request, *callback_args, 
**callback_kwargs)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/arches/app/views/main.py"
 in index
  31. 'copyright_year': settings.COPYRIGHT_YEAR

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/shortcuts.py"
 in render
  30. content = loader.render_to_string(template_name, context, request, 
using=using)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/template/loader.py"
 in render_to_string
  68. return template.render(context, request)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/template/backends/django.py"
 in render
  66. return self.template.render(context)

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/template/base.py"
 in render
  205. with context.bind_template(self):

File "/usr/lib/python2.7/contextlib.py" in __enter__
  17. return self.gen.next()

File 
"/home/ubuntu/Projects/ENV/local/lib/python2.7/site-packages/django/template/context.py"
 in 

Re: [Arches] Map search

2019-04-26 Thread David Osborne
Thanks for the suggestions, Cyrus. I'll have a look at the code and see 
what I can do.

Regards,
David

On Thursday, 25 April 2019 19:43:55 UTC+1, Cyrus Hiatt wrote:
>
> Hi David - 
>
> The search box uses the mapbox geocoder by default. There are a few ways 
> that you could customize this:
>
> The best, but most difficult approach:
>
> Create a new geocoder by writing a new geocoder component and registering 
> that in Arches.  That would be similar to this file: 
> `arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would 
> need to create a new record in the geocoders table.  Then you would update 
> the `DEFAULT_GEOCODER` setting in your project's settings file to use the 
> geocoderid for your new record. 
>
>
> The easier approach:
>
> You could add a `js/views/components/geocoders/` directory to your project 
> and create a component similar to: 
> arches/app/media/js/views/components/geocoders/mapbox.js.  You would have 
> to update the `component` field for the default geocoder (Mapbox) in the 
> geocoders database table to point to your new component.
>
>
> Even easier: 
>
> Add a `js/views/components/geocoders/` directory to your project. Copy the 
> `arches/app/media/js/views/components/geocoders/mapbox.js` file into that 
> directory. That should override the file in arches. Then modify it to use 
> whatever geocoding service best suits your needs. The drawback here of 
> course is that you have to remember that the file called 'mapbox' isn't 
> really using mapbox's service, but that might not be a concern for you.
>
>  
>  Hope that helps,
>
> - Cyrus
>
>
>
> On Thu, Apr 25, 2019 at 6:18 AM David Osborne  > wrote:
>
>> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the 
>> Arches site we are developing for Jersey Heritage. I've been asked why the 
>> search field in the top right hand corner of the map ('Locate a Place or 
>> Address') doesn't include place names on Jersey, apart from names of most 
>> of the twelve parishes on the island. Even Jersey postcodes cannot be 
>> found, although UK ones work — for those who don't know, Jersey is not part 
>> of the United Kingdom.
>>
>> I'm guessing that the search box is linked to a gazetteer database 
>> connected with the OSM basemap. Is it possible to supplement the search 
>> with local place names, if we could obtain a list of them with their 
>> corresponding co-ordinates? In theory, we could even replace the gazetteer, 
>> as we would only be interested in searches for place names within the 
>> island's jurisdiction.
>>
>> Thanks
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 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.
For more options, visit https://groups.google.com/d/optout.


[Arches] Search results missing from map in Arches 4.4.2

2019-07-28 Thread David Osborne
I have updated a clone of our Arches 4.3.3 (Ubuntu 16.04) AWS server to 
Arches 4.4.2 and Ubuntu 18.04, using Arches 4.4.1 as an intermediate step, 
as recommended.

Everything worked correctly in the 4.4.1 version before upgrading to 4.4.2, 
as it does on the 4.3.3 original. However, after upgrading, the search 
results icons and their clusters are missing from the default map. The 
search markers for the sites listed in the sidebar are displayed, however. 
I have checked that the search results overlay and the map layers for the 
individual resources are enabled and that the transparency sliders are 
fully to the right. The map for a resource record report does show the 
correct marker for the resource, it's just that the location icons for the 
resources are not appearing on the overview map.

I'd welcome any suggestions for what I've missed or how to restore the 
search results.

Many thanks
David

-- 
-- 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/84983700-909e-4022-8e9f-3edf767d4f14%40googlegroups.com.


Re: [Arches] Re: Search results missing from map in Arches 4.4.2

2019-07-30 Thread David Osborne
Hi Cyrus

No, I hadn't checked the web console in the developer window. When I enable 
that, I get a large number of errors, of which the first few are

evented.js:136 
Error {status: 500, url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws…er/f74db64f-e741-11e6-84a6-026d961c88e6/0/0/0.pbf;,
 
name: "e", message: "Internal Server Error"}
evented.js:136 
Error {status: 500, url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws…er/6b5d6a30-fd4d-11e6-9e3e-026d961c88e6/0/0/0.pbf;,
 
name: "e", message: "Internal Server Error"}
evented.js:136 
Error {status: 500, url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws…er/86a103e9-e74a-11e6-84a6-026d961c88e6/0/0/0.pbf;,
 
name: "e", message: "Internal Server Error"}
evented.js:136 
Error {status: 500, url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws…er/82f2dd53-e747-11e6-84a6-026d961c88e6/2/1/1.pbf;,
 
name: "e", message: "Internal Server Error"}

...and so on.

Partially expanding the first of these (I don't know if this gives enough 
info to be helpful, or too much), it reads

evented.js:136 
Error {status: 500, url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws…er/f74db64f-e741-11e6-84a6-026d961c88e6/0/0/0.pbf;,
 
name: "e", message: "Internal Server Error"}
message: "Internal Server Error"
name: "e"
status: 500
url: 
"http://ec2-3-9-147-183.eu-west-2.compute.amazonaws.com/tileserver/f74db64f-e741-11e6-84a6-026d961c88e6/0/0/0.pbf;
__proto__:
constructor: ƒ Error()
stackTraceLimit: 10
arguments: (...)
caller: (...)
captureStackTrace: ƒ captureStackTrace()
arguments: (...)
caller: (...)
length: 2
name: "captureStackTrace"
__proto__: ƒ ()
apply: ƒ apply()
arguments: (...)
bind: ƒ bind()
call: ƒ call()
caller: (...)
constructor: ƒ Function()
length: 0
name: ""
toString: ƒ toString()
Symbol(Symbol.hasInstance): ƒ [Symbol.hasInstance]()
get arguments: ƒ ()
set arguments: ƒ ()
get caller: ƒ ()
set caller: ƒ ()
__proto__: Object
[[FunctionLocation]]: 
[[Scopes]]: Scopes[0]
[[Scopes]]: Scopes[0]
No properties
isError: ƒ isError()
Symbol(src)_1.86cg9jm0opf: "function isError() { [native code] }"
arguments: (...)
caller: (...)
length: 1
name: "isError"
prototype:
constructor: ƒ isError()
__proto__: Object
__proto__: ƒ ()
[[FunctionLocation]]: shim.js:7476
[[Scopes]]: Scopes[3]
length: 1
name: "Error"
prototype:
constructor: ƒ Error()
message: ""
name: "Error"
toString: ƒ toString()
__proto__: Object
_classRegistryKey: "Error"
__proto__: ƒ ()
[[Scopes]]: Scopes[0]
message: ""
name: "Error"
toString: ƒ toString()
arguments: (...)
caller: (...)
length: 0
name: "toString"
__proto__: ƒ ()
[[Scopes]]: Scopes[0]
__proto__: Object
L.fire @ evented.js:136
L.fire @ evented.js:130
L.fire @ evented.js:130
i._tileLoaded @ source_cache.js:248
r @ vector_tile_source.js:136
ws.receive @ actor.js:81


I'm guessing this is something related to TileStache generating the layer 
of search result points dynamically.

Cheers
David

On Monday, 29 July 2019 15:49:15 UTC+1, Cyrus Hiatt wrote:
>
> Hi David - 
>
> You've probably already checked, but are you seeing any error messages in 
> your browsers developer console?
>
> Thanks,
>
> Cyrus
>
> On Sun, Jul 28, 2019 at 7:38 AM David Osborne  > wrote:
>
>> It occurred to me that the map markers may be drawn using Javascript, so 
>> clutching at straws, I checked yarn. Although yarn install tells me
>>
>> yarn install v1.6.0
>> warning package.json: No license field
>> warning arches: No license field
>> [1/4] Resolving packages...
>> success Already up-to-date.
>> Done in 0.44s.
>>
>>
>> which suggests no JS packages are missing, yarn check, on the other 
>> hand, gives a long list of files which are not installed, beginning with
>>
>> yarn check v1.6.0
>> warning package.json: No license field
>> warning arches: No license field
>> error "@turf/area" not installed
>> error "@turf/bbox" not installed
>> error "@turf/center" not installed
>> error "@turf/explode" not installed
>> error "@turf/helpers" not installed
>> error "@turf/inside" not installed
>> error "@turf/invariant" not installed
>> error "@turf/meta" not installed
>>
>>
>> (full list in the attachment).
>>
>> I get a similar list from our working 4.3 server, so I doubt this is the 
>> cause of my problem of missing search result icons.
>>
>> David
>>
>> On Sunday, 28 July 2019 13:06:57 UTC+1, David Osborne wrote:
>>>
>>> I have updated a clone of our Ar

[Arches] Re: Search results missing from map in Arches 4.4.2

2019-07-30 Thread David Osborne
Hi Dennis

Yes, the search results overlay was one of the first things I checked: it's 
enabled, with the transparency slider to the right.

Cheers
David

On Monday, 29 July 2019 22:16:55 UTC+1, Dennis Wuthrich wrote:
>
> David,
>
> Have you confirmed that you have an overlay for search results?
>
> Go to the Map Layer Manager, click on the overlays tab, and confirm that 
> you have an entry for a layer called "Map Markers".  If not, refer to the 
> fix here: 
> https://www.archesproject.org/forum/?place=msg%2Farchesproject%2FwVDsegBGF88%2FC2rwMzUBBwAJ
>
> Cheers,
>
> Dennis
>
> On Sunday, July 28, 2019 at 5:06:57 AM UTC-7, David Osborne wrote:
>>
>> I have updated a clone of our Arches 4.3.3 (Ubuntu 16.04) AWS server to 
>> Arches 4.4.2 and Ubuntu 18.04, using Arches 4.4.1 as an intermediate step, 
>> as recommended.
>>
>> Everything worked correctly in the 4.4.1 version before upgrading to 
>> 4.4.2, as it does on the 4.3.3 original. However, after upgrading, the 
>> search results icons and their clusters are missing from the default map. 
>> The search markers for the sites listed in the sidebar are displayed, 
>> however. I have checked that the search results overlay and the map layers 
>> for the individual resources are enabled and that the transparency sliders 
>> are fully to the right. The map for a resource record report does show the 
>> correct marker for the resource, it's just that the location icons for the 
>> resources are not appearing on the overview map.
>>
>> I'd welcome any suggestions for what I've missed or how to restore the 
>> search results.
>>
>> Many thanks
>> David
>>
>

-- 
-- 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/b6eddd1e-2f12-4b89-8b98-c58eecfb2afe%40googlegroups.com.


[Arches] Re: Search results missing from map in Arches 4.4.2

2019-07-28 Thread David Osborne
It occurred to me that the map markers may be drawn using Javascript, so 
clutching at straws, I checked yarn. Although yarn install tells me

yarn install v1.6.0
warning package.json: No license field
warning arches: No license field
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.44s.


which suggests no JS packages are missing, yarn check, on the other hand, 
gives a long list of files which are not installed, beginning with

yarn check v1.6.0
warning package.json: No license field
warning arches: No license field
error "@turf/area" not installed
error "@turf/bbox" not installed
error "@turf/center" not installed
error "@turf/explode" not installed
error "@turf/helpers" not installed
error "@turf/inside" not installed
error "@turf/invariant" not installed
error "@turf/meta" not installed


(full list in the attachment).

I get a similar list from our working 4.3 server, so I doubt this is the 
cause of my problem of missing search result icons.

David

On Sunday, 28 July 2019 13:06:57 UTC+1, David Osborne wrote:
>
> I have updated a clone of our Arches 4.3.3 (Ubuntu 16.04) AWS server to 
> Arches 4.4.2 and Ubuntu 18.04, using Arches 4.4.1 as an intermediate step, 
> as recommended.
>
> Everything worked correctly in the 4.4.1 version before upgrading to 
> 4.4.2, as it does on the 4.3.3 original. However, after upgrading, the 
> search results icons and their clusters are missing from the default map. 
> The search markers for the sites listed in the sidebar are displayed, 
> however. I have checked that the search results overlay and the map layers 
> for the individual resources are enabled and that the transparency sliders 
> are fully to the right. The map for a resource record report does show the 
> correct marker for the resource, it's just that the location icons for the 
> resources are not appearing on the overview map.
>
> I'd welcome any suggestions for what I've missed or how to restore the 
> search results.
>
> Many thanks
> David
>

-- 
-- 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/fa8b370b-3e8f-4b25-919e-bbcb4ff62d62%40googlegroups.com.
yarn check v1.6.0
warning package.json: No license field
warning arches: No license field
error "@turf/area" not installed
error "@turf/bbox" not installed
error "@turf/center" not installed
error "@turf/explode" not installed
error "@turf/helpers" not installed
error "@turf/inside" not installed
error "@turf/invariant" not installed
error "@turf/meta" not installed
error "chalk" not installed
error "concat-stream" not installed
error "esprima" not installed
error "isarray" not installed
error "minimist" not installed
error "readable-stream" not installed
warning Optional dependency "source-map" not installed
error "string_decoder" not installed
error "strip-ansi" not installed
error "@mapbox/geojson-extent" not installed
error "@mapbox/mapbox-gl-draw" not installed
error "@turf/turf" not installed
error "backbone" not installed
error "blueimp-gallery" not installed
error "bootstrap" not installed
error "bootstrap-colorpicker" not installed
error "chosen-js" not installed
error "ckeditor" not installed
error "codemirror" not installed
error "core-js" not installed
error "d3" not installed
error "datatables.net" not installed
error "datatables.net-bs" not installed
error "datatables.net-buttons" not installed
error "datatables.net-buttons-bs" not installed
error "datatables.net-responsive" not installed
error "datatables.net-responsive-bs" not installed
error "dom4" not installed
error "dropzone" not installed
error "eonasdan-bootstrap-datetimepicker" not installed
error "flexslider" not installed
error "font-awesome" not installed
error "ionicons" not installed
error "jqtree" not installed
error "jquery" not installed
error "jquery-migrate" not installed
error "jquery-validation" not installed
error "jquery.easing" not installed
error "jquer

Re: [Arches] Problem loading overlay maps

2019-10-05 Thread David Osborne
Hi Adam

When the background colour is changed, all we see is that colour: no map.

Dennis replied to me off-list to suggest that we're not seeing the maps 
because the coordinate system for the GeoTIFFs is not Web Mercator 
(EPSG:3857) which Arches uses and that we should re-project them. That 
seems the most likely cause, so I'm working on that now. Dennis gave a link 
to an entry on Farallon's blog, the existence of which I wasn't aware, so 
I'll add it here in case it's useful to others:

http://fargeo.com/blog/integrate-historic-maps-and-aerial-imagery-arches-v4/

That solution uses QGIS but in a command-line environment, I'm 
experimenting with using gdalwarp, which I assume is what QGIS will use 
behind the scenes.

Thanks for the recommendation for Geoserver: are you saying that's the only 
way to use tiled maps in conjunction with Arches?

Cheers
David

Hi David, when you change the background color, are you saying that the map 
*does 
> *show up correctly, or that an empty, colored layer that is the size of 
> the map shows up, without the map?
>
> My first thought would be to check the dev tools console output for 
> errors. It sounds like mapnik is having some problem rendering the map.
>
> As for the other maps, I can think of a couple different ways in which 
> those maps could be tiled in separate files. Do you mean it is a full 
> tileset, in the "XYZ" format? Or is a it bunch of separate GeoTIFFs that 
> you want to combine into one layer? A little clarification would help.
>
> If you have a lot of these geotiffs and you expect that you will be 
> getting more, I would recommend setting up and instance of Geoserver 
> <http://geoserver.org/> to turn them into web map services and then feed 
> them back into Arches that way. I have a personal preference for Geoserver, 
> as I use it for other projects as well, but it may be easier to the raster 
> styles, data sources, etc. Just a thought. It's a robust map server used by 
> lots of people all over the world. We have examples of using layers from 
> Geoserver in Arches here: 
> https://github.com/legiongis/arches4-geo-examples#using-the-tileserver-to-cascade-a-wms
>
> Adam
>
> On Thu, Oct 3, 2019 at 3:59 PM David Osborne  > wrote:
>
>> Hi all
>>
>> We need to load some overlay maps for our project and have so far been 
>> unsuccessful. I'm following the instructions at 
>> https://arches.readthedocs.io/en/stable/creating-new-map-layers/#tileserver-mapnik-layers
>>  to 
>> try to load a couple of georeferenced TIFF files. The maps load 
>> successfully in QGIS, so we have confidence that they are correctly 
>> georeferenced. 
>>
>> Adapting the XML shown on that page, I have the following for one of the 
>> maps:
>>
>> 
>>   
>> raster
>> 
>>   gdal
>>   > name="file">/home/ubuntu/Maps/Jersey_25K_BGS_Geology.tif
>>   0
>> 
>>   
>>   
>> <Rule name="rule1">
>>   <RasterSymbolizer opacity="0.7" scaling="bilinear" mode="normal" />
>>   <!-- <MinScaleDenominator>500</MinScaleDenominator>
>>   <MaxScaleDenominator>10</MaxScaleDenominator> -->
>> </Rule>
>>   
>> 
>>
>> which is loaded using the command
>>
>> python manage.py packages -o add_tileserver_layer -m 
>> "/home/ubuntu/Maps/Jersey_25K_BGS_Geology.xml" -n "Geology"
>>
>> The layer name Geology then appears in the list of overlays but nothing 
>> appears when the layer is enabled.
>>
>> I have tried adding projection parameters to the opening Map tag
>>
>> 
>>
>> and these are correct, as far as we can tell. If we change the 
>> background-color parameter to "white" or "black", the layer colour changes 
>> as expected.
>>
>> These maps are complete in one file but we do have another map which is 
>> tiled in separate files: would we need to use a separate tile-server to use 
>> that?
>>
>> I expect we've missed something simple but any help or advice would be 
>> appreciated!
>>
>> Thanks
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 
>

[Arches] Problem loading overlay maps

2019-10-03 Thread David Osborne
Hi all

We need to load some overlay maps for our project and have so far been 
unsuccessful. I'm following the instructions at 
https://arches.readthedocs.io/en/stable/creating-new-map-layers/#tileserver-mapnik-layers
 to 
try to load a couple of georeferenced TIFF files. The maps load 
successfully in QGIS, so we have confidence that they are correctly 
georeferenced. 

Adapting the XML shown on that page, I have the following for one of the 
maps:


  
raster

  gdal
  /home/ubuntu/Maps/Jersey_25K_BGS_Geology.tif
  0

  
  

  
  

  


which is loaded using the command

python manage.py packages -o add_tileserver_layer -m 
"/home/ubuntu/Maps/Jersey_25K_BGS_Geology.xml" -n "Geology"

The layer name Geology then appears in the list of overlays but nothing 
appears when the layer is enabled.

I have tried adding projection parameters to the opening Map tag



and these are correct, as far as we can tell. If we change the 
background-color parameter to "white" or "black", the layer colour changes 
as expected.

These maps are complete in one file but we do have another map which is 
tiled in separate files: would we need to use a separate tile-server to use 
that?

I expect we've missed something simple but any help or advice would be 
appreciated!

Thanks
David

-- 
-- 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/8edba7c6-4bca-4b83-9abb-3091dce2f8c3%40googlegroups.com.


[Arches] Re: Programmatic management of resources?

2020-02-23 Thread David Osborne
Hi Alexei

Thank you for the details. I should have asked about doing this using SQL, 
which seems the more obvious way of doing it but I had looked at the 
database structure and couldn't see how it related to the data models. Is 
there anything for developers such as an entity relationship diagram for 
the database, to explain how to query it?
I'll try your SQL and proceed with caution (and backups!) when I get to 
deletions.

Cheers
David

On Tuesday, 18 February 2020 18:29:16 UTC, Alexei Peters wrote:
>
> Hi David,
> There isn't a baked in "grep"-like command to do what you want but I've 
> crafted a bit of sql that you might be able to run to retrieve resource 
> instances based on node values.
>
> SELECT t.tileid,
> t.resourceinstanceid,
> t.tiledata,
> n.nodeid
> FROM tiles t
> LEFT JOIN nodes n ON t.nodegroupid = n.nodegroupid
> WHERE 
> (t.tiledata::json -> n.nodeid::text)::text = '12'
>
> In this case you'd replace "12" with the value you're interested in.  This 
> won't work for geometry nodes but should work for the majority of other 
> datatypes.
>
> As for deleting the resources once identified, the surest way to do that 
> would be through the UI.  That might be impractical if you have anything 
> more than 50 records (or less depending on how much perseverance you have).
> You could always use SQL to delete resource instances based on the uuid, 
> which should cascade delete the tiles as well.  This will still leave 
> traces of the resource instances in the edit log table (which you could 
> also delete if you wish). Resource-to-resrouce relationships could also be 
> deleted the same way.
>
> I will caveat all this by saying that I haven't tested any of this and you 
> should most definitely back up your database before you attempt to delete 
> anything via SQL.
>
> If you do delete resources via SQL, then you'll need to reindex the data 
> in Elasticsearch for which there is a command
> python manange.py es index_database
>
> As for the issue with reports showing the uuid of the relationship rather 
> than the text, that might be something that could be fixed the default 
> report template.
> Hope that helps!
>
> Cheers,
> Alexei
>
> On Tuesday, February 11, 2020 at 3:12:54 PM UTC-8, David Osborne wrote:
>>
>> It seems I've inadvertently duplicated some resource records by 
>> accidentally assigning them new uuids before loading from CSVs, so instead 
>> of overwriting existing records, duplicates were created.
>>
>> I was wondering if anyone had developed any 'grep'-like command-line 
>> utilities that perhaps returned uuids for resources where, say, a node 
>> contains a particular value? If there were also a command to delete 
>> resources given their uuid, that would help to remove the duplicate 
>> records. If nothing like this exists, is there existing Python code in the 
>> codebase which would make a good starting point? We're still on Arches 
>> 4.4.2.
>>
>> A related question is whether it's possible to delete 
>> resource-to-resource relationship records? They can obviously be loaded 
>> from CSV but there's nothing documented which can remove them. What happens 
>> to these links when one or more of the associated resource records are 
>> deleted?
>>
>> Finally, I've always been puzzled that in our resource reports, related 
>> resources are followed by the uuid for the relationship 
>> (----0007), rather than the CIDOC-CRM property 
>> phrase ("is-related-to"or "refers-to", I forget which), although I see that 
>> Lincoln's Arcade has the almost equally obscure URL for CRM property P67.
>>
>> Cheers
>> David
>>
>

-- 
-- 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/18c1f459-c17e-4861-a145-4abb7cdc4eb7%40googlegroups.com.


Re: [Arches] Map search

2020-02-29 Thread David Osborne
Hi Cyrus

I'm finally revisiting our need for a new gazetteer service to replace the 
Mapbox one. I have an instance of Gisgraphy running in a Docker container 
but although I took your 'even easier' approach by modifying a local copy 
of the mapbox.js geocoder, I can't seem to override Arches using the Mapbox 
service. Is there something I need to do to make that local copy take 
effect?

David

On Thursday, 25 April 2019 19:43:55 UTC+1, Cyrus Hiatt wrote:
>
> Hi David - 
>
> The search box uses the mapbox geocoder by default. There are a few ways 
> that you could customize this:
>
> The best, but most difficult approach:
>
> Create a new geocoder by writing a new geocoder component and registering 
> that in Arches.  That would be similar to this file: 
> `arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would 
> need to create a new record in the geocoders table.  Then you would update 
> the `DEFAULT_GEOCODER` setting in your project's settings file to use the 
> geocoderid for your new record. 
>
>
> The easier approach:
>
> You could add a `js/views/components/geocoders/` directory to your project 
> and create a component similar to: 
> arches/app/media/js/views/components/geocoders/mapbox.js.  You would have 
> to update the `component` field for the default geocoder (Mapbox) in the 
> geocoders database table to point to your new component.
>
>
> Even easier: 
>
> Add a `js/views/components/geocoders/` directory to your project. Copy the 
> `arches/app/media/js/views/components/geocoders/mapbox.js` file into that 
> directory. That should override the file in arches. Then modify it to use 
> whatever geocoding service best suits your needs. The drawback here of 
> course is that you have to remember that the file called 'mapbox' isn't 
> really using mapbox's service, but that might not be a concern for you.
>
>  
>  Hope that helps,
>
> - Cyrus
>
>
>
> On Thu, Apr 25, 2019 at 6:18 AM David Osborne  > wrote:
>
>> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the 
>> Arches site we are developing for Jersey Heritage. I've been asked why the 
>> search field in the top right hand corner of the map ('Locate a Place or 
>> Address') doesn't include place names on Jersey, apart from names of most 
>> of the twelve parishes on the island. Even Jersey postcodes cannot be 
>> found, although UK ones work — for those who don't know, Jersey is not part 
>> of the United Kingdom.
>>
>> I'm guessing that the search box is linked to a gazetteer database 
>> connected with the OSM basemap. Is it possible to supplement the search 
>> with local place names, if we could obtain a list of them with their 
>> corresponding co-ordinates? In theory, we could even replace the gazetteer, 
>> as we would only be interested in searches for place names within the 
>> island's jurisdiction.
>>
>> Thanks
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 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/0a3c9977-9817-40ea-a482-94f7408edca8%40googlegroups.com.


Re: [Arches] Map search

2020-03-01 Thread David Osborne
Supplementary question: as the geocoder access is from a fragment of 
Javascript, I take it that the connection to the geocoder is from a user's 
browser, rather than from the Arches application itself?

David

On Thursday, 25 April 2019 19:43:55 UTC+1, Cyrus Hiatt wrote:
>
> Hi David - 
>
> The search box uses the mapbox geocoder by default. There are a few ways 
> that you could customize this:
>
> The best, but most difficult approach:
>
> Create a new geocoder by writing a new geocoder component and registering 
> that in Arches.  That would be similar to this file: 
> `arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would 
> need to create a new record in the geocoders table.  Then you would update 
> the `DEFAULT_GEOCODER` setting in your project's settings file to use the 
> geocoderid for your new record. 
>
>
> The easier approach:
>
> You could add a `js/views/components/geocoders/` directory to your project 
> and create a component similar to: 
> arches/app/media/js/views/components/geocoders/mapbox.js.  You would have 
> to update the `component` field for the default geocoder (Mapbox) in the 
> geocoders database table to point to your new component.
>
>
> Even easier: 
>
> Add a `js/views/components/geocoders/` directory to your project. Copy the 
> `arches/app/media/js/views/components/geocoders/mapbox.js` file into that 
> directory. That should override the file in arches. Then modify it to use 
> whatever geocoding service best suits your needs. The drawback here of 
> course is that you have to remember that the file called 'mapbox' isn't 
> really using mapbox's service, but that might not be a concern for you.
>
>  
>  Hope that helps,
>
> - Cyrus
>
>
>
> On Thu, Apr 25, 2019 at 6:18 AM David Osborne  > wrote:
>
>> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the 
>> Arches site we are developing for Jersey Heritage. I've been asked why the 
>> search field in the top right hand corner of the map ('Locate a Place or 
>> Address') doesn't include place names on Jersey, apart from names of most 
>> of the twelve parishes on the island. Even Jersey postcodes cannot be 
>> found, although UK ones work — for those who don't know, Jersey is not part 
>> of the United Kingdom.
>>
>> I'm guessing that the search box is linked to a gazetteer database 
>> connected with the OSM basemap. Is it possible to supplement the search 
>> with local place names, if we could obtain a list of them with their 
>> corresponding co-ordinates? In theory, we could even replace the gazetteer, 
>> as we would only be interested in searches for place names within the 
>> island's jurisdiction.
>>
>> Thanks
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 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/ae774666-b304-41de-8e96-afdddffc7ae7%40googlegroups.com.


[Arches] Re: Updated Arches Roadmap - What's new in 2020?

2020-03-03 Thread David Osborne
Hi Alison

Thanks for your reply and explaining the background to the Arches/Arc 
integration project. We will all have our own priorities so my comments 
were not meant to be unappreciative of the development. I applaud Historic 
England for helping to fund the initiative, particularly if it helps to 
enable integration with other software such as QGIS!

Best wishes
David

On Thursday, 13 February 2020 18:32:25 UTC, Alison Dalgity wrote:
>
> Greetings David. I should have replied to you (and Alina) a long time ago. 
> My apologies.
>
> You make an excellent point David, and I would venture to say that most of 
> us agree with you--i.e., that our priority should be to develop integration 
> with other open-source rather than proprietary tools. 
>
> However, there is a clear reason why we are developing a full integration 
> between Arches and esri–namely, the development has been financed. The 
> effort is driven by Historic England because they use esri products 
> widely, and they have kindly funded a significant piece of the development. 
> (The remainder is financed by Farallon Geographics and us, the Getty 
> Conservation Institute.)
>
> Our sincere hope in completing this work is, exactly as you suggest, that 
> once the development patterns are established the work to integrate Arches 
> with QGIS will be greatly facilitated...hopefully by someone very soon!
>
> Thanks for your candor, I really appreciate your feedback and hope that 
> you continue to make your voice heard for the benefit of the community.
>
> Best,
> Alison
>
> On Thursday, January 2, 2020 at 11:03:29 AM UTC-8, Alina Myklebust wrote:
>>
>> Hi David,
>>
>> Thanks so much for your feedback on the roadmap.  I imagine there will be 
>> many discussions/conversations in the coming weeks/months about this new 
>> ArcGIS
>> integration development.   I'll ask others to chime in here too, because 
>> I'm certain there have been thoughts and considerations related to 
>> integration with QGIS too.  
>>
>> Thanks again and Happy New Year!  
>>
>> Very best,
>>
>> Alina
>>
>>
>>
>> On Tuesday, December 24, 2019 at 8:43:34 AM UTC-8, David Osborne wrote:
>>>
>>> Hi Alina
>>>
>>> The developments in the roadmap look interesting, especially, for me, 
>>> the science applications. However, I must admit disappointment that ArcGIS 
>>> has been chosen in preference to QGIS for the GIS interface. I expect there 
>>> will be several projects which were attracted to Arches due to it being 
>>> free, open-source software and, like ours, have opted for QGIS for the same 
>>> reason. However, my hope is that, once the team have developed the Arches 
>>> plugin for Arc, it will be possible to adapt it to interface with QGIS 
>>> without too much extra work.
>>>
>>> Kind regards
>>> David
>>>
>>> On Wednesday, 18 December 2019 22:41:33 UTC, Alina Myklebust wrote:
>>>>
>>>> Greetings all,
>>>>
>>>> This week we published an updated Arches Roadmap on the Arches Project 
>>>> website.  You can find it here:  https://www.archesproject.org/roadmap/
>>>>
>>>> Visit the page to find out about new key development initiatives and 
>>>> planned features & development work slated for 2020. 
>>>>
>>>> Roadmap highlights include: 
>>>>
>>>>- Arches for Science
>>>>- Arches Workflows
>>>>- Arches/esri integration 
>>>>- Important upgrades in Version 5
>>>>
>>>> If you have any questions, please post them here.  Thanks!
>>>>
>>>>
>>>> Cheers,
>>>>
>>>> Alina
>>>> Arches Project Team
>>>>
>>>

-- 
-- 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/d39a1ef4-8a57-4f05-8f25-f636c6ef0b4a%40googlegroups.com.


Re: [Arches] Map search

2020-03-02 Thread David Osborne
Thanks for reminding me of your ESRI geocoder, Andrew. I've got it working 
with our Arches installation and can use it as the basis for getting ours 
working.

One thing that caught me out is to remember, if using Apache to serve web 
resources, to copy the Javascript component into the appropriate location 
in the static web directory tree.

David

On Monday, 2 March 2020 09:04:46 UTC, Andrew Jones wrote:
>
> We created an ESRI geocoder to use their World geocoding service.  The 
> code and instructions for configuring it are here and might be helpful...
>
> https://github.com/HistoricEngland/arches-esri-geocoder
>
>
>
> On Sunday, March 1, 2020 at 8:55:57 PM UTC, David Osborne wrote:
>>
>> Supplementary question: as the geocoder access is from a fragment of 
>> Javascript, I take it that the connection to the geocoder is from a user's 
>> browser, rather than from the Arches application itself?
>>
>> David
>>
>> On Thursday, 25 April 2019 19:43:55 UTC+1, Cyrus Hiatt wrote:
>>>
>>> Hi David - 
>>>
>>> The search box uses the mapbox geocoder by default. There are a few ways 
>>> that you could customize this:
>>>
>>> The best, but most difficult approach:
>>>
>>> Create a new geocoder by writing a new geocoder component and 
>>> registering that in Arches.  That would be similar to this file: 
>>> `arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would 
>>> need to create a new record in the geocoders table.  Then you would update 
>>> the `DEFAULT_GEOCODER` setting in your project's settings file to use the 
>>> geocoderid for your new record. 
>>>
>>>
>>> The easier approach:
>>>
>>> You could add a `js/views/components/geocoders/` directory to your 
>>> project and create a component similar to: 
>>> arches/app/media/js/views/components/geocoders/mapbox.js.  You would have 
>>> to update the `component` field for the default geocoder (Mapbox) in the 
>>> geocoders database table to point to your new component.
>>>
>>>
>>> Even easier: 
>>>
>>> Add a `js/views/components/geocoders/` directory to your project. Copy 
>>> the `arches/app/media/js/views/components/geocoders/mapbox.js` file into 
>>> that directory. That should override the file in arches. Then modify it to 
>>> use whatever geocoding service best suits your needs. The drawback here of 
>>> course is that you have to remember that the file called 'mapbox' isn't 
>>> really using mapbox's service, but that might not be a concern for you.
>>>
>>>  
>>>  Hope that helps,
>>>
>>> - Cyrus
>>>
>>>
>>>
>>> On Thu, Apr 25, 2019 at 6:18 AM David Osborne  
>>> wrote:
>>>
>>>> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the 
>>>> Arches site we are developing for Jersey Heritage. I've been asked why the 
>>>> search field in the top right hand corner of the map ('Locate a Place or 
>>>> Address') doesn't include place names on Jersey, apart from names of most 
>>>> of the twelve parishes on the island. Even Jersey postcodes cannot be 
>>>> found, although UK ones work — for those who don't know, Jersey is not 
>>>> part 
>>>> of the United Kingdom.
>>>>
>>>> I'm guessing that the search box is linked to a gazetteer database 
>>>> connected with the OSM basemap. Is it possible to supplement the search 
>>>> with local place names, if we could obtain a list of them with their 
>>>> corresponding co-ordinates? In theory, we could even replace the 
>>>> gazetteer, 
>>>> as we would only be interested in searches for place names within the 
>>>> island's jurisdiction.
>>>>
>>>> Thanks
>>>> David
>>>>
>>>> -- 
>>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>>>> send email to arches...@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 arches...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
-- 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/57e5b1dc-b820-40e2-ba8e-28668fd835a4%40googlegroups.com.


[Arches] Arches 5.0 Docker setup problems

2020-03-03 Thread David Osborne
I need a new Arches installation to develop some stuff for a conference 
presentation, so I thought I'd take the opportunity to not only use the 
latest version but also run it under Docker.

Following the instructions at 
https://github.com/archesproject/arches/blob/master/docker/Readme.md, I got 
as far as Quick Start step 6, docker-compose up, but there were problems 
creating the database for my *archesdemo* project.

I've uploaded my docker-compose.yml file and the results of running 
docker-compose 
up into a gist at 
https://gist.github.com/daosborne/cd501c56dc117e066b4f118f15af7e57 to show 
the problem. Is it obvious what I've missed or is wrong?

I'm running Docker Desktop 2.2.0.3 on MacOS 10.14.6 Mojave.

Thanks!
David

-- 
-- 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/5f42603a-ca04-4b8f-8e90-92af93d20b40%40googlegroups.com.


Re: [Arches] Re: Programmatic management of resources?

2020-02-28 Thread David Osborne
Thanks, Martha, that will be useful!

David

On Tuesday, 25 February 2020 19:07:01 UTC, Martha S wrote:
>
> I installed DBeaver Community Edition (https://dbeaver.io/) to generate 
> an ERD. Here is a copy I just exported to PNG and converted to PDF. I hope 
> it helps.
>
> Martha 
>
> On Monday, February 24, 2020 at 10:03:43 AM UTC-8, Alexei Peters wrote:
>>
>> Hi David,
>> I don't really have an ERD available, although someone on our team 
>> might.  I'll ask around.
>> -Alexei
>>
>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>
>>
>> On Mon, Feb 24, 2020 at 1:21 AM Andrew Jones <
>> andre...@historicengland.org.uk> wrote:
>>
>>> I would recommend that you use the django model to delete the resources. 
>>> Like you, we were not confident that we knew enough about the database 
>>> structure to confidently execute SQL without leaving various elements all 
>>> over the place. You also need to update the index etc.
>>>
>>> I would write a command that allows you to pass in a list of UUIDs 
>>> (.json UUID list would be easiest) and use the django model functions to 
>>> delete the Resource objects.  *The following command is TOTALLY 
>>> untested* but is what I'm thinking about...
>>>
>>> import os
>>> import json
>>> from django.core.management.base import BaseCommand, CommandError
>>> from arches.app.models.resource import Resource
>>>
>>> class Command(BaseCommand):
>>>
>>> def add_arguments(self, parser):
>>>
>>> parser.add_argument('operation', nargs='?',
>>> choices=['delete_resources',],
>>> help='Operation Type; ' +
>>> '\'delete_resources\'=Deletes resources from the database')
>>>
>>> parser.add_argument('-s', '--source', action='store', 
>>> dest='source', default='',
>>> help='Json file containing Resource instance UUIDs in an 
>>> array')
>>>
>>> def handle(self, *args, **options):
>>> if options['operation'] == 'delete_resources':
>>> self.delete_resources(json_source=options['source'])
>>> def load_json(self, json_source):
>>> """
>>> json should be formatted ["",""]
>>> """
>>> json_data = open(json_source)   
>>> return json.load(json_data)
>>>
>>> def delete_resources(self,json_source)
>>> uuids = load_json(json_source=source)
>>> resources_to_delete = 
>>> Resource.objects.filter(resourceinstanceid__in=uuids)
>>> for r in resources_to_delete:
>>> try:
>>> r.delete()
>>> except Exception as e:
>>> print(str(e))
>>>
>>> Have a look at django management commands to see where this needs to be 
>>> placed in your django project.
>>>
>>> Andrew
>>>
>>>
>>> On Sunday, February 23, 2020 at 5:37:36 PM UTC, David Osborne wrote:
>>>>
>>>> Hi Alexei
>>>>
>>>> Thank you for the details. I should have asked about doing this using 
>>>> SQL, which seems the more obvious way of doing it but I had looked at the 
>>>> database structure and couldn't see how it related to the data models. Is 
>>>> there anything for developers such as an entity relationship diagram for 
>>>> the database, to explain how to query it?
>>>> I'll try your SQL and proceed with caution (and backups!) when I get to 
>>>> deletions.
>>>>
>>>> Cheers
>>>> David
>>>>
>>>> On Tuesday, 18 February 2020 18:29:16 UTC, Alexei Peters wrote:
>>>>>
>>>>> Hi David,
>>>>> There isn't a baked in "grep"-like command to do what you want but 
>>>>> I've crafted a bit of sql that you might be able to run to retrieve 
>>>>> resource instances based on node values.
>>>>>
>>>>> SELECT t.tileid,
>>>>> t.resourceinstanceid,
>>>>> t.tiledata,
>>>>> n.nodeid
>>>>> FROM tiles t
>>>>> LEFT JOIN nodes n ON t.nodegroupid = n.nodegroupid
>>>>> WHERE 
>>>>> (t.tiledata::json -> n.nodeid::text)::text = '12'
>>>>>
>>>>> In this case you'd replace "12" with the value you're interested in.  
>>>>> This won't work for geometry nodes but should w

[Arches] Re: Programmatic management of resources?

2020-02-28 Thread David Osborne
Thanks to everyone who posted suggestions to help with our problem of 
duplications. In the end, we simply deleted the few duplicate resource 
records using the web user interface: there weren't as many duplicates as I 
first thought.

That left the duplicate resource-to-resource link records, of which we had 
over 15,000. Once I found that these are contained in the 
resource_x_resource database table, I checked them using the following SQL

SELECT resourceinstanceidfrom, resourceinstanceidto, COUNT(*)
FROM resource_x_resource
GROUP BY resourceinstanceidfrom, resourceinstanceidto
ORDER BY resourceinstanceidfrom, resourceinstanceidto;

and deleted the duplicates using

DELETE FROM resource_x_resource
WHERE resourcexid IN (
SELECT A.resourcexid
  FROM resource_x_resource A
 WHERE EXISTS (SELECT B.resourcexid
 FROM resource_x_resource B
WHERE B.resourceinstanceidfrom = A.resourceinstanceidfrom
  AND B.resourceinstanceidto = A.resourceinstanceidto
  AND B.resourcexid < A.resourcexid));

Having noticed that the relationshiptype field is simply text, I replaced 
all the incorrect ----0007 values with an 
appropriate CIDOC CRM property

UPDATE resource_x_resource SET relationshiptype = 
'http://www.cidoc-crm.org/cidoc-crm/P67_refers_to' WHERE relationshiptype=
'----0007';

Finally, a run of
python manage.py es index_resource_relations
made those changes visible in the resource reports in the user interface.

David

On Tuesday, 11 February 2020 23:12:54 UTC, David Osborne wrote:
>
> It seems I've inadvertently duplicated some resource records by 
> accidentally assigning them new uuids before loading from CSVs, so instead 
> of overwriting existing records, duplicates were created.
>
> I was wondering if anyone had developed any 'grep'-like command-line 
> utilities that perhaps returned uuids for resources where, say, a node 
> contains a particular value? If there were also a command to delete 
> resources given their uuid, that would help to remove the duplicate 
> records. If nothing like this exists, is there existing Python code in the 
> codebase which would make a good starting point? We're still on Arches 
> 4.4.2.
>
> A related question is whether it's possible to delete resource-to-resource 
> relationship records? They can obviously be loaded from CSV but there's 
> nothing documented which can remove them. What happens to these links when 
> one or more of the associated resource records are deleted?
>
> Finally, I've always been puzzled that in our resource reports, related 
> resources are followed by the uuid for the relationship 
> (----0007), rather than the CIDOC-CRM property 
> phrase ("is-related-to"or "refers-to", I forget which), although I see that 
> Lincoln's Arcade has the almost equally obscure URL for CRM property P67.
>
> Cheers
> David
>

-- 
-- 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/f59f4a68-2406-4307-83f6-78d23f6b53be%40googlegroups.com.


Re: [Arches] Arches 5.0 Docker setup problems

2020-03-05 Thread David Osborne
ATE EXTENSION
>
> 2020-03-04 00:28:16.764 UTC [25] LOG:  received smart shutdown request
> 2020-03-04 00:28:16.783 UTC [25] LOG:  background worker "logical 
> replication launcher" (PID 44) exited with exit code 1
> 2020-03-04 00:28:16.791 UTC [39] LOG:  shutting down
> 2020-03-04 00:28:16.866 UTC [25] LOG:  database system is shut down
> Postgres initialisation process completed  restarting in foreground
>
>
> Why it is different for you I cannot tell right now. I'm using 
> docker-compose version 1.24.1 (docker engine 19.03.5).
>
> Ben
>
> On Tue, 3 Mar 2020 at 15:13, David Osborne  > wrote:
>
>> I need a new Arches installation to develop some stuff for a conference 
>> presentation, so I thought I'd take the opportunity to not only use the 
>> latest version but also run it under Docker.
>>
>> Following the instructions at 
>> https://github.com/archesproject/arches/blob/master/docker/Readme.md, I 
>> got as far as Quick Start step 6, docker-compose up, but there were 
>> problems creating the database for my *archesdemo* project.
>>
>> I've uploaded my docker-compose.yml file and the results of running 
>> docker-compose 
>> up into a gist at 
>> https://gist.github.com/daosborne/cd501c56dc117e066b4f118f15af7e57 to 
>> show the problem. Is it obvious what I've missed or is wrong?
>>
>> I'm running Docker Desktop 2.2.0.3 on MacOS 10.14.6 Mojave.
>>
>> Thanks!
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/archesproject/5f42603a-ca04-4b8f-8e90-92af93d20b40%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/archesproject/5f42603a-ca04-4b8f-8e90-92af93d20b40%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- 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/7faf5315-c7ae-4aa1-881c-c21378266483%40googlegroups.com.


[Arches] Programmatic management of resources?

2020-02-11 Thread David Osborne
It seems I've inadvertently duplicated some resource records by 
accidentally assigning them new uuids before loading from CSVs, so instead 
of overwriting existing records, duplicates were created.

I was wondering if anyone had developed any 'grep'-like command-line 
utilities that perhaps returned uuids for resources where, say, a node 
contains a particular value? If there were also a command to delete 
resources given their uuid, that would help to remove the duplicate 
records. If nothing like this exists, is there existing Python code in the 
codebase which would make a good starting point? We're still on Arches 
4.4.2.

A related question is whether it's possible to delete resource-to-resource 
relationship records? They can obviously be loaded from CSV but there's 
nothing documented which can remove them. What happens to these links when 
one or more of the associated resource records are deleted?

Finally, I've always been puzzled that in our resource reports, related 
resources are followed by the uuid for the relationship 
(----0007), rather than the CIDOC-CRM property 
phrase ("is-related-to"or "refers-to", I forget which), although I see that 
Lincoln's Arcade has the almost equally obscure URL for CRM property P67.

Cheers
David

-- 
-- 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/fd093de4-a3ba-40da-8186-15b9be99c165%40googlegroups.com.


[Arches] Re: Updated Arches Roadmap - What's new in 2020?

2019-12-24 Thread David Osborne
Hi Alina

The developments in the roadmap look interesting, especially, for me, the 
science applications. However, I must admit disappointment that ArcGIS has 
been chosen in preference to QGIS for the GIS interface. I expect there 
will be several projects which were attracted to Arches due to it being 
free, open-source software and, like ours, have opted for QGIS for the same 
reason. However, my hope is that, once the team have developed the Arches 
plugin for Arc, it will be possible to adapt it to interface with QGIS 
without too much extra work.

Kind regards
David

On Wednesday, 18 December 2019 22:41:33 UTC, Alina Myklebust wrote:
>
> Greetings all,
>
> This week we published an updated Arches Roadmap on the Arches Project 
> website.  You can find it here:  https://www.archesproject.org/roadmap/
>
> Visit the page to find out about new key development initiatives and 
> planned features & development work slated for 2020. 
>
> Roadmap highlights include: 
>
>- Arches for Science
>- Arches Workflows
>- Arches/esri integration 
>- Important upgrades in Version 5
>
> If you have any questions, please post them here.  Thanks!
>
>
> Cheers,
>
> Alina
> Arches Project Team
>

-- 
-- 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/1695a2ab-5ea5-40ea-b16d-d5872449bf53%40googlegroups.com.


[Arches] Re: Hide Time search?

2020-04-08 Thread David Osborne
Thanks, Dennis, but we're on Arches 4.4.2 as I mentioned and there's no 
search_component table in our database. Does that mean it's not possible in 
Arches 4.x?

David

On Wednesday, 8 April 2020 17:14:27 UTC+1, Dennis Wuthrich wrote:
>
> David,
>
> In Arches v5 search filters are modular, so yes you can remove the time 
> filter.
>
> The easiest way to do this is to remove the record for the time filter 
> from the search_component table in your Arches postrgres database.  The SQL 
> is simple: DELETE FROM search_component WHERE name = 'Time Filter'.
>
> Note that you can always add it back later if you change your mind!
>
> Good Luck,
>
> Dennis
>
> On Wednesday, April 8, 2020 at 5:24:09 AM UTC-7, David Osborne wrote:
>>
>> We're not planning to use the time filter or time wheel facility in our 
>> project: is it possible to disable or hide it?
>> (Arches 4.4.2)
>>
>> David
>>
>>

-- 
-- 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/5dcc3cee-5418-45e6-ad13-362a631b7330%40googlegroups.com.


[Arches] Re: Hide Time search?

2020-04-09 Thread David Osborne
Hiding the button in the browser does what we need. Thanks, Dennis, that 
worked perfectly!

David

On Wednesday, 8 April 2020 18:03:26 UTC+1, Dennis Wuthrich wrote:
>
> David,
>
> Sorry, I somehow missed that you're on v4.4.2.
>
> There's no equivalent way to disable the time search in v4 (e.g: no 
> search_components table, as you've discovered).  An ugly hack would be to 
> simply set the style on the time filter button to display: none;  This 
> will, of course, simply hide the button in the browser.
>
> -Dennis
>
> On Wednesday, April 8, 2020 at 9:52:53 AM UTC-7, David Osborne wrote:
>>
>> Thanks, Dennis, but we're on Arches 4.4.2 as I mentioned and there's no 
>> search_component table in our database. Does that mean it's not possible in 
>> Arches 4.x?
>>
>> David
>>
>> On Wednesday, 8 April 2020 17:14:27 UTC+1, Dennis Wuthrich wrote:
>>>
>>> David,
>>>
>>> In Arches v5 search filters are modular, so yes you can remove the time 
>>> filter.
>>>
>>> The easiest way to do this is to remove the record for the time filter 
>>> from the search_component table in your Arches postrgres database.  The SQL 
>>> is simple: DELETE FROM search_component WHERE name = 'Time Filter'.
>>>
>>> Note that you can always add it back later if you change your mind!
>>>
>>> Good Luck,
>>>
>>> Dennis
>>>
>>> On Wednesday, April 8, 2020 at 5:24:09 AM UTC-7, David Osborne wrote:
>>>>
>>>> We're not planning to use the time filter or time wheel facility in our 
>>>> project: is it possible to disable or hide it?
>>>> (Arches 4.4.2)
>>>>
>>>> David
>>>>
>>>>

-- 
-- 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/0ac03c10-0f6f-4344-930d-5be632d1485a%40googlegroups.com.


[Arches] Hide Time search?

2020-04-08 Thread David Osborne
We're not planning to use the time filter or time wheel facility in our 
project: is it possible to disable or hide it?
(Arches 4.4.2)

David

-- 
-- 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/20e243a7-3d93-45c5-a2a1-5589714e33b1%40googlegroups.com.


[Arches] Arches HER for Jersey Heritage goes live

2020-05-18 Thread David Osborne
On behalf of the project team, I am delighted to announce the launch of the 
Historic Environment Record for Jersey Heritage. The culmination of a 
three-year development, the HER contains details of 5,137 historic 
buildings and archaeological sites, and 206 records of finds on the island 
of Jersey, together with information on related survey activities, archives 
and bibliographic data.

The project was managed by Dr Peter Chowne, in collaboration with Roger 
Hills and Georgia Robinson of Jersey Heritage, while I provided technical 
advice and implementation. On the subject of support, I’d like to record my 
thanks to all those at Farallon, particularly Alexei, Dennis and Cyrus and 
other forum users, particularly Adam Cox, who answered my many questions 
and helped us to get this service up and running. I couldn’t have done it 
without you!

Hosted in a virtual server on Amazon Web Services (AWS), running Ubuntu 
16.04, the HER uses Arches version 4.4.2. It is accessible at the URL

https://her.jerseyheritage.org


David

-- 
-- 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/7ec3852b-e81b-4440-ad66-deabafb6ca4b%40googlegroups.com.


Re: [Arches] Arches HER for Jersey Heritage goes live

2020-05-18 Thread David Osborne
Hi Sara

Our launch plan was small in scale, limited to getting feedback from staff
within Jersey Heritage, which informed on usability issues. Roger Hills,
who led the JH side of the project, organised that and collated the
feedback from his colleagues. I was going to ask why you were not moving to
v5 but in our project, we held back from migrating to the latest version,
which appeared very late in our timescale and the work in moving from v4 to
5 would have delayed our launch and added to costs.

I must say that historicplacesla.org was one of our benchmarks when we were
starting our Arches journey, so I'll be interested to see its new
incarnation in its v4 guise! Good luck with your 'go live'.

Best wishes
David

On Mon, 18 May 2020 at 16:54, Sara Delgadillo Cruz 
wrote:

> Hi David,
>
> Congratulations on the launch of your v4 instance!
> We, in Los Angeles, are very close to launching our v4 instance and would
> like to connect with you. We're currently refinding a loose launch plan to
> request feedback from the conservation community and the other likely users
> of our instance. Did you form a launch plan for Jersey Heritage?
>
> <https://planning4la.org>
>
> *Sara Delgadillo Cruz *
>
> Los Angeles City Planning
>
> Office of Historic Resources
>
> 221 N. Figueroa St., Suite 1350
>
> Los Angeles, CA 90012
>
> T: (213) 847-3650
>
> <https://www.facebook.com/Planning4LA/>
> <https://www.instagram.com/planning4la/>
> <https://twitter.com/Planning4LA>
> <https://www.youtube.com/channel/UChl2PmRhAzUf158o0vZjnHw/videos>
> <https://www.linkedin.com/company/los-angeles-department-of-city-planning>
>   <http://bit.ly/DCPEmail>
> For information on SurveyLA and HistoricPlacesLA visit Planning4LA.org
> <https://planning.lacity.org/preservation-design/historic-resources-survey>
> .
>
>
> On Mon, May 18, 2020 at 3:34 AM Carlisle, Philip <
> philip.carli...@historicengland.org.uk> wrote:
>
>> Congrats David.
>>
>>
>>
>> It looks great. Have you done much user testing? Would you like external
>> feedback on the site?
>>
>>
>>
>> Phil
>>
>>
>>
>> *Phil Carlisle*
>>
>> Knowledge Organization Specialist
>>
>> Information Analysis
>>
>> Policy and Evidence Group
>>
>> Historic England
>>
>> Direct Dial: +44 (0)1793 414824
>>
>>
>>
>> Many Historic England staff are working remotely at the moment and we are
>> doing what we can to maintain our level of response but please bear with us
>> as this may be slower than usual.
>>
>>
>>
>> http://www.heritagedata.org/blog/
>>
>>
>>
>> *From:* archesproject@googlegroups.com  *On
>> Behalf Of *David Osborne
>> *Sent:* 18 May 2020 10:25
>> *To:* Arches Project 
>> *Subject:* [Arches] Arches HER for Jersey Heritage goes live
>>
>>
>>
>> THIS IS AN EXTERNAL EMAIL:  do not click any links or open any
>> attachments unless you trust the sender and were expecting the content to
>> be sent to you
>>
>> On behalf of the project team, I am delighted to announce the launch of
>> the Historic Environment Record for Jersey Heritage. The culmination of a
>> three-year development, the HER contains details of 5,137 historic
>> buildings and archaeological sites, and 206 records of finds on the island
>> of Jersey, together with information on related survey activities, archives
>> and bibliographic data.
>>
>> The project was managed by Dr Peter Chowne, in collaboration with Roger
>> Hills and Georgia Robinson of Jersey Heritage, while I provided technical
>> advice and implementation. On the subject of support, I’d like to record my
>> thanks to all those at Farallon, particularly Alexei, Dennis and Cyrus and
>> other forum users, particularly Adam Cox, who answered my many questions
>> and helped us to get this service up and running. I couldn’t have done it
>> without you!
>>
>> Hosted in a virtual server on Amazon Web Services (AWS), running Ubuntu
>> 16.04, the HER uses Arches version 4.4.2. It is accessible at the URL
>>
>> https://her.jerseyheritage.org
>>
>>
>> David
>>
>> --
>> -- 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

[Arches] Controlling order of indexing of resource types for Elasticsearch?

2020-03-17 Thread David Osborne
I needed to re-index our database and now the search results sidebar on the 
left of the search page shows the Information resources first. Is it 
possible to have the Heritage Assets listed first? Running python manage.py 
es index_resources the Information resources are processed before Activity 
and Heritage Asset resources, 

In 
~/Projects/ENV/lib/python2.7/site-packages/arches/app/utils/index_database.py, 
which is untimately called from python manage.py es index_resources, 
there's a function index_resources_by_type which could be used to index 
resources in a desired order but there's no obvious way to invoke it.

David

-- 
-- 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/c469e517-384d-4e22-8107-79a364446317%40googlegroups.com.


Re: [Arches] Re: Controlling order of indexing of resource types for Elasticsearch?

2020-03-24 Thread David Osborne
Hi Alexei

Thank you, that worked! I first tried re-indexing the Heritage Assets, the 
resource we wanted to appear in the search results panel. That had no 
effect, so I tried in turn the Activity and Information resources and it 
was after re-indexing the Information resources that the Heritage Assets 
now appear in the search results.

Hope you and everyone in the Arches community are staying safe and well.

Best wishes
David

On Monday, 23 March 2020 20:10:23 UTC, Alexei Peters wrote:
>
> Hi David,
> This is a bit of a hack, but would achieve what I believe you are looking 
> for.
>
>1.  Go to the graph editor for the resource type you want to re-index.
>2. From the "Manage" button in the top left, select "Functions"
>3. Select the "Define Resource Descriptors" from the left panel
>4. In the "Define Resource Descriptors" center panel click the 
>"Re-Index" button in the top right corner.
>
> This will effectively index all the resources of that type.  I'm unsure if 
> it will affect the ordering in the search results panel, but it's worth a 
> shot.
> Cheers,
> Alexei
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>
>
> On Mon, Mar 23, 2020 at 12:41 PM Alina Myklebust  > wrote:
>
>> Hi David,
>>
>> Were you able to find a solution for this yet? I may recall a similar 
>> question in the past, so I'll run a search to see what comes up.  
>>
>> Best,
>>
>> Alina
>>
>>
>> On Tuesday, March 17, 2020 at 6:44:09 AM UTC-7, David Osborne wrote:
>>>
>>> I needed to re-index our database and now the search results sidebar on 
>>> the left of the search page shows the Information resources first. Is it 
>>> possible to have the Heritage Assets listed first? Running python 
>>> manage.py es index_resources the Information resources are processed 
>>> before Activity and Heritage Asset resources, 
>>>
>>> In 
>>> ~/Projects/ENV/lib/python2.7/site-packages/arches/app/utils/index_database.py,
>>>  
>>> which is untimately called from python manage.py es index_resources, 
>>> there's a function index_resources_by_type which could be used to index 
>>> resources in a desired order but there's no obvious way to invoke it.
>>>
>>> (Arches 4.4.2, Ubuntu 16.04)
>>>
>>> David
>>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/archesproject/9c94d39b-1260-4630-b050-248814a1fe3a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/archesproject/9c94d39b-1260-4630-b050-248814a1fe3a%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- 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/8e67fea4-3d4d-41b5-9d15-2c4565a391ba%40googlegroups.com.


Re: [Arches] Map search

2020-03-10 Thread David Osborne
Hi Andrew

The ESRI geocoder does what exactly we need and is fast at finding results 
after I added the countryCode parameter to the Javascript, so thank you for 
mentioning it.

After a search, we get a red filled circle marking the point. I can't find 
where the styling of the marker is defined: is it possible to change it? At 
the moment, it's difficult to distinguish the geocoder marker from the 
sites in our Heritage Assets overlay, which are almost the same colour and 
size.

David

On Monday, 2 March 2020 09:04:46 UTC, Andrew Jones wrote:
>
> We created an ESRI geocoder to use their World geocoding service.  The 
> code and instructions for configuring it are here and might be helpful...
>
> https://github.com/HistoricEngland/arches-esri-geocoder
>
>
>
> On Sunday, March 1, 2020 at 8:55:57 PM UTC, David Osborne wrote:
>>
>> Supplementary question: as the geocoder access is from a fragment of 
>> Javascript, I take it that the connection to the geocoder is from a user's 
>> browser, rather than from the Arches application itself?
>>
>> David
>>
>> On Thursday, 25 April 2019 19:43:55 UTC+1, Cyrus Hiatt wrote:
>>>
>>> Hi David - 
>>>
>>> The search box uses the mapbox geocoder by default. There are a few ways 
>>> that you could customize this:
>>>
>>> The best, but most difficult approach:
>>>
>>> Create a new geocoder by writing a new geocoder component and 
>>> registering that in Arches.  That would be similar to this file: 
>>> `arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would 
>>> need to create a new record in the geocoders table.  Then you would update 
>>> the `DEFAULT_GEOCODER` setting in your project's settings file to use the 
>>> geocoderid for your new record. 
>>>
>>>
>>> The easier approach:
>>>
>>> You could add a `js/views/components/geocoders/` directory to your 
>>> project and create a component similar to: 
>>> arches/app/media/js/views/components/geocoders/mapbox.js.  You would have 
>>> to update the `component` field for the default geocoder (Mapbox) in the 
>>> geocoders database table to point to your new component.
>>>
>>>
>>> Even easier: 
>>>
>>> Add a `js/views/components/geocoders/` directory to your project. Copy 
>>> the `arches/app/media/js/views/components/geocoders/mapbox.js` file into 
>>> that directory. That should override the file in arches. Then modify it to 
>>> use whatever geocoding service best suits your needs. The drawback here of 
>>> course is that you have to remember that the file called 'mapbox' isn't 
>>> really using mapbox's service, but that might not be a concern for you.
>>>
>>>  
>>>  Hope that helps,
>>>
>>> - Cyrus
>>>
>>>
>>>
>>> On Thu, Apr 25, 2019 at 6:18 AM David Osborne  
>>> wrote:
>>>
>>>> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the 
>>>> Arches site we are developing for Jersey Heritage. I've been asked why the 
>>>> search field in the top right hand corner of the map ('Locate a Place or 
>>>> Address') doesn't include place names on Jersey, apart from names of most 
>>>> of the twelve parishes on the island. Even Jersey postcodes cannot be 
>>>> found, although UK ones work — for those who don't know, Jersey is not 
>>>> part 
>>>> of the United Kingdom.
>>>>
>>>> I'm guessing that the search box is linked to a gazetteer database 
>>>> connected with the OSM basemap. Is it possible to supplement the search 
>>>> with local place names, if we could obtain a list of them with their 
>>>> corresponding co-ordinates? In theory, we could even replace the 
>>>> gazetteer, 
>>>> as we would only be interested in searches for place names within the 
>>>> island's jurisdiction.
>>>>
>>>> Thanks
>>>> David
>>>>
>>>> -- 
>>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>>>> send email to arches...@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 arches...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
-- 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/f0d8e0f8-0d24-45e4-ad80-88dc238991f7%40googlegroups.com.


Re: [Arches] Arches 5.0 Docker setup problems

2020-03-07 Thread David Osborne
 
Coverage.json
arches   | Ontology matching query does not exist.
arches   | /web_root/arches/arches/db/graphs/branches/Place 2.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/branches/Measurement.json
arches   | Ontology matching query does not exist.
arches   | /web_root/arches/arches/db/graphs/branches/Name.json
arches   | Ontology matching query does not exist.
arches   | /web_root/arches/arches/db/graphs/branches/Condition 
Assessment.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/resource_models/Heritage Resource 
Model.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/resource_models/Activity Resource 
Model.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/resource_models/Heritage Resource Group 
Resource Model.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/resource_models/Historical Event Resource 
Model.json
arches   | Ontology matching query does not exist.
arches   | /web_root/arches/arches/db/graphs/resource_models/Actor 
Resource Model.json
arches   | Ontology matching query does not exist.
arches   | 
/web_root/arches/arches/db/graphs/resource_models/Information Resource 
Model.json
arches   | Ontology matching query does not exist.

David

On Thursday, 5 March 2020 23:25:52 UTC, Ben O'Steen wrote:
>
> Im going to guess that the elasticsearch container is not ready and the 
> migration script fails when it attempts to run the first time through and 
> Arches ends up in a bad state which it generally can never recover from.
>
> docker-compose down -v 
>
> This will kill and delete all the badly formed docker containers created 
> by a failed initial run.
>
> docker-compose up --no-start
>
> This will initialize the containers and network for the stack.
>
> docker-compose start elasticsearch db
>
> This will start the elasticsearch instance and the database. 
>
> docker logs -f elasticsearch
>
> This will let you watch what it is doing. Ctrl-c to get back to normal. 
> I've found that if you run antivirus checkers and have some network 
> slowness, it can take a while (30s to 1min) for elasticsearch to actually 
> be ready. It sadly lies on its health check command and reports "green" 
> while it is still doing its random clustering things.
>
> docker-compose up
>
> After elasticsearch has finished doing whatever it does on start up that 
> takes so long, run this and watch to make sure there are no connection 
> errors.
>
>
> Ben
>
> On Thu, 5 Mar 2020, 07:44 David Osborne,  > wrote:
>
>> Thanks, Ben: your comment helped me make some progress (to another error 
>> ;-)
>>
>> The problem is that the Readme.md in the docker directory of the Github 
>> archesproject/arches repo (file last revised 17 months ago!) is inaccurate 
>> or vague when it says "Create a new folder for your custom Arches code" 
>> without specifying where. I created one alongside my cloned arches repo, 
>> with the result that the path to /docker-entrypoint-initdb.d/init.sql did 
>> not exist, so Docker created directories instead.
>>
>> Having located the arches/install/init-unix.sql file referred to in the 
>> db service, I worked out that it's easiest to run docker-compose in the 
>> cloned arches directory itself, so I edited the docker-compose.yml file, 
>> and that file and the resulting output from docker-compose is in 
>> https://gist.github.com/daosborne/bc83812e33d9396d679af54f31565895 (with 
>> the lines from couchdb and elasticsearch edited out from the docker-compose 
>> log as not relevant).
>>
>> It gets further but has some problems (partly because I want the default 
>> graphs and concepts installed):
>>
>>1. error setting up db (traceback starting line 133)
>>2. database tables graphs, ontologies, concepts, d_value_types don't 
>>exist (lines 222--648)
>>3. db connection error during migrations (line 734)
>>4. db column nodes.fieldname doesn't exist (lines 1123, 1185)
>>
>> I had also tried setting a project name, as suggested in the Readme but 
>> abandoned that because the directory was missing from /web_root (and 
>> produces a spurious error message about the project name clashing with a 
>> Python module).
>>
>> I hoped that using Docker would be a quick and easy way of getting a new 
>> Arches installation running but it see

[Arches] Stopping couchdb if Arches Collector is not being used

2020-05-24 Thread David Osborne
In our Arches 4.4.2 installation, Couchdb is running, although we're not 
using the Arches Collector. Will Arches have a problem if I stop the 
Couchdb processes? top sometimes shows the beam.smp process as using CPU 
and memory and I'd like to minimise their use by unnecessary processes.

David

-- 
-- 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/8ad878ff-7bf6-4c5f-8927-10ca0d7247fe%40googlegroups.com.


Re: [Arches] Stopping couchdb if Arches Collector is not being used

2020-05-24 Thread David Osborne
Thanks, Cyrus — I stopped then disabled the service using systemctl (we're 
running Ubuntu 16.04).

David

On Sunday, 24 May 2020 20:41:21 UTC+1, Cyrus Hiatt wrote:
>
> Hi David - 
>
> If you are not using Collector, you can safely stop CouchDB. 
>
> - Cyrus
>
> On Sun, May 24, 2020 at 8:55 AM David Osborne  > wrote:
>
>> In our Arches 4.4.2 installation, Couchdb is running, although we're not 
>> using the Arches Collector. Will Arches have a problem if I stop the 
>> Couchdb processes? top sometimes shows the beam.smp process as using CPU 
>> and memory and I'd like to minimise their use by unnecessary processes.
>>
>> David
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to arches...@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 arches...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/archesproject/8ad878ff-7bf6-4c5f-8927-10ca0d7247fe%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/archesproject/8ad878ff-7bf6-4c5f-8927-10ca0d7247fe%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- 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/1fe25096-8da4-4a18-b884-c5da0655a883%40googlegroups.com.


[Arches] Arches 5.1 – ESRI ArcGIS data and DISCO

2021-04-05 Thread David Osborne
I have been away from the Arches arena for almost a year, after finishing 
the implementation for Jersey Heritage, while I concentrated on my research.

I'm now looking at using Arches for my research data, so I was wondering 
what the current state of play is for using ArcGIS info. I have some 
geochemistry data I would like to install as a map overlay (the file 
extensions are .cpg, .dbf, .prj, .sbn, .sbx, .shp, .shp.xml and .shx). Is 
there a how-to anywhere to describe how to import this?

I will also be generating some scientific analysis data I would like to 
incorporate and the DISCO package might be a good way to do that – is it 
available to use yet?

I've just set up Arches 5.1 in an Ubuntu 18.04 VM.

Thanks for any words of wisdom!
David

*David Osborne *BA MSc
AHRC Midlands4Cities PhD researcher
Department of Classics and Archaeology, University of Nottingham
https://www.midlands4cities.ac.uk/student_profile/david-osborne/

-- 
-- 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/a2081b50-8224-4794-8c5e-268f003fab94n%40googlegroups.com.


[Arches] Re: Export Search Sort

2021-04-06 Thread David Osborne
Hi Jelena & Annabel,

Although I haven't used it, csvkit looks suitable for reordering/selecting 
columns:

csvcut -c column_c,column_a data.csv > new.csv

In the documentation (https://csvkit.readthedocs.io/en/latest/), the 
examples are all Unix/Linux shell commands but it's a Python tool installed 
using pip, so you already have the pre-requisites with your Arches 
installation.

Cheers,
David
On Monday, 5 April 2021 at 19:20:48 UTC+1 Annabel Enriquez wrote:

> Dear Jelena,
>
> Thank you for your post. To answer your question, at the moment, there is 
> not a way to order the csv column headers in the search export csv. As you 
> probably already know, you can decide what the column headers are (i.e. 
> what nodes are represented in the export csv) via the Arches Designer, but 
> there is no way to determine the order. If others have experience with 
> this, hopefully, they will chime in to this thread. I will say that if this 
> is an enhancement that you would like any developer involved with Arches to 
> be aware of, you may submit an enhancement issue to the Arches github 
> repository (here's information on how to do that: 
> https://github.com/archesproject/arches/blob/master/CONTRIBUTING.md#issue). 
> Also, if through your own Arches work, you are able to create a solution 
> for this, please do share your findings with the rest of the Arches 
> community through the forum.
>
> All the best,
> Annabel
> Getty Conservation Institute / Arches Project Team
>
> On Wednesday, March 31, 2021 at 8:05:41 AM UTC-7 jelena...@gmail.com 
> wrote:
>
>> Dear Arches team,
>> I was wondering if there is a way to order colum headers (and data 
>> acordingly) for the serach export to cvs?
>> It semas that the export orders the data from the graph not according to 
>> the order in the cards but in his own way.
>>
>>
>> Thank you in Advance,
>> Jelena
>>
>

-- 
-- 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/780a9700-6341-4630-bc96-23861403e696n%40googlegroups.com.


[Arches] Re: Arches 5.1 – ESRI ArcGIS data and DISCO

2021-04-07 Thread David Osborne
Hi Dennis,

Thanks, that's very useful. I should be able to load my ArcGIS data into 
PostGIS in the Postgres which Arches is using on my Ubuntu VM.

I'm looking forward to seeing how DISCO develops, thanks for the link.

Kind regards,
David
On Tuesday, 6 April 2021 at 16:13:41 UTC+1 Dennis Wuthrich wrote:

> Hi David,
>
> There are several ways that you can register GIS data (including 
> shapefiles) as a map overlay in Arches.  Note that this is different than 
> importing the data into Arches.
>
> You'll need to set up a way to serve your shapefile data to Arches via a 
> service.  Luckily, there are several options including using GeoServer, 
> ArcGIS Online, and others.  If you want to serve your shapefile data as 
> vector tiles, I would suggest the following approach:
>
> 1. Load your shapefile into PostGIS (there are lots of tutorials on this 
> on the web).
> 2. Use pg_tileserv (https://github.com/CrunchyData/pg_tileserv) as your 
> vector tile server.
> 3. Define the styling of your shapefile content using the Mapbox 
> specification.  Lots of ways to do this, but one great tool is Maputnik (
> https://github.com/maputnik/editor)
> 4. Register your map source and layer with Arches 
>
> As for DISCO, we're currently working on the package and its not quite 
> done yet.  You can follow along with our progress at 
> https://github.com/archesproject/arches-for-science-prj. 
>
> Hope this is helpful
>
> Dennis
>
> On Monday, April 5, 2021 at 7:05:47 AM UTC-7 David Osborne wrote:
>
>> I have been away from the Arches arena for almost a year, after finishing 
>> the implementation for Jersey Heritage, while I concentrated on my research.
>>
>> I'm now looking at using Arches for my research data, so I was wondering 
>> what the current state of play is for using ArcGIS info. I have some 
>> geochemistry data I would like to install as a map overlay (the file 
>> extensions are .cpg, .dbf, .prj, .sbn, .sbx, .shp, .shp.xml and .shx). Is 
>> there a how-to anywhere to describe how to import this?
>>
>> I will also be generating some scientific analysis data I would like to 
>> incorporate and the DISCO package might be a good way to do that – is it 
>> available to use yet?
>>
>> I've just set up Arches 5.1 in an Ubuntu 18.04 VM.
>>
>> Thanks for any words of wisdom!
>> David
>>
>> *David Osborne *BA MSc
>> AHRC Midlands4Cities PhD researcher
>> Department of Classics and Archaeology, University of Nottingham
>> https://www.midlands4cities.ac.uk/student_profile/david-osborne/
>>
>

-- 
-- 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/10325646-4bda-4f81-9d74-d3efeee6adeen%40googlegroups.com.