[mapserver-commits] [mapserver/mapserver] e91a4e: gml_[item]_type: modify Date semantics, and add Ti...

Even Rouault noreply at github.com
Wed Oct 30 06:20:07 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/mapserver/mapserver
  Commit: e91a4e57724c7a3f97921f78b79de17453d3df3b
      https://github.com/mapserver/mapserver/commit/e91a4e57724c7a3f97921f78b79de17453d3df3b
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-27 (Sun, 27 Oct 2019)

  Changed paths:
    M mapgml.c
    M mapmssql2008.c
    M mapogr.cpp
    M mapogroutput.c
    M maporaclespatial.c
    M mappostgis.c
    M maptime.c
    M mapwfs.c
    M msautotest/wxs/data/alltypes.csv
    M msautotest/wxs/data/alltypes.csvt
    M msautotest/wxs/expected/wfs_alltypes_describefeaturetype.xml
    R msautotest/wxs/expected/wfs_post_time_postgis_during_filter_match_features.xml
    R msautotest/wxs/expected/wfs_time_postgis_between.xml
    A msautotest/wxs/expected/wfs_time_postgis_date_getfeature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_between.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_describe.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_and_other_clause.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_match_features.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_match_no_feature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_getfeature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_lessthan.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_or_two_during_filter.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_post_during_filter_match_features.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_sortby.xml
    R msautotest/wxs/expected/wfs_time_postgis_describe.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_and_other_clause.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_match_features.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_match_no_feature.xml
    M msautotest/wxs/expected/wfs_time_postgis_getcaps.xml
    R msautotest/wxs/expected/wfs_time_postgis_getfeature.xml
    R msautotest/wxs/expected/wfs_time_postgis_lessthan.xml
    R msautotest/wxs/expected/wfs_time_postgis_or_two_during_filter.xml
    R msautotest/wxs/expected/wfs_time_postgis_sortby.xml
    A msautotest/wxs/expected/wfs_time_postgis_time_getfeature.xml
    M msautotest/wxs/wfs_time_postgis.map

  Log Message:
  -----------
  gml_[item]_type: modify Date semantics, and add Time and DateTime

Currently, for vector features, we have a Date datatype that is used
indifferently for Date, Time, DateTime, which can cause approximations
in GML or other output formats (such as OGR GeoJSON), since the output
doesn't really know the exact input.
This change modifies the semantics of Date to mean date, without time,
and add Time (time, without date) and DateTime. The type autodetection
is modified in the MSSQL2008, OGR, Oracle and PostGIS backends. On the
output side, the WFS/GML and OGR output are modified to take into account
those 3 separate types.


  Commit: cc8f8421fe5f26fd7ff3800c4fb7f84573176d90
      https://github.com/mapserver/mapserver/commit/cc8f8421fe5f26fd7ff3800c4fb7f84573176d90
  Author: Even Rouault <even.rouault at spatialys.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M mapgml.c
    M mapmssql2008.c
    M mapogr.cpp
    M mapogroutput.c
    M maporaclespatial.c
    M mappostgis.c
    M maptime.c
    M mapwfs.c
    M msautotest/wxs/data/alltypes.csv
    M msautotest/wxs/data/alltypes.csvt
    M msautotest/wxs/expected/wfs_alltypes_describefeaturetype.xml
    R msautotest/wxs/expected/wfs_post_time_postgis_during_filter_match_features.xml
    R msautotest/wxs/expected/wfs_time_postgis_between.xml
    A msautotest/wxs/expected/wfs_time_postgis_date_getfeature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_between.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_describe.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_and_other_clause.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_match_features.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_during_filter_match_no_feature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_getfeature.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_lessthan.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_or_two_during_filter.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_post_during_filter_match_features.xml
    A msautotest/wxs/expected/wfs_time_postgis_datetime_sortby.xml
    R msautotest/wxs/expected/wfs_time_postgis_describe.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_and_other_clause.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_match_features.xml
    R msautotest/wxs/expected/wfs_time_postgis_during_filter_match_no_feature.xml
    M msautotest/wxs/expected/wfs_time_postgis_getcaps.xml
    R msautotest/wxs/expected/wfs_time_postgis_getfeature.xml
    R msautotest/wxs/expected/wfs_time_postgis_lessthan.xml
    R msautotest/wxs/expected/wfs_time_postgis_or_two_during_filter.xml
    R msautotest/wxs/expected/wfs_time_postgis_sortby.xml
    A msautotest/wxs/expected/wfs_time_postgis_time_getfeature.xml
    M msautotest/wxs/wfs_time_postgis.map

  Log Message:
  -----------
  Merge pull request #5910 from rouault/add_datetime_and_time_datatypes

gml_[item]_type: modify Date semantics, and add Time and DateTime


Compare: https://github.com/mapserver/mapserver/compare/fb13d41e69e3...cc8f8421fe5f


More information about the mapserver-commits mailing list