Ok, so I am still the only one with st_asmvtgeom problem.

As I mentioned in the first post Postgres and Postgis are in proper 
versions.  
Dependencies installed with installation script which states versions 
directly:
https://raw.githubusercontent.com/archesproject/arches/master/arches/install/ubuntu_setup.sh

W dniu wtorek, 18 sierpnia 2020 20:51:32 UTC+2 użytkownik Asaf Kali napisał:
>
>
>    1. "SELECT version();" resulted with "PostgreSQL 12.3 ...."
>    2. "SELECT PostGIS_Version();" resulted with "3.0 USE_GEOS=1 
>    USE_PROJ=1 USE_STATS=1".
>
> Just to be clear, my issue *was* with the "MapboxGeocoder is not a 
> constructor" issue.
> After messing a bit with the javascript files in the project (and 
> reverting my changes), and changing "@mapbox/mapbox-gl-geocoder" to 
> "4.4.0", it is gone  ¯\_(ツ)_/¯
>
> On Tuesday, August 18, 2020 at 8:40:40 PM UTC+3 [email protected] wrote:
>
>> Hey all, it looks like this is an issue with the Postgres/PostGIS 
>> installation. Can you check what versions you have of that software and 
>> extension? As the Arches documentation states, you need to use Postgres 12 
>> with PostGIS 3. The function that the original error message mentioned 
>> (st_asmvtgeom) only became available in PostGIS 3.
>>
>> Adam
>>
>> On Tue, Aug 18, 2020 at 12:32 PM Kuba Łobodecki <[email protected]> 
>> wrote:
>>
>>> Unfortunately not yet.
>>> Angela, can you take a look at error traceback?
>>> Thanks
>>>
>>> W dniu wtorek, 18 sierpnia 2020 19:20:35 UTC+2 użytkownik Asaf Kali 
>>> napisał:
>>>>
>>>> Hi,
>>>> Were you able to solve this issue?
>>>>
>>>> Thanks
>>>>
>>>> On Sunday, August 2, 2020 at 12:13:50 AM UTC+3 [email protected] wrote:
>>>>
>>>>> Hi Angela,
>>>>> thank you for your answer.
>>>>>
>>>>> In the meantime I encountered another problem "MapboxGeocoder is not a 
>>>>> constructor" in map.js file. I fixed that by changing version of 
>>>>> @mapbox/mapbox-gl-geocoder in package.json from "^4.4.0" to "4.4.0" and 
>>>>> running 'yarn install' - it looks like newest version 4.6.0 cause some 
>>>>> problem (maybe difference in importing method).
>>>>>
>>>>> Returning to the thread topic - I attach file with full error log.
>>>>> In console I see that it is http 500 - Internal server error.
>>>>>
>>>>> In server log only addition is information that error is thrown by 
>>>>> psycopg2.errors.UndefinedFunction.
>>>>> And yes - it is with all resources and many .pbf files at once.
>>>>>
>>>>>
>>>>> Best regards,
>>>>> Kuba
>>>>>
>>>>>
>>>>> W dniu wtorek, 28 lipca 2020 17:11:52 UTC+2 użytkownik Angela Labrador 
>>>>> napisał:
>>>>>>
>>>>>> Hi Kuba,
>>>>>>
>>>>>> I have not encountered this error before, but I believe this function 
>>>>>> is part of PostGIS. Do you get any errors in your console when you go to 
>>>>>> the /search page and view your map? Is it just an error with this one 
>>>>>> resource or with all? If you trigger the error again, can you send a 
>>>>>> full 
>>>>>> screenshot of the gray traceback area?
>>>>>>
>>>>>> Thanks,
>>>>>> Angela
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Friday, July 24, 2020 at 5:11:59 PM UTC-4 [email protected] wrote:
>>>>>>
>>>>>>> Hello,
>>>>>>> I have another problem with initial arches installation.
>>>>>>>
>>>>>>> After adding a resource and displaying that in the search panel the 
>>>>>>> shape layer is not showed on the map box.
>>>>>>> In browser console it is showed as errors in downloading 
>>>>>>> /mvt/#####.pbf files.
>>>>>>>
>>>>>>> Error states that function st_asmvtgeom(geometry, geometry) does not 
>>>>>>> exist probably there is something wrong with arguments types. Maybe 
>>>>>>> some 
>>>>>>> libraries incompatibility? 
>>>>>>> I am on Ubuntu 16.04 and already checked that PostgreSQL, Postgis, 
>>>>>>> GDAL are in proper versions.
>>>>>>>
>>>>>>> I will be very grateful for any hint what can be wrong. 
>>>>>>>
>>>>>>> [image: Adnotacja 2020-07-24 230429.png]
>>>>>>>
>>>>>>> Best regards,
>>>>>>> Kuba
>>>>>>>
>>>>>> -- 
>>> -- 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].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/archesproject/14438ad6-6216-4cf2-84e2-12a2feafe52ao%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/archesproject/14438ad6-6216-4cf2-84e2-12a2feafe52ao%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
-- 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/a77c3182-587d-4d3c-bb92-c41ef4ed8686o%40googlegroups.com.

Reply via email to