private void Construct(int id, string incidentType, PostGIS.Point location, DateTime time)
 {
     _id = id;
     _incidentType = incidentType;
     _location = location;
     _time = time;
 }
 internal Point(int id, string incidentType, PostGIS.Point location, DateTime time)
 {
     Construct(id, incidentType, location, time);
 }
 public static string GetValue(Area area, string nativeId, PostGIS.Point location, bool simulated, string time, string type)
 {
     return (location.SRID == area.Shapefile.SRID ? location.StGeometryFromText : "st_transform(" + location.StGeometryFromText + "," + area.Shapefile.SRID + ")") + "," + (string.IsNullOrWhiteSpace(nativeId) ? "DEFAULT" : "'" + Util.Escape(nativeId) + "'") + "," + simulated + "," + time + ",'" + Util.Escape(type) + "'";
 }