yes!

using openlayers one could also drop the constraints in postgis and making
those checks with a library like jsts
<https://github.com/bjornharrtell/jsts>

Vera Green <vera.green...@gmail.com> escreveu no dia quinta, 28/05/2020
à(s) 17:26:

> Hmmm...it's a little bit round about but...
> 1. Front end triggers error
> 2. PG populates table with error
> 3. Code looks up error in PG table ( through GeoServer or directly)
> 4. User is provided error
>
> Theoretically it could work. Also with this method you could "translate"
> common errors to user friendly language in the table automatically.
>
> Vera
>
> On Thu., May 28, 2020, 10:21 a.m. Vitor Fonseca, <vfonse...@gmail.com>
> wrote:
>
>>
>> are you using check constraints or triggers in postgis?
>>
>> maybe you could use a trigger that performs the checks and in case of
>> error sends an email or inserts a record in some table that the developers
>> can poll....
>>
>>
>> fibizzo <lore...@gmail.com> escreveu no dia quinta, 28/05/2020 à(s)
>> 16:34:
>>
>>> Hello
>>>
>>> This is exactly my concern, the front end developers (using openlayers
>>> btw)
>>> does not have any clue about what exactly happened with the transaction,
>>> specially in this case when I have postgis constraints
>>>
>>>
>>>
>>> --
>>> Sent from:
>>> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>>>
>>>
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> If you want to request a feature or an improvement, also see this:
>>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>>
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>>
>> www.vfonsecaz.pt
>>
>> _______________________________________________
>> Geoserver-users mailing list
>>
>> Please make sure you read the following two resources before posting to
>> this list:
>> - Earning your support instead of buying it, but Ian Turton:
>> http://www.ianturton.com/talks/foss4g.html#/
>> - The GeoServer user list posting guidelines:
>> http://geoserver.org/comm/userlist-guidelines.html
>>
>> If you want to request a feature or an improvement, also see this:
>> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>>
>>
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>

-- 

www.vfonsecaz.pt
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to