I've recently made a change to the GeoServer Shapefile output format code to use the RetypingFeatureCollection to cast all Timestamps to Strings for a project I'm working on. This is to avoid the issue with the all datetime fields only persisting the date portion of the value in the DBF associated with the shapefile zip package - something anyone who has worked with shapefiles I'm sure finds highly frustrating. I got really tired of doubling up layers with SQL views to cast all datetime fields to string for the purpose of shapefile exports...
Is this something any one else would find useful? I had originally coded the functionality it to be enabled through the use of a format_options key, but decided there was never a case I wouldn't want to do this as precision is lost. Cheers, ----- Jonathan Meyer Senior Software Engineer Applied Information Sciences -- View this message in context: http://osgeo-org.1560.x6.nabble.com/GeoServer-Shapefile-output-format-tp5181183.html Sent from the GeoServer - Dev mailing list archive at Nabble.com. ------------------------------------------------------------------------------ New Year. New Location. New Benefits. New Data Center in Ashburn, VA. GigeNET is offering a free month of service with a new server in Ashburn. Choose from 2 high performing configs, both with 100TB of bandwidth. Higher redundancy.Lower latency.Increased capacity.Completely compliant. http://p.sf.net/sfu/gigenet _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
