Hi Dennis

Just checking in to see whether Jamie's post above has identified a problem 
with our attempted approach at importing data into Arches?

Best wishes

Andrew


On Friday, May 19, 2017 at 11:15:05 AM UTC+1, Jamie wrote:
>
> Hi Dennis,
>
> Thank you for your help, you were correct in that we were confusing the 
> two. What we're really trying to accomplish is the second one you mentioned 
> above, defining "overlays".
>
> Would I be correct in believing that the commands below performed in the 
> Developer Installation are doing just this?
>
> python manage.py packages -o add_tileserver_layer -m 
> arches/tileserver/world.xml -n world_basemap -b
> python manage.py packages -o add_tileserver_layer -m 
> arches/tileserver/hillshade.xml -n hillshade
>
>
> If so, is this possible to do on a Windows 64-bit machine due to the 
> incompatibility of Mapnik? (As things currently stand neither of the above 
> commands display anything for us)
>
> Apologies if I'm missing something obvious here, version 4 is my first 
> experience working with Arches so it's not at all unlikely that the problem 
> is on my end.
>
> Best wishes,
>
> Jamie
>
> On Tuesday, April 25, 2017 at 6:02:09 PM UTC+1, Dennis Wuthrich wrote:
>>
>> Andrew/Jaime,
>>
>> It looks like you are conflating 2 different things in Arches.
>>
>> Importing a shapefile means loading the geospatial data in the shapefile 
>> into the Arches database.  You do this by configuring the mapping file 
>> associated with the resource model(s) that you want to populate.
>>
>> Arches also supports a separate capability: creating mapping services 
>> that can define "overlays" that users can add to maps (e.g.: the search map 
>> or data entry forms that include maps).  In this case, you don't import the 
>> shapefile; instead you configure a mapping service that references your 
>> shapefile.  If you're familiar with geospatial web services, Arches 
>> implements a mapping server (Tilestache) to create vector and raster map 
>> services.  We implement this so that you can overlay geodata (say from your 
>> corporate GIS or other sources) on top of Arches' resources. 
>>
>> Based on your question, I'm not sure if you're trying to import data or 
>> configure a map service.  Arches supports either possibility.  Note that if 
>> you import data from the shapefile into an Arches resource model, Arches 
>> will automatically create the map service for you.
>>
>> Hope this points you in the right direction.
>>
>> Cheers,
>>
>> Dennis
>>
>> On Tuesday, April 25, 2017 at 9:45:02 AM UTC-7, [email protected] 
>> wrote:
>>>
>>> Hi Dennis
>>>
>>> Thanks very much again for the response.
>>>
>>> As a follow on question: when the .shp file has been converted to .csv, 
>>> is the import carried out from the same admin panel that you navigate from 
>>> to create new users? (i.e. an entry is created in "Map layers", "Map 
>>> sources" and "Tileserver layers" respectively).
>>>
>>> Best wishes
>>>
>>> Andrew/Jamie
>>>
>>>
>>>
>>> On Thursday, April 13, 2017 at 7:30:27 PM UTC+1, Dennis Wuthrich wrote:
>>>>
>>>> Andrew and Jaime,
>>>>
>>>> 1) The Profile Manager in the Admin panel doesn't link to anything at 
>>>> the minute - is this intentional or a bug in our install? 
>>>> The Profile Manager isn't functional yet (it's intended to support the 
>>>> mobile data collection app that we're working on).
>>>>
>>>> 2) If it is intentional, and it's not ready for use yet, can a new user 
>>>> (and their respective permissions) be created some other way in the 
>>>> meantime?
>>>> Yes, you can manage users and permissions as follows:  go to 
>>>> http://localhost:8000/admin/  (of course, your domain may not be 
>>>> "localhost", use the domain name or IP address of your server).  You'll 
>>>> find user and group management tools here.
>>>>
>>>> 3) Does V4 support import of shapefiles in the same manner as V3?
>>>> V4 treats shapefiles as csv files.  If you want to import a shapefile 
>>>> into v4, first save it as a csv with the geometry field saved as WKT (well 
>>>> known text) with an SRID of 4326.  QGIS makes this very easy (simply 
>>>> right-click on your shapefile in QGIS's layers panel the click on "Save 
>>>> As..." your shapefile as .csv).  Then load as any other csv.
>>>>
>>>>
>>>> Hope this helps,
>>>>
>>>> Dennis
>>>>
>>>>
>>>> On Thursday, April 13, 2017 at 9:23:55 AM UTC-7, [email protected] 
>>>> wrote:
>>>>>
>>>>> Hi Dennis
>>>>>
>>>>> A few more technical questions that I hope someone can help us with.
>>>>>
>>>>> 1) The Profile Manager in the Admin panel doesn't link to anything at 
>>>>> the minute - is this intentional or a bug in our install?
>>>>> 2) If it is intentional, and it's not ready for use yet, can a new 
>>>>> user (and their respective permissions) be created some other way in the 
>>>>> meantime?
>>>>> 3) Does V4 support import of shapefiles in the same manner as V3?
>>>>>
>>>>> Thanks very much for your help.
>>>>>
>>>>> Best wishes
>>>>>
>>>>> Andrew (and Jamie)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tuesday, April 11, 2017 at 5:39:23 PM UTC+1, [email protected] 
>>>>> wrote:
>>>>>>
>>>>>> Hi Dennis
>>>>>>
>>>>>> Thanks very much for your reply. We'll have a closer look and will 
>>>>>> get back with any technical questions.
>>>>>>
>>>>>> Best wishes
>>>>>>
>>>>>> Andrew
>>>>>>
>>>>>> On Thursday, April 6, 2017 at 8:32:00 PM UTC+1, Dennis Wuthrich wrote:
>>>>>>>
>>>>>>> Hi Andrew and Jamie,
>>>>>>>
>>>>>>> Nice to hear that you found the Liverpool Arches Workshop useful.
>>>>>>>
>>>>>>> You asked several specific questions about extending v4:
>>>>>>>
>>>>>>> 1) Is it possible to create plugins/widgets/add-ons that can be 
>>>>>>> applied to the basemap in Arches? - for example, is there a menu within 
>>>>>>> Arches or would this have to be created externally?
>>>>>>>
>>>>>>> Answer: Yes, you can create or extend widgets in v4.  In particular, 
>>>>>>> you could support the ability to drag pins from a menu onto a map and 
>>>>>>> save 
>>>>>>> the location of the pins back to the Arches database.  The specific 
>>>>>>> technical steps are pretty straightforward.  To start, I suggest that 
>>>>>>> you 
>>>>>>> take a look at the existing map widget to see how the it manages data 
>>>>>>> creation/saving/indexing.  This may be enough for you to see how to 
>>>>>>> extend 
>>>>>>> the widget.  At a minimum, you'll be in a position to ask specific 
>>>>>>> technical questions.
>>>>>>>
>>>>>>> Cheers,
>>>>>>>
>>>>>>> Dennis
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, April 6, 2017 at 7:39:16 AM UTC-7, [email protected] 
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> Thanks very much to the GCI and John Moores University for 
>>>>>>>> organising the Arches workshop last week in Liverpool, which I found 
>>>>>>>> very 
>>>>>>>> useful and informative. 
>>>>>>>>
>>>>>>>> I briefly discussed the project that I'm currently working on at 
>>>>>>>> Maynooth University, Ireland (REINVENT Project), and am hoping to 
>>>>>>>> undertake 
>>>>>>>> several heritage-related Public Participation GIS exercises on a 
>>>>>>>> cross-border basis at different spatial scales (landscape, area, 
>>>>>>>> individual 
>>>>>>>> building/monument), possibly adopting Arches v4 as an existing, free 
>>>>>>>> and 
>>>>>>>> open source heritage inventorying platform. However, to make this 
>>>>>>>> happen, 
>>>>>>>> I've a number of initial queries on which I'd welcome some technical 
>>>>>>>> advice:
>>>>>>>>
>>>>>>>> 1) Is it possible to create plugins/widgets/add-ons that can be 
>>>>>>>> applied to the basemap in Arches? - for example, is there a menu 
>>>>>>>> within 
>>>>>>>> Arches or would this have to be created externally?
>>>>>>>> 2) If so, can new toolbars be added and pins dragged and dropped 
>>>>>>>> from these to the mapping interface?
>>>>>>>> 3) Can the coordinates of the placed dropped pins be recorded and 
>>>>>>>> sent to a database?
>>>>>>>>
>>>>>>>> Thanks very much for any advice you can provide.
>>>>>>>>
>>>>>>>> Best wishes
>>>>>>>>
>>>>>>>> Andrew McClelland and Jamie Raleigh
>>>>>>>>
>>>>>>>

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

Reply via email to