Yes, you can do that. But then you are responsible for working out the
bounding box or any filters that the user would like while if you go via
GeoServer you don't have to write and debug all that code. Also if you
stick with an international standard you can switch clients with no effort
rather than starting from scratch each time. Remember GeoServer does a lot
more for you than just return the data.

Ian

On Wed, 29 Jan 2020 at 15:55, Vera Green <[email protected]> wrote:

> This makes me wonder if it's more efficient to export geojason from wfs or
> directly from PG. Currently I'm going to the database for this in my web
> applications.
> Vera
>
> On Wed., Jan. 29, 2020, 3:58 a.m. Ian Turton, <[email protected]> wrote:
>
>> The obvious way to do this is to skip the geojson and just add the
>> PostGIS tables as new layers, you can export them from GeoServer as GeoJSON
>> using WFS if you want.
>>
>> Ian
>>
>> On Wed, 29 Jan 2020 at 09:48, Vitor Fonseca <[email protected]> wrote:
>>
>>>
>>> Hi,
>>>
>>> Confusing questions. Please elaborate more on what you want to do...
>>>
>>>
>>> Samann Long <[email protected]> escreveu no dia terça, 28/01/2020
>>> à(s) 06:12:
>>>
>>>> Hello, I am having some troubles with the rest API of importing geojson
>>>> from Postgres PostGIS database to Geoserver to create layer and register to
>>>> WFS services.
>>>> Are there any ways we can do it?
>>>> Thank you
>>>> _______________________________________________
>>>> 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
>>>>
>>>>
>>>> [email protected]
>>>> 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
>>>
>>>
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>> --
>> Ian Turton
>> _______________________________________________
>> 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
>>
>>
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>

-- 
Ian Turton
_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to