Tomas,
I see no mapping or database schema in your email (no images or text).
postgis geometry types are supported in app-schema the same as for
simple features.
Your postgis column name must be lowercase in the app-schema mapping file.
http://docs.geoserver.org/latest/en/user/data/app-schema/mapping-file.html#database-identifiers
Are you able to publish the source view as a GeoTools simple feature
type? Did you remember to register the column type in geometry_columns
in the postgis database?
http://docs.geoserver.org/latest/en/user/data/database/postgis.html#publishing-a-postgis-view
Kind regards,
Ben.
On 22/11/17 10:45, geseus wrote:
Hi,
is it possible to use geometry type from PostGis in app schema?
I have view in postgre db:
Then i have schema:
App schema mapping is defined as:
But when a call WFS service, there is empty Geom element in the result:
So, how can i map postGis geometry type to element in app schema?
Thanks a lot,
Tomas
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users