Hello all,

we're trying to provide gml:TimePeriod elements in a WFS reply.

The mapping rules for the app-schema plugin are quite clear, but
what column type is required in the PostgreSQL database?

There is no native "TimePeriod" type in PostgreSQL, so the
time range is currently stored in two TIMESTAMP columns. Is
it possible to map those two columns onto one attribute of
type gml:TimePeriod? Or is a special custom data type needed
in PostgreSQL?

How are properties of type gml:TimePeriod meant to be used
with GeoServer and PostgreSQL?

This is the expected output:

<gml:validTime>
  <gml:TimePeriod gml:id="id_1">
    <gml:beginPosition>2010-09-07T10:00:00.0</gml:beginPosition>
    <gml:endPosition>2010-09-07T13:00:00.0</gml:endPosition>
  </gml:TimePeriod>
</gml:validTime>

Best regards,

matt

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to