Ok, it does sound like it the problem was too many coordinates. The max
length for a field like that in ElasticSearch is 32766 bytes, so perhaps
there is a way you can incrementally simplify the geometry so it gets just
below that number? I don't know if anyone has figured out a good way to
handle this yet.

Adam

On Mon, Apr 23, 2018 at 3:11 PM, Anjo Weichbrodt <[email protected]>
wrote:

> Thanks Adam for your swift reply.
>
> Indeed I got an indexing error:
> "WARNING:arches.app.search.search:2018-04-23 14:36:30.116033: WARNING:
> failed to index document: {'displaydescription'......"
> I validated the geometry before pasting it.
>
> Simplifying the geometry worked out, but I wonder to what degree should I
> simplify my geometries in general to be compliant with elasticsearch.
>
> Thanks,
> Anjo
>
> On Monday, April 23, 2018 at 3:21:02 PM UTC-4, Adam Cox wrote:
>>
>> Hi Anjo, this would be easier to debug if you could see the logs, maybe
>> the apache error logs (/var/log/apache2/error.log on Ubuntu), or even
>> better if you could run the dev server and see the error there.
>>
>> To answer your specific question, there are some limitations on
>> geometries. For example, elasticsearch has a maximum character length, so
>> polygons with a huge number of vertices can cause an indexing error, which
>> would happen when you save the resource instance. You can also get an
>> elasticsearch indexing error if the geometry is not valid.
>>
>> Adam
>>
>>
>>
>> On Mon, Apr 23, 2018 at 1:56 PM, Anjo Weichbrodt <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> when I copy a geometry from a QGIS project in geojson format and I paste
>>> it in Arches as an attribute of an instance; I can see the geometry appear
>>> on the map, but when I save I get following error:
>>> "Request Failed... Sorry! The request failed. Please try again. Contact
>>> your system administrator if the problem persists."
>>> Is there something like a complexity limit for geometries?
>>>
>>> Thanks,
>>> Anjo
>>>
>>>
>>> --
>>> -- 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.
>>>
>>
>> --
> -- 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.
>

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