Re: [Arches] Need help with setting up arches on mac

2020-12-20 Thread Rob Gaston
Hi Hien & Lindsey, I suspect that the documentation is wrong here. it is, in fact, referring to the GDAL version, not the macOS version, but I think that the numbers are wrong. I believe that it should instead be recommending version 3.1.1 of GDAL. that being said, I am running arches on

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

2020-11-04 Thread Rob Gaston
Hi Gabriel, Looks like the example you are using and perhaps the documentation are both out of date on this topic. The example you are trying to use is for TileStache, which we removed at version 5. If you are trying to use a layer from Geoserver or similar, you’ll need to craft your mapbox

Re: [Arches] Map icon according to types

2020-07-10 Thread Rob Gaston
12:24 PM, Rob Gaston wrote: > > Hi Ashish, > > Sorry, I was a bit hasty in my response earlier. I see that you are actually > trying to conditionally style features of a single resource model now. This > is also possible, but a bit trickier… I’ve manag

Re: [Arches] Map icon according to types

2020-07-10 Thread Rob Gaston
0, -6 ], "icon-allow-overlap": true }, "source": "search-results-points" } I had to use the “displaydescription” field here as there is only a limited number of fields exposed in the marker features.

Re: [Arches] Map icon according to types

2020-07-10 Thread Rob Gaston
Hi Ashish, Yes, this is possible. You can simply define your layer style to conditionally style the “icon-image” on “graph_id” as in the example below: [ { "id": "search-results-points-markers", "type": "symbol", "paint": {}, "filter": [ "all",

Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
st regards, > Elishai Cohen > > > On Wed, 15 Jan 2020 at 22:02, Rob Gaston <mailto:rgas...@fargeo.com>> wrote: > Hi Elishai, > > I’m no Windows expert, but it sounds like “pip” on your path still points to > your old python 2.7 install. I’m unsure what "c

Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
; > Hi Rob, > > Thanks for your answer. > I installed a new version of python and change python priority as expected. > > I'm not sure why but Arches installation still uses Python 2.7 version. > > > Best, > Elishai > > > On Wed, 15 Jan 2020 at 20:20, Rob Gaston

Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
Hi Elishai, It appears from the output that you posted that you are trying to install Arches 5 on Python 2.7. Arches 5 requires Python 3.7 as per here: https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies

Re: [Arches] Re: Best way to load an ESRI Shapefile as a TileStash vector overlay

2019-07-01 Thread Rob Gaston
Hi Brett, You can use shp2pgsql (https://postgis.net/docs/using_postgis_dbmanagement.html#shp2pgsql_usage ) to load your shapefile into PostGIS. From there you can follow this example:

Re: [Arches] SyntaxError during installation (Arches app creation)

2018-11-06 Thread Rob Gaston
Perhaps - is it possible for you to test locally to confirm or deny my suspicions? Thanks, - Rob > On Nov 6, 2018, at 8:06 AM, Joel Aldor wrote: > > In which case, the shell script for dependencies on Ubuntu 16.04 must be > updated then. > > -- > -- To post, send email to

Re: [Arches] SyntaxError during installation (Arches app creation)

2018-11-06 Thread Rob Gaston
Hi Joel, Just conjecture, but based on that error message it looks like your versions of node and/or yarn may need an upgrade. - Rob > On Nov 5, 2018, at 7:04 PM, Joel Aldor wrote: > > Hi all, > > I get this error message after I installed Arches v4.3.3, and cannot proceed: > >

Re: [Arches] Upgrade to 4.3 fails

2018-09-04 Thread Rob Gaston
Closing the thread on this… we tracked down Dale’s issue. A 4.3.1 release will ship shortly so that future migrations will not encounter this error. In the meanwhile, the issue can be worked around by running the following SQL prior to migration: update reports set config = '{}'::json where

Re: [Arches] Adding Tileserver Layers

2018-01-30 Thread Rob Gaston
the examples that you gave me. > > Anyway I will feed back to you about how I am progressing. > > Best regards, > > > > terça-feira, 30 de Janeiro de 2018 às 00:05:14 UTC, Rob Gaston escreveu: >> >> Hi David, >> >> Just to add to what Adam sai

Re: [Arches] Adding Tileserver Layers

2018-01-29 Thread Rob Gaston
Hi David, Just to add to what Adam said: the JSON that Adam sent in his previous message is an example of how you might use Arches’s built-in tileserver to create a vector tile service using a table in PostgreSQL and add that service as an overlay to Arches. I see in your original message

Re: [Arches] MapBox/TileStache styling issues

2018-01-29 Thread Rob Gaston
parate > postgis that has the outlines as lines, not polygons, and add that into the > mix. > > Adam > > On Mon, Jan 29, 2018 at 12:20 PM, Rob Gaston <rgas...@fargeo.com > <mailto:rgas...@fargeo.com>> wrote: > Hi Adam, > > You should be able

Re: [Arches] MapBox/TileStache styling issues

2018-01-29 Thread Rob Gaston
Hi Adam, You should be able to handle this by using the “clip” parameter for the VecTiles provider (see here: http://tilestache.org/doc/TileStache.Goodies.VecTiles.server.html ). Here’s a quick example using the “rivers.json”

[Arches] Re: Resource Layers after deleting map source

2018-01-23 Thread Rob Gaston
Hi Angela, Can you please provide more details on the javascript error that you are encountering? The error message and stack trace would be helpful, as well as any details on the layers that you were editing prior to the error popping up. Even more helpful would be a web accessible instance

[Arches] Re: Support srid 4326 in mapbox

2018-01-23 Thread Rob Gaston
Hi Angela, Mapbox GL JS can use WMS, but as you can see, it expects the WMS service to support EPSG:3857. I think that you'll need to modify your service to support EPSG:3857 if you want to use that specific WMS as an overlay. - Rob On Monday, January 15, 2018 at 1:23:14 AM UTC-8, Angela

Re: [Arches] Re: Problems with USE_L10N = True

2018-01-08 Thread Rob Gaston
This issue is probably w/ the django serialization of these values, not w/ the mapbox gl js library itself. In javascript, decimal numbers must always be formatted with dots, not commas (dots and commas have specific meanings in JS). I think this is a simple bug - we probably just need to

Re: [Arches] Re: Arches 4: Icons on map

2017-10-11 Thread Rob Gaston
Hi Vincent, The layer you are looking at in the map layer manager is a resource layer, not the layer that contains search markers. For this, from the map layer manager, go to Overlays > Search Markers. The marker looks “grainy” because it is expanded to 2x it’s regular size. You can

Re: [Arches] Authority files problem and user permissions

2016-12-08 Thread Rob Gaston
Hi Vencislav, Looks like you may just need to import ugettext in your settings.py file by adding the following line near the top with the other imports: from django.utils.translation import ugettext as _ Hope that helps! - Rob Gaston > On Dec 8, 2016, at 12:27 AM, Vencislav Pirinski <

[Arches] Re: Converting WKT to GeoJSON to sort geometries by type

2016-06-06 Thread Rob Gaston
Hi Adam, Arches includes all the tools you need to do this conversion on either the client or server. I've created a gist here with a python file showing how to do it on the server and a javascript file showing how to do it

Re: [Arches] Re: layer order for external layers on map

2016-05-10 Thread Rob Gaston
Travis, Adam is correct here - the behavior you’ve described is by design. Layers are indexed in the order that they are added to the map. You could probably add a `zIndex` property to your layer objects and use that to set the z-index in the function that Adam linked to, but beware that

[Arches] Re: Prevent map webpage caching

2015-11-16 Thread Rob Gaston
Hi Andy, If you want to disable caching of all js files, you can do so by making the following simple change to base.htm (starting at line 87 in the current default branch): require.config({ urlArgs: "cache_bust=" + Date.now(), baseUrl: '{{ STATIC_URL }}js',

[Arches] Re: Running Arches without an internet connection

2015-11-12 Thread Rob Gaston
m project to project? > > On Wednesday, November 11, 2015 at 4:39:16 PM UTC-6, Rob Gaston wrote: >> >> Hi Adam, >> >> That's really just an organizational thing - there are no functional >> advantages/disadvantages. Here's the rule of thumb I've used: >>

[Arches] Re: Running Arches without an internet connection

2015-11-11 Thread Rob Gaston
Hi Adam, Sounds like you've covered most of the items that come straight to mind. One that I don't see addressed here is map tiles - that is, arches doesn't (yet) have an integrated tile server, so thus far all implementations that I'm aware of rely on pulling tiles over the web from

[Arches] Re: Installation problem of Arches-HIP server

2015-11-10 Thread Rob Gaston
Hi Mark, The django install isn't documented as the correct version of django is automatically installed to your virtual environment when you use pip to install arches or arches-hip. I'm not certain how you arrived at having the incorrect version installed, but that should not happen when the

[Arches] Re: Installation problem of Arches-HIP server

2015-11-09 Thread Rob Gaston
Hi Mark, I am suspicious that you may be running an unsupported version of django. With your virtualenv activated, start python and run the following: import django print django.get_version() arches 3 requires django 1.6.2 If you've got the correct version here's what you should see:

Re: [Arches] Re: Setting up Vagrant development environment

2014-05-23 Thread Rob Gaston
Hi Andy, 'vagrant destroy' then 'vagrant up' should get you a fresh VM; no need to delete your local repo. Sounds like it might be a port forwarding issue (as the server looks to be running just fine). Is it possible that port 8000 is already in use on your host system? Vagrant sets up port

[Arches] Re: Setting up Vagrant development environment

2014-05-07 Thread Rob Gaston
been created -- have you been able to determine anything by looking at the output? Feel free to send that along and I'd be happy to take a look myself. - Rob On Monday, May 5, 2014 11:27:53 AM UTC-7, Rob Gaston wrote: Hi Tharindu, Looks like the installation did not complete successfully

Re: [Arches] mapPanel undefined

2014-04-15 Thread Rob Gaston
the error occurred). Btw. how do you keep a once-built dev version up to date without too much effort? Sorry and thanks a lot. Thomas Am 14.04.2014 19:22, schrieb Rob Gaston: Hi Thomas, Strange, I just grabbed version 2.0.0 from the same url that you linked to and I'm not seeing

Re: [Arches] mapPanel undefined

2014-04-15 Thread Rob Gaston
PS - That is all done after updating the code repository to the revision you wish to deploy. Hopefully that was obvious :) - Rob On Tuesday, April 15, 2014 2:54:18 PM UTC-7, Rob Gaston wrote: Hi Thomas, You should be able to simply run archesproject/build/install_arches_db.sh

Re: [Arches] Re: Installation Documents Udated

2014-04-07 Thread Rob Gaston
Hi Utsav - It's hard to say how exactly you've gotten your project folder and virtual machine to this state, but it looks like you've gone wrong somewhere along the line. It would appear that you've got a virtual machine that hasn't been provisioned properly (jdk should have been installed as

Re: [Arches] Re: Installation Documents Udated

2014-04-07 Thread Rob Gaston
/29d58dbe102e060c51fc0aa8dec2e0ff486e3e61/arches_vagrant_setup.log - Rob On Monday, April 7, 2014 10:55:59 AM UTC-7, Rob Gaston wrote: Hi Utsav - It's hard to say how exactly you've gotten your project folder and virtual machine to this state, but it looks like you've gone wrong somewhere along

Re: [Arches] Re: Problems running Arches with Vagrant

2014-03-18 Thread Rob Gaston
/b206434442eb8fdfa1706ad4eb853a47af94bdf5 ). You should be able to simply pull/update to the latest on the arches repository and rebuild your vagrant virtual machine. Thanks again, - Rob On Tuesday, March 18, 2014 8:11:49 PM UTC-7, Daphne Ippolito wrote: On Mon, Mar 17, 2014 at 10:46 PM, Rob Gaston

[Arches] Re: Problems running Arches with Vagrant

2014-03-17 Thread Rob Gaston
Hi Daphne, It's tough to tell what has gone wrong without seeing the output from the build, but I suspect that the something has gone wrong w/ the CDS package installation. A few things to check: - I assume you are, but please ensure you are working from the v2 installation guide:

[Arches] Re: Problems running Arches with Vagrant

2014-03-17 Thread Rob Gaston
Also, vagrant destroy/vagrant up must be executed from the root project folder, but I suspect you already knew that. :) - Rob On Monday, March 17, 2014 7:46:04 PM UTC-7, Rob Gaston wrote: Hi Daphne, It's tough to tell what has gone wrong without seeing the output from the build, but I

[Arches] Re: Modifying Arches Admin Interface [GSoC '14]

2014-03-07 Thread Rob Gaston
Hi Palash, your mockups are very cool! for the most part I think you've got something very good here -- one area that will need attention is the map layers; you show an interface that allows you to generate a very specific kind of map layer, but as you probably know map layers in arches can

[Arches] Re: Initializing Pop Up comes When Run Arches on Local Server

2014-03-03 Thread Rob Gaston
are you seeing *errors* if you open up browser developer tools* On Monday, March 3, 2014 6:04:12 PM UTC-8, Rob Gaston wrote: Hi Ashish, You need to provide more information for us to help you diagnose your issue (eg what exact steps got you here, describe your system, are you seeing

[Arches] Re: Modifying Administrator UI [GSoC '14 Project] Idea Discussion Thread

2014-03-03 Thread Rob Gaston
Palash - Your suggestions here look good. I would say type these ideas up with a bit more detail (especially around the actual implementation of these) and post it to the forum so that it is available for all to see and discuss Thanks, - Rob On Monday, March 3, 2014 1:25:07 PM UTC-8,