I am configuring the .json following the sample for arches4-example-pkg 
<https://github.com/archesproject/arches4-example-pkg/blob/master/map_layers/tile_server/overlays/vector_example/vector_example.json>,
 
in the .json doesn't have a section for the "sources", so when I run the 
scrypt to add_mapbox_layer return me with the keyerror: "sources". I have 
follow the documents 
<https://arches.readthedocs.io/en/dev-5.1/creating-new-map-layers/>, but 
there are something that  I am missing, when defining the source in the 
"sources" section, I have search in the Mapbox documents too but I cannot 
find how should be added this section, if should be added.

Thanks in advance for pointing me in some direction.


Regards,
 




 



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

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

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

Reply via email to