[Arches] Validation on datatypes

2018-02-13 Thread Angela Feliu
Hello everyone, 
I have installed arches 4.1 and I want to validate that the geometries the 
user edits must be inside a BBOX. I have checked in datatypes.py already 
exists a function to do that but I think it isn't been used as the resource 
is always valid.

Is it still not included on arches??? Do you know in what version will be 
included??

Thanks in advance

-- 
-- 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] Requests of base map on report

2018-02-13 Thread Angela Feliu
Good morning all,
I would like to know if it's correct when I open a Report on the search I 
start to see that the base map url are requested all the time (even I don't 
do anything on the map)

I think that this is a problem because when you want to print the report, 
sometimes the base map is not printed so I guess It's in the middle of 
those requests
Is that correct?? 

Thanks in advance!



-- 
-- 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] Popup not working

2018-02-08 Thread Angela Feliu
Hello everyone

I upgrades to arches 4.1 and I can see a strange behaviour on popup in the 
search map.

Since I upgraded popup is not working correctly, because It doesn't appear 
on hover or click in search markers...

Is that new on arches 4.1???

Thanks in advance...

-- 
-- 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: Print report

2018-02-08 Thread Angela Feliu
Hello Dennis,

I upgraded arches to version 4.1.0. and still missing the base map on 
printing the report


<https://lh3.googleusercontent.com/-n_bqh9wg9xM/WnwKMYNOEjI/ApU/zfddifH6QEgM7N7ji4wUdySq5BViVPd6wCLcBGAs/s1600/Captura.PNG>


I'll submit a ticket to Arches Git repo... 




El dimarts, 30 gener de 2018 16:38:20 UTC+1, Dennis Wuthrich va escriure:
>
> Angela,
>
> Now I'm testing your site with 4.1.0 and see that in the print window the 
> basemap is sometimes missing.  We updated the mapping library in 4.1.0, so 
> this may be related to using the new version.  Please submit a ticket to 
> the Arches Git repo summarizing your issue.
>
> Cheers,
>
> Dennis
>
> On Tuesday, January 30, 2018 at 7:30:17 AM UTC-8, Dennis Wuthrich wrote:
>>
>> Angela,
>>
>> Your reports are printing maps (see here: 
>> http://coac.nexusgeografics.com/coac/report/bbf7cba2-f522-11e7-a0ef-0050568b5ba0).
>>   
>> In your example, the map appears to be displayed, which is why you can see 
>> a grey line across the top of your report.  Its just that the map is being 
>> displayed at a high zoom level in a part of the basemap with little 
>> detail.  You can confirm this by going to your report and zooming the map 
>> out.
>>
>> -Dennis 
>>
>> On Tuesday, January 30, 2018 at 1:25:15 AM UTC-8, Angela Feliu wrote:
>>>
>>>
>>> Hello every one,
>>> I have installed arches v4 here: http://coac.nexusgeografics.com/coac
>>> I have a problem when I want to print a report for resource.
>>>
>>> The problem is that the base map is not printed. It's in blank (as you 
>>> can see in the picture)
>>>
>>> Is this a bug or am I missing something.
>>> Thanks in advance
>>>
>>>
>>> <https://lh3.googleusercontent.com/-GtpNLsjlE9g/WnA57M2qYhI/An8/mcSZNVyqfrI7w-nHmmYbsj8uhC5Jt_xVACLcBGAs/s1600/Captura.PNG>
>>>
>>>

-- 
-- 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] Print report

2018-01-30 Thread Angela Feliu



Hello every one,
I have installed arches v4 here: http://coac.nexusgeografics.com/coac
I have a problem when I want to print a report for resource.

The problem is that the base map is not printed. It's in blank (as you can 
see in the picture)

Is this a bug or am I missing something.
Thanks in advance



-- 
-- 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: Not seeing elements on map when url is server.com/arches

2018-01-24 Thread Angela Feliu
I've seen it is now fixed in trunk arches

https://github.com/archesproject/arches/pull/2926/files

Thank you

El dimecres, 10 gener de 2018 13:54:58 UTC+1, Angela Feliu va escriure:
>
> I Have installed arches in an Ubuntu server but I don't want to start in 
> root directory, I want to start ii in /arches 
>
> Everything is working but in map I can't see elements (the don't appear to 
> have any style defined)
> Any ideas??
>
> thanks in advance
>

-- 
-- 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] Map settings with bbox

2018-01-22 Thread Angela Feliu
Hello everyone
I have installed arches v4 and I would like to know why even I have drawn a 
polygon in map settings (in the same page says Draw a polygon representing 
your project's extent. These bounds will serve as the default for the cache 
seed bounds, search result grid bounds, and map bounds in search, cards, 
and reports)
I can still search and edit features out of these box.

Thanks in advance

-- 
-- 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: Map Popup with different cards

2018-01-22 Thread Angela Feliu
Hello Adam,
I added a new Function to achieve the pop up with diferent cards. Now I 
would like to know if your collegues have this in mind for future 
improvements in arches v4. 
The problem is I have to change the model/resource,py to get the new 
descriptor for the new function(I also added a marker to add symbology in 
the markers) so if we want to update your new features would be a problem 
to merge files

Thanks in advance

El dimecres, 17 gener de 2018 17:17:06 UTC+1, Angela Feliu va escriure:
>
> Hello everyone,
> I would like to know if it's possible to show in the map popup info from 
> different cards.
>
> For example I have a card with the name and another with imgs as they have 
> to be edited in different menus. 
> So the problem is when I want to add this information in the popup I can 
> only add one. Is it something that will change in the future or will remain 
> like this???
>
> Thanks in advance!!!
>

-- 
-- 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: Map Popup with different cards

2018-01-19 Thread Angela Feliu
Thank you adam

I follow your advise and create a new function in database.

These new function allows to add diferent cards and I also added a marker 
tab (in case you want markers by categories) and then I simply change 
selects in the function to be multiple. So multiple values are now 
avalaible.

I also had to change the resource to index to this new function

I have a fork in github in case you want to have a look.


El dimecres, 17 gener de 2018 17:17:06 UTC+1, Angela Feliu va escriure:
>
> Hello everyone,
> I would like to know if it's possible to show in the map popup info from 
> different cards.
>
> For example I have a card with the name and another with imgs as they have 
> to be edited in different menus. 
> So the problem is when I want to add this information in the popup I can 
> only add one. Is it something that will change in the future or will remain 
> like this???
>
> Thanks in advance!!!
>

-- 
-- 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] Map Popup with different cards

2018-01-17 Thread Angela Feliu
Hello everyone,
I would like to know if it's possible to show in the map popup info from 
different cards.

For example I have a card with the name and another with imgs as they have 
to be edited in different menus. 
So the problem is when I want to add this information in the popup I can 
only add one. Is it something that will change in the future or will remain 
like this???

Thanks in advance!!!

-- 
-- 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] arches responsive

2018-01-16 Thread Angela Feliu
Hello Everyone
In documentation says that the arches project is responsive design but when 
I see my arches installation: http://coac.nexusgeografics.com/arches/search
It doesn't show map correctly

I am missing something or it is the way search appears in tablets and 
phones (see capture to check the way I see it)

Thanks in advance



-- 
-- 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] Resource Layers after deleting map source

2018-01-15 Thread Angela Feliu
Hello everyone 
I have a very strange behaviour after I delete a map source and map layer.

I go to Resource Layers and it appears to have a javascript error on 
map-layer-manager.js on line 335 ((item.config.layerName() ? 
item.config.layerName() : item.layer.name) :) and I can't open any tab of 
Map Layer Manager.

Do you know how can I fix that??
Thanks in advance...

-- 
-- 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: Support srid 4326 in mapbox

2018-01-15 Thread Angela Feliu


El dilluns, 15 gener de 2018 10:23:14 UTC+1, Angela Feliu va escriure:
>
> Good morning all
> I have installed arches4 with mapbox and I want to add a base map with 
> public services. These services do not accept srid 3857
> . Is it possible to add base maps wms with projection 4326??
>
>
> I have these conf  in base maps 
> {"tiles": 
> ["http://?LAYERS=xxx&EXCEPTIONS=application/vnd.ogc.se_xml&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&bbox={bbox-epsg-3857}&format=image/png&service=WMS&version=1.1.1&request=GetMap&srs=EPSG:3857&width=256&height=256";],
>  
> "type": "raster", "tileSize": 256}
>
> Thanks in advance
>

-- 
-- 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] Support srid 4326 in mapbox

2018-01-15 Thread Angela Feliu
Good morning all
I have installed arches4 with mapbox and I want to add a base map with 
public services. These services do not accept srid 3857. Is it possible to 
add base maps with projection 4326??

Thanks in advance

-- 
-- 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: different behaviour and styles for different users

2018-01-12 Thread Angela Feliu
Hello Adam,
I used ypur solution for styles and works smoothly.

About the filter I would like to see that function you talk about, but I 
have a doubt with it... Is it possible to add by default this filter in the 
search??
I have added an spatial filter in search.py and it works fine but in map I 
still see all features.

Thanks in advance

El dijous, 11 gener de 2018 13:27:17 UTC+1, Angela Feliu va escriure:
>
> Hello everyone,
> I would like to have two groups in arches application that have different 
> styles on the arches index and  in map configuration.
>
>
> Resources Model:
> ResourceModel1
>
> Groups:
> Group 1-->  An index with certain styles *group1.css *and also *search 
> and edit *elements in  ResourceModel1 (those that are in the whole world).
> Group2-->  I guess the same index with styles *group2.css* and also *search 
> and edit* *certain *elements in  ResourceModel1 (those that are in area 
> of Barcelona).
>
> Is that possible with arches. What is the best way to achieve this??
>  I guess with one instance of arches is enough but nowadays the map 
> extension is for all elements in search. Some users should be only able to 
> edit and find elements in a certain area.
> Thank you in advance
>
>
>
>

-- 
-- 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: Not seeing elements on map when url is server.com/arches

2018-01-11 Thread Angela Feliu
I have found the problem in tileserver.py in handle_request

#path_info = request.path.replace('/tileserver/', '')
index = request.path.find("/tileserver/")
path_info = request.path[(index + 12) : ]



El dimecres, 10 gener de 2018 13:54:58 UTC+1, Angela Feliu va escriure:
>
> I Have installed arches in an Ubuntu server but I don't want to start in 
> root directory, I want to start ii in /arches 
>
> Everything is working but in map I can't see elements (the don't appear to 
> have any style defined)
> Any ideas??
>
> thanks in advance
>

-- 
-- 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] different behaviour and styles for different users

2018-01-11 Thread Angela Feliu
Hello everyone,
I would like to have two groups in arches application that have different 
styles on the arches index and  in map configuration.


Resources Model:
ResourceModel1

Groups:
Group 1-->  An index with certain styles *group1.css *and also *search and 
edit *elements in  ResourceModel1 (those that are in the whole world).
Group2-->  I guess the same index with styles *group2.css* and also *search 
and edit* *certain *elements in  ResourceModel1 (those that are in area of 
Barcelona).

Is that possible with arches. What is the best way to achieve this??
 I guess with one instance of arches is enough but nowadays the map 
extension is for all elements in search. Some users should be only able to 
edit elements in a certain area.
Thank you in advance



-- 
-- 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] Validation on geometry resources

2018-01-11 Thread Angela Feliu
hello everyone,
I have a question about features validation. I have tried to change 
*DATA_VALIDATION_BBOX 
*as it seems to be used in GeojsonFeatureCollectionDataType... (even tried 
to to change the *coord_limit*),
I have recompiled datatypes.py, restart server, etc... But it seems to 
validate the geoemtry anyway

Do you know why this behaviour???

Thanks in advance

-- 
-- 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] Not seeing elements on map when url is server.com/arches

2018-01-11 Thread Angela Feliu
Hello Adam,
I installed arches on Ubuntu and deploy through apache2(wsgi) like it's 
said in your web.

if you want to try and check our elements just have a look in our website 

http://coac.nexusgeografics.com/arches
http://coac.nexusgeografics.com/arches/tileserver/b78dd67b-de4c-11e7-a0ef-0050568b5ba0/9/259/191.pbf

It appears to use tileserver (though the resource layer doesn't user cache.
Do you know what can happen??'

Thanks in advance

El dimecres, 10 gener de 2018 17:05:02 UTC+1, Adam Cox va escriure:
>
> Hi Angela, this sounds like a strange issue... for some of it to be 
> working but other parts not working. What webserver are you using?
>
> I was able to set up a /arches here arches4.legiongis.com/arches using 
> apache and everything seems to be working fine.
>
> Adam
>
> On Wed, Jan 10, 2018 at 6:54 AM, Angela Feliu  > wrote:
>
>> I Have installed arches in an Ubuntu server but I don't want to start in 
>> root directory, I want to start ii in /arches 
>>
>> Everything is working but in map I can't see elements (the don't appear 
>> to have any style defined)
>> Any ideas??
>>
>> thanks in advance
>>
>> -- 
>> -- 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] Not seeing elements on map when url is server.com/arches

2018-01-10 Thread Angela Feliu
I Have installed arches in an Ubuntu server but I don't want to start in 
root directory, I want to start ii in /arches 

Everything is working but in map I can't see elements (the don't appear to 
have any style defined)
Any ideas??

thanks in advance

-- 
-- 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] Filter resources for map extension

2018-01-09 Thread Angela Feliu
Hello,
I have a question about arches map...
I want some users to see and edit a few features that are in certain 
extension...
Is possible to configure extension in a map for some users???

Thank you in advance

-- 
-- 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: Export data v4

2018-01-09 Thread Angela Feliu
So I understand it's impossible to export to KML, GML, Geojson through 
command line. Is that correct??

Thank you in advance

El dilluns, 8 gener de 2018 12:47:33 UTC+1, Angela Feliu va escriure:
>
> Hello all,
> Is correct that to export data, through command lines, only json and csv 
> are avalaible??? 
> What about the rest of extensions(Shapefile, KML, GML, HTML, GeoJson, ...) 
> Are only available through postgres view??
>
>
>
>

-- 
-- 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: Problems with USE_L10N = True

2018-01-09 Thread Angela Feliu
Good morning,
I have changed the javascipt.htm to unlocalize elements which gave me 
problems. 

  mapDefaultX: {{ map_info.x|unlocalize}},
 mapDefaultY: {{ map_info.y|unlocalize}},

//Maplayers
'centerx': {{ 
map_layer.centerx|default_if_none:"null"|unlocalize }},
'centery': {{ 
map_layer.centery|default_if_none:"null"|unlocalize }},

And problem resolved.
Thanks in advance

El dilluns, 8 gener de 2018 12:43:30 UTC+1, Angela Feliu va escriure:
>
> Hello I have checked that when in settings we use format numbers, dates, 
> and calendars according to the current locale and we translate web to 
> Spanish,  Arches doen't work correctly as in the moment of creating map
>
> mapDefaultX: 2,18415123653,
> mapDefaultY: 41,3969621191,
>
> So it throws javascript error
>
>
> <https://lh3.googleusercontent.com/-pspyRwFvQHk/WlNZT3bGGaI/Am4/5ESK1JNs4ek3kVFIqw_hmTKX5DiW98PgACLcBGAs/s1600/Captura.PNG>
>
>

-- 
-- 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] Permissions on Resources

2018-01-09 Thread Angela Feliu
Hello all,
I have a question about user's permissions on Resources.
   1. Is it possible to allow some user's to edit resources  only from one 
model and not the rest???
   2. Is it possible to allow some users not to edit fields in one resource 
(hide those fields???)
   3. Is it possbile to hide those fields on the report for some users???

Thanks in advance


-- 
-- 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: Problems with USE_L10N = True

2018-01-08 Thread Angela Feliu
Hello Adam,

The problem is that using USE_L10N = True that formats numbers and dates 
and calendars in Spanish (and we need so for models)
 the configuration for map centers comes like this from server data.



El dilluns, 8 gener de 2018 12:43:30 UTC+1, Angela Feliu va escriure:
>
> Hello I have checked that when in settings we use format numbers, dates, 
> and calendars according to the current locale and we translate web to 
> Spanish,  Arches doen't work correctly as in the moment of creating map
>
> mapDefaultX: 2,18415123653,
> mapDefaultY: 41,3969621191,
>
> So it throws javascript error
>
>
> <https://lh3.googleusercontent.com/-pspyRwFvQHk/WlNZT3bGGaI/Am4/5ESK1JNs4ek3kVFIqw_hmTKX5DiW98PgACLcBGAs/s1600/Captura.PNG>
>
>

-- 
-- 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] Mapping file export

2018-01-08 Thread Angela Feliu
--I have used the mapping file export to generate a postgres view.

1.1 If the resource model has diacritics in name, the arches project throws 
an error when exporting (some problems of codification I guess)
1.2 I create a py that from the export file generate the postgres view as 
the resrource model can have a lot of cards
  But when the card ALLOW MULTIPLE VALUES in the export file doesn't 
say anything so there's no way to know if will be for multiple values or not



-- 
-- 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] Export data v4

2018-01-08 Thread Angela Feliu
Hello all,
Is correct that to export data, through command lines, only json and csv 
are avalaible??? 
What about the rest of extensions(Shapefile, KML, GML, HTML, GeoJson, ...) 
Are only available through postgres view??



-- 
-- 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 with USE_L10N = True

2018-01-08 Thread Angela Feliu
Hello I have checked that when in settings we use format numbers, dates, 
and calendars according to the current locale and we translate web to 
Spanish,  Arches doen't work correctly as in the moment of creating map

mapDefaultX: 2,18415123653,
mapDefaultY: 41,3969621191,

So it throws javascript error



-- 
-- 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] Language for nodes in arches v4

2018-01-08 Thread Angela Feliu


Dear all
For arches v4

I have already done all the things for translating website for arches 
project (about making and compiling messages) but my question is what about 
nodes and menus and data??? Where can I translate the labels that we use to 
update resources. For example if I have the website in English and I make 
the model in Spanish. Where can I say other languages to use for labels on 
editing menus???



-- 
-- 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.